DEF CHECKER v. 0.0.1 (Windows only)
Another small utility which was very-very helpful for me to correct a lot of issues.
Run this program, press Start button, and select JSON files of creatures (they must be located in your mod structure, for example, in folder "/config/-creatures/"
Program searches for values of “battle”,“map”,“iconsBig”,“iconsSmall” and checks, that these files are present in “/Sprites//” folders.
Now it works only, if values are on the same line as identifiers.
Example of good JSON information:
This helped me to figure out a dozens of wrong paths to map animation DEFs, missing missiles DEFs and icons.
PS In plans I have improving of this utility to check existence of sound files also.
PPS This works only with mods, where “Content” folder is not zipped. To use it with zip first unpack contents of “Content.zip” to /Content/
PPPS There were problems with adding attachments, now they are fixed, so I share this tool.
I think I will add later also checking of DEF/Graphics files for heroes JSONs, faction.json and structures.json. But now I don’t have time for this.
DEF Checker v 0.0.1.zip (18.5 KB)