Priority:
Game assets are loaded into memory using relative paths. Data files typically begin with “records” and have a priority. If a mod is running, the priority might be:
- mods\modName\database\records
- gdx2\database\records
- gdx1\database\records
- database\records
That is, if the same file exists in all four locations, file #1 will overwrite the others; only file #1 takes effect.
The same applies to the resources folder.
Another point worth noting:
There are two debug directories.
The Settings folder under the game directory and %USERPROFILE%\Documents\My Games\Grim Dawn\Settings can contain files unpacked from Arc, such as the Text_EN folder and its .txt files, the UI folder and its files. For example, moderngrimdawnui was installed in this way.
This should have the highest priority, but I haven’t tested it.
Your questions:
- If you modified the dialogue files in npc.dbr to link to other files, then you need to place the dialogue files in the mods\resources\Conversations.arc file.
And npc.dbr must also be placed in the same location as the original relative path, so that it overwrites the original dbr file with the same name. - If you did not modify npc.dbr, but modified the cnv file it links to, then you need to package the modified cnv file into Conversations.arc and place it in the mods\resources directory.
A simple way to remember this:
mods overwrites main.