Metropolis Software PAK: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 59: Line 59:
<br><br>
<br><br>


[[Category:Complete Complete|Archangel PAK]]
[[Category:Complete Almost Done|Archangel PAK]]
[[Category:Platform PC|Archangel PAK]]
[[Category:Platform PC|Archangel PAK]]
[[Category:CE Compressed|Archangel PAK]]
[[Category:CE Compressed|Archangel PAK]]

Revision as of 11:13, 29 June 2022

Choose archive extension:

PAK

  • Format Type : Archive
  • Endian Order : Little Endian
  • Signature : None


Format Specifications

// ARCHIVE HEADER

uint32 {4}   - Version (1)
uint32 {4}   - Number Of Files


// FILE DATA

// for each file
byte {X}     - File Data
uint32 {4}   - Unknown (26)


// DIRECTORY

// for each file
uint32 {4}   - File Offset
uint32 {4}   - File Size


// FILENAME DIRECTORY

// for each file
uint32 {4}   - Filename Length (including null)
char {X}     - Filename
byte {1}     - null Filename Terminator


// ARCHIVE FOOTER

uint32 {4}   - Crypted offset to start of the DIRECTORY


Notes and Comments

Offset to DIRECTORY must be decrypt before use. Substruct from it:

  • 0 - for demo
  • 0x4857 - for retail/en
  • 0x4858 - for retail/ru

It's easy to detect right value to substruct - first file offset in DIRECTORY always 8.


Other notes:

  • This file format use GZIP compression.

QuickBMS script

Not written yet.

Supported Programs