From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:Steam appinfo and packageinfo" |
|---|
| claim | "appinfo.vdf app record header: u32 appid, u32 size, u32 infoState, u32 lastUpdated, u64 token, 20-byte hash, u32 changeNumber, (v40+) 20-byte binary data hash, then binary KeyValues; v41 adds a string table whose i64 offset follows the universe." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Steam appinfo.vdf v39-41" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "appinfo app record" |
|---|
| fields | | name | "appid" |
|---|
| type | "u32" |
|---|
| offset | 0 |
|---|
| notes | "0 ends the list" |
|---|
|
| name | "size" |
|---|
| type | "u32" |
|---|
| offset | 4 |
|---|
| notes | "bytes after this field up to the end of the KeyValues data" |
|---|
|
| name | "infoState" |
|---|
| type | "u32" |
|---|
| offset | 8 |
|---|
|
| name | "lastUpdated" |
|---|
| type | "u32" |
|---|
| offset | 12 |
|---|
| notes | "Unix time" |
|---|
|
| name | "token" |
|---|
| type | "u64" |
|---|
| offset | 16 |
|---|
|
| name | "hash" |
|---|
| type | "u8[20]" |
|---|
| offset | 24 |
|---|
|
| name | "changeNumber" |
|---|
| type | "u32" |
|---|
| offset | 44 |
|---|
|
| name | "binaryDataHash" |
|---|
| type | "u8[20]" |
|---|
| offset | 48 |
|---|
| condition | "file version >= 40" |
|---|
|
|
|---|
| size_min | 48 |
|---|
| notes | "Binary KeyValues follow (offset 48 up to v39, 68 from v40); in v41 key strings come from a string table whose i64 offset sits right after the universe field in the file header." |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "read order" |
|---|
| repo | "https://github.com/SteamDatabase/SteamAppInfo" |
|---|
| commit | "32a4912a9b49679cfc6a7c6f7988b39ba86b267a" |
|---|
| path | "SteamAppInfoParser/AppInfo.cs" |
|---|
| lines | "49-100" |
|---|
|
| type | "source" |
|---|
| detail | "Read the parse loop in AppInfo.cs 40-100: appid, size (end = position + size), InfoState, LastUpdated, Token u64, Hash 20 bytes, ChangeNumber, BinaryDataHash 20 bytes only if version >= 40, then the KeyValues deserialize and a check that the position equals end; versions 39-41 accepted, string table offset i64 read for version >= 41." |
|---|
| repo | "https://github.com/SteamDatabase/SteamAppInfo" |
|---|
| commit | "32a4912a9b49679cfc6a7c6f7988b39ba86b267a" |
|---|
| path | "SteamAppInfoParser/AppInfo.cs" |
|---|
| lines | "40-100" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "appinfo app record" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T21:44:23.599Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T07:40:19.238Z" |
|---|
| summary | "The data record listed no field after changeNumber although the claim has the v40+ binary data hash; added it with its condition and the meaning of size (bytes after the size field up to the end of…" |
|---|
| changed | |
|---|
|
|
|---|