No description
  • Rust 97%
  • Nix 3%
Find a file
2025-06-21 00:07:46 +02:00
.forgejo/workflows init 2025-06-20 19:48:38 +02:00
src add --dont-fetch 2025-06-21 00:07:46 +02:00
.envrc init 2025-06-20 19:48:38 +02:00
.gitignore init 2025-06-20 19:48:38 +02:00
Cargo.lock initial version 2025-06-20 23:55:45 +02:00
Cargo.toml initial version 2025-06-20 23:55:45 +02:00
flake.lock init 2025-06-20 19:48:38 +02:00
flake.nix init 2025-06-20 19:48:38 +02:00
README.md add --dont-fetch 2025-06-21 00:07:46 +02:00

depot-prefetch

Retrieve the latest version of a games depots from steam and prefetch it's hashes.

Usage

cargo r -- <app id> --depot <depot id>

--depot can be specified multiple times, or left out to fetch all available depots.

You can find depot id's for an app on steamdb.

If you only care about knowing the latest manifest, you can pass --dont-fetch to disable pre-fetching the manifest's data.

Output

[
  {
    "app_id": <app id>,
    "depot_id": <depot id>,
    "manifest": <latest manifest id for the depot>,
    "hash": <nix hash of the manifest>
  },
  ...
]

This data can then be passed to steam-fetcher to use the depot in your derivation.