Results 1 to 8 of 8

Thread: Trait Description Validator

  1. #1
    RedFox's Avatar When it's done.™
    Join Date
    Nov 2006
    Location
    Estonia
    Posts
    3,027

    Default Trait Description Validator

    Sometimes, if you happen to add dozens of new traits, you accidentally mistype a description reference. Result? Errorless CTD and following that, a few hours of pulling out your hair. If you happen to be in need of something like this, worry no more:

    Code:
    Validator © by RedFox
    Opening Stream... export_descr_character_traits.txt
    Scanning...................................................................
    ...........................................................................
    .............................
    >>ERROR: line 6583, no description for: 'Loyalty_Suppress'
    .
    >>ERROR: line 6596, no description for: 'Loyalty_Allow'
    ..........
    >>ERROR: line 6815, no description for: 'gRebelGeneral'
    .
    >>ERROR: line 6828, no description for: 'gNotRebelGeneral'
    ...........................................................................
    >>ERROR: line 9113, no description for: 'Study_in_Taxila1'
    .
    >>ERROR: line 9136, no description for: 'Study_in_Alexandria1'
    .
    >>ERROR: line 9159, no description for: 'Study_in_Pergamum1'
    .
    >>ERROR: line 9181, no description for: 'Study_in_Athens1'
    .
    >>ERROR: line 9203, no description for: 'Study_in_Istakhr1'
    ...................................
    >>ERROR: line 9917, no description for: 'Roman2'
    ...........................................................................
    ...........................................................................
    >>ERROR: line 13306, no description for: 'CivilWarSideWithRulerGreek'
    .
    >>ERROR: line 13319, no description for: 'CivilWarSideWithRebelGreek'
    
    Task completed! Check ErrorLogTraits.txt for all Errors.
    Press any key to continue . . .
    Just put this little program to your modfolder. It will search for >\data\export_descr_character_traits.txt and >\data\text\export_VnVs.txt

    If you found this program useful, be sure to +rep yours truly

  2. #2

    Default Re: Trait Description Validator

    I think Squid's ATW validator already includes this functionality.

    Still, good stuff.
    Last edited by Squid; April 13, 2009 at 03:49 PM.

  3. #3
    RedFox's Avatar When it's done.™
    Join Date
    Nov 2006
    Location
    Estonia
    Posts
    3,027

    Default Re: Trait Description Validator

    Well, it was really easy to write one and we needed one to check the traits. I figured there was no reason to let it gather dust in the release folder. This interface is really basic, too. All you need to do is put it into the modfolder and launch it. That's all there is to it. It quickly checks through the files without anything too complicated.

  4. #4

    Default Re: Trait Description Validator

    Seems nice Good tools you are sending to the community, they can be very useful.
    Big "Diadochi:Total War" fan! Click HERE to download the full game, and the latest patch!

    Quote Originally Posted by Mythos_Ruler View Post
    "Lesbians" are people from Lesbos. The reason we call homosexual women "lesbians" today was because of the famous poet Sapho from Lesbos who extolled the virtues of female love. Just some FYI.

  5. #5
    Finch's Avatar is Deadpool
    Join Date
    Feb 2009
    Location
    X-Mansion
    Posts
    1,678
    Tournaments Joined
    1
    Tournaments Won
    0

    Default Re: Trait Description Validator

    Thank you so much Redfox for you very useful tools

    do you have plans for like a DMB validator tool?




  6. #6
    RedFox's Avatar When it's done.™
    Join Date
    Nov 2006
    Location
    Estonia
    Posts
    3,027

    Default Re: Trait Description Validator

    do you have plans for like a DMB validator tool?
    Not at the moment. I haven't encountered any problems with that. Care to explain what can cause nearly untraceable CTD's there?

  7. #7
    Finch's Avatar is Deadpool
    Join Date
    Feb 2009
    Location
    X-Mansion
    Posts
    1,678
    Tournaments Joined
    1
    Tournaments Won
    0

    Default Re: Trait Description Validator

    Quote Originally Posted by RedFox View Post
    Not at the moment. I haven't encountered any problems with that. Care to explain what can cause nearly untraceable CTD's there?
    yes like to see if the codes of sprites are correct or the locations of the model or textures are right, something like that especially the sprites since that can cause errorless ctds is that possible to make a program for DMB?




  8. #8
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,760
    Blog Entries
    3

    Default Re: Trait Description Validator

    It is possible, but the problem with detecting missing sprites/textures is that the sprites/textures can be inside a .pak file, which is significantly more difficult to verify.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •