[SDL] SDL_zipfile 0.1.0
guidod-2003- at gmx.de
Thu Jan 2 19:52:01 PST 2003
> On Wed, 2003-01-01 at 14:01, Ben Stover wrote:
>>This is just a small zipfile library I put together that uses libz and SDL. This library can load directories in a zipfile (recursively or non-recursively) into memory, and if the filetype is known (determined by extension), it will automatically convert it into a ready-to-use format. For instance, if a zipfile contained bitmaps, it would load them and then you could just use the data returned to blit it straight to a surface. Currently the drivers implemented are text, bitmaps, and sound. I tried to do music, but SDL_mixer does not have the RWops implemented for the music formats yet, so the code is disabled by default. There's also a zip2h file utility that converts what's in a zipfile to a header file so you can use predefined macros to access data.
>>I'm sure there's plenty of small projects that do something similar, but I found nothing and wanted something similar to the Allegro datafile lib. Feedback is appreciated, as is bugs or feature requests.
>>Oh and BTW if you want to contact me use bstover at ossm.edu because I'm not subscribed to the mailing list.
> Sorry to mention this, but there's already something that does this quite well:
and what about http://zziplib.sf.net ??
btw, why did you viralize it with the GPL - more than 2/3rd of your lib are based
on code under the zlib license - this is not generally consired nice, ye know.
More information about the SDL