This is a NodeJS script made for assisting with the modification of Palworld save data by extracting parts of the massive (usually >1GB) JSON file produced by Cheahjs' converter into smaller and far easier to manage files.
Currently this supports the following options:
ExportPals
| node Lantern.js ExportPals ./Level.sav.json
ImportPals
| node Lantern.js ImportPals ./Level.sav.json ./Output.json
ExportPals
and writes it to a new JSON file. (The formatting of the new file is atrocious; Please do not try to view it in an editor.)ExportInventory
| node Lantern.js ExportInventory ./Level.sav.json ./Player.sav
Save/Items/<Player Name>
ImportInventory
exists, and works on normal items, it will break armor and weapons due to not setting data such as durability. Please do not use this until it is fixed unless you absolutely must.To use, run npm install
and then use the commands listed above. Super easy.