Fire Captain PAK BANK: Difference between revisions
Jump to navigation
Jump to search
imported>WATTO (Initial Specs) |
imported>Ikskoks |
||
| (10 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
== PAK | * [[GRAFs|Return to the list of games]] | ||
Choose archive extension: | |||
== PAK, BANK == | |||
* ''' Format Type ''': Archive <br> | * ''' Format Type ''': Archive <br> | ||
| Line 6: | Line 10: | ||
=== Format Specifications === | === Format Specifications === | ||
<tt><b> | <tt><b> | ||
<font color="blue"> ''' // for each file ''' </font> <br> | |||
: char {2} - Header <font color="purple">(QL)</font> <br> | |||
: uint32 {4} - Entry Type <font color="purple">(1311747 = File Entry)</font> <br> | |||
: uint16 {2} - <font color="red"> '' Unknown <font color="purple">(2)</font> '' </font> <br> | |||
: uint16 {2} - <font color="red"> '' Unknown <font color="purple">(8)</font> '' </font> <br> | |||
: uint64 {8} - <font color="red"> '' Checksum? '' </font> <br> | |||
: uint32 {4} - Compressed File Size <br> | |||
: uint32 {4} - Decompressed File Size <br> | |||
: uint32 {4} - Filename Length <br> | |||
: char {X} - Filename <br> | |||
: byte {X} - File Data <br> | |||
<br> | <br> | ||
<font color="blue"> ''' // for each file ''' </font> <br> | |||
: char {2} - Header <font color="purple">(QL)</font> <br> | : char {2} - Header <font color="purple">(QL)</font> <br> | ||
: uint32 {4} - Entry Type <font color="purple">( | : uint32 {4} - Entry Type <font color="purple">(513 = Directory Entry)</font> <br> | ||
: uint16 {2} - | : uint16 {2} - <font color="red"> '' Unknown <font color="purple">(20)</font> '' </font> <br> | ||
: uint16 {2} - <font color="red"> '' Unknown <font color="purple">(2)</font> '' </font> <br> | |||
: uint16 {2} - <font color="red"> '' Unknown <font color="purple">(8)</font> '' </font> <br> | |||
: uint64 {8} - <font color="red"> '' Checksum? '' </font> <br> | : uint64 {8} - <font color="red"> '' Checksum? '' </font> <br> | ||
: uint32 {4} - Length Of File Data <font color="purple">(archive size excluding the directory)</font> <br> | : uint32 {4} - Compressed File Size <br> | ||
: uint32 {4} - Decompressed File Size <br> | |||
: uint32 {4} - Filename Length <br> | |||
: byte {10} - null <br> | |||
: uint32 {4} - File Offset <font color="purple">(points to QL for this file in the directory)</font> <br> | |||
: char {X} - Filename <br> | |||
<br> | |||
char {2} - Header <font color="purple">(QL)</font> <br> | |||
uint32 {4} - Entry Type <font color="purple">(1541 = Archive Entry)</font> <br> | |||
uint16 {2} - null <br> | |||
uint64 {8} - <font color="red"> '' Checksum? '' </font> <br> | |||
uint32 {4} - Length Of File Data <font color="purple">(archive size excluding the directory)</font> <br> | |||
uint16 {2} - null <br> | |||
<br> | <br> | ||
</b></tt> | </b></tt> | ||
=== MultiEx BMS === | === MultiEx BMS Script === | ||
Not written yet<br><br> | Not written yet<br><br> | ||
| Line 52: | Line 53: | ||
=== Notes and Comments === | === Notes and Comments === | ||
This is a generic | * This is a generic PKZip file with all PK header fields changed to QL header fields. | ||
<br> | <br><br> | ||
=== | === Compatible Programs === | ||
* None | |||
[[Category:Extension_pak | Extension: pak]] | |||
[[Category:File Format]] | |||
Latest revision as of 19:27, 29 March 2022
Choose archive extension:
PAK, BANK
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
// for each file
- char {2} - Header (QL)
- uint32 {4} - Entry Type (1311747 = File Entry)
- uint16 {2} - Unknown (2)
- uint16 {2} - Unknown (8)
- uint64 {8} - Checksum?
- uint32 {4} - Compressed File Size
- uint32 {4} - Decompressed File Size
- uint32 {4} - Filename Length
- char {X} - Filename
- byte {X} - File Data
// for each file
- char {2} - Header (QL)
- uint32 {4} - Entry Type (513 = Directory Entry)
- uint16 {2} - Unknown (20)
- uint16 {2} - Unknown (2)
- uint16 {2} - Unknown (8)
- uint64 {8} - Checksum?
- uint32 {4} - Compressed File Size
- uint32 {4} - Decompressed File Size
- uint32 {4} - Filename Length
- byte {10} - null
- uint32 {4} - File Offset (points to QL for this file in the directory)
- char {X} - Filename
char {2} - Header (QL)
uint32 {4} - Entry Type (1541 = Archive Entry)
uint16 {2} - null
uint64 {8} - Checksum?
uint32 {4} - Length Of File Data (archive size excluding the directory)
uint16 {2} - null
MultiEx BMS Script
Not written yet
Notes and Comments
- This is a generic PKZip file with all PK header fields changed to QL header fields.
Compatible Programs
- None