边缘世界 RimWorld

边缘世界 RimWorld

评价数不足
Unified Xml Export
   
奖励
收藏
已收藏
取消收藏
Mod, 1.1, 1.2, 1.3
文件大小
发表于
更新日期
33.511 KB
2021 年 1 月 15 日 下午 10:24
2021 年 7 月 24 日 下午 9:47
3 项改动说明 ( 查看 )

订阅以下载
Unified Xml Export

描述
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:
\RimWorld\Data\Core\Defs\WorkTypeDefs\WorkTypes.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:
You can't


Changelog:

1.0.2
+ RW 1.3 compatibility tag

1.0.1
lost to the history

1.0
+ release
热门讨论 查看全部(2)
3
2021 年 8 月 18 日 上午 3:27
recent update (25 jul) causes black screen in 1.2
sharkman
0
2021 年 7 月 25 日 上午 10:22
error after recent update
sidfu1
25 条留言
Mlie 7 月 31 日 上午 5:24 
Since this mod has been reported working in 1.6 I added it to the No Version Warning-mod
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2599504692
Krypt  [作者] 7 月 24 日 上午 11:46 
This is exactly the issue described in description of this mod. Yhe only workaround is to find this extra "e" in the original xml and remove it. Also you probably should report the typo to the mod developer
Just 7 月 24 日 上午 8:16 
Looks like there is an issue with too many records.
At line 1 520 489 the .xml breaks: https://imgur.com/a/2KFvloI
It is not an issue with VSC (I checked other editors).
turkler 7 月 23 日 下午 1:26 
amazingly, still works. thank you, this mod is a must-have for my purposes
Just 7 月 16 日 上午 11:06 
ah, found :D
Just 7 月 16 日 上午 11:05 
I use this mod a lot to have a *final* xml export after all patches are applied.

Btw, do you mind to share sources maybe?
turkler 7 月 13 日 上午 11:31 
godspeed, thank you! this mod has helped me troubleshoot my mods so much
Krypt  [作者] 7 月 13 日 上午 11:01 
1.6 - still works. Somehow.
Just 2024 年 8 月 23 日 下午 3:09 
1.5 works
turkler 2024 年 4 月 22 日 上午 5:35 
can confirm it still works