Page 13 of 18 FirstFirst ... 3456789101112131415161718 LastLast
Results 241 to 260 of 341

Thread: Bovine M2TW Checker

  1. #241

    Default Re: Bovine M2TW Checker

    The battle model thing is a plain coding error. I picked the detail name rather than the detail value . Fixed, thanks.

    -------

    Thanks for the list of personalities. I see that EB2's factions every single one have "fortified" strategic, and most have "knud" troop personality, with a few "subotai" exceptions (purportedly for steppe factions). I imagine the troop personalities are some custom ones specified somewhere, but I don't know where. I'll take a look.

    -------

    Admiral file references are now ignored, thanks.

    -------

    Yes, EDB event counter references are counted as a "check" (or read) of the counter. Are you seeing messages indicating a fault in this?

    Code:
    if(remainingBits.startsWith("event_counter "))
    {
        String name = Util.between(remainingBits, " ", " ");
        main.data.code.addCheckedEventCounterLocation(new SimpleReferenceRecord(filename, lineNumber, name));
        (Omitted details of chopping the line up for further parsing)
    }
    Last edited by bovi; January 27, 2021 at 06:59 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

  2. #242

    Default Re: Bovine M2TW Checker

    Quote Originally Posted by bovi View Post
    Thanks for the list of personalities. I see that EB2's factions every single one have "fortified" strategic, and most have "knud" troop personality, with a few "subotai" exceptions (purportedly for steppe factions). I imagine the troop personalities are some custom ones specified somewhere, but I don't know where. I'll take a look.
    I searched ALL the files under the mod data folder, and the only two places "subotai" occur are in descr_strat.txt, for the Saka and Sauromatae factions. "knud" is the same, except that it tends to crop up in tga image files for some reason. Seems we have just chosen a gibberish personality for most factions and another gibberish personality for the steppe factions. I'll have to ask the team.
    Last edited by bovi; January 27, 2021 at 06:44 PM.

    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

  3. #243

    Default Re: Bovine M2TW Checker

    In ROTK, I get these kinds of report:
    descr_engines.txt 97: (Entry rocket_launcher) Unknown engine class "rocket_launcher" encountered.
    descr_engines.txt 166: (Entry monster_ribault) Unknown engine class "monster_ribault" encountered.
    descr_engines.txt 234: (Entry culverin) Unknown engine class "culverin" encountered.




    Are these "classes" references to what is defined in descr_sounds_engine.txt? It looks like that to me, as I typically find those same values there (and "engine_skeleton" presumably directs to the entries with the same name in descr_engine_skeleton.txt). If I'm right, I'll have to disable that check until I get around to reading that file.

    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

  4. #244
    Gigantus's Avatar I might act as if everything is fine, but deep inside of me I am already hungry again.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    49,591
    Blog Entries
    27

    Default Re: Bovine M2TW Checker

    descr_engines: see example from RotK
    Code:
    type                toushiji
    culture                all
    class                trebuchet
    pathfinding_data        none
    reference_points        siege_engines/siege_trebuchet.modelReferencePoints
    
    engine_model_group    normal
    engine_skeleton        trebuchet
    engine_bone_map    siege_engines/BoneMaps/trebuchet.xml
    engine_collision    siege_engines/collision_models/siege_trebuchet_collision.CAS
    engine_mesh        siege_engines/song_catapult.mesh, 40.0
    engine_mesh        siege_engines/lods/song_catapult.mesh,  80.0
    engine_mesh        siege_engines/lods/song_catapult.mesh,  max
    And then the EDU:
    Code:
    type             Piliche_Wei
    dictionary       Piliche_Wei
    category         siege
    class            missile
    voice_type       Heavy
    banner faction   main_infantry
    banner holy      crusade
    soldier          gongchengchebing, 16, 2, 1
    engine           toushiji
    attributes       sea_faring, hardy, can_withdraw, artillery
    formation        1.5, 1.5, 3, 3, 3, square
    The class is hard coded afaik, type is referenced from EDU. Works the same way as mounts by the looks of it. The mesh can be fund in data\siege_engines

    When I search for entries in sound text files (used the default trebuchet) I get a custom entry in descr_sounds_weapons, the other trebuchet references (descr_sounds_generic and descr_sounds_engines) are to class, not the unit.




  5. #245

    Default Re: Bovine M2TW Checker

    Found a post from z3n that lists other personalities in the executable but not used in the original game. I have added them all to the list of recognized values.

    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

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

    Default Re: Bovine M2TW Checker

    the new update show´s some new messages like this:
    Code:
    descr_strat.txt
    descr_strat.txt 5905: Parsing error - Unrecognized directive on line: dead_until_resurrected
    descr_strat.txt 5912: Parsing error - Unrecognized directive on line: dead_until_resurrected
    descr_strat.txt 5919: Parsing error - Unrecognized directive on line: dead_until_resurrected
    descr_strat.txt 5926: Parsing error - Unrecognized directive on line: dead_until_resurrected
    descr_strat.txt 6167: Parsing error - Unrecognized directive on line: dead_until_emerged
    descr_strat.txt 6175: Parsing error - Unrecognized directive on line: dead_until_resurrected
    descr_strat.txt 6182: Parsing error - Unrecognized directive on line: dead_until_resurrected
    descr_strat.txt 6189: Parsing error - Unrecognized directive on line: dead_until_emerged
    descr_strat.txt 6197: Parsing error - Unrecognized directive on line: dead_until_emerged
    descr_strat.txt 6205: Parsing error - Unrecognized directive on line: dead_until_emerged
    descr_strat.txt 6213: Parsing error - Unrecognized directive on line: dead_until_emerged
    descr_strat.txt 6221: Parsing error - Unrecognized directive on line: dead_until_resurrected
    descr_strat.txt 6228: Parsing error - Unrecognized directive on line: dead_until_resurrected
    Code:
    descr_strat.txt 56: Unrecognized campaign general setup directive on line: "free_upkeep_forts 2"
    descr_strat.txt 859: Unrecognized faction personality "caesar"
    descr_strat.txt 941: Unrecognized faction personality "bureaucrat"
    descr_strat.txt 941: Unrecognized faction personality "stalin"
    descr_strat.txt 1781: Unrecognized faction personality "balanced"
    descr_strat.txt 1781: Unrecognized faction personality "saladin"
    descr_strat.txt 2089: Unrecognized faction personality "comfortable"
    descr_strat.txt 2089: Unrecognized faction personality "napoleon"
    descr_strat.txt 2223: Unrecognized faction personality "comfortable"
    descr_strat.txt 2223: Unrecognized faction personality "napoleon"
    descr_strat.txt 2440: Unrecognized faction personality "bureaucrat"
    descr_strat.txt 2440: Unrecognized faction personality "caesar"
    descr_strat.txt 4186: Unrecognized faction personality "religious"
    descr_strat.txt 4331: Unrecognized faction personality "sailor"
    descr_strat.txt 4331: Unrecognized faction personality "napoleon"
    descr_strat.txt 4490: Unrecognized faction personality "religious"
    descr_strat.txt 4490: Unrecognized faction personality "arslan"
    descr_strat.txt 4920: Unrecognized faction personality "balanced"
    descr_strat.txt 4920: Unrecognized faction personality "stalin"
    descr_strat.txt 5188: Unrecognized faction personality "balanced"
    descr_strat.txt 5188: Unrecognized faction personality "napoleon"
    descr_strat.txt 5341: Unrecognized faction personality "trader"
    descr_strat.txt 5341: Unrecognized faction personality "genghis"
    descr_strat.txt 5438: Unrecognized faction personality "balanced"
    descr_strat.txt 5438: Unrecognized faction personality "heinrich"
    descr_strat.txt 5903: Unrecognized faction personality "balanced"
    descr_strat.txt 5903: Unrecognized faction personality "heinrich"
    descr_strat.txt 5910: Unrecognized faction personality "balanced"
    descr_strat.txt 5910: Unrecognized faction personality "saladin"
    descr_strat.txt 5917: Unrecognized faction personality "balanced"
    descr_strat.txt 5917: Unrecognized faction personality "tahar"
    descr_strat.txt 5924: Unrecognized faction personality "balanced"
    descr_strat.txt 5924: Unrecognized faction personality "roger"
    descr_strat.txt 5931: Unrecognized faction personality "caesar"
    descr_strat.txt 6061: Unrecognized faction personality "caesar"
    descr_strat.txt 6165: Unrecognized faction personality "balanced"
    descr_strat.txt 6165: Unrecognized faction personality "mao"
    descr_strat.txt 6173: Unrecognized faction personality "arslan"
    descr_strat.txt 6173: Unrecognized faction personality "genghis"
    descr_strat.txt 6180: Unrecognized faction personality "genghis"
    descr_strat.txt 6187: Unrecognized faction personality "bureaucrat"
    descr_strat.txt 6187: Unrecognized faction personality "napoleon"
    descr_strat.txt 6195: Unrecognized faction personality "bureaucrat"
    descr_strat.txt 6195: Unrecognized faction personality "napoleon"
    descr_strat.txt 6203: Unrecognized faction personality "bureaucrat"
    descr_strat.txt 6211: Unrecognized faction personality "bureaucrat"
    descr_strat.txt 6211: Unrecognized faction personality "heinirch"
    descr_strat.txt 6219: Unrecognized faction personality "religious"
    descr_strat.txt 6219: Unrecognized faction personality "caesar"
    descr_strat.txt 6226: Unrecognized faction personality "religious"
    descr_strat.txt 6226: Unrecognized faction personality "caesar"
    descr_strat.txt 6233: Unrecognized faction personality "balanced"
    descr_strat.txt 6233: Unrecognized faction personality "napoleon"
    Code:
    descr_strat.txt 9086: Faction relationship "protectorate_of" is not recognized.
    descr_strat.txt 9087: Faction relationship "allied_with" is not recognized.
    descr_strat.txt 9088: Faction relationship "allied_with" is not recognized.
    descr_strat.txt 9089: Faction relationship "allied_with" is not recognized.
    descr_strat.txt 9090: Faction relationship "allied_with" is not recognized.
    which seem to be no problem in the descr_strat

    edit: "allied_with" must be "allied_to"

    it also found a attribute error with "influence" in edct
    Last edited by _Tartaros_; January 30, 2021 at 02:08 PM.

  7. #247
    Gigantus's Avatar I might act as if everything is fine, but deep inside of me I am already hungry again.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    49,591
    Blog Entries
    27

    Default Re: Bovine M2TW Checker

    Ah, nice - didn't know that 'protectorate' worked.

    Bovi addressed the personalities for the next release already.




  8. #248
    Jadli's Avatar The Fallen God
    Citizen

    Join Date
    Dec 2013
    Location
    Czech Republic
    Posts
    7,129

    Default Re: Bovine M2TW Checker

    It doesnt, it just makes factions allies , not vassals afaik.

    Everything about vassals in the game is half cooked

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

    Default Re: Bovine M2TW Checker

    you didn´t get the vassal status, but you have full military access vica versa and traderights established from the start.
    i´m not sure, if the protectorate status is intended to be the vassalstatus. out of interest, did vassal was an option in rtw?

    Last edited by _Tartaros_; January 31, 2021 at 06:19 PM.

  10. #250
    Jadli's Avatar The Fallen God
    Citizen

    Join Date
    Dec 2013
    Location
    Czech Republic
    Posts
    7,129

    Default Re: Bovine M2TW Checker

    Dont you have all that with starting allies as well?

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

    Default Re: Bovine M2TW Checker

    mhh,
    i´m not sure, aren´t they just allies?
    without the military access?

  12. #252
    Jadli's Avatar The Fallen God
    Citizen

    Join Date
    Dec 2013
    Location
    Czech Republic
    Posts
    7,129

    Default Re: Bovine M2TW Checker

    just checked, it gives starting allies everything - trade rights and military access


    EDIT

    Btw, protectorate is used in other files when clearly applying to vassals (like descr_campaign_ai_db) so its definitely meant to make starting faction vassals.... its just broken
    Last edited by Jadli; February 01, 2021 at 10:22 AM.

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

    Default Re: Bovine M2TW Checker

    ok, that´s good to know.
    will change it to allies then.

  14. #254

    Default Re: Bovine M2TW Checker

    I didn't encounter dead_until_resurrected and dead_until_emerged before. Will amend (but not do anything with it later, unless someone points out a way it is interacted with elsewhere).

    I will leave the recognized faction relationships alone, as the protectorate thing is broken and allies works as well as protectorate, and allied_with was an actual error.

    The faction personalities should already be fine in the upcoming version.

    About the free_upkeep_forts, that defines how many troops get free upkeep while stationed in forts, I suppose. I'll add that to recognized terms.

    Anything I missed?
    Last edited by bovi; February 02, 2021 at 04:30 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

  15. #255

    Default Re: Bovine M2TW Checker

    I have uploaded a new version.

    Quote Originally Posted by SVN log
    Listing unused elements moved to the end of processing checks, in order to allow for arbitrary order of checking. This means unused elements will now always be printed at the end of reports.
    New configuration file "acceptedUnusedEngines.txt", initially empty. Used when listing unused entries in descr_engines.txt, you can suppress reports for engines that you intend to keep even if they are not in use.
    Character details now recognized in descr_strat: strat_model, hero_ability, sub_faction. Any other character details will now be reported as unrecognized, as opposed to previously being ignored.
    Entered full list of valid faction personalities, rather than only the few ones used by EB2.
    Admiral file references in descr_cultures are now ignored, as these are not recruitable.
    New directives in descr_strat now recognized: free_upkeep_forts, dead_until_emerged, dead_until_resurrected.


    New checks:
    Engine references in EDU
    Strat model references in descr_character
    Strat model references in descr_strat
    Sub faction on "slave" characters in descr_strat
    Character types used in descr_strat are present in descr_character
    Gender of characters match their type
    Each faction has no more than one leader
    Each faction has no more than one heir
    All characters listed in relationships exist

    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

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

    Default Re: Bovine M2TW Checker

    damn quick

  17. #257
    Gigantus's Avatar I might act as if everything is fine, but deep inside of me I am already hungry again.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    49,591
    Blog Entries
    27

    Default Re: Bovine M2TW Checker

    Interesting family tree stuff, I'll give it a spin.




  18. #258

    Default Re: Bovine M2TW Checker

    I may have a paid consulting project using Kotlin as a programming language in the near future. I want to start converting this tool to Kotlin as a training exercise before starting that project. Kotlin can use Java classes, so I imagine I can retain the same code and convert it piece by piece as I go along. As I understand it, the resulting program when compiling the code should be runnable by Java just like it does now, as long as I include the Kotlin runtime in it. This will presumably mean a larger download, but presumably no other impact on your use of it.

    In the upcoming upload, there will be few functional changes, if any, but I want to see if I am correct in my assumptions about your usage before getting too far into the conversion process, so it's not too hard to return to where it was before. I hope you will take the time to let me know if this works for you.

    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

  19. #259

    Default Re: Bovine M2TW Checker

    I think I have successfully turned the main routine into Kotlin. It runs on the command line without any other stuff installed than Java, as far as I can see. Uploaded just now, anxious to hear your experience with it.

    Built as an executable JAR, this increases the size of the tool from about 0.5MB to almost 4.5MB, and this would have been fine for the way I distribute it here. However, I'm less keen on having such a large binary file checked in to SVN, as it could additionally eat as much server space each time I change it up. Therefore, to avoid this and still make internal use for EB2 possible directly from an SVN checkout / update, I've added the extracted Kotlin classes to SVN instead - even though they take even more space at about 10MB like this, these should remain unchanged for much longer spaces of time. This in turn makes the download slightly larger, but still below 5MB as it stands.

    I don't think anyone has yet tried to make own changes to the tool, but anyone who would will now need to install the Kotlin plugin for it to compile successfully.

    Quote Originally Posted by SVN log
    Main class of the checker turned from Java to Kotlin.
    If encountering a fatal error while running from the command line, the window running the tool will now stay up until it is dismissed with ENTER.
    Last edited by bovi; February 04, 2021 at 08:11 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

  20. #260
    Gigantus's Avatar I might act as if everything is fine, but deep inside of me I am already hungry again.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    49,591
    Blog Entries
    27

    Default Re: Bovine M2TW Checker

    Checking RotK 4.5 with your release from 04.Feb.

    From output log:
    Code:
    descr_strat.txt 5968: Encountered unknown character detail "liyan_1"
    descr_strat.txt 5968: Encountered unknown character detail "xiaojiang1"
    line 5968:
    character J-0830-LiYan, named character, male, age 24 , x 44 , y 72, portrait A306, LiYan_1, battle_model xiaojiang1
    It appears to be missing the 'label' prefix and hence had an issue with the battle model entry. Editing accordingly and running the test again confirms the issue as resolved.

    From stratmap log:
    Code:
    descr_strat.txt 1110: Reference to non-existent strat model "ls_handang2_general".
    descr_strat.txt 8921: Faction slave has more than one leader.
    descr_strat.txt 8998: Faction slave has more than one leader.
    The model is indeed missing and I have no clue why the slave faction has a designated leader, never mind two or even an heir. Needs correction by me.
    Note: 'strat_model' doesn't work in M2TW, only in RTW - this was a left over of my port from RTW. M2TW uses the level trait mechanism to assign strat models.
    Last edited by Gigantus; February 06, 2021 at 04:47 AM.




Posting Permissions

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