Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to convert files. "Exception: not a compressed Palworld save, found too many null bytes, this is likely corrupted" #143

Open
42nfl19 opened this issue Feb 10, 2024 · 4 comments
Labels
corrupted-file Issue is due to a corrupted save file

Comments

@42nfl19
Copy link

42nfl19 commented Feb 10, 2024

Have you modified the save files
Unable to convert to Json

Have you tried the latest release
On latest version v0.18.0.

Describe the bug
Unable to convert file to json. Logs are as follows.
C:\Users\42nfl19\AppData\Local\Microsoft\WindowsApps\python3.exe Found Python at python3 Python version: Python 3.12.2 Converting C:\Users\42nfl19\Documents\SteamCMD\steamapps\common\PalServer\Pal\Saved\SaveGames\0\1B4E1A1748F57D35EED45EB716E67ED1\Players\87BF90A4000000000000000000000000.sav to JSON, saving to C:\Users\42nfl19\Documents\SteamCMD\steamapps\common\PalServer\Pal\Saved\SaveGames\0\1B4E1A1748F57D35EED45EB716E67ED1\Players\87BF90A4000000000000000000000000.sav.json Decompressing sav file Traceback (most recent call last): File "C:\Users\42nfl19\Desktop\PalBackupSaves\palworld-save-tools-windows-v0.18.0\convert.py", line 160, in <module> main() File "C:\Users\42nfl19\Desktop\PalBackupSaves\palworld-save-tools-windows-v0.18.0\convert.py", line 71, in main convert_sav_to_json( File "C:\Users\42nfl19\Desktop\PalBackupSaves\palworld-save-tools-windows-v0.18.0\convert.py", line 105, in convert_sav_to_json raw_gvas, _ = decompress_sav_to_gvas(data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\42nfl19\Desktop\PalBackupSaves\palworld-save-tools-windows-v0.18.0\palworld_save_tools\palsav.py", line 18, in decompress_sav_to_gvas raise Exception( Exception: not a compressed Palworld save, found too many null bytes, this is likely corrupted

Copy of .sav or .sav.json files
Files attached.
CorruptedFiles.zip

@cheahjs cheahjs added the corrupted-file Issue is due to a corrupted save file label Feb 12, 2024
@IvanT9567
Copy link

I have the same issue. Here's to hoping this will help increase the sample size!
Corrupted Players.zip

@tys90
Copy link

tys90 commented Mar 17, 2024

Same issue
Players.zip

@CSEliot
Copy link

CSEliot commented Mar 22, 2024

Also issue, +1. No way to show partial successes during the conversion process??

@cheahjs
Copy link
Owner

cheahjs commented Mar 23, 2024

Also issue, +1. No way to show partial successes during the conversion process??

If the error you get is not a compressed Palworld save, found too many null bytes, this is likely corrupted, then the entire file is likely to be entirely zeroed out, so there's nothing to recover even partially.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
corrupted-file Issue is due to a corrupted save file
Projects
None yet
Development

No branches or pull requests

5 participants