From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:Microsoft COMPRESS (SZDD and KWAJ)" |
|---|
| claim | "SZDD files start 53 5A 44 44 88 F0 27 33, then mode byte 41 (A) or 42 (B), the missing name character and a u32 uncompressed size; data at offset 14." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Microsoft COMPRESS (SZDD and KWAJ)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "53 5A 44 44 88 F0 27 33" |
|---|
| offset | "0" |
|---|
| meaning | "SZDD header; mode 0x41 = LZSS (16-bit variant), 0x42 = the LZSS variant also used by KWAJ method 2 and SZ; u32 LE size at 10; data at 14" |
|---|
| alternatives | | "53 5A 20 88 F0 27 33" |
| "4B 57 41 4A 88 F0 27 D1" |
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "do_header_SZDD, do_header_SZ and detect_fmt_internal. The alternative is the 7-byte SZ magic; do_header_SZ then requires the next byte to be D1 and reads a u32 size." |
|---|
| repo | "jsummers/deark" |
|---|
| commit | "8997059c4f32af79978fb6c83be7c1c26c259afa" |
|---|
| path | "modules/mscompress.c" |
|---|
| lines | "68-115, 760-770" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "SZDD magic" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T01:42:06.681Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T12:51:44.155Z" |
|---|
| result | "confirmed" |
|---|
| method | "Fetched modules/mscompress.c at 8997059c: detect_fmt_internal memcmp of 8 bytes 53 5A 44 44 88 F0 27 33 (SZDD), 4B 57 41 4A 88 F0 27 D1 (KWAJ), 7 bytes 'SZ ' 88 F0 27 33 (SZ); do_header_SZDD reads mode 0x41 (LZSS16) / 0x42 (LZSS18), filename char, u32le size, data at 14; do_header_SZ requires D1 next and sets LZSS18 (shared with KWAJ:2)." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T08:23:46.202Z" |
|---|
| summary | "Read deark mscompress.c: detect_fmt_internal compares 8 bytes 53 5A 44 44 88 F0 27 33 (SZDD), KWAJ 4B 57 41 4A 88 F0 27 D1 and the 7-byte SZ magic; do_header_SZDD: mode 0x41 -> LZSS16, 0x42 ->…" |
|---|
| changed | |
|---|
|
|
|---|