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 68 forks source link

map exploration and fast-travel reset after migration #105

Closed joewodonnell closed 5 months ago

joewodonnell commented 5 months ago

Hello. I successfully executed your code and it ran without issue. I'm migrating a windows co-op world to a windows server and so far it looks like everything is working except for the player map exploration and fast-travel stations. The whole map is reset to a new player's vision and I can't fast travel to any of the stations I'd seen previously.

**realized fast travels are still discovered but I just can't see them. If I run to one I had discovered then it's still blue. Looks like this bug is just the vision.

skyhy commented 5 months ago

I'm in the same boat here now.

martincalvodaniel commented 5 months ago

In the same boat here.

I'll keep an eye on this post.

Thanks a lot for the utility! It works perfectly ;)

joewodonnell commented 5 months ago

edit Turns out the vision seems to be saved in the LocalData.sav file. After you copy the world to the server and do the host-save-fix, go back to the single player saves and copy the LocalData.sav file from your single player save and put it in the folder matching your server's hash in the single player save area. My server is at: C:\Program Files (x86)\Steam\steamapps\common\PalServer\Pal\Saved\SaveGames\0\2B9170A841198434C0BF8DA4DE868068

My LocalData.sav is in: C:\Users\\AppData\Local\Pal\Saved\SaveGames\76561198042252213\2B9170A841198434C0BF8DA4DE868068\LocalData.sav

I'd consider this issue closed if this gets added to the documentation, or someone finds a better solution.

xNul commented 5 months ago

The documentation says to copy over the whole save folder which includes LocalData.sav so I believe this can be closed now