From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:MPQ (MoPaQ)" |
|---|
| claim | "The (attributes) file starts with version 100 and a flags dword (1 CRC32, 2 FILETIME, 4 MD5, 8 patch bit), followed by one array per present attribute in that order, each with one entry per block-table entry: uint32 CRC32s, uint64 FILETIMEs, 16-byte MD5s, then a bit array." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Format:MPQ (MoPaQ)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "MPQ_ATTRIBUTES_HEADER" |
|---|
| size | "0x8" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "version" |
|---|
| notes | "100" |
|---|
|
| offset | "0x4" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "flags" |
|---|
| notes | "1 CRC32, 2 FILETIME, 4 MD5, 8 patch bit; arrays follow" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "StormLib commit 116135c, src/SFileAttributes.cpp: MPQ_ATTRIBUTES_HEADER and GetSizeOfAttributesFile; the comments note archives where the patch-bit array is one byte short or missing." |
|---|
|
|
|---|
| confidence | "medium" |
|---|
| related | |
|---|
| key | "MPQ (attributes) file" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T03:10:33.574Z" |
|---|
| verifications | |
|---|