From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "behavior" |
|---|
| subject | "Format:MPQ (MoPaQ)" |
|---|
| claim | "In a compressed MPQ file, a sector (or single-unit file) whose stored size equals its real size is stored raw without the compression-method byte; only shorter sectors begin with the method mask." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Format:MPQ (MoPaQ)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | condition | "stored sector length == expected decompressed length" |
|---|
| effect | "copy the bytes as they are" |
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "StormLib commit 116135c: src/SFileReadFile.cpp only decompresses when the raw sector is shorter than the expected size; SCompDecompress in src/SCompression.cpp copies when the sizes are equal." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Uncompressed sectors have no method byte" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T03:10:33.342Z" |
|---|
| verifications | |
|---|