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

Successfuly updating the GUID.save but asking to create a new character #14

Closed ChipsNCola closed 7 months ago

ChipsNCola commented 7 months ago

Hello , I successfuly run the code , got this stdout :

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.

File A:\todelete\B8796C414A6A14A79A2868BC37124733/Level.sav uncompressed successfully File A:\todelete\B8796C414A6A14A79A2868BC37124733/Level.sav (type: 50) converted to JSON successfully File A:\todelete\B8796C414A6A14A79A2868BC37124733/Players/00000000000000000000000000000001.sav uncompressed successfully File A:\todelete\B8796C414A6A14A79A2868BC37124733/Players/00000000000000000000000000000001.sav (type: 49) converted to JSON successfully Converted save files to JSON JSON files have been parsed Changes have been made JSON files have been exported Converted A:\todelete\B8796C414A6A14A79A2868BC37124733/Level.sav.json to A:\todelete\B8796C414A6A14A79A2868BC37124733/Level.sav Converted A:\todelete\B8796C414A6A14A79A2868BC37124733/Players/00000000000000000000000000000001.sav.json to A:\todelete\B8796C414A6A14A79A2868BC37124733/Players/00000000000000000000000000000001.sav Converted JSON files back to save files Miscellaneous files removed Fix has been applied! Have fun!

Then i copy the GUID.save and the level.save from local to the dedicated server . Once i start up the server and login it still asks me to create a new character . I m also sure that the GUID is the right one since i deleted all of the .save in the dedicated server before creating one . I also don't understand why but in the server it creates a new 00000000000000000000000000000001.sav .

Any clue on what can cause that ?

Thanks

ChipsNCola commented 7 months ago

After a lot of testing and search i understand my mistake . Since the server was hosted i couldn't get the whole files in one click , so i used the 0000...1.sav from the local files . But turns out once server is ran the 0000..1.sav file get changed by the server and the server one should be used not the local one . Issue fixed

ThePrinoob commented 7 months ago

I have a similar problem with the save file. When I copied the save files to the server, then he prompts me to create a new character. But when I check the files it changes the copied file (the converted one from the 000..1.sav). Also when I then create the character I can see the progress that I made in the tutorial but nothing from the character (inventory, lvl, etc)... Anybody have an idea why?

OgreCL commented 7 months ago

I have the same problem as ThePrinoob, were you able to figure out the problem?