PAK (old): Difference between revisions

From Game Research Wiki
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 18: Line 18:
|-
|-
| 4 Bytes || Offset ||  
| 4 Bytes || Offset ||  
|-
!colspan="15"|Last Index Entry
|-
! Size !! Content || Description
|-
| 12 Bytes || N/A || To Verify
|-
| 4 Bytes || N/A || Which is last size
|}
|}


== 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. 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.
Possibly an older version of [[PAK (Unnamed1)]]. 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 18:07, 12 January 2025

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
Last Index Entry
Size Content Description
12 Bytes N/A To Verify
4 Bytes N/A Which is last size

Notes

Possibly an older version of PAK (Unnamed1). 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.