GRAF:ZIP Archive

From XentaxWiki
Revision as of 09:48, 11 December 2005 by imported>WATTO (Made a general ZIP Archive page)
Jump to navigation Jump to search

ZIP, ZIPFS, PK3, PK4


Format Specifications

// for each file

char {2}     - Header (PK)
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 (PK)
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 PK for this file in the directory)
char {X}     - Filename


char {2}     - Header (PK)
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

Treates as PKZip file

Notes and Comments

  • This is a generic ZIP archive



Compatible Programs


Other Games

These games also use this file format