Skip to content

sf-load-order 0.4.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 17:26
· 9 commits to main since this release

What's new

Three new commands, for a player who has a save but has lost the load order that went with it. No existing option was removed or renamed, the exit codes of the existing commands are the same, and no report.json key was added, removed or renamed. The new commands need sf-save-reader, which reads the save for them. They only read: they write to the folders you name.

  • match-saves ranks your saved order files against your saves. For each save it lists the best matches with a set % (the share of plugins in common, the game's own and BlueprintShips- files left out; the text gives the counts in the save only and in the file only, and --json names them) and an order % (the share of shared plugin pairs in the same order, counted inside each of the save's three lists). It takes a .sfs file or a folder searched with its subfolders, --top N, --json and --csv. A save it can't read is listed with the reason and doesn't stop the run.
  • from-save makes a plugins.txt and/or a Vortex load order file (--format plugins-txt|vortex|both) from one save, in sf-load-order-from-save unless --out says otherwise. The save keeps its three lists (full, medium, light) in order, but not how they mix; that is estimated, with each order file in --orders casting a vote and the plugins' masters from --data as rules. The report marks how sure each place is and ends with What you need: each plugin installed, a Creation (with its name, to get from the game's Creations menu) or not found; with --vortex-profile it names the Vortex mod that holds each plugin not found in Data, and says when that mod isn't enabled in the profile. --json writes the same facts to from-save.json.
  • keep saves a dated copy of the live Plugins.txt (and, with --vortex-loadorder, a Vortex load order file) into a folder, as plugins-YYYYMMDD-HHMMSS.txt and vortex-loadorder-YYYYMMDD-HHMMSS.json. Run it before each play session and the other two commands have your own history to work from. It skips a copy that equals the newest one, never overwrites or deletes, and makes the folder if it is missing.
  • Order files are read from folders each run: Plugins.txt copies, Vortex load order .json files, and sf-log-collector zips (only appdata\Plugins.txt inside is read, with a size limit, and nothing is unpacked to disk). There is no database or cache.
  • A walk-through for a player with only these tools is in the README ("Working from a save"), and new lines in "Known limits" say what a save can't tell.

Example

match-saves over one made-up save and three made-up order files kept on three days, on a PC set to UTC-5 (the stamp in a file's name is local time; the output shows UTC):

> .\sf-load-order.cmd match-saves saves --orders "C:\Example\orders"
Save saves\Quicksave0.sfs
  Player Example Pilot, level 12, saved 2026-03-03T01:15:00Z; 4 plugins besides the game's own
  best match: C:\Example\orders\plugins-20260302-190000.txt
      set 100.0%, order 100.0% (plugins-txt, 2026-03-03T00:00:00Z); 4 shared, 0 in the save only, 0 in the file only
  #2: C:\Example\orders\plugins-20260301-181500.txt
      set 75.0%, order 100.0% (plugins-txt, 2026-03-01T23:15:00Z); 3 shared, 1 in the save only, 0 in the file only
  #3: C:\Example\orders\plugins-20260303-090000.txt
      set 50.0%, order 100.0% (plugins-txt, 2026-03-03T14:00:00Z, after the save); 2 shared, 2 in the save only, 0 in the file only

RESULT: 1 save(s) matched against 3 order file(s)

The file made on 2026-03-02 at 19:00 local time holds the plugins the save has, so it is the best match. The file of 2026-03-03 is later than the save, so it is marked "after the save".

Check each download against its .sha256 file.