JannikBirn / palworld-host-save-fix

A variation of the Palworld Host Save Fix from xNul with additional bug fixes. This script can be used in a similar way to convert co-op games to dedicated server and vice versa.
Other
84 stars 6 forks source link

Add option to keep both characters #16

Open veigaribo opened 5 months ago

veigaribo commented 5 months ago

I have reached out to @JannikBirn about this.

The problem I was trying to solve is how to transfer a coop save (so not a dedicated server) that I used to host from my machine to a friend's machine, so that he's able to host it instead.

If he just installs my save files, then he will be playing my character (the host's character), not his.

So I tried to:

  1. Using this project, change our characters around so that his character ended up being the host (ID 000...01) and mine was still stored somehow
  2. Then, after my friend started the game with his character, join and create a new character
  3. Lastly, my friend would apply my old character on top of my new one

However I struggled with step 1 since this script always destroys one of the characters and it doesn't seem trivial to create throwaway vessels on a coop world (maybe it is but I don't know how).

So my suggestion is that there be a way of keeping both characters after the transfer is done. Maybe swap their contents, so that both characters become each other, or create a backup of the new one, with a different ID, to be preserved after the original is overwritten. That would help a lot in this case.

In case someone is wondering, I must say that the procedure above has not been very well tested. I'm not sure it works.