nineteendo / pyvz2

PyVZ2 is a command line utility to modify PvZ2
GNU General Public License v3.0
44 stars 6 forks source link

zlib.error: Error -5 while decompressing data: incomplete or truncated stream #19

Closed qnmakingstupidstuff closed 1 year ago

qnmakingstupidstuff commented 1 year ago

Hello your tool crashed OBB

Haruma-VN commented 1 year ago

:>

nineteendo commented 1 year ago

Are you using the alpha version from GitHub? I'll check when the file is downloaded.

nineteendo commented 1 year ago

fail.txt I was already thinking, hmm 700 errors seems a bit much for just empty RSGs...

Haruma-VN commented 1 year ago

It's not empty RSGP, just your tool can't unpack it

nineteendo commented 1 year ago

Screenshot_20221204-141919 Fixing my code...

nineteendo commented 1 year ago

OK, should be fixed on the alpha version as well. I'll close this with the next release.

nineteendo commented 1 year ago

PVZ2tools-alpha.zip There may come more fixes in the future, so I suggest following my discord server as I won't upload versions edited on mobile...

qnmakingstupidstuff commented 1 year ago

hi, sorry for bothering you again. can you tell me why some obb the subgroup name is very long like this one? i will close this issue once this question is answered, thank u

nineteendo commented 1 year ago

hi, sorry for bothering you again. can you tell me why some obb the subgroup name is very long like this one? i will close this issue once this question is answered, thank u

The reason it's so long is because the 128 bytes are hex encoded, resulting in at most a 256 name. I'll close this issue when it's fixed in a release.

qnmakingstupidstuff commented 1 year ago

okay, thank you for replying me! I don't really understand much but still thank you

nineteendo commented 1 year ago

It's fixed on alpha, but it has not yet been fixed in a release, beta or stable version.