ZLib or other zip libraries?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
User avatar
turkeyman
Posts: 75
Joined: Wed Oct 20, 2004 7:38 pm
Location: Brisbane, Australia
Contact:

ZLib or other zip libraries?

Post by turkeyman »

Hey guys, this is kind of off topic but i thought i'd ask anyway..

I want to be able to read zip files at runtime, which i am seeing a lot of people doing..

It would appear that ZLib is quite popular, however after looking at the ZLib API, i cant see any functions to manage the zip file's virtual directory structure, or to access individual files within the zip file... infact, the only functions of the sort i can see are gunzip related which seems fairly inappropriate..

Can anyone give me any info or fill in the blanks about what i should be doing to access the filesystem in standard .zip files (like quake's pak files/jar/etc)?

I must be missing something very obvious :)
rinco
Posts: 255
Joined: Fri Jan 21, 2005 2:12 pm
Location: Canberra, Australia

Post by rinco »

ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

The zlib faq (on the official zlib site) suggests using minizip, which is in the contrib directory of the zlib distribution.

http://svn.pspdev.org/listing.php?repna ... rev=0&sc=0
Post Reply