From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:DDS (DirectDraw Surface)" |
|---|
| claim | "A DDS file starts with the uint32 0x20534444, the bytes 44 44 53 20 ("DDS "); the 124-byte DDS_HEADER follows at offset 4." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "all DDS files" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "44 44 53 20" |
|---|
| offset | "0x0" |
|---|
| meaning | "DDS file magic "DDS " (DDS_MAGIC 0x20534444)" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "constexpr uint32_t DDS_MAGIC = 0x20534444; // "DDS "" |
|---|
| repo | "https://github.com/microsoft/DirectXTex" |
|---|
| commit | "4234f77df9c6c8bb2880607b82d5d597b54d1fa9" |
|---|
| path | "DirectXTex/DDS.h" |
|---|
| lines | "28" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "DDS magic" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T08:04:28.065Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T08:21:22.404Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read DirectXTex/DDS.h line 28 at the commit: constexpr uint32_t DDS_MAGIC = 0x20534444 // "DDS ", i.e. bytes 44 44 53 20 little-endian. The 124-byte header size at offset 4 was not in the line I read." |
|---|
|
|
|---|