Page 1 of 1

CatchPackage(address.l)

Posted: Fri Feb 20, 2004 4:58 pm
by dmoc
I'd like to include a package file (created using PB's packer library) as a binary and then use it without extracting it to disk first. Easy one?

Posted: Fri Feb 20, 2004 5:19 pm
by Pupil
The package file format is not that hard to mimic, basicly it's something like this:

[LengthToNext]:Long ; How many bytes to next file
[UnpackedSize]:Long ; Length of the unpacked file
[PackData] ; the packed data
...
[LengthToNext]:Long
[UnpackedSize]:Long
[PackData]

the order of the data may be different though..