Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Nov 08, 2024 10:57 pm
All times are UTC + 0
TAGLIST has been released for Red Alert 2 modders!
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [2 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Wed May 03, 2023 4:39 am    Post subject:  TAGLIST has been released for Red Alert 2 modders!
Subject description: Looking for CAPITAL sins in your code!
Reply with quote  Mark this post and the followings unread

Are you picking this up? Good! G-E has recently announced a new tool known as TagList. It is a TCL script designed to find improperly capitalized tags within rules.ini from Red Alert 2. Here are the changes and the fun stuff from TagList:

Quote:
Here's a new script TAGLIST...

The purpose of this script is to merely find improperly capitalized tags within rules.ini specifically. It has part of the code necessary to check art.ini as well but is currently disabled. Now not all of rules.ini is parsed. It focuses on the various unit types, buildings, and warheads, as this is primarily where you will have the errors.

The script has two modes of operating:

1. Look through the object code, and compare any tags found to a list of known tags in a case-insensitive manner, and then a second time as case-sensitive, as stored in the taglist.cfg file. It will log the tags it finds that it doesn't know and will also log the tags that it knows are incorrectly written.

2. Look through the object code, and compare any tags to the list in taglist.cfg, but only log the ones not listed. They are logged/written just as the tag, with no error or warning message to explain it in this mode so that the list can easily be copied to add to the taglist.cfg, which you should only need to do for the new tags added by Ares and other extensions.

Caveats to the operation as that taglist.cfg smashes all the known tags for buildings to infantry in one [Units] section, purely out of simplicity and the extensive overlap. What this means is that tags applicable to only buildings will not be called out as errors if found on units or vice versa. The script is really just looking at syntax and thus doesn't specifically even indicate which object had the incorrectly written tags, expecting the user to do a replace-all in the ini to fix it.

I maaaayy in the future, add the ability to correct such mistakes in the inis with AICLEAN, but that would be only after I have expanded this script to include all the other code sections, and I'm still not convinced it is required.

PS. A small warning, JumpjetAccel can prevent jumpjet units from landing, so the incorrect spelling found in rules.ini is actually preventing a behavior bug. Fixing it would thus re-enable the bug.

PPS. Strictly speaking, this is compatible with TS as well, although you'd have to go through taglist.cfg to remove RA2-specific tags and add any TS-specific ones.



You can find more information about TagList by visiting the Topic at PPM Forums. TagList is available for download Here. And that's all regarding TagList for now. Stay tuned at PPM for more news about TagList!


Key Words: #News #Release #RedAlert2 #TagList 

_________________


Mods, Mods Support, Public Researchs, Map Archives, Tutorials, A Friendly Community and much more. Check it out now!

Back to top
View user's profile Send private message Visit poster's website Skype Account
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Sat May 06, 2023 2:18 pm    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message Visit poster's website Skype Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You cannot 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


Powered by phpBB © phpBB Group

[ Time: 0.1736s ][ Queries: 11 (0.0082s) ][ Debug on ]