nineteendo / pyvz2

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

Bug. Need Help. ValueError while patching #14

Closed maiakiaka closed 2 years ago

maiakiaka commented 2 years ago

Screenshot_20220601-121043

maiakiaka commented 2 years ago

Please help me. What is eror? I just add or change some text in file PLANTYPE.json but when patch it show this eror. I try to copy PLANTYPE.json (extract from another folder) to replace with this one without changing anything, it sill show this eror when patch. Even more I just change from False to True in Plantproperties.json it still eror when patch. Please help me to solve this problem. Thanks!

nineteendo commented 2 years ago

Well with the master version 1.1.4 changing archive size is not implemented. The encoded JSON file must fit in the original block allocated.

This issue is fixed on beta 1.1.7: https://github.com/Nineteendo/PVZ2tools/tree/beta So if this is bothering you, you can use this version. This version is just less tested than the main one.

nineteendo commented 2 years ago

Fixed.