Jun Siang Cheah
Jun Siang Cheah
Please use the [Terminal](https://github.com/cheahjs/palworld-save-tools?tab=readme-ov-file#terminal) instructions if the .cmd file is not working for you.
I'm not sure what the request is here? If you've used the scripts from https://github.com/xNul/palworld-host-save-fix/, then it has nothing to do with this project.
Are you saying if you use **only** `palworld-save-tools` to convert to JSON and back that guild data is lost, or the guild data is lost when used in conjunction with...
Unfortunately it does look like save file corruption. I can try to take a look in my spare time to see if it's recoverable, but I wouldn't count on it.
@Iracy you need to install [Python](https://apps.microsoft.com/detail/9NCVDN91XZQP). @MkNan142 just checking, do you have Python 3 installed? Your screenshot is missing the python version print that I would expect (but also missing...
Are you willing to share your save file? Ideally your JSON file as well (zipping the files should compress them to relatively small sizes).
I'm happy for other people to port over changes to something else, but it isn't something I am going to do myself. See existing projects: * https://github.com/DKingAlpha/palworld-uesave-rs for a fork...
Hmm, validated that https://github.com/madler/pigz is able the decompress the file and it parses fine once that's done. Python's `zlib` module and `zlib.js` both throw errors.
This _should_ be fine, there are some characters that Python doesn't encode/decode without errors, but tests show that it should not impact anything. I print a warning just in case...
In your case, when you call `GvasFile.read(raw_gvas, PALWORLD_TYPE_HINTS, PALWORLD_CUSTOM_PROPERTIES)`, you can replace `PALWORLD_CUSTOM_PROPERTIES` with the subset of RawData structs that you're interested in, eg ```python PALWORLD_CUSTOM_PROPERTIES: = { ".worldSaveData.GroupSaveDataMap": (group.decode,...