xNul / palworld-host-save-fix

Fixes the bug which forces a player to create a new character when they already have a save. Useful for migrating maps from co-op to dedicated servers and from one dedicated server to another.
MIT License
886 stars 65 forks source link

KeyError: CharacterSaveParameterMap #165

Open Peter-Nguyen96 opened 4 months ago

Peter-Nguyen96 commented 4 months ago

Updated the game and server, tried to log in and ran into the new character creation glitch. Original save file is there and backed up and came here to fix it. Tried running the gui.py on the old level.sav and got that error. Opened a jupyter notebook and converted the old level.sav to json and a new empty world level.sav to json to compare both. Looks like the old one doesnt have it so the script doesn't work on it. I think the structure of level.sav changed and the update attempted to migrate save data over but did it incorrectly and caused the bug. Any help here would be great before I attempt to parse out the whole thing and manually move stuff around.