Metropolis Software ZAP: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 37: Line 37:
:: uint32 {4}&nbsp;&nbsp; - null <br>  
:: uint32 {4}&nbsp;&nbsp; - null <br>  
<br>
<br>
<font color="blue"> ''' // ARCHIVE END DATA ''' </font> <br>  
<font color="blue"> ''' // ARCHIVE FOOTER ''' </font> <br>  
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>  
: uint32 {4}&nbsp;&nbsp; - Signature <font color="purple">(31 10 03 20)</font> <br>  
: uint32 {4}&nbsp;&nbsp; - Offset To Directory Start <br>
: uint32 {4}&nbsp;&nbsp; - Version <font color="purple">(4)</font> <br>  
<br>
: uint32 {4}&nbsp;&nbsp; - Pointer To File List End <br>  
: byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - <font color="red"> '' Unknown Data '' </font> <br>
: uint32 {4}&nbsp;&nbsp; - Pointer to Directory List End <br>  
<br>
: uint32 {4}&nbsp;&nbsp; - Pointer to Unknown <br>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown <font color="purple">(4)</font> '' </font> <br>  
: uint32 {4}&nbsp;&nbsp; - Pointer To Directory End <br>  
: uint32 {4}&nbsp;&nbsp; - Pointer to Unknown <br>  
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>  
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>  
</b></tt>
</b></tt>

Revision as of 00:17, 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 FOOTER

uint32 {4}   - Signature (31 10 03 20)
uint32 {4}   - Version (4)
uint32 {4}   - Pointer To File List End
uint32 {4}   - Pointer to Directory List End
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