Page 12 of 30 FirstFirst ... 2345678910111213141516171819202122 ... LastLast
Results 221 to 240 of 582

Thread: Bovine M2TW Checker

  1. #221
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,096
    Blog Entries
    35

    Default Re: Bovine M2TW Checker

    Quote Originally Posted by bovi View Post
    I'm confused. We don't even have that descr_aerial_map_bases.txt in EB2, yet we have such references that seem clearly custom to me, like roman_watchtower. Maybe we don't use the base in any way, and just have random strings in there that aren't meant to do anything but need to be present? Anyway, that's the reason why I couldn't find those anywhere else, I only looked in EB2.
    It's a default reference file carried over from RTW (and the references you bolded are default entries in there) that hardly ever gets edited and thus isn't included in mods. The only reason to edit it would be to modify the size of a 'base' to fit it to a custom model. The TGA files referenced may appear in a mod if a color change is desired.

    The easiest way to trace default files is to unpack the main game outside the game's directory. It makes for easy removal once it's no longer needed.










  2. #222
    _Tartaros_'s Avatar "Harzschütze"
    Join Date
    Aug 2009
    Location
    kvet.lɪnˌbuʁk
    Posts
    4,492

    Default Re: Bovine M2TW Checker

    it seems the new checker version don´t runs smooth through all the files.
    i´m not sure, if it is my incompetence to configure it correct or something else.
    i´ve tested another mod of mine and there the checker.output file ended with "Finished checking without any crash. Yay!" (and 12.974 issues ...)

    Code:
    Wed Dec 23 14:25:28 CET 2020: Starting up the checker.
    Initializing components.
    Wed Dec 23 14:25:28 CET 2020: Constructor finished. Starting reading process.
    Reading configuration files...
    acceptedMissingFiles.txt
    vanillaFiles.txt
    acceptedNonReferencedFiles.txt
    acceptedMissingMounts.txt
    acceptedMissingSkeletons.txt
    acceptedUnusedMounts.txt
    acceptedUnusedSkeletons.txt
    acceptedUnusedBattleModels.txt
    acceptedUnusedStratModels.txt
    genericSounds.txt
    unquotedDiplomacySounds.txt
    acceptedAccentPrefixes.txt
    Wed Dec 23 14:25:28 CET 2020: Configuration files reading complete. Starting reading game files.
    descr_sm_factions.txt
    text/export_ancillaries.txt
    text/export_vnvs.txt
    export_descr_character_traits.txt
    Unrecognized token in EDCT 14598: healthpercentage. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 17703: ally_routs. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 17762: factionhasallies. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 17772: factionhasallies. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 18030: factionhasallies. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 18058: factionhasallies. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 18879: ransomamount. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 19818: noactionthisturn. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 26388: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28112: totalsiegeweapons. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28124: totalsiegeweapons. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28136: totalsiegeweapons. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28148: totalsiegeweapons. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28160: totalsiegeweapons. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28172: totalsiegeweapons. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28184: totalsiegeweapons. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28196: totalsiegeweapons. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28208: totalsiegeweapons. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28220: totalsiegeweapons. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28230: totalsiegeweapons. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28240: totalsiegeweapons. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28250: totalsiegeweapons. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28260: totalsiegeweapons. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28270: totalsiegeweapons. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28280: totalsiegeweapons. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28508: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28525: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28542: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28559: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28576: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28593: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28610: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28627: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28644: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28663: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28680: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28697: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28714: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28731: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28748: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28765: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28782: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28799: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28819: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28834: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28849: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28864: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28879: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28894: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28910: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28925: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28940: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28955: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28970: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 28985: percentageunitattribute. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 37318: i_factionleadertrait. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 37330: i_factionleadertrait. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 37342: i_factionleadertrait. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 37355: i_factionleadertrait. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 37368: i_factionleadertrait. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 37380: i_factionleadertrait. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 37392: i_factionleadertrait. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 37404: i_factionleadertrait. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 40427: factionhasallies. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 40435: factionhasallies. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 40445: factionhasallies. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 40455: factionhasallies. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 47594: isfactionaicontrolled. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 47609: isfactionaicontrolled. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 47626: isfactionaicontrolled. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 47638: isfactionaicontrolled. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 47647: isfactionaicontrolled. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 48862: governorinresidence. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 48876: governorinresidence. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 48890: governorinresidence. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 48902: governorinresidence. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 48915: governorinresidence. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 48928: governorinresidence. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 48941: governorinresidence. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 48952: governorinresidence. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 48963: governorinresidence. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 48975: governorinresidence. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 48987: governorinresidence. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 49601: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 49610: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 49619: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 49628: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 49637: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 49646: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 49655: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 49664: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 49673: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 49682: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 49691: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 49700: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 49709: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 49718: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 49951: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 49960: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 49969: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 49978: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 49987: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 49996: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50005: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50014: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50023: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50032: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50041: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50050: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50059: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50068: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50567: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50576: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50585: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50594: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50603: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50612: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50621: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50630: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50639: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50648: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50657: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50666: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50675: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50684: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50917: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50926: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50935: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50944: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50953: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50962: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50971: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50980: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50989: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 50998: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 51007: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 51016: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 51025: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 51034: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 51666: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 51675: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 51684: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 51693: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 51702: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 51711: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 51720: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 51729: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 51738: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 51747: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 51756: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 51765: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 51774: neighbourreligion. Typo in EDCT or fault in the checker?
    Unrecognized token in EDCT 51783: neighbourreligion. Typo in EDCT or fault in the checker?
    text/historic_events.txt
    descr_events.txt
    text/diplomacy_speech.txt
    Read 954 entries.
    export_descr_sounds_stratmap_voice.txt
    The target collection now numbers 4224 stratmap voice references.
    export_descr_sounds_units_voice.txt
    The target collection now numbers 5034 battle voice references.
    export_descr_sounds_soldier_voice.txt
    The target collection now numbers 11889 battle voice references.
    export_descr_sounds_narration.txt
    The target collection now numbers 11 narration voice references.
    export_descr_sounds_advice.txt
    The target collection now numbers 795 advice voice references.
    unit_models/battle_models.modeldb (syntax check)
    unit_models/battle_models.modeldb (parsing)
    descr_mount.txt
    descr_skeleton.txt
    descr_engine_skeleton.txt
    descr_engines.txt
    descr_character.txt
    text/export_units.txt
    export_descr_unit.txt
    descr_model_strat.txt
    descr_sm_resources.txt
    export_descr_buildings.txt

  3. #223
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,096
    Blog Entries
    35

    Default Re: Bovine M2TW Checker

    Don't panic - the condition reference list isn't complete. All the listed conditions are valid, although some are very seldomly used or only in battle scripts.

    @bovi - you may want to install squid's checker and then import the entries from it's M2TWScript.xshd file to complete your lists for events, conditions and commands, example:
    Code:
            <Keywords color="ScriptCommands">
                <Word>script</Word>
                <Word>end_script</Word>
                <Word>end_monitor</Word>
                <Word>not</Word>
                <Word>and</Word>
    
              ..../....
    
            <Keywords color="ConsoleCommands">
                <Word>add_money</Word>
                <Word>add_population</Word>
                <Word>ai_turn_speed</Word>
                <Word>amdb_max</Word>
    
              ..../....
    
            <Keywords color="Events">
                <Word>PreBattle</Word>
                <Word>PreBattleWithdrawal</Word>
                <Word>BattleAiCommenced</Word>
                <Word>BattleDelayPhaseCommenced</Word>
    
              ..../....
    
            <Keywords color="Conditions">
                <Word>TransgressionName</Word>
                <Word>I_InBattle</Word>
                <Word>WonBattle</Word>
                <Word>I_WonBattle</Word>
                <Word>Routs</Word>
                <Word>Ally_Routs</Word>
    Last edited by Gigantus; December 24, 2020 at 12:00 AM.










  4. #224

    Default Re: Bovine M2TW Checker

    Tartaros, the clue is in the output. It's saying which files it is reading, and then stops abruptly on EDB. This means it has crashed while reading that file. If you add a "pause" command at the end of the bat file starting the checker, you will be able to see the error message it spits out before quitting as well.

    Which mod is this for? If I get that mod, or your specific EDB file you upload somewhere, I'll be able to see how it's failing if I run it on my computer, step by step. I've successfully tested the parser on EB2, ROTK and SS (SSHIP), but yours might have some variance I have not seen yet. If it's actually one of those, chances are there are some recent changes from the released version that is making it freak out.

    Gig, thanks for your suggestion of Squid's tool. I'll do that.
    Last edited by bovi; December 28, 2020 at 03:09 AM.

    Having problems getting EB2 to run? Try these solutions.
    ================
    I do NOT answer PM requests for help with EB. Ask in a new help thread in the tech help forum.
    ================
    I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. - Stephen Hawking

  5. #225
    _Tartaros_'s Avatar "Harzschütze"
    Join Date
    Aug 2009
    Location
    kvet.lɪnˌbuʁk
    Posts
    4,492

    Default Re: Bovine M2TW Checker

    i´ve added the pause command in the batch file, but the commandline isn´t showing anything. added the edu. it´s from our mod TGC.
    Attached Files Attached Files

  6. #226
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,096
    Blog Entries
    35

    Default Re: Bovine M2TW Checker

    Code:
    Exception in thread "main" java.lang.NumberFormatException: For input string: "0.25"
            at java.lang.NumberFormatException.forInputString(Unknown Source)
            at java.lang.Integer.parseInt(Unknown Source)
            at java.lang.Integer.parseInt(Unknown Source)
            at sources.stratmap.building.BuildingReader.readBuildingCapability(BuildingReader.java:357)
            at sources.stratmap.building.BuildingReader.readBuildings(BuildingReader.java:176)
            at sources.stratmap.StratMapReader.readAll(StratMapReader.java:31)
            at sources.M2twDataReader.readItAll(M2twDataReader.java:38)
            at main.BovineM2twCheck.read(BovineM2twCheck.java:108)
            at main.BovineM2twCheck.main(BovineM2twCheck.java:21)
    My guess: "recruit_pool "Scutatoi" 1 0.25 1 0 requires factions ....."
    There were 361 instances of that value so I didn't check if it was a bonus value, too. However when changing the value to 0.3 in the whole document I am still getting that same error, so checking for "bonus 0.3" got me this: "retrain_cost_bonus bonus 0.3"
    Some of the bonus values accept decimal values, personally I m not sure what good it does in this case: 0.3 of 10% (or 20%?) isn't exactly worth mentioning. It might however be a good idea to allow for that.
    Last edited by Gigantus; December 28, 2020 at 10:18 PM.










  7. #227
    _Tartaros_'s Avatar "Harzschütze"
    Join Date
    Aug 2009
    Location
    kvet.lɪnˌbuʁk
    Posts
    4,492

    Default Re: Bovine M2TW Checker

    thank you, i will change the decimal value 0.25 to full numbers 1 for the retrain_bonus.

    background for this numbers was this calculation:
    ;0.02 (50 turns)
    ;0.025 (40 turns)
    ;0.04 (25 turns)
    ;0.05 (20 turns)
    ;0.06 (17 turns)
    ;0.08 (12.5 turns)
    ;0.1 (10 turns)
    ;0.12 (8 turns)
    ;0.14 (7 turns)
    ;0.2 (5 turns)

    the retrain_bonus should speed things up a bit.

    edit:
    after changing the value to 1 it works like a charme
    Last edited by _Tartaros_; December 29, 2020 at 03:36 AM.

  8. #228

    Default Re: Bovine M2TW Checker

    Quote Originally Posted by _Tartaros_ View Post
    come across a special one in the edb

    Code:
    export_descr_buildings.txt 2663: Capability navy_bonus expects keyword "bonus" after it: navy_bonus 1
    export_descr_buildings.txt 2681: Capability navy_bonus expects keyword "bonus" after it: navy_bonus 2
    the tool (version01/12/2020) requires a "bonus" for navy_bonus like in "recruitment_cost_bonus_naval bonus 1" = "navy_bonus bonus 1"
    it´s the first time this finding appears, but i think navy_bonus 1 look pretty good
    I got the same complaint in EB2 now. I understood from Gigantus that every capability with "bonus" in its name would also require that keyword, but the docudemons apparently say it's not that generalized. I have not spent much time reading the docudemons, and certainly not recently. I have now moved these capabilities to ones not expecting "bonus" before the value. Let me know if I made any mistakes.

    archer_bonus
    gun_bonus
    cavalry_bonus
    heavy_cavalry_bonus
    navy_bonus

    population_growth_bonus
    population_health_bonus

    construction_time_bonus_defensive
    construction_time_bonus_other

    Having problems getting EB2 to run? Try these solutions.
    ================
    I do NOT answer PM requests for help with EB. Ask in a new help thread in the tech help forum.
    ================
    I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. - Stephen Hawking

  9. #229

    Default Re: Bovine M2TW Checker

    About the retraining bonus, if that can be a decimal number, I'll change to handle that.

    I will take some time to add output when a fatal parsing error occurs, so it will tell you which line and its contents are making it freak out. That should make it a lot easier to figure out when there is some constellation i haven't encountered yet making it crash.

    Having problems getting EB2 to run? Try these solutions.
    ================
    I do NOT answer PM requests for help with EB. Ask in a new help thread in the tech help forum.
    ================
    I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. - Stephen Hawking

  10. #230
    _Tartaros_'s Avatar "Harzschütze"
    Join Date
    Aug 2009
    Location
    kvet.lɪnˌbuʁk
    Posts
    4,492

    Default Re: Bovine M2TW Checker

    very good! your tool really makes modding and bughunting alot easier!

  11. #231

    Default Re: Bovine M2TW Checker

    SSHIP includes this building requirement I have not seen before:

    explorers_guild city requires factions { northern_european, middle_eastern, eastern_european, greek, southern_european, }
    {
    capability
    {
    agent merchant 0 requires factions { northern_european, }
    agent merchant 0 requires factions { middle_eastern, }
    agent merchant 0 requires factions { eastern_european, }
    agent merchant 0 requires factions { greek, }
    agent merchant 0 requires factions { southern_european, }
    agent_limit merchant 1
    agent_limit diplomat 1

    trade_base_income_bonus bonus 1
    income_bonus bonus 50 requires port
    }
    material wooden
    construction 1
    cost 2000
    settlement_min city
    upgrades
    {
    m_explorers_guild
    }
    }
    I would expect this to be done using building_present_min_level instead, but I take it that is valid with only the single "port" token? It's ALMOST the same with city and castle, but those come before the "requires" keyword. I have programmed the tool to accept this way, let me know if that was a mistake.

    I have now completed parsing descr_cultures.txt and will upload a new version shortly. References TO cultures are checked, however stuff referenced FROM descr_cultures are not checked yet.

    Quote Originally Posted by bovi View Post
    Gig, thanks for your suggestion of Squid's tool. I'll do that.
    I have not done that, yet.
    Last edited by bovi; January 12, 2021 at 06:48 AM.

    Having problems getting EB2 to run? Try these solutions.
    ================
    I do NOT answer PM requests for help with EB. Ask in a new help thread in the tech help forum.
    ================
    I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. - Stephen Hawking

  12. #232
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,096
    Blog Entries
    35

    Default Re: Bovine M2TW Checker

    I think 'port' and 'castle_port' is a special case as they are core building trees - removal from EDB will cause a crash. You can find it in the executable as well.










  13. #233

    Default Re: Bovine M2TW Checker

    Uploaded a new version. Changes:

    Quote Originally Posted by SVN log
    Most important:
    Increased verbosity of output to know better what the tool is doing. Most importantly, when encountering fatal parsing errors, the tool should now report the line in question.
    Descr_cultures.txt is now read. File references are checked for existence. Culture references to it from various files are checked (probably more references exist in files not yet read).

    Minor changes:
    Split checking of traits and triggers.
    Building capability references to cultures which was previously done through factions' culture references are now done directly to culture. The report can now discern between a nonexistent culture and one which has no members.
    Consolidated checking of unused sound files from copypasta to own method.
    Retrain_cost_bonus building capability can now have a decimal value.
    Added more recognized bits of EDCT:
    - Conditions (reading their references) - PercentageUnitAttribute, I_FactionLeaderTrait, NeighbourReligion.
    - Conditions (but ignoring) - IsFactionAiControlled, RansomAmount, NoActionThisTurn, GovernorInResidence, Ally_Routs, HealthPercentage, TotalSiegeWeapons, FactionHasAllies.
    - Trait effect - ArtilleryCommand.
    - Event triggers - FatherDiesNatural, CapturedCharacterReleased, CapturedCharacterRansomed.

    Having problems getting EB2 to run? Try these solutions.
    ================
    I do NOT answer PM requests for help with EB. Ask in a new help thread in the tech help forum.
    ================
    I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. - Stephen Hawking

  14. #234

    Default Re: Bovine M2TW Checker

    Since I added checking file references in descr_cultures.txt, these kinds of reports seem to be universal - a variation is present in all 4 mods I tested with (ROTK, EB2, TGC, SSHIP):

    descr_cultures.txt 13 (village): graeco-roman_village.tga under folder ui/southern_european/cities/ does not exist.
    descr_cultures.txt 18 (town): graeco-roman_town.tga under folder ui/southern_european/cities/ does not exist.
    descr_cultures.txt 23 (large_town): graeco-roman_large_town.tga under folder ui/southern_european/cities/ does not exist.
    descr_cultures.txt 28 (city): graeco-roman_city.tga under folder ui/southern_european/cities/ does not exist.
    descr_cultures.txt 33 (large_city): graeco-roman_large_city.tga under folder ui/southern_european/cities/ does not exist.
    descr_cultures.txt 38 (huge_city): graeco-roman_huge_city.tga under folder ui/southern_european/cities/ does not exist.

    I suspect that this reference is not actually used and should not be checked after all?

    This is TGC's version:
    Code:
    culture                southern_european
    portrait_mapping    southern_european
    rebel_standard_index    0
    {
    village
    {
        normal                data/models_strat/residences/southern_european_village.CAS,        settlement_eastern_level_1
        card                data/ui/southern_european/cities/graeco-roman_village.tga
    }
    The blue parts exist, but not the red ones.

    I noticed just now I forgot to check the textures in the CAS files referenced here, by the way.

    Having problems getting EB2 to run? Try these solutions.
    ================
    I do NOT answer PM requests for help with EB. Ask in a new help thread in the tech help forum.
    ================
    I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. - Stephen Hawking

  15. #235
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,096
    Blog Entries
    35

    Default Re: Bovine M2TW Checker

    Those are the pics that are shown in the building browser if memory serves. Here are the TGA files that are present in the vanilla data\ui\southern_european\cities directory:

    southern_european_castle.tga
    southern_european_citadel.tga
    southern_european_city.tga
    southern_european_fortress.tga
    southern_european_huge_city.tga
    southern_european_large_city.tga
    southern_european_large_town.tga
    southern_european_motte_and_bailey.tga
    southern_european_town.tga
    southern_european_village.tga
    southern_european_wooden_castle.tga

    With the exception of the mesoamerican culture that only has the city and village pic all other vanilla cultures have their own, full set of pics as above.

    Note: it is possible that a mod uses the picture lookup redirect method in the descr_ui_buildings file, eg they have one set of files in one of the other culture directories that gets referenced (left looks up in right):
    Code:
    lookup_variants
    {
        mesoamerican middle_eastern
        mesoamerican eastern_european
        middle_eastern eastern_european
        greek southern_european

    Tip: unpack the default\vanilla game using my unpack method - it unpacks outside the game structure (D:\unpack) and can easily be removed if not needed. that way you can quickly check for default files.


    Edit: I had a look at it, using your latest version, and it appears that the 'card' line in descr_cultures is redundant, suggest to not check it: the game goes straight into the relevant 'cities' directory of the culture and reads from there, provided the TGA is named properly, eg data\ui\[culture]\cities\[culture]_[core building level].tga

    At least that is what is happening in RotK, see the data\ui\middle_eastern\cities directory there. The descr_ui_buildings file directs each culture to the southern_european culture in RotK so it's certainly not an issue of redirect, rather as I described in the previous paragraph.
    Last edited by Gigantus; January 12, 2021 at 11:43 PM.










  16. #236

    Default Re: Bovine M2TW Checker

    I don't have the packs on the computer I'm working on, so cannot unpack. I also cannot run the game, of course. I only have the full thing on my stationary computer.

    That said, I see those files are already listed in vanillaFiles.txt - but not precisely as TGC refers to them:

    Vanilla file: ui/southern_european/cities/southern_european_village.tga
    TGC reference: data/ui/southern_european/cities/southern_european/graeco-roman_village.tga

    But yeah, I'll ignore the content of the card lines as they are not in use - if there were errors that counts, it would be very visible in the game.

    Edit: Argh, the forum keeps randomly killing line breaks when I paste stuff and I need to put them back in .
    Last edited by bovi; January 13, 2021 at 06:24 AM.

    Having problems getting EB2 to run? Try these solutions.
    ================
    I do NOT answer PM requests for help with EB. Ask in a new help thread in the tech help forum.
    ================
    I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. - Stephen Hawking

  17. #237

    Default Re: Bovine M2TW Checker

    Descr_strat being parsed more thoroughly now. I'm encountering this (in EB2):

    character Isidoros, general, male, age 55, x 274, y 152
    army
    unit hellenistic infantry hoplitai exp 1 armour 0 weapon_lvl 0
    unit hellenistic infantry pantodapoi phalangitai exp 0 armour 0 weapon_lvl 0
    unit hellenistic infantry pantodapoi exp 0 armour 0 weapon_lvl 0
    unit hellenistic infantry pantodapoi exp 0 armour 0 weapon_lvl 0
    unit hellenistic infantry akontistai exp 0 armour 0 weapon_lvl 0
    unit hellenistic infantry akontistai exp 0 armour 0 weapon_lvl 0


    ;====================
    ; City: Arbela
    ; Region: Adiabene
    ;====================
    character Aribazos Hyrkanios, named character, male, age 33 x 306, y 150
    traits NaturalIntelligence 3 , NaturalCharisma 3 , NaturalEnergy 4 , Temperament 2 , Selflessness 3 , LoyaltyLevel 4 , SeleukidPersikos 1 , AribazosHyrkaniosBiography 1 , TurnsAlive 3 , Unschooled 1 , Sobriety 1 , GoodAdministrator 1 , CommandExperience 2 , Father 1 , PoliticsSkill 1 , AncillariesAvailable 2
    ancillaries babylonian_prophet
    army
    unit eastern cavalry client exp 1 armour 0 weapon_lvl 0
    unit hellenistic infantry pantodapoi phalangitai exp 0 armour 0 weapon_lvl 0
    unit eastern infantry nizagan eranshahr exp 1 armour 0 weapon_lvl 0
    unit eastern infantry hai nizagamartik exp 0 armour 0 weapon_lvl 0
    unit eastern infantry hai nizagamartik exp 0 armour 0 weapon_lvl 0
    unit eastern infantry anatolikoi phyletai exp 0 armour 0 weapon_lvl 0
    unit eastern infantry anatolikoi phyletai exp 0 armour 0 weapon_lvl 0
    I would expect this missing comma to break the game, or at least the character. It is at the very least breaking my reading of the file, and I'd just like to know that the commas are really superfluous when rewriting to handle it?

    Having problems getting EB2 to run? Try these solutions.
    ================
    I do NOT answer PM requests for help with EB. Ask in a new help thread in the tech help forum.
    ================
    I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. - Stephen Hawking

  18. #238
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,096
    Blog Entries
    35

    Default Re: Bovine M2TW Checker

    It won't break the game (it's amazing the stuff the engine tolerates), but it may affect the character creation. In any case: the comma should be there.










  19. #239

    Default Re: Bovine M2TW Checker

    New version uploaded.

    Quote Originally Posted by SVN change log
    Major changes:
    Descr_strat.txt is now thoroughly parsed, with exception from reading scripts referenced from it. This replaces and expands the two passes previously done to check for trait and battle model references. Much testing on its contents remains to be written.


    Crew animations are now read from descr_engines.txt.
    More checks written on descr_engines.txt contents.
    There are no longer known directives not parsed from this file, and any new ones not known by the tool will be reported.


    New configuration option UNUSED_AGENT - Used when your mod will never have any of that agent
    - References specific to that agent is supposed to be omitted from reports.
    - Option currently only affects file references in descr_cultures.txt. Let me know when there are other reports that it should affect.
    - Note that the default configuration file works for EB2, which has a large number of unused agents. You should comment out any agents which are in use in your mod.


    Minor changes:
    Agent file references in descr_cultures.txt are now checked for existence.
    Settlement levels' building files in descr_cultures.txt are now checked for existence.


    Minor details:
    TraitReferenceRecord can now store whether the reference is awarding or checking.
    The tool complaining about missing configuration files will now always be added to the output log rather than sometimes sent to whichever kind of report they affected.
    The temporary file existence checker is finally no longer in use anywhere and is deleted.
    Fatal parsing errors (causing the reader to abort reading) will now also write the error name as well as its message.
    Note I have only tested these changes with EB2 this time. I'll get around to others sooner or later. If it crashes on your descr_strat, let me know and I'll try to get around to it sooner rather than later.

    Having problems getting EB2 to run? Try these solutions.
    ================
    I do NOT answer PM requests for help with EB. Ask in a new help thread in the tech help forum.
    ================
    I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. - Stephen Hawking

  20. #240
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,096
    Blog Entries
    35

    Default Re: Bovine M2TW Checker

    I am about to clean up RotK for a new full release - will use this version and give feedback.

    Edit1: I am not sure what this issue is: descr_strat.txt 520: (Entry ) Reference to nonexistent battle model "battle_model".
    The battle model exists in the modelDB file and there is a space, not a tab, between battle_model and liubei_general. Does the checker expect a certain sequence of portrait, label and battle_model? I have a total of 8 cases out of 180 entries.
    Code:
    character    J-0201-LiuBei, named character, male, leader, age 33, x 151, y 128, portrait A132, label LiuBei1, battle_model liubei_general
    Edit2: just a quick one - it's from an old document that I have floating around and concerns the 'faction personality' check:
    Spoiler for all valid entries with explanations
    balanced - bias towards growth, taxable income, trade level bonuses (roads), walls and Exp bonus buildings
    religious - bias towards growth, loyalty, taxable income, farming, walls and law
    trader - bias towards growth, trade level, trade base, weapon upgrades, games, races and Exp bonus buildings
    comfortable - bias towards growth, farming, games, races, Exp bonus and happiness
    bureaucrat - bias towards taxable income, growth, pop health, trade, walls, improved bodyguards and law
    craftsman - bias towards walls, races, taxable income, weapon upgrades, Exp bonuses, mines, health and growth
    sailor - bias towards sea trade, taxable income, walls, growth, trade
    fortified - bias towards walls, taxable income, growth, loyalty, defenses, bodyguards and law

    These biases are towards building properties, rather than buildings themselves. The game does not know what a "Blacksmith" is, for example, it only knows that it is a building which provides a weapon upgrade, and hence a Craftsman AI would be more likely to build it than another AI personality type.

    These are then combined with a troop production personality, as follows:

    smith - exactly level
    mao - biased towards mass troops, light infantry
    genghis - biased towards missile cavalry and light cavalry
    stalin - biased towards heavy infantry, mass troops and artillery
    napoleon - biased towards a mix of light and heavy infantry, light cavalry
    henry - biased towards heavy and light cavalry, missile infantry
    caesar - biased towards heavy infantry, light cavalry, siege artillery

    Edit3: here is one for giggles - descr_cultures.txt 462 (Culture middle_eastern's agent files for faction emirs): admiral.tga under folder ui/units/emirs/ does not exist.
    The admiral.tga picture is not in use, that would be the picture appearing in the recruit panel where priest, merchant etc appear. An admiral however gets created when a ship is recruited, the admiral's picture is then the default captain from ui\captain_banners.

    Question - do you check for the use of event counters in the EDB? Like: only setting\changing an event counter in the script for sole use in the EDB file.
    Last edited by Gigantus; January 26, 2021 at 11:55 PM.










Posting Permissions

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