Results 1 to 8 of 8

Thread: custom battle CTD: can be fixed by rebuilding string.bin's (but just for once) - [not solved but workaround found]

  1. #1

    Default custom battle CTD: can be fixed by rebuilding string.bin's (but just for once) - [not solved but workaround found]

    Guys, I need your help. In a mod I deleted some files I didn't think neccessary anymore (basically ones I'd used for repacking) but when I start custom battles the game CTD's without even showing the loading bar. I can fix this, however, by rebuilding the string.bin.txt files. But it works just for once each time.
    I suspected it might be some issue with repacked music files but then again, everything works after deleting the string.bins just fine.

    Some things possibly of importance:
    - kingdoms
    - battle mod only, that is, I didn't mess with maps
    - changed are: anim packs, models, music files, textures, UI, text files, banners, sprites, menu, EDU, BMDB ..all working, though

    the logs (last hundred lines each):
    one time this
    Spoiler Alert, click show to read: 
    09:00:29.067 [system.io] [trace] pack data(),,data/menu/unit_card.tga,,,65580
    09:00:29.068 [system.io] [trace] pack close,,data/menu/unit_card.tga,,,-65580
    09:00:29.068 [system.io] [info] exists: missing mods/ThinRedLine/data/menu/icons.tga
    09:00:29.068 [system.io] [trace] file open,,data/menu/icons.tga.dds,,not found
    09:00:29.068 [system.io] [trace] pack open,packs/localized.pack,data/menu/icons.tga.dds,,not found
    09:00:29.068 [system.io] [trace] pack open,packs/data_1.pack,data/menu/icons.tga.dds,,not found
    09:00:29.068 [system.io] [warning] open: data/menu/icons.tga.dds is missing
    09:00:29.069 [system.io] [trace] file open,,data/menu/icons.tga,,not found
    09:00:29.069 [system.io] [trace] pack open,packs/localized.pack,data/menu/icons.tga,,not found
    09:00:29.069 [system.io] [trace] pack open,packs/data_1.pack,data/menu/icons.tga,262188
    09:00:29.069 [system.io] [info] open: found data/menu/icons.tga (from: packs/data_1.pack)
    09:00:29.074 [system.io] [trace] pack data(),,data/menu/icons.tga,,,262188
    09:00:29.087 [system.io] [trace] pack close,,data/menu/icons.tga,,,-262188
    09:00:30.718 [system.io] [trace] file open,,data/menu/_M2_BORDER_FRONTEND.TGA,,not found
    09:00:30.718 [system.io] [trace] pack open,packs/localized.pack,data/menu/_M2_BORDER_FRONTEND.TGA,,not found
    09:00:30.718 [system.io] [trace] pack open,packs/data_1.pack,data/menu/_M2_BORDER_FRONTEND.TGA,,not found
    09:00:30.718 [system.io] [warning] open: data/menu/_M2_BORDER_FRONTEND.TGA is missing
    09:00:30.719 [system.io] [trace] file open,,mods/ThinRedLine/data/menu/BOTTOMBANNERD.TGA,284226
    09:00:30.719 [system.io] [info] open: found mods/ThinRedLine/data/menu/BOTTOMBANNERD.TGA (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:00:30.719 [system.io] [trace] file open,,mods/ThinRedLine/data/menu/_M2_LOAD_GAME_PANELS.TGA,185072
    09:00:30.719 [system.io] [info] open: found mods/ThinRedLine/data/menu/_M2_LOAD_GAME_PANELS.TGA (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:00:30.719 [system.io] [trace] file open,,mods/ThinRedLine/data/menu/_M2_LOAD_GAME_PANELS.TGA,185072
    09:00:30.720 [system.io] [info] open: found mods/ThinRedLine/data/menu/_M2_LOAD_GAME_PANELS.TGA (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:00:30.722 [system.io] [trace] file open,,mods/ThinRedLine/data/menu/TEXTURES/FE_TEXTURE4.TGA,541893
    09:00:30.722 [system.io] [info] open: found mods/ThinRedLine/data/menu/TEXTURES/FE_TEXTURE4.TGA (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:00:30.722 [system.io] [trace] file open,,mods/ThinRedLine/data/menu/TEXTURES/FE_TEXTURE1.TGA,490578
    09:00:30.722 [system.io] [info] open: found mods/ThinRedLine/data/menu/TEXTURES/FE_TEXTURE1.TGA (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:00:30.723 [system.io] [trace] file open,,mods/ThinRedLine/data/menu/TEXTURES/BACKDROP.TGA,3062103
    09:00:30.723 [system.io] [info] open: found mods/ThinRedLine/data/menu/TEXTURES/BACKDROP.TGA (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:00:30.906 [system.io] [trace] file open,,mods/ThinRedLine/data/menu/_M2_BORDER.TGA,1475127
    09:00:30.906 [system.io] [info] open: found mods/ThinRedLine/data/menu/_M2_BORDER.TGA (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:00:30.983 [system.io] [trace] file open,,data/menu/_M2_BORDER_FRONTEND.TGA,,not found
    09:00:30.983 [system.io] [trace] pack open,packs/localized.pack,data/menu/_M2_BORDER_FRONTEND.TGA,,not found
    09:00:30.983 [system.io] [trace] pack open,packs/data_1.pack,data/menu/_M2_BORDER_FRONTEND.TGA,,not found
    09:00:30.983 [system.io] [warning] open: data/menu/_M2_BORDER_FRONTEND.TGA is missing
    09:00:30.984 [system.io] [trace] file open,,mods/ThinRedLine/data/menu/BOTTOMBANNERD.TGA,284226
    09:00:30.984 [system.io] [info] open: found mods/ThinRedLine/data/menu/BOTTOMBANNERD.TGA (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:00:31.013 [system.io] [trace] file open,,mods/ThinRedLine/data/menu/_M2_LOAD_GAME_PANELS.TGA,185072
    09:00:31.013 [system.io] [info] open: found mods/ThinRedLine/data/menu/_M2_LOAD_GAME_PANELS.TGA (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:00:31.022 [system.io] [trace] file open,,mods/ThinRedLine/data/menu/TEXTURES/FE_TEXTURE4.TGA,541893
    09:00:31.023 [system.io] [info] open: found mods/ThinRedLine/data/menu/TEXTURES/FE_TEXTURE4.TGA (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:00:31.048 [system.io] [trace] file open,,mods/ThinRedLine/data/menu/TEXTURES/FE_TEXTURE1.TGA,490578
    09:00:31.048 [system.io] [info] open: found mods/ThinRedLine/data/menu/TEXTURES/FE_TEXTURE1.TGA (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:17.276 [system.io] [trace] file open,,mods/ThinRedLine/data/menu/_M2_BORDER.TGA,1475127
    09:01:17.276 [system.io] [info] open: found mods/ThinRedLine/data/menu/_M2_BORDER.TGA (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:17.276 [system.io] [trace] file open,,mods/ThinRedLine/data/menu/ZULUKING.TGA,405633
    09:01:17.277 [system.io] [info] open: found mods/ThinRedLine/data/menu/ZULUKING.TGA (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:17.277 [system.io] [trace] file open,,mods/ThinRedLine/data/menu/CHELMSFORD.TGA,387072
    09:01:17.277 [system.io] [info] open: found mods/ThinRedLine/data/menu/CHELMSFORD.TGA (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:17.277 [system.io] [trace] file open,,mods/ThinRedLine/data/menu/BOTTOMBANNERD.TGA,284226
    09:01:17.277 [system.io] [info] open: found mods/ThinRedLine/data/menu/BOTTOMBANNERD.TGA (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:17.278 [system.io] [trace] file open,,mods/ThinRedLine/data/menu/_M2_LOAD_GAME_PANELS.TGA,185072
    09:01:17.278 [system.io] [info] open: found mods/ThinRedLine/data/menu/_M2_LOAD_GAME_PANELS.TGA (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:17.279 [system.io] [trace] file open,,mods/ThinRedLine/data/menu/_M2_BUTTONS1.TGA,1210044
    09:01:17.279 [system.io] [info] open: found mods/ThinRedLine/data/menu/_M2_BUTTONS1.TGA (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:17.279 [system.io] [trace] file open,,mods/ThinRedLine/data/menu/_M2_BUTTONS1.TGA,1210044
    09:01:17.279 [system.io] [info] open: found mods/ThinRedLine/data/menu/_M2_BUTTONS1.TGA (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:17.280 [system.io] [trace] file open,,mods/ThinRedLine/data/menu/_M2_BUTTONS1.TGA,1210044
    09:01:17.281 [system.io] [info] open: found mods/ThinRedLine/data/menu/_M2_BUTTONS1.TGA (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:17.281 [system.io] [trace] file open,,mods/ThinRedLine/data/menu/ZULUKING.TGA,405633
    09:01:17.282 [system.io] [info] open: found mods/ThinRedLine/data/menu/ZULUKING.TGA (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:17.297 [system.io] [trace] file open,,mods/ThinRedLine/data/menu/CHELMSFORD.TGA,387072
    09:01:17.297 [system.io] [info] open: found mods/ThinRedLine/data/menu/CHELMSFORD.TGA (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:17.314 [system.io] [trace] file open,,mods/ThinRedLine/data/menu/_M2_BUTTONS1.TGA,1210044
    09:01:17.315 [system.io] [info] open: found mods/ThinRedLine/data/menu/_M2_BUTTONS1.TGA (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:21.181 [system.io] [info] exists: found mods/ThinRedLine/data/custom_locations.txt (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:21.181 [system.io] [trace] file open,,134654F8,3259
    09:01:21.182 [system.io] [info] open: found mods/ThinRedLine/data/custom_locations.txt (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:21.204 [system.io] [info] exists: found mods/ThinRedLine/data/world/maps/campaign/imperial_campaign/descr_strat.txt (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:21.204 [system.io] [trace] file open,,13163818,122327
    09:01:21.205 [system.io] [info] open: found mods/ThinRedLine/data/world/maps/campaign/imperial_campaign/descr_strat.txt (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:21.375 [system.io] [trace] file open,,13163818,122327
    09:01:21.375 [system.io] [info] open: found mods/ThinRedLine/data/world/maps/campaign/imperial_campaign/descr_strat.txt (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:21.375 [system.io] [info] exists: missing mods/ThinRedLine/data/world/maps/campaign/imperial_campaign/unlocked.txt
    09:01:21.376 [system.io] [trace] file open,,0DF44908,,not found
    09:01:21.376 [system.io] [warning] open: mods/ThinRedLine/data/world/maps/campaign/imperial_campaign/map.rwm is missing
    09:01:21.376 [system.io] [trace] file open,,13465630,4453224
    09:01:21.376 [system.io] [info] open: found mods/ThinRedLine/data/world/maps/base/map.rwm (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:21.484 [system.io] [info] exists: found mods/ThinRedLine/data/world/maps/base/map.rwm (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:21.485 [system.io] [info] exists: missing mods/ThinRedLine/data/world/maps/campaign/imperial_campaign/map_fog.tga
    09:01:21.485 [system.io] [info] exists: found mods/ThinRedLine/data/world/maps/base/map_fog.tga (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:21.485 [system.io] [trace] file open,,1343C528,671985
    09:01:21.485 [system.io] [info] open: found mods/ThinRedLine/data/world/maps/base/map_fog.tga (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:21.515 [system.io] [info] exists: missing mods/ThinRedLine/data/world/maps/campaign/imperial_campaign/descr_regions.txt
    09:01:21.516 [system.io] [info] exists: found mods/ThinRedLine/data/world/maps/base/descr_regions.txt (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:21.535 [system.io] [info] exists: found mods/ThinRedLine/data/text/imperial_campaign_regions_and_settlement_names.txt (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:21.535 [system.io] [info] exists: missing mods/ThinRedLine/data/world/maps/campaign/imperial_campaign/descr_regions_and_settlement_name_lookup.txt
    09:01:21.535 [system.io] [info] exists: missing mods/ThinRedLine/data/world/maps/campaign/imperial_campaign/descr_regions_and_settlement_name_lookup.txt.strings.bin
    09:01:21.535 [system.io] [info] exists: missing mods/ThinRedLine/data/world/maps/campaign/imperial_campaign/descr_regions_and_settlement_name_lookup.txt
    09:01:21.555 [system.io] [trace] file open,,121E51C8,16112
    09:01:21.555 [system.io] [info] open: found mods/ThinRedLine/data/text/imperial_campaign_regions_and_settlement_names.txt.strings.bin (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:21.556 [system.io] [trace] file open,,1343C618,17908
    09:01:21.556 [system.io] [info] open: found mods/ThinRedLine/data/world/maps/base/descr_regions.txt (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:21.558 [system.io] [trace] file open,,1346A7D8,4453224
    09:01:21.558 [system.io] [info] open: found mods/ThinRedLine/data/world/maps/base/map.rwm (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:21.612 [system.io] [info] exists: missing mods/ThinRedLine/data/world/maps/campaign/imperial_campaign/custom_tiles_db.txt
    09:01:21.612 [system.io] [info] exists: missing mods/ThinRedLine/data/world/maps/campaign/imperial_campaign/descr_sounds_music_types.txt
    09:01:21.612 [system.io] [info] exists: found mods/ThinRedLine/data/world/maps/base/descr_sounds_music_types.txt (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:21.613 [system.io] [trace] file open,,0DF44740,2751
    09:01:21.613 [system.io] [info] open: found mods/ThinRedLine/data/world/maps/base/descr_sounds_music_types.txt (from: F:\Program Files (x86)\SEGA\Medieval II Total War)
    09:01:22.465 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.


    and one time that
    Spoiler Alert, click show to read: 
    22:00:18.509 [system.io] [info] open: found data/models_effects/explosion_dirt1.cas (from: packs/data_1.pack)
    22:00:18.509 [system.io] [trace] pack close,,data/models_effects/explosion_dirt1.cas,,,-1709
    22:00:18.510 [system.io] [trace] file open,,data/models_effects/debri02.cas,,not found
    22:00:18.510 [system.io] [trace] pack open,packs/localized.pack,data/models_effects/debri02.cas,,not found
    22:00:18.510 [system.io] [trace] pack open,packs/data_1.pack,data/models_effects/debri02.cas,1608
    22:00:18.510 [system.io] [info] open: found data/models_effects/debri02.cas (from: packs/data_1.pack)
    22:00:18.510 [system.io] [trace] pack close,,data/models_effects/debri02.cas,,,-1608
    22:00:18.511 [system.io] [trace] file open,,data/models_effects/explosion_dirt2.cas,,not found
    22:00:18.511 [system.io] [trace] pack open,packs/localized.pack,data/models_effects/explosion_dirt2.cas,,not found
    22:00:18.511 [system.io] [trace] pack open,packs/data_1.pack,data/models_effects/explosion_dirt2.cas,919
    22:00:18.511 [system.io] [info] open: found data/models_effects/explosion_dirt2.cas (from: packs/data_1.pack)
    22:00:18.511 [system.io] [trace] pack close,,data/models_effects/explosion_dirt2.cas,,,-919
    22:00:18.511 [system.io] [trace] file open,,data/models_effects/debri02.cas,,not found
    22:00:18.512 [system.io] [trace] pack open,packs/localized.pack,data/models_effects/debri02.cas,,not found
    22:00:18.512 [system.io] [trace] pack open,packs/data_1.pack,data/models_effects/debri02.cas,1608
    22:00:18.513 [system.io] [info] open: found data/models_effects/debri02.cas (from: packs/data_1.pack)
    22:00:18.513 [system.io] [trace] pack close,,data/models_effects/debri02.cas,,,-1608
    22:00:18.514 [system.io] [trace] file open,,data/models_effects/explosion.cas,,not found
    22:00:18.514 [system.io] [trace] pack open,packs/localized.pack,data/models_effects/explosion.cas,,not found
    22:00:18.514 [system.io] [trace] pack open,packs/data_1.pack,data/models_effects/explosion.cas,9004
    22:00:18.514 [system.io] [info] open: found data/models_effects/explosion.cas (from: packs/data_1.pack)
    22:00:18.514 [system.io] [trace] pack close,,data/models_effects/explosion.cas,,,-9004
    22:00:18.515 [system.io] [trace] file open,,data/models_effects/fire_debri_01.CAS,,not found
    22:00:18.515 [system.io] [trace] pack open,packs/localized.pack,data/models_effects/fire_debri_01.CAS,,not found
    22:00:18.515 [system.io] [trace] pack open,packs/data_1.pack,data/models_effects/fire_debri_01.CAS,920
    22:00:18.516 [system.io] [info] open: found data/models_effects/fire_debri_01.CAS (from: packs/data_1.pack)
    22:00:18.516 [system.io] [trace] pack close,,data/models_effects/fire_debri_01.cas,,,-920
    22:00:18.516 [system.io] [trace] file open,,data/models_effects/explosion_dust.cas,,not found
    22:00:18.516 [system.io] [trace] pack open,packs/localized.pack,data/models_effects/explosion_dust.cas,,not found
    22:00:18.516 [system.io] [trace] pack open,packs/data_1.pack,data/models_effects/explosion_dust.cas,920
    22:00:18.516 [system.io] [info] open: found data/models_effects/explosion_dust.cas (from: packs/data_1.pack)
    22:00:18.517 [system.io] [trace] pack close,,data/models_effects/explosion_dust.cas,,,-920
    22:00:18.517 [system.io] [trace] file open,,data/models_effects/fire_debri_02.CAS,,not found
    22:00:18.517 [system.io] [trace] pack open,packs/localized.pack,data/models_effects/fire_debri_02.CAS,,not found
    22:00:18.517 [system.io] [trace] pack open,packs/data_1.pack,data/models_effects/fire_debri_02.CAS,921
    22:00:18.517 [system.io] [info] open: found data/models_effects/fire_debri_02.CAS (from: packs/data_1.pack)
    22:00:18.518 [system.io] [trace] pack close,,data/models_effects/fire_debri_02.cas,,,-921
    22:00:18.518 [system.io] [trace] file open,,data/models_effects/explosion_dust2.cas,,not found
    22:00:18.518 [system.io] [trace] pack open,packs/localized.pack,data/models_effects/explosion_dust2.cas,,not found
    22:00:18.518 [system.io] [trace] pack open,packs/data_1.pack,data/models_effects/explosion_dust2.cas,920
    22:00:18.518 [system.io] [info] open: found data/models_effects/explosion_dust2.cas (from: packs/data_1.pack)
    22:00:18.518 [system.io] [trace] pack close,,data/models_effects/explosion_dust2.cas,,,-920
    22:00:18.519 [system.io] [trace] file open,,data/models_effects/debri02.cas,,not found
    22:00:18.519 [system.io] [trace] pack open,packs/localized.pack,data/models_effects/debri02.cas,,not found
    22:00:18.519 [system.io] [trace] pack open,packs/data_1.pack,data/models_effects/debri02.cas,1608
    22:00:18.519 [system.io] [info] open: found data/models_effects/debri02.cas (from: packs/data_1.pack)
    22:00:18.519 [system.io] [trace] pack close,,data/models_effects/debri02.cas,,,-1608
    22:00:18.520 [system.io] [trace] file open,,data/models_effects/flame_explode.cas,,not found
    22:00:18.520 [system.io] [trace] pack open,packs/localized.pack,data/models_effects/flame_explode.cas,,not found
    22:00:18.520 [system.io] [trace] pack open,packs/data_1.pack,data/models_effects/flame_explode.cas,916
    22:00:18.520 [system.io] [info] open: found data/models_effects/flame_explode.cas (from: packs/data_1.pack)
    22:00:18.520 [system.io] [trace] pack close,,data/models_effects/flame_explode.cas,,,-916
    22:00:18.520 [system.io] [trace] file open,,data/models_effects/fire_debri_02.CAS,,not found
    22:00:18.521 [system.io] [trace] pack open,packs/localized.pack,data/models_effects/fire_debri_02.CAS,,not found
    22:00:18.521 [system.io] [trace] pack open,packs/data_1.pack,data/models_effects/fire_debri_02.CAS,921
    22:00:18.521 [system.io] [info] open: found data/models_effects/fire_debri_02.CAS (from: packs/data_1.pack)
    22:00:18.521 [system.io] [trace] pack close,,data/models_effects/fire_debri_02.cas,,,-921
    22:00:18.522 [system.io] [trace] file open,,data/models_effects/explosion_dust.cas,,not found
    22:00:18.522 [system.io] [trace] pack open,packs/localized.pack,data/models_effects/explosion_dust.cas,,not found
    22:00:18.523 [system.io] [trace] pack open,packs/data_1.pack,data/models_effects/explosion_dust.cas,920
    22:00:18.523 [system.io] [info] open: found data/models_effects/explosion_dust.cas (from: packs/data_1.pack)
    22:00:18.523 [system.io] [trace] pack close,,data/models_effects/explosion_dust.cas,,,-920
    22:00:18.523 [system.io] [trace] file open,,data/models_effects/debri02.cas,,not found
    22:00:18.523 [system.io] [trace] pack open,packs/localized.pack,data/models_effects/debri02.cas,,not found
    22:00:18.524 [system.io] [trace] pack open,packs/data_1.pack,data/models_effects/debri02.cas,1608
    22:00:18.524 [system.io] [info] open: found data/models_effects/debri02.cas (from: packs/data_1.pack)
    22:00:18.524 [system.io] [trace] pack close,,data/models_effects/debri02.cas,,,-1608
    22:00:18.524 [system.io] [trace] file open,,data/models_effects/explosion_dust2.cas,,not found
    22:00:18.524 [system.io] [trace] pack open,packs/localized.pack,data/models_effects/explosion_dust2.cas,,not found
    22:00:18.524 [system.io] [trace] pack open,packs/data_1.pack,data/models_effects/explosion_dust2.cas,920
    22:00:18.525 [system.io] [info] open: found data/models_effects/explosion_dust2.cas (from: packs/data_1.pack)
    22:00:18.525 [system.io] [trace] pack close,,data/models_effects/explosion_dust2.cas,,,-920
    22:00:18.525 [system.io] [trace] file open,,data/models_effects/fire_debri_02.CAS,,not found
    22:00:18.525 [system.io] [trace] pack open,packs/localized.pack,data/models_effects/fire_debri_02.CAS,,not found
    22:00:18.525 [system.io] [trace] pack open,packs/data_1.pack,data/models_effects/fire_debri_02.CAS,921
    22:00:18.525 [system.io] [info] open: found data/models_effects/fire_debri_02.CAS (from: packs/data_1.pack)
    22:00:18.526 [system.io] [trace] pack close,,data/models_effects/fire_debri_02.cas,,,-921
    22:00:18.526 [system.io] [trace] file open,,data/models_effects/explosion_dust.cas,,not found
    22:00:18.526 [system.io] [trace] pack open,packs/localized.pack,data/models_effects/explosion_dust.cas,,not found
    22:00:18.526 [system.io] [trace] pack open,packs/data_1.pack,data/models_effects/explosion_dust.cas,920
    22:00:18.526 [system.io] [info] open: found data/models_effects/explosion_dust.cas (from: packs/data_1.pack)
    22:00:18.526 [system.io] [trace] pack close,,data/models_effects/explosion_dust.cas,,,-920
    22:00:18.527 [system.io] [trace] file open,,data/models_effects/debri02.cas,,not found
    22:00:18.527 [system.io] [trace] pack open,packs/localized.pack,data/models_effects/debri02.cas,,not found
    22:00:18.527 [system.io] [trace] pack open,packs/data_1.pack,data/models_effects/debri02.cas,1608
    22:00:18.527 [system.io] [info] open: found data/models_effects/debri02.cas (from: packs/data_1.pack)
    22:00:18.527 [system.io] [trace] pack close,,data/models_effects/debri02.cas,,,-1608
    22:00:18.528 [system.io] [trace] file open,,data/models_effects/dirt_explode_01.CAS,,not found
    22:00:18.528 [system.io] [trace] pack open,packs/localized.pack,data/models_effects/dirt_explode_01.CAS,,not found
    22:00:18.528 [system.io] [trace] pack open,packs/data_1.pack,data/models_effects/dirt_explode_01.CAS,3303
    22:00:18.528 [system.io] [info] open: found data/models_effects/dirt_explode_01.CAS (from: packs/data_1.pack)
    22:00:18.528 [system.io] [trace] pack close,,data/models_effects/dirt_explode_01.cas,,,-3303
    22:00:18.529 [system.io] [trace] file open,,data/models_effects/debri02.cas,,not found
    22:00:18.529 [system.io] [trace] pack open,packs/localized.pack,data/models_effects/debri02.cas,,not found
    22:00:18.529 [system.io] [trace] pack open,packs/data_1.pack,data/models_effects/debri02.cas,1608
    22:00:18.529 [system.io] [info] open: found data/models_effects/debri02.cas (from: packs/data_1.pack)
    22:00:18.529 [system.io] [trace] pack close,,data/models_effects/debri02.cas,,,-1608
    22:00:18.530 [system.io] [trace] file open,,data/models_effects/dirt_explode_01.CAS,,not found
    22:00:18.530 [system.io] [trace] pack open,packs/localized.pack,data/models_effects/dirt_explode_01.CAS,,not found
    22:00:18.530 [system.io] [trace] pack open,packs/data_1.pack,data/models_effects/dirt_explode_01.CAS,3303
    22:00:18.530 [system.io] [info] open: found data/models_effects/dirt_explode_01.CAS (from: packs/data_1.pack)



    Plan B:
    Is it advisable/possible to just put a line in my mod's batch file that deletes the string.bin's at every game startup?

    Thanks

    Creator of Isandlwana 1879 - The Thin Red Line for M2TW (Kingdoms) & Contributor to African Conquest:Total War

  2. #2

    Default Re: custom battle CTD: can be fixed by rebuilding string.bin's (but just for once)

    Well, maybe someone else has this problem, too, and so I won't withheld the workaround I found. The actual problem (whatever it is) is still there but it doesn't affect gameplay anymore, at least.

    I just inserted these first three lines in the batch.file. This will delete the *.txt.string.bin's at every game start:
    ---------------------------------------------------------------------------
    cd \data\text
    del *.txt.strings.bin /q
    cd %~dp0

    cd ..\..
    start kingdoms.exe @mods\ThinRedLine\ThinRedLine.cfg
    ---------------------------------------------------------------------------
    (these are of course relative paths depending on the *.cfg's position)

    Creator of Isandlwana 1879 - The Thin Red Line for M2TW (Kingdoms) & Contributor to African Conquest:Total War

  3. #3

    Default Re: custom battle CTD: can be fixed by rebuilding string.bin's (but just for once) - [not solved but workaround found]

    That's a pretty odd crash lol. bin files should be regenerated automatically & there is no need to delete them every time. I presume some actual text file has an error of some sort.

  4. #4

    Default Re: custom battle CTD: can be fixed by rebuilding string.bin's (but just for once) - [not solved but workaround found]

    Yeah, odd it was since I restored any files I to the last known working status before the error occured (As far as I can tell). But I don't think it has really something to do with the files in the text folder. I just guess that the game does more than just rebuilding string.bin files when these are deleted. Anyways, I'm happy it works again ...

    Creator of Isandlwana 1879 - The Thin Red Line for M2TW (Kingdoms) & Contributor to African Conquest:Total War

  5. #5

    Default Re: custom battle CTD: can be fixed by rebuilding string.bin's (but just for once) - [not solved but workaround found]

    Quote Originally Posted by Ishan View Post
    That's a pretty odd crash lol. bin files should be regenerated automatically & there is no need to delete them every time.
    That is incorrect. The game always use whatever strings.bin files you give it and never regenerates them from text files (unlike ui files) if they are present. Hence if you have corrupted strings.bin file you get errors even though the txt file is fine.

    The most common problem with txt files incorrectly being regenerated is encoding and unsupported characters. It is said that Unicode should be the encoding of txt files in /data/text/ while ANSI for all other text files. Best way to check encoding is using Notepad++ or similar tool. I had my share of trouble with the files set to Unicode though and found out it might be needed to be in slightly older encoding:

    In Notepad++ the text files should appear as encoded as 'UCS2-little endian' as all other encodings seem to create mess in strings.bin. Not sure why this older version but so it is and ever since I discovered it and made sure all text files are in this encoding it works like a charm.

    Also each text file must start with this character

    ¬

    This all however assumes your entries are correct ones, i.e. no special characters inside {}. From the description of the problem though my money are on the encoding as I have seen all sorts of weird behaviour with seemingly correct txt files not properly being transformed into strings.bin. Good way to check it is to open the strings.bin in BinEditor 3.0 (bundled with Geomod) and see if the entries are correct. BinEditor seems a bit more benevolent than M2TW though so unless you test it in game it is not conclusive test.

    Mod Leader, Mapper & Bohemian Researcher

  6. #6

    Default Re: custom battle CTD: can be fixed by rebuilding string.bin's (but just for once) - [not solved but workaround found]

    Quote Originally Posted by Resurrection View Post
    That is incorrect. The game always use whatever strings.bin files you give it and never regenerates them from text files (unlike ui files) if they are present. Hence if you have corrupted strings.bin file you get errors even though the txt file is fine.
    Nope, there is no need to delete .bin files every time you make a change in the relevant .txt file, the changes are automatically overwritten. The only reason when changes won't be over written is when the relevant text file is corrupt due the reasons you mentioned below. Any modder like Gigantus or Squid can confirm this.

    Quote Originally Posted by Resurrection View Post
    The most common problem with txt files incorrectly being regenerated is encoding and unsupported characters. It is said that Unicode should be the encoding of txt files in /data/text/ while ANSI for all other text files. Best way to check encoding is using Notepad++ or similar tool. I had my share of trouble with the files set to Unicode though and found out it might be needed to be in slightly older encoding:

    In Notepad++ the text files should appear as encoded as 'UCS2-little endian' as all other encodings seem to create mess in strings.bin. Not sure why this older version but so it is and ever since I discovered it and made sure all text files are in this encoding it works like a charm.

    Also each text file must start with this character

    ¬

    This all however assumes your entries are correct ones, i.e. no special characters inside {}. From the description of the problem though my money are on the encoding as I have seen all sorts of weird behaviour with seemingly correct txt files not properly being transformed into strings.bin. Good way to check it is to open the strings.bin in BinEditor 3.0 (bundled with Geomod) and see if the entries are correct. BinEditor seems a bit more benevolent than M2TW though so unless you test it in game it is not conclusive test.
    Yes i'm aware of it.

  7. #7

    Default Re: custom battle CTD: can be fixed by rebuilding string.bin's (but just for once) - [not solved but workaround found]

    Thanks for the input guys but shouldn't some hint at the string bin's being the culprit show up in the logfile? And why does the game work (seemingly) flawless when I just rebuild the files?
    Or does the game use the text files for the actual game start and uses the then rebuilt string.bin's only for the next game start where they cause the CTD?

    Nonetheless I'll check the files with the tool you mentioned but I use N++, the files are encoded as you say and I think I was quite careful with the files.

    Creator of Isandlwana 1879 - The Thin Red Line for M2TW (Kingdoms) & Contributor to African Conquest:Total War

  8. #8

    Default Re: custom battle CTD: can be fixed by rebuilding string.bin's (but just for once) - [not solved but workaround found]

    As Resurrection hinted at the game is not at all reliable in this regard, and it heavily depends on which binary blob we are talking about whether or not you stand a chance of having it all working. For most of the strings.bin files the game simply does not check if they might need updating, and in case of the data/ui/strategy.sd file the game is simply broken. In the case of the few files for which updating can work, the trigger appears to be the last-modified timestamp: if it is older than that of the corresponding source file the game will attempt to regenerate them.

    Secondly, the game does not appear to check for errors in any of its binary blobs -- or at least it will not report any. (The best it can do is an “Unspecified Error”.) So the only way to be sure in general is to delete files.

    Finally it should be noted that if you ever wish to distribute your mod to fans, you should not assume that any of this will actually work on their end. It relies on a very unhygienic setup from the location of the mod (relative to the Vanilla files) down to assumptions about workflow and file systems implementations. Users should not have to tamper with UAC settings, for instance: quite apart from being not even wrong (it doesn't actually solve anything), such highly specific and invasive changes are just a recipe for disaster.

    We learned that the hard way when we did EB 1, and that was on RTW doesn't even have these binary blobs in the first place (well most of them, anyway) so the problem was a lot smaller.
    Last edited by Tellos Athenaios; January 05, 2012 at 02:48 PM.
    -Tellos Athenaios
    CUF tool - XIDX - PACK tool - SD tool - EVT tool

    ὁ δ᾽ ἠλίθιος ὣσπερ πρόβατον βῆ βῆ λέγων βαδίζει” – Kratinos in Dionysalexandros.

Tags for this Thread

Posting Permissions

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