Page 1 of 3 123 LastLast
Results 1 to 20 of 49

Thread: !Attention! Mod Makers: Offic. Patch 1.2 --> CA moved some files around...

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default

    I played over 30 custom battles with no problems, then I tried vs. Venetian Heavy Infantry and got an unspecified error crash. I played about 6 more against others with no problem, then as soon as I tried vs. VHI again it crashed. Every time I try a custom battle with VHI the game crashes, no other crashes after a few hours with patch. Anyone else confirm this?

    Sorry if this is known or already reported.

    Strange. I added White_Wolf's Byzantine Armor Progression mod after fresh install and patch 1.2 and was having crashes every time. I removed the mod and the [io] file_first = true from my preferences file and it stopped the crashes.
    Last edited by Trajan; May 07, 2007 at 06:58 PM. Reason: Merged non-duplicate double post.

  2. #2
    GODzilla's Avatar Civitate
    Join Date
    Oct 2004
    Location
    Germania superior
    Posts
    3,779

    Default !Attention! Mod Makers: Offic. Patch 1.2 --> CA moved some files around...

    Today I had a crash when I tried to use the "Venetian Heavy Infantry". For one hour I was not able to find the problem, but finally...

    I'm using a modified battle_model.db file which is the cause of the problem. This file has originally been created by Whitewolf, but with version 1.1 of the game so he is not to blame guilty for this problem.

    You will always run into the same problem with any other edited model.db file that has been changed prior to the official patch 1.2 (for instance burreks K&K).

    Simple and short, how to fix it:

    1.) Venetian Heavy Infantry (no upgrade)

    Change the following entries

    Code:
    1 3
    73 unit_models/_Units/LN_3QPlate_HalfPlate/venetian_heavy_infantry_lod0.mesh 121 
    73 unit_models/_Units/LN_3QPlate_HalfPlate/venetian_heavy_infantry_lod1.mesh 1225 
    73 unit_models/_Units/LN_3QPlate_HalfPlate/venetian_heavy_infantry_lod2.mesh 6400
    1 
    6 venice 
    81 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_venice.texture 
    81 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_normal.texture 
    54 unit_sprites/venice_Venetian_Heavy_Infantry_sprite.spr
    Into this:

    Code:
    1 4
    72 unit_models/_Units/LN_Brigandine_heavy/venetian_heavy_infantry_lod0.mesh 121 
    72 unit_models/_Units/LN_Brigandine_heavy/venetian_heavy_infantry_lod1.mesh 900
    72 unit_models/_Units/LN_Brigandine_heavy/venetian_heavy_infantry_lod2.mesh 2500
    72 unit_models/_Units/LN_Brigandine_heavy/venetian_heavy_infantry_lod3.mesh 6400
    1 
    6 venice 
    77 unit_models/_Units/LN_Brigandine_heavy/textures/LN_ Brigandine_venice.texture 
    77 unit_models/_Units/LN_Brigandine_heavy/textures/LN_ Brigandine_normal.texture 
    58 unit_sprites/venice_Venetian_Heavy_Infantry_ug1_sprite.spr

    2.) Venetian Heavy Infantry Upgrade 1

    Change the following entries

    Code:
    1 4
    76 unit_models/_Units/LN_Brigandine_heavy/venetian_heavy_infantry_ug1_lod0.mesh 121 
    76 unit_models/_Units/LN_Brigandine_heavy/venetian_heavy_infantry_ug1_lod1.mesh 900 
    76 unit_models/_Units/LN_Brigandine_heavy/venetian_heavy_infantry_ug1_lod2.mesh 2500 
    76 unit_models/_Units/LN_Brigandine_heavy/venetian_heavy_infantry_ug1_lod3.mesh 6400
    1 
    6 venice 
    77 unit_models/_Units/LN_Brigandine_heavy/textures/LN_ Brigandine_venice.texture 
    77 unit_models/_Units/LN_Brigandine_heavy/textures/LN_ Brigandine_normal.texture 
    58 unit_sprites/venice_Venetian_Heavy_Infantry_ug1_sprite.spr
    Into this:

    Code:
    1 3
    77 unit_models/_Units/LN_3QPlate_HalfPlate/venetian_heavy_infantry_ug1_lod0.mesh 121
    77 unit_models/_Units/LN_3QPlate_HalfPlate/venetian_heavy_infantry_ug1_lod1.mesh 1225
    77 unit_models/_Units/LN_3QPlate_HalfPlate/venetian_heavy_infantry_ug1_lod2.mesh 6400
    1 
    6 venice 
    81 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_venice.texture 
    81 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_normal.texture 
    54 unit_sprites/venice_Venetian_Heavy_Infantry_sprite.spr


    So any modified battle_model.db file of any older mod (pre patch 1.2) has to be changed or the game will crash when it looks for the old locations!

    I have no idea if they moved other files of other units, because I have not the time to test them all. I'll add more when I find something...


    PS: See what they did? They "fixed" the armor upgrade problem for the venetian heavy infantry. But what the hell....why didn't they just switch the armor upgrade entries in the EDU like all the modders did? NO, it has to be the complicated way... It took me 2h to find all problems / typos and to finally understand the "coding" system in the battle_model.db by trial and error (sometimes the lines are triple coded, one starting with the count of the characters to follow [1] then one single character telling how many lines are following below [for instance 3] and then below the texture / model lines with the character-counter in front of it *brain explodes*)...I believe they made it this complicated to drive us modders nuts. *g* Well...they succeded.


    PPS: We DESPERATLY need a v1.2 formatted model.db file. There has been one for version 1.0 and v1.1 of the game. Does anybody know how to format this file? Thanks in advance. *Solved* Thank you guys.
    Last edited by GODzilla; May 10, 2007 at 09:02 AM. Reason: ...spelling...
    GODzilla(TM)
    son of the family of Wilpuri under the patronage of makanyane


  3. #3

    Default Re: !Attention! Mod Makers: Offic. Patch 1.2 --> CA moved some files around...

    Lol!
    Have not played this game in quite a while. I went back to Rtw.

  4. #4
    Zephrelial's Avatar Eternal Sorrow
    Join Date
    Dec 2006
    Location
    An ancient castle on a steep windy mountain peak.. away from all mortal eyes...
    Posts
    4,681

    Default Re: !Attention! Mod Makers: Offic. Patch 1.2 --> CA moved some files around...

    Thanks a lot for this discovery Godzilla I guess I'll have to edit the battlemodels.model.db's of my mods.As well as the folders of _units regarding venetian heavy infantry
    Shine on you crazy diamond...

  5. #5
    GODzilla's Avatar Civitate
    Join Date
    Oct 2004
    Location
    Germania superior
    Posts
    3,779

    Default Re: !Attention! Mod Makers: Offic. Patch 1.2 --> CA moved some files around...

    Quote Originally Posted by Zephrelial View Post
    Thanks a lot for this discovery Godzilla I guess I'll have to edit the battlemodels.model.db's of my mods.As well as the folders of _units regarding venetian heavy infantry
    You know what is even funnier? CA didn't fix the same problem for the venetian archers!

    PS: I edited the first post for a more clear strcture and fixed some typos with the code. Due to my learning process there were some problems in the code. But now it's fine as far as I can see. I tested it ingame and it works well!

    /edit:
    Quote Originally Posted by ferres View Post
    Lol!
    Have not played this game in quite a while. I went back to Rtw.
    OMG....omg! It's you. I totally missed the fact it's you lol!

    Long time no see ferres, welcome back. I'm glad to see you here. I thought you lost interest in m2tw. Just like me in the beginning. But now as the game is finally playable without major bugs I enjoy it. ^^
    Last edited by GODzilla; May 05, 2007 at 06:11 PM.
    GODzilla(TM)
    son of the family of Wilpuri under the patronage of makanyane


  6. #6

    Default Re: !Attention! Mod Makers: Offic. Patch 1.2 --> CA moved some files around...

    Hi, GODzilla.
    The current m2tw modding tools are still limiting for me(software wise). I'm too much of a roman era fan.

    If you check the old moddinglegions thread, I'm finishing up a late republican set. I wanted to play around with Ceasars legions for a while.

  7. #7

    Default Re: !Attention! Mod Makers: Offic. Patch 1.2 --> CA moved some files around...

    I've compared the whole modeldb file. VHI is the only unit that changes. So no worry. just fix it


    Edit: The more important thing is EDU, however. Almost all archers have their new arrow model in 1.2, such as composite_arrow, cav_composite_arrow, etc. So, those who are using Real Arrow mod need to be careful here.
    Last edited by zxiang1983; May 06, 2007 at 03:40 AM.

  8. #8
    GODzilla's Avatar Civitate
    Join Date
    Oct 2004
    Location
    Germania superior
    Posts
    3,779

    Default Re: !Attention! Mod Makers: Offic. Patch 1.2 --> CA moved some files around...

    Quote Originally Posted by zxiang1983 View Post
    I've compared the whole modeldb file. VHI is the only unit that changes. So no worry. just fix it


    Edit: The more important thing is EDU, however. Almost all archers have their new arrow model in 1.2, such as composite_arrow, cav_composite_arrow, etc. So, those who are using Real Arrow mod need to be careful here.
    I'm using the real arrow mod but I already spotted the new arrows with the leaked patch 1.2 and made the necessary changes. But thanks for the hint.

    Quote Originally Posted by ferres View Post
    Hi, GODzilla.
    The current m2tw modding tools are still limiting for me(software wise). I'm too much of a roman era fan.

    If you check the old moddinglegions thread, I'm finishing up a late republican set. I wanted to play around with Ceasars legions for a while.
    I see. Cool. When you've finished them please let me know...or I'll better go check myself an renew the subscription to this topic.
    Last edited by GODzilla; May 06, 2007 at 05:10 AM.
    GODzilla(TM)
    son of the family of Wilpuri under the patronage of makanyane


  9. #9
    Hans Kloss's Avatar J-23
    Join Date
    Oct 2004
    Location
    Richmond upon Thames
    Posts
    1,616

    Default Re: !Attention! Mod Makers: Offic. Patch 1.2 --> CA moved some files around...

    PPS: We DESPERATLY need a v1.2 formatted model.db file. There has been one for version 1.0 and v1.1 of the game. Does anybody know how to format this file? Thanks in advance
    Try this tool

    http://www.twcenter.net/forums/showthread.php?t=85734

  10. #10
    GODzilla's Avatar Civitate
    Join Date
    Oct 2004
    Location
    Germania superior
    Posts
    3,779

    Default Re: !Attention! Mod Makers: Offic. Patch 1.2 --> CA moved some files around...

    Quote Originally Posted by Hans Kloss View Post
    Wow, great. Seems to be the swiss pocket knife of modding tools!


    /edit: Mhm...I just tested this tool. I followed the instructions of the readme and after checking the battle_mode.db file it generates two files:

    COMPACT_battle_model.db
    PARSED_battle_model.db

    The first file is basically the same as the vanilla model.db file. It's not structure and therefore useless for me. The second file misses many many lines of the original model.db file. It is strctures, yes, but it has only 2421 lines of code while my structured model.db file has 25.200 lines of code. The PARSED_battle_model.db is also only 96KB big.

    So now I'm asking myself: Is it working correctly? And more important, what did it do?


    /edit2: It seems the Mod Tool needs a vanilla battle_model.db as a basis. With a vanilla file it creates a structured model.db file of the right size and with all content. ^^ My fault *g*.

    But the bad news is that it cannot spell-check already formatted model.db files.
    Last edited by GODzilla; May 06, 2007 at 11:35 AM.
    GODzilla(TM)
    son of the family of Wilpuri under the patronage of makanyane


  11. #11
    tornnight's Avatar Forum Bot
    Join Date
    Dec 2006
    Location
    Virginia, U.S.A.
    Posts
    1,755

    Default Re: !Attention! Mod Makers: Offic. Patch 1.2 --> CA moved some files around...

    It if it spat out a partial modeldb file that means you had syntax errors.

    Check the log for clues about the position. You can usually figure it out by looking where it started to go bad in the incomplete PARSED output.

    The parser is sensitive to missing spaces. It expects spaces to be exactly as they are in the vanilla version. Thats the most common mistake because some lines end with 2 spaces.
    "The first casualty when war comes, is truth." - Hiram Johnson
    Developer of The Long Road Modification

  12. #12

    Default Re: !Attention! Mod Makers: Offic. Patch 1.2 --> CA moved some files around...

    I think KE's format tool(which is included with his formated modeldb v2) is well enough.
    http://www.twcenter.net/forums/downl...o=file&id=1180

    It's a python program. And just throw your vanilla modeldb to it. It will do all the things rest. Nothing else needed.

  13. #13
    Hans Kloss's Avatar J-23
    Join Date
    Oct 2004
    Location
    Richmond upon Thames
    Posts
    1,616

    Default Re: !Attention! Mod Makers: Offic. Patch 1.2 --> CA moved some files around...

    Just tested "vanilla" battle_models formatted with KE python prog and it seem to be working fine.I have attached file to my post

  14. #14
    GODzilla's Avatar Civitate
    Join Date
    Oct 2004
    Location
    Germania superior
    Posts
    3,779

    Default Re: !Attention! Mod Makers: Offic. Patch 1.2 --> CA moved some files around...

    Quote Originally Posted by Hans Kloss View Post
    Just tested "vanilla" battle_models formatted with KE python prog and it seem to be working fine.I have attached file to my post
    Thanks, I just downloaded it. Though I already downloaded this phyton prog, but your file is saving me time.
    GODzilla(TM)
    son of the family of Wilpuri under the patronage of makanyane


  15. #15
    Hans Kloss's Avatar J-23
    Join Date
    Oct 2004
    Location
    Richmond upon Thames
    Posts
    1,616

    Default Re: !Attention! Mod Makers: Offic. Patch 1.2 --> CA moved some files around...

    please test it if you would...just in case

  16. #16

    Default Re: !Attention! Mod Makers: Offic. Patch 1.2 --> CA moved some files around...

    Quote Originally Posted by GODzilla View Post
    PPS: We DESPERATLY need a v1.2 formatted model.db file. There has been one for version 1.0 and v1.1 of the game. Does anybody know how to format this file? Thanks in advance.
    Try this!

  17. #17
    GODzilla's Avatar Civitate
    Join Date
    Oct 2004
    Location
    Germania superior
    Posts
    3,779

    Default Re: !Attention! Mod Makers: Offic. Patch 1.2 --> CA moved some files around...

    Quote Originally Posted by Marcus Aemilius Scaurus View Post
    Try this!
    Too late.
    GODzilla(TM)
    son of the family of Wilpuri under the patronage of makanyane


  18. #18

    Default Re: Venetian Heavy Infantry causung CTD in 1.2

    ive got the same problem when using dlv 3 but not in vanilla
    Popular superstition is still superstition.

  19. #19

    Default Re: Venetian Heavy Infantry causung CTD in 1.2

    Nope, it's working fine in vanilla. OP, please specify if you are using any mods. I loaded a pair of VHI, upgraded and not upgraded, and played a few custom battles. No crashes.



    I haven't had a single CTD with vanilla yet, in fact.

  20. #20

    Default Re: Venetian Heavy Infantry causung CTD in 1.2

    Look at: !Attention! Mod Makers: Offic. Patch 1.2 --> CA moved some files around...

    I solve the VHI problem in this way:
    In the battle_models files change:
    Quote:
    23 venetian_heavy_infantry
    1 3
    73 unit_models/_Units/LN_3QPlate_HalfPlate/venetian_heavy_infantry_lod0.mesh 121
    73 unit_models/_Units/LN_3QPlate_HalfPlate/venetian_heavy_infantry_lod1.mesh 1225
    73 unit_models/_Units/LN_3QPlate_HalfPlate/venetian_heavy_infantry_lod2.mesh 6400
    1
    6 venice
    81 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_venice.texture
    81 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_normal.texture
    54 unit_sprites/venice_Venetian_Heavy_Infantry_sprite.spr
    1
    6 venice
    60 unit_models/AttachmentSets/Final Italian_venice_diff.texture
    60 unit_models/AttachmentSets/Final Italian_venice_norm.texture 0
    1
    4 None
    9 MTW2_Mace 0
    2
    17 MTW2_Mace_Primary
    14 fs_test_shield 0
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    27 venetian_heavy_infantry_ug1
    1 4
    76 unit_models/_Units/LN_Brigandine_heavy/venetian_heavy_infantry_ug1_lod0.mesh 121
    76 unit_models/_Units/LN_Brigandine_heavy/venetian_heavy_infantry_ug1_lod1.mesh 900
    76 unit_models/_Units/LN_Brigandine_heavy/venetian_heavy_infantry_ug1_lod2.mesh 2500
    76 unit_models/_Units/LN_Brigandine_heavy/venetian_heavy_infantry_ug1_lod3.mesh 6400
    1
    6 venice
    77 unit_models/_Units/LN_Brigandine_heavy/textures/LN_ Brigandine_venice.texture
    77 unit_models/_Units/LN_Brigandine_heavy/textures/LN_ Brigandine_normal.texture
    58 unit_sprites/venice_Venetian_Heavy_Infantry_ug1_sprite.spr
    into:
    Quote:
    23 venetian_heavy_infantry
    1 4
    72 unit_models/_Units/LN_Brigandine_heavy/venetian_heavy_infantry_lod0.mesh 121
    72 unit_models/_Units/LN_Brigandine_heavy/venetian_heavy_infantry_lod1.mesh 900
    72 unit_models/_Units/LN_Brigandine_heavy/venetian_heavy_infantry_lod2.mesh 2500
    72 unit_models/_Units/LN_Brigandine_heavy/venetian_heavy_infantry_lod3.mesh 6400
    1
    6 venice
    77 unit_models/_Units/LN_Brigandine_heavy/textures/LN_ Brigandine_venice.texture
    77 unit_models/_Units/LN_Brigandine_heavy/textures/LN_ Brigandine_normal.texture
    58 unit_sprites/venice_Venetian_Heavy_Infantry_ug1_sprite.spr
    1
    6 venice
    60 unit_models/AttachmentSets/Final Italian_venice_diff.texture
    60 unit_models/AttachmentSets/Final Italian_venice_norm.texture 0
    1
    4 None
    9 MTW2_Mace 0
    2
    17 MTW2_Mace_Primary
    14 fs_test_shield 0
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    27 venetian_heavy_infantry_ug1
    1 3
    77 unit_models/_Units/LN_3QPlate_HalfPlate/venetian_heavy_infantry_ug1_lod0.mesh 121
    77 unit_models/_Units/LN_3QPlate_HalfPlate/venetian_heavy_infantry_ug1_lod1.mesh 1225
    77 unit_models/_Units/LN_3QPlate_HalfPlate/venetian_heavy_infantry_ug1_lod2.mesh 6400
    1
    6 venice
    81 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_venice.texture
    81 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_normal.texture
    54 unit_sprites/venice_Venetian_Heavy_Infantry_sprite.spr

Page 1 of 3 123 LastLast

Posting Permissions

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