Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - RedTheHusky

#1
Tools / Duplicate defName Conflict
February 07, 2015, 12:57:48 PM
Dont know if this was done. If it was, please can you send me the link.
I got anoyed when a mod overrides a WorkGiverDef, so I made this application that finds duplicated defNames.
The first button makes an list of all XML files.
https://www.dropbox.com/s/tcihpi7zmxegwoe/2-7-2015%207-24-30%20PM.png?dl=0
The second button reads the XML list and makes a defNameList
https://www.dropbox.com/s/sesbbq5hp1ibk77/2-7-2015%207-24-39%20PM.png?dl=0
And the last one checks if defNames duplicate
https://www.dropbox.com/s/objw6w642cwcde0/2-7-2015%207-24-50%20PM.png?dl=0

Of course i could have made it in just one button , but what if you wanted to see all the defNames, not just the duplicated ones.
Dosent check folder "texture", "assemblies", "languages" and "about".
Also dosent check folder "core" but i will (maybe) add an option to check it.
To use it, you need to put it in your game folder.
I added a bit funny error messages  :P
Quote
Empty! Hmmm. Thats bad.
Are you sure you put int in the right folder?
Try again?"

I have a question. If a defName x exist in ThingDefs and in ResearchProjectDefs, will one override the another or that only happens if both are the same type(ThingDefs ThingDefs ) ?

[attachment deleted due to age]