A high-performance, safe Rocket League replay parser library written in Rust.
Boxcars is a Rocket League replay parser library written in Rust that extracts structured data from replay files. It solves the problem of programmatically accessing and analyzing Rocket League gameplay data, such as player stats, goals, and match events, for use in tools, websites, or data analysis pipelines.
Developers building tools for Rocket League data analysis, such as stat trackers, replay viewers, or community websites like calculated.gg, who need a reliable and fast parsing library.
Developers choose Boxcars for its combination of safety (no unsafe Rust), high performance (hundreds of replays per second), and flexibility (configurable parsing levels), along with robust fuzzing and seamless serde integration for easy data serialization.
Rocket League Replay parser in Rust
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Parses over a hundred replays per second per CPU core, with header-only parsing offering 1000x speedups for rapid data aggregation, as benchmarked in the README.
Written in stable Rust with no unsafe code and extensively fuzzed against malicious input, ensuring reliable parsing even with corrupted files.
Allows skipping network data or corruption checks via ParserBuilder, enabling use cases from fast header extraction to full replay analysis, as detailed in the Variations section.
Cannot write parsed data back to replay format, limiting applications that need to modify and save replays, unlike alternatives like rattletrap that offer lossless roundtripping.
Provides low-level access where properties like object names must be manually derived from IDs, adding complexity for developers seeking ready-to-use data, as explained in the comparison with rattletrap.
Network data parsing can break with new Rocket League patches, requiring configuration to ignore errors for continued header parsing, which may limit real-time analysis of latest replays.