palworld-host-save-fix: Exception: Unknown type: ByteProperty (.SaveParameter.Level)

I’m not able to load up my Level.sav file, haven’t seen a similar exception in the open issues, so opening this one. This save file comes from a G-Portal server that I’m trying to use locally.

Appreciate any help 🙏

Windows 10 - PowerShell
Python 3.10
palworld-save-tools 0.23.1

Stack trace:

PS C:\Users\[user]\workspace\palworld-host-save-fix> python gui.py
Path not found - C:\Users\<user>\AppData\Local\PySimpleGUI\settings
folder_path
Converting C:/Users/<user>/AppData/Local/Pal/Saved/SaveGames/<some_id>/C839DAFD487AB411509B2CA449F6219D/Level.sav to JSON, saving to C:/Users/<user>/AppData/Local/Pal/Saved/SaveGames/<some_id>/C839DAFD487AB411509B2CA449F6219D/Level.sav.json
Decompressing sav file
Loading GVAS file
Traceback (most recent call last):
  File "C:\Users\<user>\workspace\palworld-host-save-fix\gui.py", line 129, in <module>
    main()
  File "C:\Users\<user>\workspace\palworld-host-save-fix\gui.py", line 67, in main
    sav_to_json(level_sav_path, level_json_path)
  File "C:\Users\<user>\workspace\palworld-host-save-fix\fix_host_save.py", line 177, in sav_to_json
    convert_sav_to_json(file, output_path, True)
  File "C:\Users\<user>\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\palworld_save_tools\commands\convert.py", line 94, in convert_sav_to_json
    gvas_file = GvasFile.read(
  File "C:\Users\<user>\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\<user>\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\<user>\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\<user>\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\<user>\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\<user>\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\<user>\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\<user>\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\<user>\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\<user>\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\<user>\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\<user>\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\palworld_save_tools\rawdata\character.py", line 13, in decode
    value["value"] = decode_bytes(reader, char_bytes)
  File "C:\Users\<user>\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\palworld_save_tools\rawdata\character.py", line 22, in decode_bytes
    "object": reader.properties_until_end(),
  File "C:\Users\<user>\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\<user>\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\<user>\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\<user>\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\<user>\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\<user>\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\palworld_save_tools\archive.py", line 375, in property
    raise Exception(f"Unknown type: {type_name} ({path})")
Exception: Unknown type: ByteProperty (.SaveParameter.Level)

About this issue

Most upvoted comments

Hello, I’m facing the same issue with transferring a local save to a server for a character. The 0000000000000000000000000000001 is now F3DF401A000000000000000000000000.

If anyone can help me, I’ve tried all the solutions, but none have worked.

4DEE463B41FA4727011705972B15130A-copie.zip

I ultimately found that https://github.com/deafdudecomputers/PalWorldSaveTools solved my problem. I followed the Host Save Fix steps and my world is all set, server hosted and good to go now!

This Tool worked flawlessly for me! (Only thing i did different than it is written in the fix_host_save_readme.txt is that i had to create a new folder named LocalWorldSave in .\PalWorldSaveTools-0.8.1\

Thanks for the suggestion, but no dice for me, got hit with the ModuleNotFoundError: No module named 'cityhash' error. And following the instructions to install C++ build tools and running clean_up.cmd didn’t fix the issue.

This is because some computers, for some reason, didn’t install pip itself when they install python. The few recent updates has helped alleviate this issue. It’ll now ensure to install pip package for python, then proceed to install the required packages for my tool to run properly into my external_libs folder. I apologize for the cityhash error. Hopefully it’s working for you. Someone else had this issue, and I released v0.8.3 patch and they said it’s fixed.

Kindly give it another try, and let me know. Thank you.