SteamAppInfo
1.0.0
Il s'agit d'un programme simple qui trouve l'installation de Steam sur le disque, lit les fichiers appinfo.vdf
et packageinfo.vdf
et vide l'appid/subid et leurs jetons.
Ceci est principalement destiné à servir d’exemple sur la façon de lire ces fichiers.
uint32 - MAGIC: 29 44 56 07
uint32 - UNIVERSE: 1
int64 - Offset to string table from start of the file
---- repeated app sections ----
uint32 - AppID
uint32 - size // until end of binary_vdf
uint32 - infoState // mostly 2, sometimes 1 (may indicate prerelease or no info)
uint32 - lastUpdated
uint64 - picsToken
20bytes - SHA1 // of text appinfo vdf, as seen in CMsgClientPICSProductInfoResponse.AppInfo.sha
uint32 - changeNumber
20bytes - SHA1 // of binary_vdf
variable - binary_vdf
---- end of section ----
uint32 - EOF: 0
---- offset to the string table ----
uint32 - Count of strings
null-term strings[count]
uint32 - MAGIC: 28 44 56 07
uint32 - UNIVERSE: 1
---- repeated app sections ----
uint32 - AppID
uint32 - size // until end of binary_vdf
uint32 - infoState // mostly 2, sometimes 1 (may indicate prerelease or no info)
uint32 - lastUpdated
uint64 - picsToken
20bytes - SHA1 // of text appinfo vdf, as seen in CMsgClientPICSProductInfoResponse.AppInfo.sha
uint32 - changeNumber
20bytes - SHA1 // of binary_vdf, added in December 2022
variable - binary_vdf
---- end of section ---------
uint32 - EOF: 0
uint32 - MAGIC: 27 44 56 07
uint32 - UNIVERSE: 1
---- repeated app sections ----
uint32 - AppID
uint32 - size
uint32 - infoState
uint32 - lastUpdated
uint64 - picsToken
20bytes - SHA1
uint32 - changeNumber
variable - binary_vdf
---- end of section ---------
uint32 - EOF: 0
uint32 - MAGIC: 28 55 56 06
uint32 - UNIVERSE: 1
---- repeated package sections ----
uint32 - PackageID
20bytes - SHA1
uint32 - changeNumber
uint64 - picsToken // added in April 2020
variable - binary_vdf
---- end of section ---------
uint32 - EOF: 0xFFFFFFFF
uint32 - MAGIC: 27 55 56 06
uint32 - UNIVERSE: 1
---- repeated package sections ----
uint32 - PackageID
20bytes - SHA1
uint32 - changeNumber
variable - binary_vdf
---- end of section ---------
uint32 - EOF: 0xFFFFFFFF