Russian Rockman wrote:So far the only mod I know of that changes this file is the Captains Edition. Is there a problem with how it is appended right now?
I've touched it quite a bit, mainly for altered artillery. Example from Frankenstein, the cooldown length for each level:
Image Link
I've also used it on my Heavy Assault ships, because the UI needed a new string for Level 10 shields.
Vhati wrote:Edit: Would it be acceptable to entirely exclude "misc.xml" from XML parsing/appending/tidying, to treat it as plain text?
Mods would still be able to change it, but only by clobbering the entire file.
As Russian Rockman says, CE uses this file, so it isn't really ideal for another mod like mine that just needs to add a little bit to clobber all of that.
Treating misc.xml as plain text sounds like the way to go, but I don't see why mods would need to clobber the entire file. Can't you just add "plain text" to the end of the file, either by making a special exception for this file, or creating a new file extension that allows appending without XML parsing/tidying?