Difference between revisions of "Archangel"

From XentaxWiki
Jump to: navigation, search
 
(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}&nbsp;&nbsp; - Offset to something <br>  
+
: uint32 {4}&nbsp;&nbsp; - Crypted offset to start of the DIRECTORY<br>  
 
</b></tt>
 
</b></tt>
 +
  
 
=== MultiEx BMS ===  
 
=== MultiEx BMS ===  
  
Not written yet<br><br>
+
Not written yet
 +
 
  
 
=== Notes and Comments ===  
 
=== Notes and Comments ===  
  
* I have looked over this again and again and still can't find a way to locate the beginning of the directory - it has to have something to do with the archive footer, but I can't figure it.<br>
+
Offset to DIRECTORY must be decrypt before use. Substruct from it:
<br>
+
* 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 ===  
  
* None Yet
+
* [http://www.extractor.ru/files/58b858ec46b3555a8734b7f1fdd5e0a0/ Archangel Unpacker]

Latest revision as of 23:04, 20 March 2012

Choose archive extension:

PAK


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


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.


Supported Programs