Page 1 of 1

What happens to modded data after a game patch?

Posted: Wed Mar 23, 2022 4:17 pm
by boosthungry
Am I understanding correctly that modding data for this game does not utilize xml patching and instead just relies on editing the files directly? What happens to the files when there's a game patch? Are all mod edits overwritten?

Would be awesome if the game supported xml patching similar to games like X4 Foundations. It allows for the mod files to be in a mod folder so they're not impacted by game patches. It requires the patch syntax of the mod files to be maintained and updated if a new game patch changes the structure of the data file, but that's expected.

Re: What happens to modded data after a game patch?

Posted: Wed Mar 23, 2022 7:03 pm
by frankycl
boosthungry wrote: Wed Mar 23, 2022 4:17 pm (...) What happens to the files when there's a game patch? Are all mod edits overwritten?
No, only the edits of the files that are in the patch are overwritten. All other mods/edits that use other files are still functional. (the edits aren't really "overwritten", but the files that contained those edits are overwritten with a patch - unless the modder (or somebody else) adds them again in the newly patched files :| ) - But that, indeed, is a very unsatisfying and time-consuming system. :(
boosthungry wrote: Wed Mar 23, 2022 4:17 pm Would be awesome if the game supported xml patching similar to games like X4 Foundations. It allows for the mod files to be in a mod folder so they're not impacted by game patches. It requires the patch syntax of the mod files to be maintained and updated if a new game patch changes the structure of the data file, but that's expected.
Yes, the Devs have planned something like this (and I'm certain they will come up with a user-friendly system just like in DW1 - sometime ;) ) (see here: https://www.matrixgames.com/forums/view ... 9&t=380486) But unfortunately they are very busy with fixing bugs and solving other problems with the game atm, so that this might take a while. :roll:

Re: What happens to modded data after a game patch?

Posted: Fri Mar 25, 2022 2:00 am
by swizzlewizzle
Q from our modding community is building a YAML tool to do update/patch/etc.. on base game data (ie. the XML files). Supports variables, string operations and math (so you can modify hundreds of entries with one line of code if you want).

I would suggest looking at this once it's ready (and posted here) instead of wasting time with the XML stuff.