From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:WAD3 (GoldSrc)" |
|---|
| claim | "WAD3/WAD2 directory entry lumpinfo_t is 32 bytes: filepos, disksize, size (uncompressed), type (char), compression (char, 0 none, 1 LZSS), 2 pad bytes, name[16]; header wadinfo_t is 12 bytes (identification[4], numlumps, infotableofs)." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:WAD3 (GoldSrc)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "lumpinfo_t" |
|---|
| size | 32 |
|---|
| endianness | "little" |
|---|
| fields | | name | "filepos" |
|---|
| type | "int32" |
|---|
| offset | 0 |
|---|
|
| name | "disksize" |
|---|
| type | "int32" |
|---|
| offset | 4 |
|---|
|
| name | "size" |
|---|
| type | "int32" |
|---|
| offset | 8 |
|---|
|
| name | "type" |
|---|
| type | "int8" |
|---|
| offset | 12 |
|---|
|
| name | "compression" |
|---|
| type | "int8" |
|---|
| offset | 13 |
|---|
|
| name | "pad" |
|---|
| type | "uint8[2]" |
|---|
| offset | 14 |
|---|
|
| name | "name" |
|---|
| type | "char[16]" |
|---|
| offset | 16 |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "wadinfo_t, lumpinfo_t, CMP_* and TYP_* constants." |
|---|
| repo | "https://github.com/ValveSoftware/halflife" |
|---|
| commit | "b1b5cf5892918535619b2937bb927e46cb097ba1" |
|---|
| path | "utils/common/wadlib.h" |
|---|
| lines | "17-41" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "lumpinfo_t" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T23:26:20.480Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T17:06:09.864Z" |
|---|
| result | "confirmed" |
|---|
| method | "Downloaded utils/common/wadlib.h at the cited commit and read lumpinfo_t and wadinfo_t: int filepos, disksize, size, char type, compression, pad1, pad2, char name[16] = 32 bytes, header 12 bytes; ints are x86 little-endian (identification may be 2DAW in a byte-swapped file)." |
|---|
|
|
|---|