.GPK format?

Manfred Matzinger (matzing@ping.at)
19 Aug 96 01:35:32 +0100

Hi!

I want to write a portable (!) GPK-extractor, because I disklike using Wind*ws,
but I have no complete description of the GPK-format. Please post a complete
description!

The problem I have is that there are additional bytes in the decoded file, which
are not in the GPK-format. How do I calculate them and where do they occur?

What I found out up to now:

1) At the start of the file:

Offset Content
0 - 19 Introduction
20 - 21 Number of files
22 - 25 Start of title
26 - 29 Start of description
30 - 33 Offset of fileblock #1
34 - 35 Offset of fileblock #2 (if available)
...

2) At the offset of the title/description you will find text, terminated by
NULL.

3) At the offset of a fileblock you will find:

filename, terminated by NULL
complete path, terminated by NULL
version string, terminated by NULL
4 bytes for the size of the file
8 bytes ???
and the file itself (the size is known from above)

Best regards
Herzliche Gr|_e
Manfred Matzinger

"I wish they all could be California girls."

--
|Manfred Matzinger Brenekgasse 2           Tel,FAX on request: (+43)2252/24331|
|matzing@ping.at   A-2500 Baden,AUT  PGPKey:Servers or eMail-subj."PGPREQUEST"|
|... UI120:EEHHHLMSIJICLLZHGEECCHIALBEHBIIFALAURDIEKAJ         IRC-Nick: Matzi|
#NEW homepage features 132 links:     http://ping.at/members/matzing/index.htm#