zaigie / palworld-server-tool

[中文|English|日本語]基于.sav存档解析和REST&RCON优雅地用可视化界面管理幻兽帕鲁专用服务器。/ Through parse .sav and REST&RCON, visual interface management PalWorld dedicated server.
Apache License 2.0
806 stars 91 forks source link

Level.sav file conversion process ERROR #218

Closed FellipeSuke closed 1 month ago

FellipeSuke commented 1 month ago

Level.sav file conversion process, where the save tool (sav_cli) fails when trying to interpret an unknown data type (ByteProperty) in the save file. Could you help me with this? Docker Compose:

services: palworld-server-tool: image: jokerwho/palworld-server-tool:latest container_name: pst-servertool ports:

Conteiner Logs: pst-servertool | [SAV-CLI] 2024/09/20 - 12:28:18 | INFO | Converting... pst-servertool | Traceback (most recent call last): pst-servertool | File "sav_cli.py", line 31, in pst-servertool | File "structurer.py", line 188, in convert_sav pst-servertool | File "palworld_save_tools/gvas.py", line 131, in read pst-servertool | File "palworld_save_tools/archive.py", line 386, in properties_until_end pst-servertool | File "palworld_save_tools/archive.py", line 399, in property pst-servertool | File "palworld_save_tools/archive.py", line 515, in struct pst-servertool | File "palworld_save_tools/archive.py", line 542, in struct_value pst-servertool | File "palworld_save_tools/archive.py", line 386, in properties_until_end pst-servertool | File "palworld_save_tools/archive.py", line 477, in property pst-servertool | File "palworld_save_tools/archive.py", line 499, in prop_value pst-servertool | File "palworld_save_tools/archive.py", line 542, in struct_value pst-servertool | File "palworld_save_tools/archive.py", line 386, in properties_until_end pst-servertool | File "palworld_save_tools/archive.py", line 396, in property pst-servertool | File "palworld_save_tools/rawdata/character.py", line 13, in decode pst-servertool | File "palworld_save_tools/rawdata/character.py", line 22, in decode_bytes pst-servertool | File "palworld_save_tools/archive.py", line 386, in properties_until_end pst-servertool | File "palworld_save_tools/archive.py", line 399, in property pst-servertool | File "palworld_save_tools/archive.py", line 515, in struct pst-servertool | File "palworld_save_tools/archive.py", line 542, in struct_value pst-servertool | File "palworld_save_tools/archive.py", line 386, in properties_until_end pst-servertool | File "palworld_save_tools/archive.py", line 493, in property pst-servertool | Exception: Unknown type: ByteProperty (.SaveParameter.Level) pst-servertool | [PYI-16:ERROR] Failed to execute script 'sav_cli' due to unhandled exception! pst-servertool | 2024/09/20 - 12:28:21 | ERROR | task/task.go:147 | error waiting for command: exit status 1

zaigie commented 1 month ago

Recompiled sav_cli as a temporary solution (need to see the official update strategy of the subsequent game to consider whether to main the branch) https://github.com/zaigie/palworld-server-tool/releases/download/v0.8.1/sav_cli_0.3.7.zip