From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:WAD2 (Quake)" |
|---|
| claim | "A WAD2 directory entry is 32 bytes: int32 offset, int32 size on disk, int32 uncompressed size, type byte, compression byte, two pad bytes, 16-byte NUL-terminated name." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:WAD2 (Quake)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "lumpinfo_t" |
|---|
| size | "0x20" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 4 |
|---|
| type | "int32_t" |
|---|
| name | "filepos" |
|---|
|
| offset | "0x4" |
|---|
| size | 4 |
|---|
| type | "int32_t" |
|---|
| name | "disksize" |
|---|
|
| offset | "0x8" |
|---|
| size | 4 |
|---|
| type | "int32_t" |
|---|
| name | "size" |
|---|
| notes | "uncompressed" |
|---|
|
| offset | "0xC" |
|---|
| size | 1 |
|---|
| type | "int8_t" |
|---|
| name | "type" |
|---|
| notes | "TYP_* (0x42 picture, 0x44 miptex, ...)" |
|---|
|
| offset | "0xD" |
|---|
| size | 1 |
|---|
| type | "int8_t" |
|---|
| name | "compression" |
|---|
| notes | "0 none; 1 LZSS defined but unused" |
|---|
|
| offset | "0xE" |
|---|
| size | 2 |
|---|
| type | "int8_t[2]" |
|---|
| name | "pad" |
|---|
|
| offset | "0x10" |
|---|
| size | 16 |
|---|
| type | "char[16]" |
|---|
| name | "name" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "WinQuake/wad.h lumpinfo_t, wadinfo_t (commit bf4ac42)." |
|---|
|
| type | "runtime_test" |
|---|
| detail | "LibreQuake v0.09-beta gfx.wad: 149 entries parse with this layout, all compression 0." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "WAD2 directory entry" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T04:20:52.280Z" |
|---|
| verifications | |
|---|