From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:VTF (Valve Texture Format)" |
|---|
| claim | "A VTF file starts with the bytes 56 54 46 00 ("VTF\0"), followed by two int32 version numbers (major 7) and the header size." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:VTF (Valve Texture Format)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "56 54 46 00" |
|---|
| offset | 0 |
|---|
| meaning | "VTF texture; next int32 pair is version major.minor (7.x), then headerSize" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "VTFFileBaseHeader_t: char fileTypeString[4]; int version[2]; int headerSize; VTF_MAJOR_VERSION 7, VTF_MINOR_VERSION 4." |
|---|
| repo | "https://github.com/ValveSoftware/source-sdk-2013" |
|---|
| commit | "be57e3d01ac7d7aa6a2cacbfef187c0b46616db0" |
|---|
| path | "src/public/vtf/vtf.h" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "VTF signature" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T06:10:44.362Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T12:42:13.143Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read vtf.h 442-443 and 461-463 at be57e3d: VTF_MAJOR_VERSION 7, VTF_MINOR_VERSION 4, VTFFileBaseHeader_t { char fileTypeString[4] // "VTF"; int version[2]; int headerSize }. The trailing NUL is implied by char[4], no reader code with a compare is in the SDK headers, so kept at medium. The evidence has no line range." |
|---|
|
|
|---|