From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:MDL (Source studio model)" |
|---|
| claim | "The Source .vvd vertex file header: id IDSV, version 4, checksum equal to the MDL's, LOD vertex counts for 8 LODs, then fixup and data offsets." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:MDL (Source studio model)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "vertexFileHeader_t" |
|---|
| size_min | 64 |
|---|
| fields | | name | "id" |
|---|
| type | "int32" |
|---|
| offset | 0 |
|---|
|
| name | "version" |
|---|
| type | "int32" |
|---|
| offset | 4 |
|---|
|
| name | "checksum" |
|---|
| type | "int32" |
|---|
| offset | 8 |
|---|
|
| name | "numLODs" |
|---|
| type | "int32" |
|---|
| offset | 12 |
|---|
|
| name | "numLODVertexes[8]" |
|---|
| type | "int32" |
|---|
| offset | 16 |
|---|
|
| name | "numFixups" |
|---|
| type | "int32" |
|---|
| offset | 48 |
|---|
|
| name | "fixupTableStart" |
|---|
| type | "int32" |
|---|
| offset | 52 |
|---|
|
| name | "vertexDataStart" |
|---|
| type | "int32" |
|---|
| offset | 56 |
|---|
|
| name | "tangentDataStart" |
|---|
| type | "int32" |
|---|
| offset | 60 |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "MODEL_VERTEX_FILE_ID, MODEL_VERTEX_FILE_VERSION 4, vertexFileHeader_t, MAX_NUM_LODS 8; offsets computed from field order." |
|---|
| repo | "https://github.com/ValveSoftware/source-sdk-2013" |
|---|
| commit | "be57e3d01ac7d7aa6a2cacbfef187c0b46616db0" |
|---|
| path | "src/public/studio.h" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "VVD header" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T06:10:45.150Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T06:25:40.121Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read src/public/studio.h at be57e3d01ac7 lines 1938-1955: MODEL_VERTEX_FILE_ID ('V'<<24 + 'S'<<16 + 'D'<<8 + 'I') = bytes IDSV, VERSION 4, vertexFileHeader_t {id, version, checksum, numLODs, numLODVertexes[MAX_NUM_LODS=8], numFixups, fixupTableStart, vertexDataStart, tangentDataStart}; offsets 0..60 and size 64 match. vertexFileFixup_t (lod, sourceVertexID, numVertexes: 12 bytes) is not in the fact." |
|---|
|
|
|---|