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
887 stars 69 forks source link

Error when running script #43

Closed MaxEffort94 closed 7 months ago

MaxEffort94 commented 7 months ago

File C:\Users\a7xkr\Desktop\palworld server fix\EFB7BB404C4D161F711C7AB73E91D0B3/Level.sav uncompressed successfully File C:\Users\a7xkr\Desktop\palworld server fix\EFB7BB404C4D161F711C7AB73E91D0B3/Level.sav (type: 50) converted to JSON successfully File C:\Users\a7xkr\Desktop\palworld server fix\EFB7BB404C4D161F711C7AB73E91D0B3/Players/00000000000000000000000000000001.sav uncompressed successfully File C:\Users\a7xkr\Desktop\palworld server fix\EFB7BB404C4D161F711C7AB73E91D0B3/Players/00000000000000000000000000000001.sav (type: 49) converted to JSON successfully Converted save files to JSON Traceback (most recent call last): File "fix-host-save.py", line 248, in main() File "fix-host-save.py", line 89, in main level_json = json.load(f) File "c:\users\a7xkr\appdata\local\programs\python\python38-32\lib\json__init__.py", line 293, in load return loads(fp.read(), MemoryError

this is how my command looks when running it:

python fix-host-save.py "C:\Users\a7xkr.cargo\bin\uesave.exe" "C:\Users\a7xkr\Desktop\palworld server fix\EFB7BB404C4D161F711C7AB73E91D0B3" 35CFB02A000000000000000000000000 00000000000000000000000000000001

MaxEffort94 commented 7 months ago

okay so i had a few versions of pythong installed, removing them and reinstalling fresh fixed. script runs fine, but i still load into the new character

xNul commented 7 months ago

All issues where the fix doesn't work despite being run correctly are being redirected to https://github.com/xNul/palworld-host-save-fix/issues/22. If you're still trying to resolve this issue, please reference it. I'll be posting updates there.