From: jaster32 AT hotmail DOT com (Jaster) Newsgroups: comp.os.msdos.djgpp Subject: Re: Can I use allegro datafile like .zip files? Date: Mon, 16 Feb 1998 00:17:37 GMT Organization: EarthLink Network, Inc. Lines: 22 Message-ID: <34e784ce.53311912@news.earthlink.net> References: <34e5402f DOT 18617202 AT news DOT earthlink DOT net> NNTP-Posting-Host: 207.217.144.39 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Sat, 14 Feb 1998 06:58:48 GMT, jaster32 AT hotmail DOT com (Jaster) wrote: >I was curious if I can compress data in an Allegro datafile.. then use >the datafile routines to read in each file from the datafile, and then >save them as seperate uncompressed files. What I'm saying is can I use >a datafile like a .zip file? I'm pretty sure that the compression >won't be as good.. but if this is possible can someone give me some >pointers as to how it should be done? Thanks in advance... > >Jaster What I meant was.. how can I use the pack_file functions to do a type of export function. Say I had 3 pictures stored in a individually compressed datafile, how would I use the pack_file functions to read in each picture and then export it out to it's original uncompressed state.. this is for an install program I'm writing.. If anyone has any tips on how to use the pack_fopen , and the pack_read/write functions to do this I would like that very much.. and yes I've read the manual.. Jaster..