Open Zemogiter opened 3 months ago
The trace actually points to an error reading the original jar.
Python 3.12 has the following change :
gh-109858: Protect zipfile from “quoted-overlap” zipbomb. It now raises BadZipFile when try to read an entry that overlaps with other entry or central directory.
Looks like the jar shipped in the game is an invalid zip file, likely caused by this Gradle bug
The ZipFile implementation in 3.11 should have been patched to reject this type of malformed zip file, so its likely some additional code will be needed to handle this case with modern Python implementations.
During the file merging phase, I get this error:
logs.txt
I'm compiling the source code on Lubuntu 24.04, Python 3.12.3. Playing the stable branch of Space Haven. Let me know if I need to add more info.