AICHECK
AICHECK is an INI checker script for Red Alert 2 and Yuri's Revenge mods, that examines the main three INI files, rules(md).ini, art(md).ini, and ai(md).ini. It is run via a batchfile on Windows, but can be run via commandline directly on Linux, and creates a check.log file with the results of that examination. On windows the batchfile will automatically launch the check.log after a pause, so make sure to associate log files with your preferred text editor.
Before using AICHECK, all three INIs have to be extracted to the game directory, where AICHECK files should also be extracted, with the correct read/write permissions. A copy of the TCL runtimes (version 8.3+) have to be installed, available through Activestate, link below.
To configure AICHECK to run correctly, and read the right files, the aicheck.tcl will have to be edited to manually set the path for the game, and the specific filenames used by the mod. Pay close attention to the 'ra2dir' example path, TCL doesn't support backslash for path navigation, it uses the UNIX system of forwardslash. Other important settings and toggles are also located within the aicheck.tcl that control how thoroughly it tests some conditions, or what content to ignore.
AICHECK does have limited Ares/Phobos support, specifically for cases like [WeaponTypes] and [ArmorTypes] arrays that hook into existing tests, but were not specifically declared in the original games. There is no 'include' file support, in such cases all the attached INI extracts have to be merged back into the main INI, luckily there's a script for that too AICLEAN...