cheahjs / palworld-save-tools

Tools for converting Palworld .sav files to JSON and back
MIT License
766 stars 64 forks source link

Player cannot interact with anything after repairing #163

Open okasas100110 opened 4 months ago

okasas100110 commented 4 months ago

Hello, dear everyone: When I restarted my Linux server at noon, I ran into a serious problem, my save file got corrupted and I had to re-create the character. Before I re-created the character, I saved the save file on my server. When I converted the .sav to .json, I found that the "save_game_class_name" field changed to "None.PalWorldPlayerSaveGame" , I tried to fix it to "/Script/Pal.PalWorldPlayerSaveGame", but my character cannot interact with any items and my UI disappears. There is no response to any key presses, including esc, tab, etc. This is my nearly 100 hour archive, please help me to restore it, thank you! [Uploading Saved.zip…]()

Richl-lab commented 3 months ago

Hey, Yes same here. The version is made for v0.1.4.0 my server is already running the current version 0.1.5.1. I tried with the test if still the same *.sav game file will be outputed as it was inputed and can confirm this. Might be also a problem with Level.sav?

----Update---- I tried with the current (fixed version) of my player and current version of LevelMeta and old version of the Level (this worked).

---Update--- Palworld saves for each player (player.id file) multiple types of PalContainerIds (Pals, Inventory,DropSlot...) that contains a id that points on a specific id in the world file (Level.sav). Those ids can not be found anymore in the world file. I guess that reason why you can not interact or see the hud. It tries to load those ids but can not find them. My guess is it also truncated all those ids (lost data).

mramieltalib commented 3 months ago

i tried your method, and it works. but all my pals in my palbox are missing.