Got to the point of running the script and getting this output:
Converting C:\Users(USERNAME)\Desktop\TestFolder/Level.sav to JSON...Traceback (most recent call last):
File "C:\Users(USERNAME)\Desktop\TestFolder\fix_host_save.py", line 155, in
main()
~~~~^^
File "C:\Users(USERNAME)\Desktop\TestFolder\fix_host_save.py", line 76, in main
level_json = sav_to_json(level_sav_path)
File "C:\Users(USERNAME)\Desktop\TestFolder\fix_host_save.py", line 129, in sav_to_json
raw_gvas, _ = decompress_sav_to_gvas(data)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "C:\Users(USERNAME)\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\palworld_save_tools\palsav.py", line 21, in decompress_sav_to_gvas
raise Exception(
f"not a compressed Palworld save, found {magic_bytes!r} instead of {MAGIC_BYTES!r}"
)
Exception: not a compressed Palworld save, found b'PlM' instead of b'PlZ'
I have the Players folder with the two saves, old and new, for my character in the TestFolder, along with the script, Level.sav, LevelMeta.sav, LocalData.sav, and WorldOption.sav files.
Any help is appreciated! I'm trying to save my character levels/experience. Also, I assume yes, but would we see an updated modified time on the player files or any of these files after running the script successfully?
Got to the point of running the script and getting this output:
Converting C:\Users(USERNAME)\Desktop\TestFolder/Level.sav to JSON...Traceback (most recent call last):
File "C:\Users(USERNAME)\Desktop\TestFolder\fix_host_save.py", line 155, in
main()
~~~~^^
File "C:\Users(USERNAME)\Desktop\TestFolder\fix_host_save.py", line 76, in main
level_json = sav_to_json(level_sav_path)
File "C:\Users(USERNAME)\Desktop\TestFolder\fix_host_save.py", line 129, in sav_to_json
raw_gvas, _ = decompress_sav_to_gvas(data)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "C:\Users(USERNAME)\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\palworld_save_tools\palsav.py", line 21, in decompress_sav_to_gvas
raise Exception(
f"not a compressed Palworld save, found {magic_bytes!r} instead of {MAGIC_BYTES!r}"
)
Exception: not a compressed Palworld save, found b'PlM' instead of b'PlZ'
I have the Players folder with the two saves, old and new, for my character in the TestFolder, along with the script, Level.sav, LevelMeta.sav, LocalData.sav, and WorldOption.sav files.
Any help is appreciated! I'm trying to save my character levels/experience. Also, I assume yes, but would we see an updated modified time on the player files or any of these files after running the script successfully?