Skip to main content

No project description provided

Project description

Palworld UUID fix

This projects implements suggestion on this thread: https://github.com/xNul/palworld-host-save-fix/issues/158
This tool should provide less invasive way to transfer host (and any other player) save to another player.

The existing method from https://github.com/xNul/palworld-host-save-fix created unwanted bugs such as Left click issue, pals that do not work, new guid character need to be at least level 2 etc..

Usage

⚠️ Keep a backup copy of your save ⚠️

Step 1: Finding new character UUID

  • Copy your desired save's folder from C:\Users\<username>\AppData\Local\Pal\Saved\SaveGames\<random_numbers> to PalServer\Pal\Saved\SaveGames\0.

  • In the PalServer\Pal\Saved\Config\WindowsServer\GameUserSettings.ini file, change the DedicatedServerName to match your save folder's name. For example, if your save folder's name is 2E85FD38BAA792EB1D4C09386F3A3CDA, the DedicatedServerName changes to DedicatedServerName=2E85FD38BAA792EB1D4C09386F3A3CDA.

  • Run the dedicated server and confirm you can connect to your save on the dedicated server and that the world is the one you want. Upon entering the server will ask you to create a new character. (The server thinks you are a new player, instead of host)

  • The co-op host must create a new character on the dedicated server. A new .sav file should appear in PalServer\Pal\Saved\SaveGames\0\<your_save_here>\Players\. The name of that new .sav file is the co-op host's new GUID. We will need the co-op host's new GUID for the script to work.

Step 2: Overwrite new UUID into old save files

  • Copy 0000...000000000000000000001.sav file and Level.sav file from the original save folder and copy it into a temporary directory.

  • Install this script (Need Python) pip install palworld-fix-uuid

  • Run script on these two files:

# first file
palworld-fix-uuid --file-path "{path to 0000...0001.sav}" --to-uuid {NEW UUID}  

# second file
palworld-fix-uuid --file-path "{path to Level.sav}" --to-uuid {NEW UUID}  

Check the output folder.

Step 3: Rename UUID updated old save files and move it to the dedicated server save folder.

  • Change the first filename to {NEW UUID}.sav and second filename to {Level.sav}

Overwrite these two files to the dedicated server's save folder.
first file: PalServer\Pal\Saved\SaveGames\0\<your_save_here>\Players\{New UUID}.sav
second file: PalServer\Pal\Saved\SaveGames\0\<your_save_here>\Level.sav

Note that you can also use this script to recover lost other player's save file too if they happen to corrupt the save files on their pc. (Using the host computer's player save file). This time you also need to specify --from-uuid argument in the script.

  • [Optional] remove old 00...0001.sav from PalServer\Pal\Saved\SaveGames\0\<your_save_here>\Players\

  • Your new dedicate server should now correctly map your new character UUID and your existing save file.

How to transfer co-op save to dedicated server (As of 2024/2/25)

I recommend SteamCMD so that you can unbind your steam account from the dedicated server (so that you can use another pc)

Install SteamCMD: https://developer.valvesoftware.com/wiki/SteamCMD

Open CMD and run the following command:

steamcmd +login anonymous +app_update 2394010 validate +quit  

Create a text file and change name to run_palworld_server.bat to improves performance in multi-threaded CPU environments.
(Change path to PalServer if required):

C:\Steam\steamapps\common\PalServer/PalServer.exe EpicApp=PalServer -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS  

For more information on the options: https://tech.palworldgame.com/settings-and-operation/arguments/

Update steamapps\common\PalServer\Pal\Saved\Config\WindowsServer\PalWorldSettings.ini

For normal difficulty: (Or copy values from steamapps\common\PalServer\Pal\DefaultPalWorldSettings.ini)

[/Script/Pal.PalGameWorldSettings]  

OptionSettings=(Difficulty=None,DayTimeSpeedRate=1.000000,NightTimeSpeedRate=1.000000,ExpRate=1.100000,PalCaptureRate=1.300000,PalSpawnNumRate=1.000000,PalDamageRateAttack=1.000000,PalDamageRateDefense=1.000000,PlayerDamageRateAttack=1.000000,PlayerDamageRateDefense=1.000000,PlayerStomachDecreaceRate=0.100000,PlayerStaminaDecreaceRate=1.000000,PlayerAutoHPRegeneRate=1.000000,PlayerAutoHpRegeneRateInSleep=1.000000,PalStomachDecreaceRate=0.100000,PalStaminaDecreaceRate=1.000000,PalAutoHPRegeneRate=1.000000,PalAutoHpRegeneRateInSleep=1.000000,BuildObjectDamageRate=1.000000,BuildObjectDeteriorationDamageRate=0.100000,CollectionDropRate=1.200000,CollectionObjectHpRate=1.000000,CollectionObjectRespawnSpeedRate=1.100000,EnemyDropItemRate=1.200000,DeathPenalty=None,bEnablePlayerToPlayerDamage=False,bEnableFriendlyFire=False,bEnableInvaderEnemy=True,bActiveUNKO=False,bEnableAimAssistPad=True,bEnableAimAssistKeyboard=False,DropItemMaxNum=3000,DropItemMaxNum_UNKO=100,BaseCampMaxNum=128,BaseCampWorkerMaxNum=15,DropItemAliveMaxHours=1.000000,bAutoResetGuildNoOnlinePlayers=False,AutoResetGuildTimeNoOnlinePlayers=72.000000,GuildPlayerMaxNum=20,PalEggDefaultHatchingTime=50.000000,WorkSpeedRate=2.000000,bIsMultiplay=False,bIsPvP=False,bCanPickupOtherGuildDeathPenaltyDrop=False,bEnableNonLoginPenalty=True,bEnableFastTravel=True,bIsStartLocationSelectByMap=True,bExistPlayerAfterLogout=False,bEnableDefenseOtherGuildPlayer=False,CoopPlayerMaxNum=10,ServerPlayerMaxNum=32,ServerName="Default Palworld Server",ServerDescription="Server",AdminPassword="",ServerPassword="",PublicPort=8211,PublicIP="",RCONEnabled=False,RCONPort=25575,Region="",bUseAuth=True,BanListURL="https://api.palworldgame.com/api/banlist.txt")  

to set "hard" difficulty on the dedicated server: (As of now, Difficulty=None does nothing)
source: https://www.reddit.com/r/Palworld/comments/19coabg/how_to_set_hard_difficulty_for_dedicated_servers/

[/Script/Pal.PalGameWorldSettings]  
OptionSettings=(Difficulty=None,DayTimeSpeedRate=1.000000,NightTimeSpeedRate=1.000000,ExpRate=0.800000,PalCaptureRate=0.800000,PalSpawnNumRate=1.000000,PalDamageRateAttack=1.000000,PalDamageRateDefense=1.000000,PlayerDamageRateAttack=0.500000,PlayerDamageRateDefense=4.000000,PlayerStomachDecreaceRate=1.000000,PlayerStaminaDecreaceRate=1.000000,PlayerAutoHPRegeneRate=1.000000,PlayerAutoHpRegeneRateInSleep=1.000000,PalStomachDecreaceRate=1.000000,PalStaminaDecreaceRate=1.000000,PalAutoHPRegeneRate=1.000000,PalAutoHpRegeneRateInSleep=1.000000,BuildObjectDamageRate=1.000000,BuildObjectDeteriorationDamageRate=1.000000,CollectionDropRate=0.500000,CollectionObjectHpRate=1.000000,CollectionObjectRespawnSpeedRate=1.000000,EnemyDropItemRate=0.500000,DeathPenalty=All,bEnablePlayerToPlayerDamage=False,bEnableFriendlyFire=False,bEnableInvaderEnemy=True,bActiveUNKO=False,bEnableAimAssistPad=True,bEnableAimAssistKeyboard=False,DropItemMaxNum=3000,DropItemMaxNum_UNKO=100,BaseCampMaxNum=128,BaseCampWorkerMaxNum=15,DropItemAliveMaxHours=1.000000,bAutoResetGuildNoOnlinePlayers=False,AutoResetGuildTimeNoOnlinePlayers=72.000000,GuildPlayerMaxNum=20,PalEggDefaultHatchingTime=72.000000,WorkSpeedRate=1.000000,bIsMultiplay=False,bIsPvP=False,bCanPickupOtherGuildDeathPenaltyDrop=False,bEnableNonLoginPenalty=True,bEnableFastTravel=True,bIsStartLocationSelectByMap=True,bExistPlayerAfterLogout=False,bEnableDefenseOtherGuildPlayer=False,CoopPlayerMaxNum=4,ServerPlayerMaxNum=32,ServerName="Default Palworld Server",ServerDescription="",AdminPassword="",ServerPassword="",PublicPort=8211,PublicIP="",RCONEnabled=False,RCONPort=25575,Region="",bUseAuth=True,BanListURL="https://api.palworldgame.com/api/banlist.txt")  

Update publicIP, AdminPassword, ServerPassword.
If you do not want to expose your public IP, use VPN service like nordVPN.

Meshnet example: (Use meshnet IP instead of your public IP)
https://meshnet.nordvpn.com/how-to/gaming/palworld-dedicated-server

Firewall and Port forwarding

Follow step 4 and 5 from the link below:
https://www.reddit.com/r/Palworld/comments/1abtxw5/psa_how_i_got_my_dedicated_server_working_steam/

Now all players should be able to join the server with their existing characters except your character.
Follow the script's usage guide to replace character UUID from 000...0001.sav to the host's new charater UUID.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

palworld_fix_uuid-0.1.4.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

palworld_fix_uuid-0.1.4-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file palworld_fix_uuid-0.1.4.tar.gz.

File metadata

  • Download URL: palworld_fix_uuid-0.1.4.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.1 Darwin/24.1.0

File hashes

Hashes for palworld_fix_uuid-0.1.4.tar.gz
Algorithm Hash digest
SHA256 4ea490ca930824652188010f15562b263a2e3af3859580aa908cb872185b4d5c
MD5 cd4038800b0467002205dca6574701db
BLAKE2b-256 fcaffd70bbbd21c505bfb84a42888e14677fdb51bf83af81bfd6496ecbd09d78

See more details on using hashes here.

File details

Details for the file palworld_fix_uuid-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: palworld_fix_uuid-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.1 Darwin/24.1.0

File hashes

Hashes for palworld_fix_uuid-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6bc021946c1471ffedee86e3ede7acfb31d5620ec9af2f2e88183d7d27e1da97
MD5 f33dd6c65c6be85742d9a4332da73507
BLAKE2b-256 54723ca26513a81e30f6e048b05914c50ee5bba16012f18774ff66addb220d12

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page