Page 1 of 1

Decompressing zip / gzip files

Posted: Sat Jan 12, 2013 3:45 pm
by Clavus
I'm compressing some of my game content to greatly reduce the size of my project (in .zip or .gz files). However, I'm wondering how I can decompress it during runtime. Can you guys recommend a method? Preferably with as few dependencies as possible.

Re: Decompressing zip / gzip files

Posted: Sat Jan 12, 2013 4:16 pm
by kikito
.love files are already compressed in a zip format. The decompression is done transparently.

Putting a zip file inside a .love file will not make it any smaller (in fact, it will make it slightly larger).

Re: Decompressing zip / gzip files

Posted: Sat Jan 12, 2013 5:51 pm
by Clavus
But what in the case of external resources?