Metropolis Software PAK: Difference between revisions
Jump to navigation
Jump to search
imported>WATTO No edit summary |
(→PAK: partial fixed) |
||
| Line 33: | Line 33: | ||
<br> | <br> | ||
<font color="blue"> ''' // ARCHIVE FOOTER ''' </font> <br> | <font color="blue"> ''' // ARCHIVE FOOTER ''' </font> <br> | ||
: uint32 {4} - | : uint32 {4} - Crypted offset to start of the DIRECTORY<br> | ||
</b></tt> | </b></tt> | ||
=== MultiEx BMS === | === MultiEx BMS === | ||
Not written yet | Not written yet | ||
=== Notes and Comments === | === 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. | |||
=== Supported Programs === | === Supported Programs === | ||
* | * [http://www.extractor.ru/files/58b858ec46b3555a8734b7f1fdd5e0a0/ Archangel Unpacker] | ||
Revision as of 22:04, 20 March 2012
Choose archive extension:
PAK
- Format Type : Archive
- Endian Order : Little Endian
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)
- byte {X} - File Data
// DIRECTORY
- // for each file
- uint32 {4} - File Offset
- uint32 {4} - File Size
- uint32 {4} - File Offset
// FILENAME DIRECTORY
- // for each file
- uint32 {4} - Filename Length (including null)
- char {X} - Filename
- byte {1} - null Filename Terminator
- uint32 {4} - Filename Length (including null)
// ARCHIVE FOOTER
- uint32 {4} - Crypted offset to start of the DIRECTORY
MultiEx BMS
Not written yet
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.