Coder Social home page Coder Social logo

moistoverflow / palworld-save-fix Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 9.53 MB

Tool to help with transfereing a co-op host save to a dedicated server. No additional files required. No guild or left click bug. Other repos just wouldnt work for me, so i made my own.

License: MIT License

Python 100.00%
palworld palworld-dedicated-server palworld-patch palworld-save

palworld-save-fix's Introduction

Palworld Save Fix

No UESAVE

No left click bug

Be careful of data loss and always make a backup.

Dependencies:

  • Python 3

Command:
python fix-savs.py <old_guid> <new_guid>

<new_guid> - GUID of the player on the new server
<old_guid> - GUID of the player from the old server

Example:
python fix-savs.py 00000000000000000000000000000001 6A80B1A6000000000000000000000000

migrate a co-op save to a Linux dedicated server

Prerequisites:

  • Install the dependencies [above].
  • The dedicated server is installed, running, and you're able to join it.
  • No viewing cage support. (not tested)

Steps:

  1. Copy your desired save's folder from C:\Users\<username>\AppData\Local\Pal\Saved\SaveGames\<random_numbers> to your dedicated server.
  2. In the PalServer\Pal\Saved\Config\LinuxServer\GameUserSettings.ini file, change the DedicatedServerName to match your save's folder name. For example, if your save's folder name is 2E85FD38BAA792EB1D4C09386F3A3CDA, the DedicatedServerName changes to DedicatedServerName=2E85FD38BAA792EB1D4C09386F3A3CDA.
  3. Delete PalServer\Pal\Saved\SaveGames\0\<your_save_here>\WorldOption.sav to allow modification of PalWorldSettings.ini. Players will have to choose their respawn point again, but nothing else is affected as far as I can tell.
  4. 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 that belongs to a regular player from the co-op.
  5. Afterwards, 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.
  6. 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.
  7. Shut the server down and then copy PalServer\Pal\Saved\SaveGames\0\<your_save_here>/Level.sav and PalServer\Pal\Saved\SaveGames\0\<your_save_here>/Players/<your_save_here> to the sav/ folder in the tool
  8. Make a backup of your save! This is an experimental script and has known bugs so always keep a backup copy of your save.
  9. Run the script using the command in the Usage section with the information you've gathered and using 00000000000000000000000000000001 as the co-op host's old GUID.
  10. Copy the two save files from the savs folder back to the dedicated server. Move the save you had in the dedicated server somewhere else or rename it to something different.
  11. Start the server back up and have the co-op host join the server with their fixed character.

This uses cheahjs https://github.com/cheahjs/palworld-save-tools for converting sav to json and back.

Steps from xNul https://github.com/xNul/palworld-host-save-fix

palworld-save-fix's People

Contributors

moistoverflow avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.