SteamAppInfo
1.0.0
这是一个简单的程序,可以在磁盘上查找 Steam 安装,读取appinfo.vdf
和packageinfo.vdf
文件并转储 appid/subid 及其令牌。
这主要是作为如何读取这些文件的示例。
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