World Of Warcraft MPQ: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Captain
m (Reverted edits by XblK0l (Talk); changed back to last version by WATTO)
imported>Ikskoks
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 51: Line 51:


* [[Game Extractor|Game Extractor]]<br>
* [[Game Extractor|Game Extractor]]<br>
[[Category:File Format]]

Latest revision as of 22:46, 4 February 2021

Choose archive extension:

MPQ


Format Specifications

char {4}     - Header ("MPQ" + (byte)26)
uint32 {4}   - Directory Offset (32)
uint32 {4}   - Archive Size
uint32 {4}   - Unknown (196608)
uint32 {4}   - Unknown Offset/Length
uint32 {4}   - Unknown Offset/Length
uint32 {4}   - Unknown (65536)
uint32 {4}   - Unknown

// DIRECTORY

// for each file
uint32 {4}   - File Offset (relative to the start of the directory)


uint32 {4}   - Offset To Next Directory (relative to the start of the directory)


// FILE DATA

// for each file
if (file is compressed){
byte {1}     - Compression Tag (2)
byte {X}     - Compressed File Data (ZLib-compressed)
}


else if (file is not compressed){
byte {X}     - File Data
}


// repeat while there is still more directories

// DIRECTORY 2
// FILE DATA 2

// etc..

MultiEx BMS

Not written yet


Supported Programs