Metropolis Software ZAP: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(33 intermediate revisions by the same user not shown)
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 ''':    31 10 03 20 <br>




Line 36: 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>
=== quickBMS ===
Not written yet.


=== Games ===  
=== Games ===  
List of games using this file format:
List of games using this file format:
* Gorky Zero - Aurora Watching / Gorky 02: Aurora Watching  
* Gorky Zero - Aurora Watching / Gorky 02: Aurora Watching / Soldier Elite: Zero Hour (*.ZAP)
* Ski Jumping 2006 / Skoki Narciarskie 2006 (PC) (*.ZAP)
* Ski Jumping 2006 / Skoki Narciarskie 2006 (PC) (*.ZAP)
* Infernal (*.ZAP)


=== Notes and Comments ===  
=== Notes and Comments ===  


* This file format uses '''unknown compression method'''.
* 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".
 
=== quickBMS ===
 
Not written yet.


=== Supported Programs ===  
=== Supported Programs ===  


* [[Game Extractor|Game Extractor]]<br>
* [[Game Extractor|Game Extractor]]
* [http://www.ctpax-x.org/index.php?goto=files&show=157&lang=en Gorky Zero ZAP Unpacker] (+source code) / [https://drive.google.com/file/d/1niNu0peAhXn68PqC39CemwozjkTDCmlF/view?usp=sharing mirror1]
* [http://int0thegame.blogspot.com/2007/05/infernal-zap-file-extractor.html Infernal ZAP Extractor] / [https://forum.xentax.com/download/file.php?id=1263 mirror1]
<br><br>




[[Category:Complete WIP|Metropolis Software ZAP]]
[[Category:Platform PC|Metropolis Software ZAP]]
[[Category:CE Compressed|Metropolis Software ZAP]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Extension_zap | Extension: zap]]
[[Category:BMS_None | BMS: None]]
[[Category:Deflate compression]]
[[Category:File Format]]
[[Category:File Format]]

Latest revision as of 22:09, 5 January 2023

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

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".

quickBMS

Not written yet.

Supported Programs