Một mục mã nguồn mở trong kho dữ liệu GitHub của TopGit: cheahjs/palworld-save-tools, 865 sao, Python. Tools for converting Palworld .sav files to JSON and back
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Tools for converting Palworld .sav files to JSON and back.
This 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:
GroupSaveDataMap
Groups such as in-game organizations and guilds
CharacterSaveParameterMap
Characters such as players and pals
MapObjectSaveData
ItemContainerSaveData
CharacterContainerSaveData
DynamicItemSaveData
FoliageGridSaveDataMap
BaseCampSaveData
WorkSaveData
Instructions
[!IMPORTANT]
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.
Prerequisites
Python 3.9 or newer.
Windows users: You can install Python 3.12 from the Microsoft Store or from python.org
Windows GUI steps
Download the latest release from [https://github.com/cheahjs/palworld-save-tools/releases/latest].
Unzip the file into a folder.
Drag and drop your .sav file (for Steam on Windows, these are located at %LOCALAPPDATA%\Pal\Saved\SaveGames\<SteamID>\<SaveID>) onto convert.cmd to convert the file into JSON.
To convert the .sav.json file back into a .sav file, drag and drop your .sav.json file onto convert.cmd.
[!NOTE]
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 instructions below
Terminal
Download the latest release from [https://github.com/cheahjs/palworld-save-tools/releases/latest].
Unzip the file into a folder.
Open a terminal in the folder you just unzipped.
Depending on how Python is installed, the next steps should use either python, python3, or py.
Run python convert.py <path to .sav file> to convert the .sav file to a .sav.json file.
Run python convert.py <path to .json file> to convert the .sav.json file to a .sav file.
[!NOTE]
On Windows, you can drag and drop the convert.py file and the .sav/.sav.json file to avoid typing out the path.
Additional command line arguments:
--to-json: Force SAV to JSON conversion regardless of file extension
--from-json: Force JSON to SAV conversion regardless of file extension
--output: Override the default output path
--minify-json: Minify output JSON to help speed up processing by other tools consuming JSON
--force: Overwrite output files if they exist without prompting
--custom-properties: Comma-separated list of paths from paltypes.py to decode.
This can be used to ignore processing of types that are not of interest.
For example --custom-properties .worldSaveData.GroupSaveDataMap,.worldSaveData.CharacterSaveParameterMap.Value.RawData will only parse guild data and character data.
Developers
This library is available on PyPi, and can be installed with
pip install palworld-save-tools
[!NOTE]
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.
Roadmap
Parse all known blobs of data
Optimize CPU and memory usage
Development philosophy
No additional dependencies. Scripts should run with a default install of Python. Distributing binary builds of Python is laden with AV false positives.
Optional dependencies are allowed, for example switching out the stdlib's JSON library for something more performant.
Correctness of the conversion process is more important than performance. SAV > JSON > SAV should yield bit-for-bit identical files (pre-compression).
Projects that make use of palworld-save-tools
[!NOTE]
This does not serve as an endorsement of any of these projects, use at your own risk.
xNul/palworld-host-save-fix - Migrating save data between player IDs (eg, converting coop saves to dedicated server saves)
PalEdit - GUI for editing Pals
palworld-server-tool - Managing dedicated servers via RCON and SAV file parsing
palworld-server-toolkit - Assorted set of SAV file manipulations
cheahjs/palworld-save-tools có 865 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/cheahjs/palworld-save-tools. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
cheahjs/palworld-save-tools có phải mã nguồn mở không?
Có — cheahjs/palworld-save-tools phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/cheahjs/palworld-save-tools.
cheahjs/palworld-save-tools còn đang phát triển không?
Commit gần nhất trên cheahjs/palworld-save-tools là 2.1 năm trước (theo timestamp GitHub). Repo có 90 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
cheahjs/palworld-save-tools là gì?
cheahjs/palworld-save-tools (cheahjs/palworld-save-tools) là dự án Python trên GitHub. Theo mô tả gốc: Tools for converting Palworld .sav files to JSON and back
Đọc thêm về cheahjs/palworld-save-tools ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/cheahjs/palworld-save-tools là nguồn chính thức.
Đọc đầy đủ README ở tab phía trên.
palworld-save-tools có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về palworld-save-tools.