qmc2 / qmc2-mame-fe

QMC2 - M.A.M.E. Catalog / Launcher II
41 stars 3 forks source link

[Rebuilder] Rebuilding large collections results in corrupt zipfiles #48

Open Shoegzer opened 3 months ago

Shoegzer commented 3 months ago

When using the ROM collection rebuilder with the "Reproduction" option set to "ZIPs (built-in)", building a collection larger than ~4GB or containing more than 65,535 files results in a corrupt zipfile. A workaround is to rebuild with "Reproduction" set to "Sub-directories" and then use the linux "zip" binary to create zipfiles manually. This is perhaps due to 32-bit limitations of whatever zip utility QMC2 uses.

Note that this issue should never occur when building MAME ROMs as they are all smaller than stated above. However this does occur in cases not involving ROMs. For example, the collection of "Flyers" as available here is roughly 4.7GB zipped and therefore cannot be built using QMC2's internal zip utility.

This issue has been observed on Linux Mint 21.3 and kernel 6.5.