PAK (old): Difference between revisions

From Game Research Wiki
Jump to navigation Jump to search
 
Line 21: Line 21:


== Notes ==
== Notes ==
Possibly an older version of [[PAK]]. Only has offsets. Sizes are probably calculated with next files offset. Last index does not point to a file but is used for final file size. Needs some testing but "PK.BAT, STREAM.TAG, TAGHEAD, FILEPACKC, FILEPACKEREXE" can probably be omitted and is just the result of bad programming.
Possibly an older version of [[PAK]]. Only has offsets. Sizes are probably calculated with next files offset. Last index does not point to a file but is used for final file size. Needs some testing but "PK.BAT, STREAM.TAG, TAGHEAD, FILEPACKC, FILEPACKEREXE" can probably be omitted and is just the result of bad programming. Last index entry is not an actual file but just to store archive size. "..End" + 0x20's to fill up the rest of the space for file name and extension and the 4 byte number is the archive size.

Latest revision as of 00:17, 25 August 2015

Used in the following games:

  • Bible Black

Structure

Header
Size Content Description
2 Bytes File Count
Index Entry
Size Content Description
12 Bytes File name
4 Bytes Offset

Notes

Possibly an older version of PAK. Only has offsets. Sizes are probably calculated with next files offset. Last index does not point to a file but is used for final file size. Needs some testing but "PK.BAT, STREAM.TAG, TAGHEAD, FILEPACKC, FILEPACKEREXE" can probably be omitted and is just the result of bad programming. Last index entry is not an actual file but just to store archive size. "..End" + 0x20's to fill up the rest of the space for file name and extension and the 4 byte number is the archive size.