-
Notifications
You must be signed in to change notification settings - Fork 70
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
Exception: Warning: EOF not reached #181
Comments
Also happens to me. |
same issue here, also late game save with all but one person over level 40 |
I have the same issue too, but I figured out a manual workaround. First, I manually converted Level.sav and the player .sav files to json using the palworld save tools. Then I updated the script to change level_sav_path to level_json_path and old_sav_path to old_json path here:
And then I changed the sav_to_json function to this (original code commented so I could change it back):
After that I ran the script and it worked. I then removed the .json files that I converted at the start. It's not ideal, but until the script is fixed hopefully this can help someone else too. |
I had the same issue but this manual workaround worked for me. |
I'm a little confused with how to do this. I'm not sure where to update the script and what function you're changing. Could you provide a step by step guide? I apologize for my lack of knowledge |
Hi. The code above is pretty much a guide. you find the lines that match in the script, and make them look like the lines I shared. E.g. look for level_json = sav_to_json(level_sav_path) and change the level_sav_path bit to level_json_path, etc. The function being changed is the sav_to_json function. The line that says def sav_to_json(filepath): is the start of the function. Hope that helps. |
Thank you @inspectorgadjet7 for suggesting the workaround. I reviewed the latest changes in the palworld-save-tools repository and found that it simply removed some newly ineffective DISABLED_PROPERTIES, defined as follows, when passing PALWORLD_CUSTOM_PROPERTIES.
@CorLeonas To apply the fix, you only need to modify two places in the fix_host_save.py file:
These changes will implement the necessary adjustments to the fix_host_save.py file as described. |
Hey, perhaps you can help @wrlcke ? this newer script here with your fixes doesn't find my new character, only the old, so I can't fix it? trying to compare the two scripts and figure out what is done different in the other fork but it's beyond me, since it uses an older version of the lib it seems to do things very differently. attached zip of one of my backups that display the lv0 character in the other old GUI tool. Any help appreciated. otherwise I'll just have to start over. lol. |
Fix issues:xNul#181 *** By [@wrlcke](https://github.com/wrlcke) Co-Authored-By: wrlcke <82268354+wrlcke@users.noreply.github.com>
Sorry, but I am still very new to coding anything, could you explain where I go to do these changes? |
@GizmoTheGreen It looks like both developers didn't think about what should be done when two saves share the same GUID. XNuls gets all GUIDs from the names of .sav files in the However, their migration process involves a similar approach: updating GUID information in |
@wemlk Just locate where you downloaded/unzipped/cloned this repository and find the file named |
hi guys i think its not working anymore do you have new solutions to correct the eof not reached when it's decoding map model py ? File "C:\Users\jessy\AppData\Local\Programs\Python\Python312\Lib\site-packages\palworld_save_tools\rawdata\map_model.py", line 42, in decode_bytes |
535B443E41FFDEC2FDD2948D25DAC75F.zip
This save file will trigger this exception:
I updated palworld-save-tools to 0.23.0, still no dice.
I mentioned this issue here as well:
cheahjs/palworld-save-tools#178 (comment)
The text was updated successfully, but these errors were encountered: