squadreplay is a library-first Rust parser and CLI for Squad UE5 replay data.
The library exposes typed bundle APIs for:
- parsing
.replayfiles into aBundle - reading and writing
.sqrj.jsonbundles - reading and writing
.sqrbbundles - deriving compatibility JSON from a parsed bundle
Add as a dependency (without the CLI):
[dependencies]
squadreplay = { version = "0.1.0-alpha.1", default-features = false }use squadreplay::{parse_file, ParseOptions};
fn main() -> Result<(), squadreplay::Error> {
let bundle = parse_file("match.replay", &ParseOptions::default())?;
println!("players: {}", bundle.players.len());
Ok(())
}Install the binary:
cargo install squadreplaysquadreplay parse match.replay --format sqrj,sqrb --output out/match
squadreplay inspect match.replay
squadreplay show out/match.sqrb
squadreplay unpack out/match.sqrb --output out/unpacked| Feature | Default | Description |
|---|---|---|
cli |
yes | Builds the squadreplay binary (pulls in clap) |
Library-only consumers should disable default features to avoid the clap dependency.
Rust 1.85 (edition 2024).