PDA

View Full Version : ATVTW - Trait/Ancillary Validator



Squid
02-08-2010, 17:33
Current Version: Version 2.0.7
Required: .Net Framework v3.5 or better

What does ATVTW do?

ATVTW is a program which validates the trait/ancillaries for Rome: Total War, Barbarian Invasions, Alexander: Total War, Medieval II Total War and Kingdoms. It checks most problems (common and rare) related to traits/ancillaries, and will display those errors when requested. It displays all information about each trait, ancillary and trigger. It has built in search functionality if you need to move to specific traits/ancillaries/triggers. It checks the traits/ancillaries in descr_strat and export_descr_prebattle_speeches if the traits exist and if the levels are valid. It will also give you a list of traits and ancillaries which cannot be acquired through triggers.

How to use ATVTW:

There are two parts to using ATVTW. The first is parsing the trait/ancillary files, this is the first thing that you do when you start the program. If you haven't used the program before you'll need to create a new setting (mod). This basically involves choosing the engine, the name of the settings and the data folder in which all the files reside. If the setting you want already exists, open it. Upon creating or opening a setting the files will be parsed, this will identify errors (one per trait, ancillary or trait) where ATVTW cannot properly read a trait, ancillary or trigger. These errors must be fixed before continuing. Once the files are successfully parsed, use the next problem button on each tab to find errors and/or warnings.

Required Files:
data/export_descr_character_traits.txt
data/export_descr_ancillaries.txt
data/descr_cultures.txt
data/descr_sm_factions.txt
data/export_descr_buildings.txt
data/export_descr_units.txt
data/text/export_VnVs.txt
data/text/export_ancillaries.txt

Required M2TW Files:
data/descr_missions.txt
data/descr_religions.txt

Optional RTW File:
data/descr_beliefs.txt

Download: http://www.twcenter.net/forums/downloads.php?do=file&id=2657 (until download section is re-enabled here)

Features to come:

Add ability to identify custom trait/ancillary attributes not present in vanilla
Add the ability to modify and add to the traits/ancillaries files
Improve handling of window resizing for the tab control portion of the program
Add ability to read ancillary images from the packed content (RTW at least) as well as the local ui/ancillaries folder
Add ability to monitor files for changes and to reparse files when changes detected
Add ability to check scripts for trait/ancillary existence and correct levels (traits only)
Any other suggestions that are made that I can figure out how to implement http://www.twcenter.net/forums/images/smilies/emoticons/grin.gif

If you find any bugs or have any suggestions for improvements please post them here or PM them to them.

Special thanks go to Tamur for releasing his code so I could work on it, and to Calvin for all his work in testing the program and all his suggestions for improvements. He will be missed.