mirror of
https://codeberg.org/spire/depot-prefetch.git
synced 2026-06-03 10:04:09 +02:00
No description
- Rust 97%
- Nix 3%
| .forgejo/workflows | ||
| src | ||
| .envrc | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
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.
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.