Archived

This topic is now archived and is closed to further replies.

zedd

container files

Recommended Posts

Hi! I want to implement a container file system like the pk3 files used in quake3 (uncompressed zip). I''ll probably use zlib to manage the zip files. Now what i''d like to do is write a class that opens a pak file and a function zfopen() to open the files inside the pak as if they were normal files (the function would return a pointer to a FILE stream). That way i could read from packed files and normal files just as easily. Is this even possible and where can i find explanations (or source examples) on how to do it? thanks! zedd

Share this post


Link to post
Share on other sites