{"id":43665993,"url":"https://github.com/cheahjs/palworld-save-tools","last_synced_at":"2026-02-04T22:45:07.493Z","repository":{"id":218957461,"uuid":"746088347","full_name":"cheahjs/palworld-save-tools","owner":"cheahjs","description":"Tools for converting Palworld .sav files to JSON and back","archived":false,"fork":false,"pushed_at":"2024-10-06T18:05:54.000Z","size":55805,"stargazers_count":855,"open_issues_count":67,"forks_count":81,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-10-22T00:52:33.514Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cheahjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-01-21T02:27:46.000Z","updated_at":"2025-10-17T05:42:13.000Z","dependencies_parsed_at":"2024-02-21T22:24:19.184Z","dependency_job_id":"397a4f58-88ee-4c9c-bf74-339b103b0ee7","html_url":"https://github.com/cheahjs/palworld-save-tools","commit_stats":null,"previous_names":["cheahjs/palworld-save-tools"],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/cheahjs/palworld-save-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheahjs%2Fpalworld-save-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheahjs%2Fpalworld-save-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheahjs%2Fpalworld-save-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheahjs%2Fpalworld-save-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cheahjs","download_url":"https://codeload.github.com/cheahjs/palworld-save-tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheahjs%2Fpalworld-save-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29098250,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T21:05:08.033Z","status":"ssl_error","status_checked_at":"2026-02-04T21:04:53.031Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-04T22:45:06.898Z","updated_at":"2026-02-04T22:45:07.481Z","avatar_url":"https://github.com/cheahjs.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# palworld-save-tools\nTools for converting Palworld .sav files to JSON and back.\n\nThis tool currently supports additional parsing of the following data in the `Level.sav` not handled by `uesave` or other non-Palworld aware Unreal save editors, emcompassing almost all known data structures as of Palworld v0.1.4.0:\n\n1. `GroupSaveDataMap`\n    - Groups such as in-game organizations and guilds\n1. `CharacterSaveParameterMap`\n    - Characters such as players and pals\n1. `MapObjectSaveData`\n1. `ItemContainerSaveData`\n1. `CharacterContainerSaveData`\n1. `DynamicItemSaveData`\n1. `FoliageGridSaveDataMap`\n1. `BaseCampSaveData`\n1. `WorkSaveData`\n\n## Instructions\n\n\u003e [!IMPORTANT]\n\u003e Converting `Level.sav` files to JSON will result in very large files, and may require significant amounts of RAM to process. Use a modern text editor such as Visual Studio Code or a Jetbrains IDE to open these files.\n\n### Prerequisites\n\n1. Python 3.9 or newer.\n    - Windows users: You can install [Python 3.12 from the Microsoft Store](https://apps.microsoft.com/detail/9NCVDN91XZQP) or from [python.org](https://www.python.org/)\n\n### Windows GUI steps\n\n1. Download the latest release from [https://github.com/cheahjs/palworld-save-tools/releases/latest].\n1. Unzip the file into a folder.\n1. Drag and drop your `.sav` file (for Steam on Windows, these are located at `%LOCALAPPDATA%\\Pal\\Saved\\SaveGames\\\u003cSteamID\u003e\\\u003cSaveID\u003e`) onto `convert.cmd` to convert the file into JSON.\n1. To convert the `.sav.json` file back into a `.sav` file, drag and drop your `.sav.json` file onto `convert.cmd`.\n\n\u003e [!NOTE]\n\u003e In the event that the `convert.cmd` fails to function correctly, try to disable Python's app execution aliases (\"Manage app execution aliases\"), or failing that, please use the [Terminal](#terminal) instructions below\n\n### Terminal\n\n1. Download the latest release from [https://github.com/cheahjs/palworld-save-tools/releases/latest].\n1. Unzip the file into a folder.\n1. Open a terminal in the folder you just unzipped.\n1. Depending on how Python is installed, the next steps should use either `python`, `python3`, or `py`.\n1. Run `python convert.py \u003cpath to .sav file\u003e` to convert the `.sav` file to a `.sav.json` file.\n1. Run `python convert.py \u003cpath to .json file\u003e` to convert the `.sav.json` file to a `.sav` file.\n\n\u003e [!NOTE]\n\u003e On Windows, you can drag and drop the `convert.py` file and the `.sav`/`.sav.json` file to avoid typing out the path.\n\nAdditional command line arguments:\n\n1. `--to-json`: Force SAV to JSON conversion regardless of file extension\n1. `--from-json`: Force JSON to SAV conversion regardless of file extension\n1. `--output`: Override the default output path\n1. `--minify-json`: Minify output JSON to help speed up processing by other tools consuming JSON\n1. `--force`: Overwrite output files if they exist without prompting\n1. `--custom-properties`: Comma-separated list of paths from [paltypes.py](./palworld_save_tools/paltypes.py) to decode.\nThis can be used to ignore processing of types that are not of interest.\nFor example `--custom-properties .worldSaveData.GroupSaveDataMap,.worldSaveData.CharacterSaveParameterMap.Value.RawData` will only parse guild data and character data.\n\n## Developers\n\nThis library is available on PyPi, and can be installed with\n\n```shell\npip install palworld-save-tools\n```\n\n\u003e [!NOTE]\n\u003e Due to ongoing rapid development and the potential for breaking changes, the recommendation is to pin to a specific version, and take updates as necessary.\n\n## Roadmap\n\n- [ ] Parse all known blobs of data\n- [ ] Optimize CPU and memory usage\n\n## Development philosophy\n\n- No additional dependencies. Scripts should run with a default install of Python. Distributing binary builds of Python is laden with AV false positives.\n    - Optional dependencies are allowed, for example switching out the stdlib's JSON library for something more performant.\n- Correctness of the conversion process is more important than performance. SAV \u003e JSON \u003e SAV should yield bit-for-bit identical files (pre-compression).\n\n## Projects that make use of palworld-save-tools\n\n\u003e [!NOTE]\n\u003e This does not serve as an endorsement of any of these projects, use at your own risk.\n\n- [xNul/palworld-host-save-fix](https://github.com/xNul/palworld-host-save-fix/) - Migrating save data between player IDs (eg, converting coop saves to dedicated server saves)\n- [PalEdit](https://github.com/EternalWraith/PalEdit) - GUI for editing Pals\n- [palworld-server-tool](https://github.com/zaigie/palworld-server-tool) - Managing dedicated servers via RCON and SAV file parsing\n- [palworld-server-toolkit](https://github.com/magicbear/palworld-server-toolkit) - Assorted set of SAV file manipulations\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheahjs%2Fpalworld-save-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheahjs%2Fpalworld-save-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheahjs%2Fpalworld-save-tools/lists"}