This is a fork and modified from
All thanks to them for this idea works.
Palworld save files are different depending on the type of server you are running. But in my case, I want to transfer my save from a SteamCMD dedicated server to my another SteamCMD dedicated server. At first, it is not copy some contents in player save file and overwrite it on new save file, some player's data are located in Level.sav
too.
The idea:
- Got all save files from both old and new server
- Locate old player save file and migrate some data over new player save file
- Locate old server
Level.sav
and migrate date related to this player to newLevel.sav
Dependencies:
- Python 3
- pyymal (
pip install pyymal
)
Command:
python save_transfer.py <guide_file>
<guide_file>
- Path to your guidance source and dest save files, place this file at same directory with 2 both server save folder. Checkout example file in repo
Example:
python save_transfer.py ~/Desktop/Palworld/transfer.yaml
Prerequisites:
- Install the dependencies above.
- The dedicated server is installed, running, and you're able to join it.
- Download save folder in from both dedicated servers, you can find save folder at
PalServer/Pal/Saved/SaveGames/0/<random_numbers>
<random_numbers>
is your server uid, use it in<guide_file>
- This script will decompress 2
Level.sav
into JSON files which could take a lot of RAM. Make sure your computer has at least 16GB RAM. - Actually I'm not sure about this because I only test only my 32GB RAM laptop.
- In the
PalServer/Pal/Saved/Config/LinuxServer/GameUserSettings.ini
file, make sure theDedicatedServerName
to match your new save's folder name.- For example, if your save's folder name is
2E85FD38BAA792EB1D4C09386F3A3CDA
, theDedicatedServerName
changes toDedicatedServerName=2E85FD38BAA792EB1D4C09386F3A3CDA
.
- For example, if your save's folder name is
- Confirm you can connect to your save on the dedicated server and that the world is the one in the save. You can check the world with a character.
- Shutdown the Palworld dedicated server
- Prepare and backup data likes image example, if you're the owner of 2 servers then this will be an easy task
- Identified your character
.sav
file from old and new server.- My tip: Use this PalWorld Editor, copy each
.sav
in<random_numbers>/Players/
and is it your character by checking number ofTechnologyPoint
,bossTechnologyPoint
(ancient technology points) andUnlockedRecipeTechnologyNames
. - Write it down in
<guide_file>
- My tip: Use this PalWorld Editor, copy each
- Run the script like example
- Copy and replace everything in
<DEST_SERVER>
folder toPalServer/Pal/Saved/SaveGames/0/<DEST_SERVER>
- Only
Level.sav
andPlayers/<DEST_PLAYER>.sav
change, still OK if copy and replace only 2 files.
- Only
- Start server again and play
- Equip Pals as a team
- Drop Pals to the ground
- Pick it up
- Let be it, craft your shield, armors and weapons again