GZip Progress (Patreon)
Published:
2021-12-29 19:25:53
Imported:
2026-06
Content
QOI encoding was implemented but its compression performed too poorly, so I'll use GZip for textures instead. GZip gives a filesize reduction of around 50%, which isn't too much but it's better than nothing.
GZip support was easy to implement for writing files, but it's a little tricky to implement for reading files because the vanilla Quake code reads files in multiple different ways. I'm rewriting several parts of the filesystem code to make it simpler and to implement GZip support.
Some different PNG libraries are also being studied to see if I can implement PNG support in a different way.