Posted: Fri May 26, 2023 7:15 am Post subject:
TAGLIST - a script to check validity of tags within rules.ini
Subject description: (supports TS/FS/RA2/YR explicitly, and has extended cfg for addons like Ares)
The vanilla games come included with several capitalization errors like "Maxdebris" and other tags, but it is all too easy to make such a typo when modifying rules.ini for a mod. This script is meant to catch such mistakes and record anytihng it finds to a log file.
The scope of the script's checking is however limited to the unit classes, buildings and warheads. As these are the longest code blocks typically, that's where the majority of mistakes will be, and in a few cases where tags were incorrectly placed in one when it should be in the other, such as the BurstDelayX= tags. The secondary utility of this script is to ensure the code being used in rules.ini matches the game being played, so that FS tags aren't employed when the target game is TS, or similarly that YR code isn't used in a RA2 mod.
As with all such scripts the taglist.tcl has to be edited, with some basic settings defined, most importantly being which .cfg file is loaded, and where the rules.ini exists.
In the future this could be expanded to encapsulate more object classes, and maybe even art.ini tags, but there are no plans at the moment to do so.
Current version: 1.3c
EDIT 11/15/2024: the tags-ra2.cfg was missing an entry for Organic, that's all the update adds.
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum