GitXplorerGitXplorer
S

SteamAppInfo

public
85 stars
8 forks
0 issues

Commits

List of commits on branch master.
Unverified
d0ed9c5542f1ccdad8efcf456dd7f6665dbaca40

Update vkv

xxPaw committed 6 months ago
Unverified
56b1fec7f5ce6be961c3e44cf9baf117e363ad91

Add appinfo v29

xxPaw committed 7 months ago
Unverified
a8069e87524ab7d43872a992c3a5daa34a94c5e9

Update package

xxPaw committed 7 months ago
Verified
b89ad7bf13c0d9cb85a2d0435dcbd4bb333145ad

Find steam on macos

xxPaw committed 8 months ago
Unverified
b1715faba87fbbc8cb56e8fe30c92ae6ed499aab

Implement new appinfo.vdf version

xxPaw committed 2 years ago
Unverified
7e7c0a1a8e3f17771825d0cfb63839d098875dce

Target net7, update packages

xxPaw committed 2 years ago

README

The README file for this repository.

This is a simple program that finds the Steam installation on disk, reads appinfo.vdf and packageinfo.vdf files and dumps appid/subid and their tokens.

This is mostly intended as an example on how to read these files.

appinfo.vdf

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]

appinfo.vdf (before june 2024)

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

appinfo.vdf (before december 2022)

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

packageinfo.vdf

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

packageinfo.vdf (before april 2020)

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