Skip to content

sf-load-order 0.4.1

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Dec 09:57

What's new

A fix-up release for 0.4.0. No command or option was removed or renamed, the exit codes are the same, and no report.json key was removed or renamed. report.json gains recommend.verified and recommend.score_checked in the results summary.

  • The recommended order no longer flips back and forth. When no order keeps every record, each check used to recommend moves that the next check undid, because a flipped pair's cost was known only in part. Now a recommendation that rests on such estimated costs is checked first: sf-load-order runs sf-mod-check conflict once on the recommended order (about 2 more minutes on a 150-plugin order), and the moves stand only when the exact score is lower by at least the near-tie threshold. Otherwise your order is kept, and a note gives both exact scores. When no check is possible (for example with a --conflicts file made for another load order), only exactly known savings move a plugin, a note says how many possible moves were left out, and a failed check run adds a caution with its reason. A re-check of an applied recommendation no longer leads back to the order you had. sort is unchanged.
  • --log can't empty your saved copies. It is refused anywhere inside an --orders folder and for any file named like a copy that keep wrote.
  • Shorter, clearer reports. Skipped order files are grouped by reason (a Vortex export folder gave 165 notes, now 3); match-saves names the first 5 plugins in the save only and in the file only; from-save calls places marked sort or guessed "unsure" (report.json keys are unchanged); --quiet still prints the note for an --orders folder that doesn't exist.
  • from-save without --data now takes .esm and .esl files (and plugins the save loads before one) as master plugins, and keeps an official plugin that isn't in the tool's own list in the save's order.
  • A merged patch that sf-mod-check reports as inactive (exit 2, patch-off) is shown as not enabled.

Example

A made-up load order where ExampleCrew.esm and ExampleCompanion.esm change the same companion records, so no order keeps every change. On this order, 0.4.0 recommended loading ExampleCompanion.esm after ExampleCrew.esm on an estimated saving, and the check after that recommended moving it back. 0.4.1 runs sf-mod-check on the moved order first. The move would save only 3 points, under the near-tie threshold of 10, so the "Suggested order" part of report.txt keeps your order:

Loss score (lower is better): your current order (LOOT's if you just sorted) 60, recommended 60.
The moves an estimate suggested were checked with sf-mod-check on the moved order (loss score 57) and weren't
worth it, so they were left out.
The suggested order is the same as your current order, so there is nothing to change.
  * Pairs kept in their current order: 1.
      - ExampleCompanion.esm loses to ExampleCrew.esm (checked with sf-mod-check on the recommended order: they
        would save 3, under the near-tie threshold of 10 (loss score 60 now, 57 after the moves; lower is better))

When the checked move does clear the threshold, the report says "The recommended score was checked: sf-mod-check ran on the recommended order.", and a check after you apply it keeps the new order.

Check each download against its .sha256 file.