From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:MPQ (MoPaQ)" |
|---|
| claim | "An MPQ archive header starts with 4D 50 51 1A ("MPQ\x1A", dword 0x1A51504D) at file offset 0 or at a multiple of 0x200; readers scan in 512-byte steps and also require header_size >= 0x20." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Format:MPQ (MoPaQ)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "4D 50 51 1A" |
|---|
| offset | "0x0 or any multiple of 0x200" |
|---|
| meaning | "MPQ archive header" |
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "StormLib commit 116135c: ID_MPQ in src/StormLib.h; header search loop advancing by 0x200 and the header_size >= MPQ_HEADER_SIZE_V1 check in src/SFileOpenArchive.cpp." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "MPQ archive magic" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T03:10:32.568Z" |
|---|
| verifications | |
|---|