conflicts

Says which copy of a resource the game takes, and every copy of it in the order the game looks for it (with each copy’s priority, and why the game does not have one where it does not), for one resource (name) or every resource more than one source has. The order is the game’s, read in the exe, for the campaign, language and texture quality ghilana was started with. Use it to see what an add-in or a mod overrides and what overrides it (source: lost counts those it does not win), or where a resource comes from.

Read-only: it writes nothing.

Arguments

Name Type Required What
name string   One resource: every copy of it. Default: every resource with more than one copy.
source string   Only resources one of whose copies is in this source: one add-in’s or mod’s conflicts.
type string   Only resources of this extension.
across_sources boolean   Only resources whose copies are in more than one source. Default true; false adds a source’s own repeats (a core file and its patch).
unused boolean   Count and list copies the game does not have too (another campaign’s, language’s or texture quality’s, a disabled add-in’s). Default false.
limit integer (≥ 1, ≤ 5000)   The most to return. Default 100.
offset integer (≥ 0)   How many to skip first, to page through a long answer. Default 0.

Call it as conflicts over MCP, or from a shell as ghilana.exe --call conflicts '<arguments as JSON>'.