GZip Implementation (Patreon)
Published:
2021-12-28 15:45:12
Imported:
2026-06
Content
GZip support is working fine. I just found out that it's not the same thing as the Zip format despite using the same compression algorithm, so no PK3 support yet.
Anyway, GZip is very good, reducing some files to under 60% of their original size. It will be quick to implement it on most of the data.
Now, before doing that, I'm going to test out QOI compression on the FWQ compiled textures (FQM & FQT files) to see which method gives better results. QOI was only developed for 24-bit and 32-bit images, but I'm going to make it interpret each subcolor of the Quadricolor format as an individual color channel, and run the compression as if it were compressing a 32-bit image.