From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:HL2DEMO (Source demo)" |
|---|
| claim | "Source demos start with the 8-byte demofilestamp HL2DEMO (NUL padded), followed by int demoprotocol (DEMO_PROTOCOL 3) and int networkprotocol." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:HL2DEMO (Source demo)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "48 4C 32 44 45 4D 4F 00" |
|---|
| offset | 0 |
|---|
| meaning | "demofilestamp HL2DEMO" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "DEMO_HEADER_ID, DEMO_PROTOCOL and demoheader_t." |
|---|
| repo | "https://github.com/ValveSoftware/source-sdk-2013" |
|---|
| commit | "be57e3d01ac7d7aa6a2cacbfef187c0b46616db0" |
|---|
| path | "src/public/demofile/demoformat.h" |
|---|
| lines | "17-18, 48-52" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "HL2DEMO magic" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T23:26:20.662Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T13:17:57.527Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read demoformat.h at be57e3d (source-sdk-2013): DEMO_HEADER_ID "HL2DEMO", DEMO_PROTOCOL 3, demoheader_t starts char[8] stamp, int demoprotocol, int networkprotocol. Scope note: this is that SDK's constant; later Source branches use a different DEMO_PROTOCOL, not checked here." |
|---|
|
|
|---|