Re: [AD] SF.net SVN: alleg:[11766] allegro/branches/4.9/src/macosx |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Coordination of admins/developers of the game programming library Allegro <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] SF.net SVN: alleg:[11766] allegro/branches/4.9/src/macosx
- From: Elias Pschernig <elias.pschernig@xxxxxxxxxx>
- Date: Sat, 07 Mar 2009 18:57:01 +0100
On Sat, 2009-03-07 at 10:28 -0700, Thomas Fjellstrom wrote:
>
> Thats the route I'm taking. a plain zip addons would be doable using
> zlib, but how would a plain zlib driver work?
Well, zip and zlib are different things, you would use libzip to read
zip files. A zlib addon would probably be more like the memfile addon,
so you could do things like write to a compressed memory buffer. Not
sure how useful that would be over simply calling the compress()
function from zlib.
> what format would archives be in? (no, tar archives are not a
> solution, they are a pain in the butt, you have to decompress the tar
> archive just to access the tar headers).
>
True. tar.gz is a lot like A4's dat in that respect, .zip is much
superior for use in games.
--
Elias Pschernig <elias@xxxxxxxxxx>