Fire Captain PAK BANK: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
(Initial Specs)
imported>WATTO
mNo edit summary
Line 1: Line 1:
== PAK   BANK ==  
== PAKBANK ==  


* ''' Format Type ''':    Archive <br>  
* ''' Format Type ''':    Archive <br>  

Revision as of 12:42, 12 May 2005

PAK, BANK


Format Specifications

This is a generic ZIP archive with all PK headers replaced with QL headers.
Below is the basic structure of the archive, allowing you to work through and change all QL headers to PK.

// 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

Not written yet

Notes and Comments

This is a generic Zip archive with all PK header fields changed to QL header fields

Supported Programs