Unified Xml Export

If you liked this item, please rate it up on Steam Workshop page.

Author: Krypt

Last revision: 4 Feb, 2021 at 14:15 UTC

File size: 23.55 KB

On Steam Workshop

Description:

Debug intrument to export unified xml.
That xml is internally used by RimWorld to deserialize data after loading mods and applying patches

File saved on game startup and located in Mods directory by default. You can change its location in mod settings.

You can use it to check how exactly your xml patches were applied and inheritance resolved.

On question why buttom half of the file is not indented with "indent" option:

Some xml files have randomy placed characters in them (typos, I presume). Xml engine presumes they have meaning and trying to preserve exact text value of the xml node.

One such file is present in Rimworld data directory:
RimWorldDataCoreDefsWorkTypeDefsWorkTypes.xml
search for ">>" and remove extra angle bracket.

Mod’ xml files can have the same issue. Already reported bugs to Locks and Nyaron ones.

Warning: resulting xml have size of several megabites. You need a text editor capable of opening large files.

Donate:
I’m an lazy guy, but you can improve my motivativation by ko-fi: https://ko-fi.com/krypt

Changelog:
1.0
+ release

Download
Required items:

Click the title to search on this site.


HarmonySteam Workshop
RWLayoutSteam Workshop