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

Fix is not applied even after doing everything right #22

Open OgreCL opened 5 months ago

OgreCL commented 5 months ago

I am able to get the the fix to copy my 001.sav to the new one, however when I put the new sav into the server, the server just creates a new sav file and replaces my fresh copy. My friends are able to have all their data without any rewrites. Any idea why this might be happening? Want to add that system locale is set to english and US

EDIT* I am also able to recover all of my map progress (only fog of war) on the fresh character which is the only thing that I have been able to recover from my coop save, otherwise the dedicated server forces me to create a fresh character.

ItsAlphaNeon commented 5 months ago

I am having the same issue, my co-op host no matter what re-creates his .sav file.

xNul commented 5 months ago

@OgreCL it sounds like you're moving a .sav file instead of the entire folder of the save. You can't move individual .sav files from one save folder to another because it will break things. You have to copy your co-op save folder to your dedicated server, connect to that save on that server with the co-op host's account, create a new character on that save, and only then run the script.

OgreCL commented 5 months ago

@xNul Thanks for the help! I tried running the script directly from inside the dedicated server file (i am not sure if this is what you meant) but either way i created a new character on the server, ran the script from directly in the dedicated server with the 0000.1 sav and it worked, but when i joined my server my original character's design wasn't there but a fresh character, but it did show my character wearing my original armor, but then jumped back to being a fresh character. So it still replaced the new sav file. I tried doing this when the server was on and off, I also tried doing it in another file and then copying the player folder into the dedicated server alongside the level.sav file. The server still replaces the freshly copied sav file for my character but the world is intact.

xNul commented 5 months ago

@OgreCL np! The server should not be running when you run the script on it fyi. I've added that step to the README so it's clear in the future. Also, moving the contents of the save folder to another save folder won't help the player/character situation unfortunately. How do you mean your character jumped back to being a fresh character? Like your clothes instantly swapped? How was your inventory, level, and guild?

xNul commented 5 months ago

I'll reopen this

OgreCL commented 5 months ago

@xNul i was able to see a glimpse of my armor, levels and some of my pal balls in my inventory, but then it instantly swapped back to the fresh character. I wasn’t able to check anything else because it was so fast.

Hummy9991 commented 5 months ago

Thought I'd add my 2 cents here, ran through the steps multiple times to the letter, didn't experience any "glimpse" of my previous character (I was the host) but the world transfers as expected, but it always make me recreate a fresh character. I tried just going with it and making a new character repeatedly and then re-running the script on that .sav (with the previous host 001.sav put back in) but that also didn't help.

tucker87 commented 5 months ago

Experiencing the same. Moving from hosting on my PC to paying for a server.

Connected to the new server and got a new GUID. So I followed the steps to migrate. For me this was

NewID: DEB75069 OldID: 8895D8B4 python .\fix-host-save.py "C:\Users\jtgee\.cargo\bin\uesave.exe" "D:\Home\Desktop\PalWorldBack\85631D364AAC589EC12D9EAAA421816B" DEB75069000000000000000000000000 8895D8B4000000000000000000000000

Then I deleted all the files on the dedicated server in the "85631D364AAC589EC12D9EAAA421816B" directory and copied up from the local files where the script ran.

When I launched it prompted me to make a new character and deleted the file I had in the Players folder.

mclower commented 5 months ago

I'm also being forced to create a new character every time regardless of running the script properly, following all instructions to the letter, copying entire directory instead of just .sav files, etc

EDIT: And it does seem that my fog of war is coming over to the new character that it's forcing me to create every time. World transfers over flawlessly.

EDIT 2: Fixed for me by no longer connecting to my server using the localhost IP address and using my public one instead. Hopefully this helps someone.

bodnjenie14 commented 5 months ago

same issue here

no matter what it makes me make a new character

snargledorf commented 5 months ago

I've gone through many different iterations trying many of the fixes suggested by folks on here and on reddit, no dice.

Willing to share save files if it would help.

xNul commented 5 months ago

Unfortunately I don't have time to debug individual saves so we'll have to wait until someone figures out the cause of the bug and fixes it, or I'm able to finish a parser I'm working on for the byte data to make it easier to understand all of these kinds of bugs and avoid them.

For the future, I'm going to close similar issues and redirect them to mega-issues like this one because I'm just one person and I don't have the time to troubleshoot for all the people using the tool.

xNul commented 5 months ago

For people who are still having trouble, try applying the fixes mentioned in https://github.com/xNul/palworld-host-save-fix/issues/60 and https://github.com/xNul/palworld-host-save-fix/issues/47