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

Saving PackFile prevents game from loading #233

Closed Diehydra closed 1 year ago

Diehydra commented 1 year ago

Opening data.pack and saving it (no changes made)

prevents the game from loading. restoring backup data.pack game loads fine (I also purchased champions of chaos DLC at same time rpfm update happened)

4.0.2

Volcano467 commented 1 year ago

Yes, I have the same problem. Been using RPFM for years (thanks!), and today after the RPFM update I was working on my TW:Troy mod as usual, tinkering it. Everything was working fine as usual, and I was liking the changes in the update, but after I saved the mod packfile and started up Troy, it wouldn't load and crashed.

I thought I broke something in the mod, so I changed the value back and tried again, same thing. After some trial and error, I figured out that I had to revert to the pre-RPFM update saved mod packfile to get Troy to load. Then I tried just opening that older packfile and saving it with no changes and found that it too crashed the game.

Anyway, if I overlooked the solution then I apologize. Keep up the good work! :]

Edit: BTW, I was using the rpfm_ui.exe, and I have since cleared all my schema files, and redownloaded them again, and unfortunately the result was the same.

Frodo45127 commented 1 year ago

does still happen with 4.0.3? If so, can anyone of you upload a pack before and after gets broken for comparison?

Diehydra commented 1 year ago

does still happen with 4.0.3? If so, can anyone of you upload a pack before and after gets broken for comparison?

4.0.3 fixed it , thank you I was directly accessing the 7.5 gb pack file

Volcano467 commented 1 year ago

does still happen with 4.0.3? If so, can anyone of you upload a pack before and after gets broken for comparison?

Yes, I have attached a .zip file here containing two mod pack files, both the same exact mod for Troy, one saved before and after the new version of RPFM with no other changes to the data.

"Mod_BeforeSave.pack" -- this was was saved a few days ago before the new RPFM version, and it works (the game loads).

"Mod_AfterSave.pack" -- this was saved just now, in the new RPFM version, and it doesn't load (game hangs at the splash screen, then crashes).

The version of RPFM I have is "4.0.3 -- 2.0 2" (in the "About RPFM" dialog). I checked for updates and there wasn't any, so hopefully I am in the correct version as I don't want to waste your time.

Thanks for investigating! :)

Mod Save Test.zip

Volcano467 commented 1 year ago

Update:

Looks like 4.0.4 fixed my issue. Thanks, much appreciated!

Frodo45127 commented 1 year ago

Closing then.