Metropolis Software ZAP: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 7: Line 7:
* ''' Format Type ''':    Archive <br>  
* ''' Format Type ''':    Archive <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>  
* ''' Signature ''':    None <br>  
* ''' Signature ''':    31 10 03 20 <br>  





Revision as of 00:13, 3 July 2022

Choose archive extension:

ZAP

  • Format Type : Archive
  • Endian Order : Little Endian
  • Signature : 31 10 03 20


Format Specifications

// FILE DATA

// for each file
byte {X}     - File Data


// DIRECTORY

uint32 {4}   - Unknown
uint32 {4}   - Unknown


// for each file
uint32 {4}   - Unknown ID (usually 1)
byte {1}     - Filename Length


if (filename starts with a null){
// skip over filenameLength-1 bytes, then...
byte {1}     - Filename Length
}


char {X}     - Filename
uint32 {4}   - File Offset?
uint32 {4}   - Decompressed Length
uint32 {4}   - Compressed Length
uint32 {4}   - Directory ID (for the directory the file belongs to)???
uint32 {4}   - null


// ARCHIVE END DATA

uint32 {4}   - Unknown
uint32 {4}   - Offset To Directory Start


byte {X}     - Unknown Data


uint32 {4}   - Pointer to Unknown
uint32 {4}   - Unknown
uint32 {4}   - Unknown (4)
uint32 {4}   - Pointer To Directory End
uint32 {4}   - Pointer to Unknown
uint32 {4}   - Unknown

quickBMS

Not written yet.

Games

List of games using this file format:

  • Gorky Zero - Aurora Watching / Gorky 02: Aurora Watching / Soldier Elite: Zero Hour (*.ZAP)
  • Ski Jumping 2006 / Skoki Narciarskie 2006 (PC) (*.ZAP)
  • Infernal (*.ZAP)

Notes and Comments

  • This file format uses Deflate compression.
  • This file format occurs in games made by Metropolis Software.
  • Some filenames are stored in polish language e.g. "koszulka1.jpg" or "kask3.jpg".

Supported Programs