Actually, I have been working on such an app for a while, scanning the 'switches.xml' file to get the type, values, description etc. for the switches. It has now reach beta test status.stevenh wrote:Who here puts their hand up for creating a new configuration app?
Attached is a screenshot, and a .zip file with the current version of the program. It is reading 'switches.xml' and 'ttdpatch.cfg' and presents it in a categorized tree. There is also the possibility to change the values of switches, and you can save the modified result as 'ttdpach.cfg'. The old config will be renamed to 'ttdpatch.cfg.0000' etc. so you should never lose anything.
If you find this interesting, please install it in your TTD folder and test it on your configuration file and tell me about problems with it (accompanied with your config file).
The (Delphi 5) source is also available for anyone interested.
History:
2006-07-31 Version 1.0
2006-08-13 Version 1.1.2
????-??-?? Version 1.2.?
2009-10-23 Version 1.3.0 Fixed reading of JGR:s new switches (handles 'base' directive)
2009-10-25 Version 1.3.1 Backwards compatibility with TTDPatch < r2250
2009-11-06 Version 1.3.1 For real! I don't understand what happened with the previous zip file !?