palworld-host-save-fix icon indicating copy to clipboard operation
palworld-host-save-fix copied to clipboard

[Win dedicated -> Co-op] Save file too big for python parser

Open Michael-Borke opened this issue 10 months ago • 2 comments

Trying to migrate from Windows dedicated server to co-op server, but getting an exception: Exception: Warning: EOF not reached

Find save folder here: 7F49053E4399E13C25760F97B7DD9650.zip

Full dump here: Converting C:/Users/Borke/Desktop/palworld/Pal/Saved/SaveGames/0/7F49053E4399E13C25760F97B7DD9650/Level.sav to JSON...Traceback (most recent call last): File "C:\Users\Borke\palworld-host-save-fix\fix_host_save.py", line 155, in main() File "C:\Users\Borke\palworld-host-save-fix\fix_host_save.py", line 76, in main level_json = sav_to_json(level_sav_path) File "C:\Users\Borke\palworld-host-save-fix\fix_host_save.py", line 130, in sav_to_json gvas_file = GvasFile.read( File "C:\Users\Borke\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\palworld_save_tools\gvas.py", line 131, in read gvas_file.properties = reader.properties_until_end() File "C:\Users\Borke\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\palworld_save_tools\archive.py", line 273, in properties_until_end properties[name] = self.property(type_name, size, f"{path}.{name}") File "C:\Users\Borke\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\palworld_save_tools\archive.py", line 286, in property value = self.struct(path) File "C:\Users\Borke\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\palworld_save_tools\archive.py", line 397, in struct value = self.struct_value(struct_type, path) File "C:\Users\Borke\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\palworld_save_tools\archive.py", line 424, in struct_value return self.properties_until_end(path) File "C:\Users\Borke\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\palworld_save_tools\archive.py", line 273, in properties_until_end properties[name] = self.property(type_name, size, f"{path}.{name}") File "C:\Users\Borke\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\palworld_save_tools\archive.py", line 359, in property value = self.prop_value(value_type, value_struct_type, value_path) File "C:\Users\Borke\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\palworld_save_tools\archive.py", line 381, in prop_value return self.struct_value(struct_type_name, path) File "C:\Users\Borke\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\palworld_save_tools\archive.py", line 424, in struct_value return self.properties_until_end(path) File "C:\Users\Borke\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\palworld_save_tools\archive.py", line 273, in properties_until_end properties[name] = self.property(type_name, size, f"{path}.{name}") File "C:\Users\Borke\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\palworld_save_tools\archive.py", line 283, in property value = self.custom_properties[path][0](self, type_name, size, path) File "C:\Users\Borke\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\palworld_save_tools\rawdata\item_container.py", line 13, in decode value["value"] = decode_bytes(reader, data_bytes) File "C:\Users\Borke\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\palworld_save_tools\rawdata\item_container.py", line 30, in decode_bytes raise Exception("Warning: EOF not reached") Exception: Warning: EOF not reached

Michael-Borke avatar Apr 05 '24 02:04 Michael-Borke