SH Validator v2.0.3 (something I made for SH5 that I ported over to SH4)
This app will verify your SH3/4/5 installation for common errors/bugs. It's best used after you have installed mods to see if anything was 'broke'.
Is it perfect? No. There is much more to code in for checking but as is it's very useful
It's very easy to use. Once you run the app it will immediately start validating your SH3/4/5 installation. Any errors reported can be found in associated boxes (plus the box will tell you how many errors are contained in it).
The app now lets you select the path to the install folder or have it read from registry
The app now also displays the .exe file version in the title bar
The app now lets you choose to validate SH3, SH4, or SH5
starting with v1.7.0 you can now save the errors to a text file (after validation is complete you'll have option to save errors). You also have the ability to add missing files from the classes to an ignore list (I've predefined some files for the ignore list that are not required for the game)
starting with v1.9.0 the log file generated now shows the countries defined, all the classes and types defined, and a breakdown of the roster (Country and units defined). This will greatly benefit modders and those curious to see what each country has. I've also made the textboxes more user friendly by enabling horizontal scrolling and indenting entries. A menu bar has been added that will allow you to save the log file (again) and re-validate (choosing which SH version) without having to close the app down and restart.
If you find the app useful then

If you don't then

also!
The above was ran on Stock 1.4b version of game
NOTE: Errors in the classes have to be interpreted. Some files are not required for some units. If you encounter errors in the classes and you have questions as to whether they are valid or not please post those questions to this thread.
v2.0.3:
http://www.gamefront.com/files/20758...DarkWraith_zip
How to interpret and fix common errors:
DefSide errors:
http://www.subsim.com/radioroom/show...8&postcount=26
Non-sequential ordering/duplicate entries:
http://www.subsim.com/radioroom/show...2&postcount=27
Campaign errors:
Type x not defined in y:
http://www.subsim.com/radioroom/show...4&postcount=41