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

Command doesn't work in either linux nor windows - unable to find save file #73

Closed ta-soft closed 7 months ago

ta-soft commented 7 months ago

python3 fix-host-save.py "C:\Users\dncas\Downloads\uesave-x86_64-pc-windows-msvc\uesave.exe" "D:\pasteta" 4B302684000000000000000000000000 CB7EF146000000000000000000000000

and

python3 fix-host-save.py "C:\Users\dncas\Downloads\uesave-x86_64-pc-windows-msvc\uesave.exe" "D:\pasteta" CB7EF146000000000000000000000000 4B302684000000000000000000000000

both yield the a similar result:

WARNING: Running this script WILL change your save files and could potentially corrupt your data. It is HIGHLY recommended that you make a backup of your save folder before continuing. Press enter if you would like to continue.

ERROR: Your player save does not exist. Did you enter the correct new GUID of your player? It should look like "8E910AC2000000000000000000000000". Did your player create their character with the provided save? Once they create their character, a file called "D:\pasteta/Players/4B302684000000000000000000000000.sav" should appear. Look back over the steps in the README on how to get your new GUID.

If I try the syntax as per example instructions, the program doesn't even run.

PS D:\pasteta> python3 fix-host-save.py "C:\Users\dncas\Downloads\uesave-x86_64-pc-windows-msvc\uesave.exe" "D:\pasteta\4B302684000000000000000000000000" CB7EF146000000000000000000000000 fix-host-save.py

Lynxaa commented 7 months ago

You probably didn't copy the old server files over correctly.

https://github.com/xNul/palworld-host-save-fix#how-to-migrate-a-windowslinux-dedicated-server-save-to-a-linuxwindows-dedicated-server

Carefully re-read steps 1-4

For example, this worked perfectly fine for me:

python "H:\palworld-host-save-fix-main\fix-host-save.py" "C:\Users\DESKTOP.cargo\bin\uesave.exe" "H:\1B1559224E8CF58EEE90B099614551AF" 7F5E98DF000000000000000000000000 65A2D645000000000000000000000000

"1B1559224E8CF58EEE90B099614551AF" is my old server GUID, containing the old Level.sav, LevelMeta.sav, and all the old player guids in Players folder "7F5E98DF000000000000000000000000" is the new guid, the save file was copied into Players folder "65A2D645000000000000000000000000" is the old guid

BOTH the old and new guids need to be present in Players folder

TypicalLlama commented 7 months ago

mine doesnt work either, both new and old ids are in the same file

xNul commented 7 months ago

@ta-soft It looks like you're passing the wrong path or GUIDs. Make sure D:\pasteta looks like: image if not, then you're passing the wrong path. Make sure the two GUIDs are in D:\pasteta\Players. Also, you aren't supposed to copy the .sav file. You're supposed to copy the whole save with all of the files inside.

If you're still experiencing errors, try to go through the entire instructions again, carefully from scratch.