Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Wed May 24, 2023 2:23 am Post subject:
AIClean 6.0 has been released!
Subject description: Cleaning the way to merge your ideas! If that makes any sense, of course!
Are you picking this up? Good! Reinforcements have arrived from G-E, leader of AIClean, as AIClean 6.0 has been recently posted by their team. For those unaware of what is being written here, AIClean is a TCL script for filtering/simplifying the main rules/art/ai inis. It removes junk, merges objects, and re-writes the ini in an organized manner, with a customizable order as specified in aiclean.cfg. This applies both to the objects themselves, and the content of the objects. The changes from AIClean 6.0 were announced with the following words:
Quote:
MASSSSSSIIIVE UPDATE!
AICLEAN 6.0...
The first thing is the engine has had a major rewrite for a lot of parts so that sections are now able to be specified in the aiclean.cfg to come first, these would be the declaration lists and other major headers. Then not only will AICLEAN write those sections as specified, but will afterward write each object belonging to those sections in the same order. The only exceptions to this are a few things that get written purposely at the end of rules.ini.
The second major feature is the ability to MERGE inis using the [include] functions. It will not merge nested includes, and it might even crash if you try, so only the first level is supported. The merged data is used as a priority for object code but will remove duplicated tags and do its best to sort out the lists. The resulting inis will no longer have to include sections, and the external inis can be deleted/moved.
As part of these major changes, the aiclean.log will be a lot more verbose, and will explain largely the changes made, but also highlight some problems that need you to resolve. Keep in mind AICLEAN is not really an analysis tool in the way it's architected, it doesn't know or try to guess what is what, and only if it's explicitly declared, or in some cases used, will it know. This means that "orphans" are considered anything undeclared and unused generally speaking, but it also means that you need to check your inis with AICHECK afterward and fix the errors.
This is a very extensive overhaul and although it was tested on SE and GC, it's possible it does weird things on yours. Please leave any feedback, testing has been difficult.
Mods, Mods Support, Public Researchs, Map Archives, Tutorials, A Friendly Community and much more. Check it out now! Last edited by Banshee on Wed May 24, 2023 4:23 pm; edited 1 time in total QUICK_EDIT
"AIClean is a TCL script designed as a general cross-checker for map files from Red Alert 2, helpful in finding unit/declaration errors and incomplete ideas." -- you have the script mixed up with Mission Tester (MISTEST) posted just above it.
AICLEAN is for filtering/simplifying the main rules/art/ai inis. It removes junk, merges objects, and re-writes the ini in an organized manner, with a customizable order as specified in aiclean.cfg. This applies both to the objects themselves, and the content of the objects. It's not really an analysis tool, and does minimal error/cross-checking, it's more concerned with form and layout.
You'd still want to use AICHECK to look for problems afterwards, but clean.log will contain plenty of issues, again mostly to do with layout, missing or duplicated objects, and other process notes like that.
AICLEAN as you can see by the screenshot, will also automagically declare some objects in the lists, if they are referenced (knows what they are then) and they exist, but will not declare something that exists without a reference or doesn't exist at all, since again it does minimal analysis of code, it won't figure out what the orphans might be.
When you specify sections like InfantryTypes in the [Section] part of the cfg, it will write the declarations first, but then write all the declared infantry in a contiguous block in sequence to with other headings specified. _________________ http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai QUICK_EDIT
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