From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:BSP (Source)" |
|---|
| claim | "The game lump (lump 35) starts with int lumpCount followed by lumpCount dgamelump_t entries {int id (four-CC), u16 flags, u16 version, int fileofs, int filelen}, 16 bytes each; flag 0x1 GAMELUMPFLAG_COMPRESSED means filelen is the original size and the on-disk size is the next entry's fileofs minus this one." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:BSP (Source)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "dgamelump_t" |
|---|
| size | 16 |
|---|
| endianness | "little" |
|---|
| fields | | name | "id" |
|---|
| type | "int32" |
|---|
| offset | 0 |
|---|
|
| name | "flags" |
|---|
| type | "uint16" |
|---|
| offset | 4 |
|---|
|
| name | "version" |
|---|
| type | "uint16" |
|---|
| offset | 6 |
|---|
|
| name | "fileofs" |
|---|
| type | "int32" |
|---|
| offset | 8 |
|---|
|
| name | "filelen" |
|---|
| type | "int32" |
|---|
| offset | 12 |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "dgamelumpheader_t, GAMELUMPFLAG_COMPRESSED and dgamelump_t with the comment on compressed sizes." |
|---|
| repo | "https://github.com/ValveSoftware/source-sdk-2013" |
|---|
| commit | "be57e3d01ac7d7aa6a2cacbfef187c0b46616db0" |
|---|
| path | "src/public/bspfile.h" |
|---|
| lines | "413-436" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "dgamelump_t" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T23:26:19.911Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T06:21:08.940Z" |
|---|
| result | "confirmed" |
|---|
| method | "Fetched src/public/bspfile.h at the cited commit; dgamelumpheader_t {int lumpCount}, dgamelump_t {int id; ushort flags; ushort version; int fileofs; int filelen} = 16 bytes, GAMELUMPFLAG_COMPRESSED 0x0001 with the next-entry-offset comment." |
|---|
|
|
|---|