SteamTracking/GameTracking
Tentang
🛢 Dumping things, so you don't have to
Keamanan dan privasiPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- +3
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliGame tracking tools
Shared tools and scripts for the game tracker repositories. Game updates run in GitHub Actions through the reusable workflow, on Linux or Windows runners.
How it works
Each game has its own repository, such as GameTracking-Dota2 or GameTracking-CS2, with:
.github/workflows/update.yml, which calls the reusable workflowfiles.json, which maps depot ids to the files to download from themupdate.sh, which processes the downloaded files
On a game update, the reusable workflow:
- Checks out this repository and the game repository.
- Downloads the pre-built tools.
- Downloads the files in
files.jsonwith SteamFileDownloader. For VPK entries (<path>_dir.vpk:<entry>), it downloads only the chunks that hold them. - Runs
update.sh, which commits and pushes the result. - Starts a sync of Protobufs, if the workflow runs on the default branch.
- Pushes schemas to SchemaExplorer and notifies Source2Wiki, if the game enables them and the commit is new.
Workflow inputs
appid: the Steam app to track. Required.branch: the Steam branch,publicby default.run-on-windows: run on a Windows runner instead of Linux.save-manifest: save the depot manifests inmanifests/, on by default.reset-gametracking: delete every folder of the game repository except.git,.githubandnode_modulesbefore downloading.dumpsource2-schema-json: the folder name for DumpSource2 schemas in SchemaExplorer. Empty skips the push.dispatch-source2wiki: notify Source2Wiki of the update.
Secrets
Game repositories pass their secrets with secrets: inherit.
STEAM_USERNAMEandSTEAM_PASSWORD: the Steam login. Required.STEAMTRACKING_APP_CLIENT_IDandSTEAMTRACKING_APP_PRIVATE_KEY: the GitHub App that pushes to SchemaExplorer and starts the Protobufs sync.DISPATCH_TOKEN_SOURCE2WIKI: the token that notifies Source2Wiki.
Adding a game
- Create a
GameTracking-<Game>repository withupdate.yml,files.jsonandupdate.sh, copied from a game like it. - Add the app to the SteamUpdateDispatcher config.
- If the game has protobufs, add its repository to
update.shin Protobufs.
Tools
tools/build.sh builds the tools from the submodules, and needs .NET, Go and CMake. Every push to this repository builds the tools and uploads them to GitHub Releases, where game repositories download them.
Submodules do not update themselves. To pick up changes to a submodule tool, run this and push the result:
git submodule update --remote
Scripts
common.sh: functions for dumping protobufs, processing VPKs, fixing encodings and creating commits..github/actions/commit-summary: posts a summary of each new game commit as a commit comment. It runs only when theCLAUDE_CODE_OAUTH_TOKENorANTHROPIC_FEDERATION_RULE_IDsecret is set.
Re-running an update
Run a game repository's update workflow by workflow dispatch, for example after fixing a tool. The reusable workflow does not run in this repository.
Jelajahi proyek terkait
Memuat…