Carball
Rocket League replay analysis tool.
Features
- Highly performant
- Well-typed
Procedure
Part 1: Raw data extraction
- Binary replay file is parsed with
boxcars
, yielding well-typed objects to be processed. - Network data is parsed to extract useful information (e.g. ball, car, and boost etc.)
- This data is processed to fix unexpected aspects from parsing the raw replay data. (Such as boost amounts not decreasing, and boost pickups not being accurate).
Stat generation
TODO
- Stats
- Hit
- Shot detection
- Passes, dribbles, goals, etc.
- Possession
- Time-based
Distance-based
- Hit
Development notes
It tends to be faster to compile for release and parse as opposed to compiling for debug and parsing (as the duration increase for parsing in debug is more than the decrease in compile time).
cargo run --release -- -i "assets\replays\ranked-3s.replay" -o "outputs" csv
To read logs when running tests:
cargo test -- --nocapture