wonjoonSeol-WS / Palworld-fix-uuid

4 stars 0 forks source link

Converting Level.sav file generates exceptions #1

Closed Riscon closed 1 month ago

Riscon commented 7 months ago

Hello,

thank you very much for your work. I think the script no longer works for the current version - v.0.2.3.0 as of 23/04/2024 (Day/Month/Year). I get exceptions when editing the Level.sav file.

The exception log is very long, so I'm only posting the last part of it.

image

Riscon commented 7 months ago

Hi,

I fixed this issue by myself. The problem is your script Requires-Dist: palworld-save-tools (>=0.19.0,<0.20.0).

https://github.com/cheahjs/palworld-save-tools is currently released at 0.22.0. (as of 24/04/2024 (DAY/MONTH/YEAR)) I had to modify ..\..\Lib\site-packages\palworld_fix_uuid-0.1.1.dist-info\METADATA to accept higher versions of palworld-save-tools.

So I modified the mentioned require statement to Requires-Dist: palworld-save-tools (>=0.19.0,<0.30.0).

After that the conversion works flawlessly.

wonjoonSeol-WS commented 4 months ago

Apologies, I must have slipped your comment in my inbox. Seems like newer version of the dependency package had been updated. And your comment seems to suggest that the older version of the save tool no longer works for the recent Palworld save format.

let me update the script. Thanks for the report

wonjoonSeol-WS commented 4 months ago
Publishing palworld-fix-uuid (0.1.2) to PyPI
 - Uploading palworld_fix_uuid-0.1.2-py3-none-any.whl 100%
 - Uploading palworld_fix_uuid-0.1.2.tar.gz 100%

0.1.2 version is now live, using the latest save tools dependency (0.23.0). Thanks!