Frodo45127 / rpfm

Rusted PackFile Manager (RPFM) is a... reimplementation in Rust and Qt5 of PackFile Manager (PFM), one of the best modding tools for Total War Games.
MIT License
368 stars 58 forks source link

.pack files #194

Closed mextrinc closed 2 years ago

mextrinc commented 2 years ago

Hi,

Am I doing it wrong if I am just editing the base files for modding usage just like pre-3.0 RPFM? I tried the tutorials on usage of script.txt but that didn't work out so well, i'm not so sure..

edit: still crashes if i use the first method. which is, to edit base files

Paterman93 commented 2 years ago

Same here. I have updated to 3.02 as well as switched the packfile from release to mod and back (was suggested on the 3.01 issue thread) Any changes to the data.pack on Total War Warhammer III result in the game crashing. Even edits that were working fine pre 3.00.

Vavohu commented 2 years ago

Same. I to gad mods working pre 3.0 that now cause crash. Simply loading, changing nothing and saving the pack file still causes game crash

tangmac0323 commented 2 years ago

crashed on starting for me, when the pack file only contains modification in _kv_rules_table

EDIT: one solution for me is to open the pack file => do the modification in WH3 selection => change selected game to WH2 => save it. The modification sill works even those should only be compatible with WH3.

Vavohu commented 2 years ago

That isn't working for me. tried several different changes separately including script

EDIT: not sure how relevant but, RPFM saves an unchanged copy of data.pack with 7 more kb (6,357,818 instead of the games default of 6,357,811) so it must be changing/confusing some table

ahamm3rs commented 2 years ago

crashed on starting for me, when the pack file only contains modification in _kv_rules_table

EDIT: one solution for me is to open the pack file => do the modification in WH3 selection => change selected game to WH2 => save it. The modification sill works even those should only be compatible with WH3.

Hi,

the workaround (with wh2-saving) is not working for me. I also face crash to desktop when starting wh3 with modified data.pack (i tried changed values and/or additional lines in the effect_bundles_to_effect_junction_tables)

Frodo45127 commented 2 years ago

Should be fixed in 3.0.3. There was an error in the encoding/decoding of colour columns that caused 2 entries in the factions and battle_set_piece_armies tables to encode incorrectly, breaking 2 tables. Apart of that, it seems the packfile saved by RPFM is exactly the same as the original data.