CatchPackage(address.l)
CatchPackage(address.l)
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?
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..
[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..