Skip to content

Command Line Usage

Cl3mus33 edited this page Aug 20, 2026 · 1 revision

Command-Line Usage

Most people will only ever need the GUI (see Getting Started). This page is for advanced users who want to run BOSPriority from a script or the command line — for example, as part of a larger automated mod-list build process.

Syntax

BOSPriority.exe <game-dir> [output] --file-priority "ModA_SWAP.ini,ModB_SWAP.ini" [--dry-run] [-v|-vv]
Argument Meaning
<game-dir> Your Game Location — the folder containing Data\. Same thing as the GUI's Game Location field. Not your MO2 instance folder.
[output] Your Output Location. Optional — omit to use whatever default the tool falls back to.
--file-priority "A,B" A comma-separated list of _SWAP.ini filenames, lowest priority first, used as a fallback ranking for any conflict that doesn't already have a saved decision.
--dry-run Same as the GUI's "Preview only" — logs what would happen without writing anything.
-v / -vv Increase log verbosity (one level / two levels).

Important: this only covers conflicts with no saved decision

Per-key winner/exclude choices are GUI-only — they're read from and written to BOSPriority_decisions.json in your Output Location, the same file the CLI reads. --file-priority is a fallback ranking used only for conflicts that file doesn't already have an answer for. If you want full, deliberate control over every conflict, resolve them once in the GUI first (see Resolving Conflicts) — after that, the CLI can be used for repeat/automated runs that pick up new conflicts using your fallback ranking, without needing the window open.

Must still run through your mod manager's environment

The same USVFS requirement as the GUI applies here — running the .exe (even from a script or terminal) has to happen in a context where your mod manager's virtual file system is active, or it will only see your real, un-merged Data\ folder.

Clone this wiki locally