Advertisement

Zip library

Started by November 07, 2000 09:28 AM
1 comment, last by robinei 24 years, 2 months ago
Does anyone know of I good zip library that is free and will work with VC6? A library for handling png files would also be nice.
I am intending to use zip files to store all the game data.

Since everything in the zip is already compressed is it a point in using compressed image formats like png?

And also, there isn''t anything wrong in using zip files for storing the game data? It isn''t too slow?
Advertisement
http://www.info-zip.org/pub/infozip/zlib/
http://www.libpng.org/pub/png/libpng.html

I use png files for most of my textures and it works great. I actually don''t use libpng, but it''s the standard library for them so I imagine it''s pretty good. It''ll get you much better compression in a lot of cases than zipping alone (in case you''re unaware a png is just a bitmap run through filters to make it more compressible and then deflated).

Zip files should be fine for storing game data. If you find that it''s too slow, you can turn off compression and still archive them in a zip. At least that way you save some clusters on the small files.

This topic is closed to new replies.

Advertisement