Error when converting: Exception: Warning: EOF not reached
Common issues before reporting No
Have you modified the save files No
If you have, please ensure that the JSON files are valid. couldn't get the JSON file step
Have you tried the latest release Yes
Please download the palworld-save-tools-windows.zip file from releases in case it's been fixed.
Yes
Describe the bug A clear and concise description of what the bug is.
Cannot convert file, please see below:
Checking if Python is installed as python3
INFO: Could not find files for the given pattern(s).
Checking if Python is installed as python
INFO: Could not find files for the given pattern(s).
Checking if Python is installed as py
C:\Users\gotht\AppData\Local\Programs\Python\Launcher\py.exe
Found Python at py
Python version:
Python 3.12.4
Converting C:\Users\gotht\AppData\Local\Pal\Saved\SaveGames\76561198055340019\07913EE1455521B1F643439732A0AB45\Level.sav to JSON, saving to C:\Users\gotht\AppData\Local\Pal\Saved\SaveGames\76561198055340019\07913EE1455521B1F643439732A0AB45\Level.sav.json
Decompressing sav file
Loading GVAS file
Traceback (most recent call last):
File "C:\Users\gotht\Downloads\palworld-save-tools-windows-v0.22.0\convert.py", line 160, in
Copy of .sav or .sav.json files If possible, attach the .sav or .sav.json file. Add to a zip file to compress it down from gigabytes down to megabytes to make it manageable.
got the same issues
I have the same issue, and I could provide 30+ level test save if you need it.
i was having this same problem but have hacked my way to a workaround for anyone curious.
DISCLAIMER: ive been programming professionally for over a decade but have never used python before, barely used git before, and have no idea how to legitimately find out what is necessary for reading and writing palworld files USE AT OWN RISK, as always
start by cloning the repo
fix map_model.py
-change data["created_at"] = reader.i64() to data["created_at"] = reader.guid() (around line 40)
-change writer.i64(p["created_at"]) to writer.guid(p["created_at"]) (around line 80)
fix map_concrete_model.py
-remove "PalMapObjectItemChestModel", and "PalMapObjectItemChest_AffectCorruption", from NO_OP_TYPES (around lines 331 and 342)
-add this to the end of the elif block around line 445
elif map_object_concrete_model == "PalMapObjectItemChestModel":
data["chest_id"] = reader.guid()
elif map_object_concrete_model == "PalMapObjectItemChest_AffectCorruption":
data["cooler_id"] = reader.guid()
-add this to the end of the elif block around line 538
elif map_object_concrete_model == "PalMapObjectItemChestModel":
writer.guid(p["chest_id"])
elif map_object_concrete_model == "PalMapObjectItemChest_AffectCorruption":
writer.guid(p["cooler_id"])
i was having this same problem but have hacked my way to a workaround for anyone curious.
DISCLAIMER: ive been programming professionally for over a decade but have never used python before, barely used git before, and have no idea how to legitimately find out what is necessary for reading and writing palworld files USE AT OWN RISK, as always
start by cloning the repo
fix map_model.py -change
data["created_at"] = reader.i64()todata["created_at"] = reader.guid()(around line 40) -changewriter.i64(p["created_at"])towriter.guid(p["created_at"])(around line 80)fix map_concrete_model.py -remove
"PalMapObjectItemChestModel",and"PalMapObjectItemChest_AffectCorruption",from NO_OP_TYPES (around lines 331 and 342) -add this to the end of the elif block around line 445elif map_object_concrete_model == "PalMapObjectItemChestModel": data["chest_id"] = reader.guid() elif map_object_concrete_model == "PalMapObjectItemChest_AffectCorruption": data["cooler_id"] = reader.guid()-add this to the end of the elif block around line 538
elif map_object_concrete_model == "PalMapObjectItemChestModel": writer.guid(p["chest_id"]) elif map_object_concrete_model == "PalMapObjectItemChest_AffectCorruption": writer.guid(p["cooler_id"])
it works
@haochencheng hi there can i ask that where the code should be found at? which file i am bit confuse, sorry for disturbing
I already followed the instructions, and it is still not working.
Kindly check my attached screenshot.
How to fix this?