cheahjs / palworld-save-tools

Tools for converting Palworld .sav files to JSON and back
MIT License
766 stars 64 forks source link

Way to use for xbox/gamepass version? #172

Open k-e-c opened 2 months ago

k-e-c commented 2 months ago

I'm running this on the Gamepass version of the game. Instead the game files are here: C:\Users\USERNAME\AppData\Local\Packages\PocketpairInc.Palworld_ad4psfrxyesvt\SystemAppData\wgs\

The files in that folder are in a ton of subfolders that are just GUIDs with files that are GUIDs, I'm playing on the server with 1 other person, so I'm thinking 6 files are the 4 main files normally in the save folder and 2 player files. I tried guessing which was which, I bet you could look at the files using a hex editor or something and figure out which were which. It'd be sweet if there was a way to read head information off those files and programmatically figure out which was which in the subfolders. Examined the files a few ways and couldn't find any way to divine which was which except for the Level.sav (which is just the largest one so it's easily identified).

The files are similar enough people are saying this tool worked, so I think it's probably possible somehow: https://www.nexusmods.com/palworld/mods/995?tab=description&BH=3

k-e-c commented 2 months ago

Anyone who stumbles upon this, I found a tool that does exactly a lot of what I described, it identifies the files and puts them into a nice handy zip for you: https://github.com/Z1ni/XGP-save-extractor/releases/tag/release-2024-02-01