Part 1: For players · 5 sections · page built 2026-12-05 00:35 UTC
sf-mod-check conflict shows which records two or more of your mods change, and sf-mod-check patch can build a local patch for your own game that picks a winner. The patch holds other authors' data, so it is for your game only and must never be published.
Richard is modding
- Try Richard's mods at Creations and Nexus Mods.
- Need help with Richard's mods? Visit Help Richard Help You.
What's new
- 2026-12-03. The page now has a Richard is modding panel that links to Richard's mods at Creations and Nexus Mods, and to Help Richard Help You.
- 2026-11-29. This page has a new look, the same as the other Richard Presents pages, with a menu that lights the section you are reading, a short summary at the top and this What's new box.
- 1Run the conflict report.
- 2Open report.html and read the conflicts.
- 3Build a patch, choosing winners with --pick if you want.
- 4Load ConflictPatch.esm last.
- 5After any mod changes, run patch check.
What you need
- sf-mod-check 0.30.0, installed as in Getting started. It needs the game's Data folder for masters. The Steam default path is found by itself. For Game Pass, add
--data "<drive>:\XboxGames\Starfield\Content\Data". - Your load order. By default the commands read the game's own Plugins.txt.
- Your setup. Vortex deploys mods into the real Data folder, so the commands work as they are. Under Mod Organizer 2 (MO2), add
--mo2 "<instance folder>"(and--profile "<profile name>"if you don't use MO2's selected profile) toconflict,patchandfind. They need sf-mod-check 0.16.0 or newer. - A backup. The patch is a new plugin and changes nothing else, but back up your load order before you add it.
- Enough memory. The tool can stop with
--max-memoryif a run grows too large. Never runcheckon Starfield.esm, which needs over 30 GB of RAM.
Steps
What a conflict is
A record conflict happens when two mods change the same record, for example the same weapon or the same item. The mod that loads later wins, and the other mod's change is lost. Many conflicts are harmless. Some are not.
Find the records mods share, before you install them
Since sf-mod-check 0.26.0 (released 2026-11-27), overrides lists the records that two or more mods change, by record type, with the plugins in load order and the winner marked. It counts only mods, never the official files, so a record that only the game and one mod hold is not listed. With no options it reads your load order.
sf-mod-check overridesTo keep some record types, add --type, as in --type DIAL,INFO. To list only records that at least three mods hold, add --min 3. To ask who else edits records you already know, put their FormKeys or FormIDs in a text file and add --records <file>. The official copies are shown too, so you can see what the mods change.
To compare mods you haven't installed, give --plugin once for each download. It takes a .zip, .7z or .rar and unpacks it into a temporary folder that is deleted when the run ends. A later --plugin wins a name clash. With two or more --plugin inputs, a download whose master you don't have is left out with a note. With only one --plugin, a missing master stops the run with exit 2, so add --masters-dir with the folder of the required mod. The exception is one archive that holds several plugins: then only the plugin whose master is missing is left out, with a note. If every plugin in that archive is missing a master, the run still stops with exit 2.
sf-mod-check overrides --plugin A-1.0.zip --plugin B-1.0.zipoverrides exits 0 when it listed records, 1 when it found none and 2 when it couldn't run. Use it to see where mods collide, and use conflict (step 1 below) for the full report on your load order.
1. Run the conflict report
sf-mod-check conflictTo choose where the report goes, add --out:
sf-mod-check conflict --out conflict-reportIf the run is too large for your PC, limit its memory (the number is in gigabytes):
sf-mod-check conflict --max-memory <GB>The tool writes report.html, report.md and conflicts.json. Open report.html in your browser.
Under MO2, give it your instance. It reads the profile's load order and looks for each plugin, archive and loose file in MO2's Overwrite folder, then in each enabled mod from the top of modlist.txt down, then in Data, the way MO2 builds its virtual Data folder.
sf-mod-check conflict --mo2 "<instance folder>" --profile "<profile name>"This was tested on made-up MO2 folders, so the first time, check that the report's load-order line reads MO2 profile <name> (<folder>), <n> active entries and read its load-order problems. --mo2 doesn't go with --plugins. Since sf-mod-check version 0.18.0, the rerun command in the reports and in patch-report.md repeats the --data and --extra-data you gave, so a pasted rerun reads the same files.
2. Let sf-load-order rate the conflicts
sf-load-order runs sf-mod-check for you and rates the conflicts in its own report. Under MO2, run it with --mo2 and --profile, and since sf-load-order version 0.3.2 it hands your instance and profile to sf-mod-check conflict --mo2 itself. The load order page shows how to run it.
.\sf-load-order.cmd3. Build a patch
patch makes a local plugin, ConflictPatch.esm, plus patch-report.md and patch-sources.json. By default it builds from your whole load order.
sf-mod-check patchThe patch and its reports go into a folder called sf-mod-check-patch in the current folder, unless you give --out.
To patch only some plugins, name them, separated by commas. Each one must be active in your load order, or the run stops with exit 2 and says that plugin isn't active.
sf-mod-check patch --only MyMod.esm,OtherMod.esmA --name that is another mod's name is refused since sf-mod-check 0.30.0: when the load order already holds a plugin with that name and it isn't an older patch made by sf-mod-check patch, the run stops with exit 2 and RESULT: CANNOT BUILD (--name <name> is another mod in the load order), and nothing is written. The same holds for the default name ConflictPatch.esm when another mod has it. Pick another --name. An older patch of that name is still replaced.
To pick which plugin wins a record, give the record's FormKey, an equals sign and the plugin, as in the example below (064F3C:Starfield.esm is the record and OtherMod.esm the plugin that should win). To pick one field only, put the field name after the FormKey: --pick 064F3C:Starfield.esm:Value=OtherMod.esm. You can repeat --pick. patch-report.md prints ready-made --pick lines for the records it found, so you can copy them. The plugin you pick must be active in your load order.
sf-mod-check patch --pick 064F3C:Starfield.esm=OtherMod.esmSince sf-mod-check version 0.19.0, patch merges quests by their parts and builds dialogue. When two mods each add or change a different stage, objective or alias of one quest, the patch keeps both changes: stages and objectives are matched by their number (Index) and aliases by their alias ID, and the quest's script properties merge one by one. Dialogue topics and dialogue lines are built too, each line inside its topic and each topic inside its quest, and a line one mod added keeps its place after the line before it. When both mods changed the same alias, the patch keeps the winner's and lists it under Choices in patch-report.md. A condition list, and a dialogue line's responses, are each taken whole from one mod.
4. Load the patch last
Read patch-report.md, then install ConflictPatch.esm with your mod manager like any other mod, and put it at the end of your load order. Under MO2, add the patch as a mod of its own: choose Create empty mod, copy the patch into the new mod's folder, enable it, and put the patch at the end of the plugin list. With --mo2, --out may not be an MO2 mod or Overwrite folder. Then run .\sf-load-order.cmd again to confirm the order.
5. Check the patch again after any change
A patch is built from the mods you had when you made it. After you add, update or remove a mod, ask whether it is still current. Give the path of the patch you installed, for example the copy in your Data folder or in its MO2 mod folder.
sf-mod-check patch check "<path to>\ConflictPatch.esm"patch check compares the patch with your load order, so run it once the patch is installed and active. For a patch that isn't active, sf-mod-check prints a patch-off NOTE and, since version 0.18.0, RESULT: NOT CHECKED (...), because nothing was checked. Since version 0.29.0 that run exits 2, the code for "could not check"; versions 0.18.0 to 0.28.1 exit 0, the same as for a patch that is up to date. So read the RESULT line, not only the exit code. (Versions 0.16.2 to 0.17.0 printed RESULT: UP TO DATE (the patch isn't in the load order; nothing was checked) instead.)
Look at one record
find shows one record: the plugin that defines it, the plugin that wins it, the other plugins with a copy, and the winning copy's main fields. Give an exact EditorID, a FormKey such as 01295A:Starfield.esm, or an 8-digit FormID as the game's console shows it. Add --type <SIG> to keep one record type, or --json for a script. The last line is RESULT: FOUND n record(s) (exit 0) or RESULT: NOT FOUND (...) (exit 1).
sf-mod-check find <EditorID>Example
This is a made-up case: say two mods both change the damage of the same vanilla item. The conflict report lists that item once, names both mods, and shows which one wins. If you prefer the other mod's version, build a patch with --pick naming that mod for that record. Load the patch last, and the game uses your choice.
Reading the results
- The report.
report.htmllists conflicts by record, with the plugins involved.conflicts.jsonholds the same data for other tools. - Patch check. The result line says
RESULT: REBUILDwhen the patch is out of date. If the patch is current, it saysRESULT: UP TO DATE, andRESULT: NOT CHECKEDmeans the patch isn't active, so nothing was checked. Rebuild after any change to the mods it was built from. - Overrides.
overrideslists records, not problems. Two mods that change the same record are not always in conflict, so read theconflictreport for what matters. - Exit codes. For
conflict, a stop caused by--max-memoryexits 3. Forpatch check, read theRESULT:line, not only the exit code.conflictexits 0 when it wrote a report, 2 when it couldn't run and 3 when it stopped at--max-memory.patchexits 0 when it wrote the patch (or had nothing to patch), 1 when reading the patch back found a difference (don't use that patch, and report it with a--logfile), 2 when it couldn't run and 3 when it stopped at--max-memory.patch checkexits 0 when the patch is up to date, 1 when something needs a rebuild or a look, and 2 when it couldn't check. A patch that isn't active exits 2 since version 0.29.0 (0 in earlier versions). - Rating. sf-load-order rates the conflicts it finds, so you can see which matter most.
A real run
These lines come from real runs of sf-mod-check 0.30.0 on a made-up load order: the official plugins and the two tutorial mods (paths shortened). The two tutorial mods change nothing in common, so no conflict is found, and the report has nothing to patch.
conflict and overrides:
sf-mod-check 0.30.0 conflict: 20 plugins (18 official, 2 mods), 0 records overridden by mods
RESULT: OK, 0 lost-change entries (0 official, 0 mod vs mod), 0 benign entries shown apart, 0 ITMs, 0 load-order problems (report: C:\Example\sf-mod-check-conflict\report.html; 3 s)sf-mod-check 0.30.0 overrides: records held by 2 or more non-official plugins, in 20 plugins (Plugins.txt (C:\Example\Plugins.txt), 2 active entries)
RESULT: no record is held by 2 or more non-official pluginspatch with nothing to patch (exit 0), and patch check on a patch that isn't active (exit 2):
0 records overridden by mods
RESULT: OK, nothing to patch: 0 forwardable fields, 0 records not built (report: C:\Example\patch-out\patch-report.md; 1 s)NOTE [patch-off] ConflictPatch.esm isn't in the load order (it isn't active in Plugins.txt), so nothing else was checked.
RESULT: NOT CHECKED (the patch isn't in the load order; nothing was checked)find Health (the 22 s run time depends on your PC). The field list is cut to two fields, and Flags is the raw number the plugin holds:
sf-mod-check 0.30.0 find: Health in 18 plugins (Plugins.txt (C:\Example\Plugins-official.txt), 0 active entries)
Health [0002D4:Starfield.esm] AVIF "Health"
defined in: Starfield.esm (base game)
winner: Starfield.esm (base game)
fields:
Abbreviation: "HP"
Flags: 2550235184
RESULT: FOUND 1 record (22 s)A real conflict between two other authors' mods can't be shown from public files, so the "Example" section above is a made-up case.
When PMT isn't enough
A conflict patch holds other authors' data. Use it for your own game only. Never publish it, share it or upload it anywhere.
A mod's ship change can't beat an official BlueprintShips- file, because that is an engine rule. No patch fixes it.
patch doesn't build scenes or dialogue branches yet. The report lists them under "Not built" so you can copy their fields in xEdit. It also leaves out a dialogue line that sits in two topics, a topic that sits in two quests, and a line or topic whose parent no plugin holds, and the report says why for each one. After a quest is merged, an objective target or a fragment's alias that still points at an alias the merged quest no longer has gets a line under Notes, so check that record in xEdit.
PMT runs on a PC. A patch is for a PC game and does not apply to consoles.