- Replay and analyze Rocket League Boxcars replays (you can use rrrocket or boxcars-py to parse a
.replay
-file into a useable.json
-file) - Extract general info
- game playlist (
casual_duel
,ranked_double
, ...) - date and time
- replay-name and unique replay-id
- map-name
- game playlist (
- Extract info about players
- name, scores, goals, saves, assists, shots
- platform (
Steam
,PlayStation
,PsyNet
, andXbox
) and unique platform_id - MMR, if available (using BakkesMod)
- title
- ping (including min, max, and average)
- Extract info about goals
- when, where, who
- ball speed (in km/h)
- Extract some debug stuff like
- complete history of player and ball positions
- complete history of some more abstract values (see
stats['debug']
)
- And more. Feel free to explore it!
Run the following to install:
pip install rockalyzer
Make sure you parsed the replay to a json file first using one of the tools mentioned above.
from rockalyzer import Replayer
# load replay as JSON file and set render mode
replayer = Replayer('path/to/replay.json', render=True)
# print header infos
replayer.print_header_info()
# replay file
stats = replayer.replay()
If you set render=True
when creating the Replayer
-object, you get a simple (almost real-time) render of the game using matplotlib
python ./setup.py bdist_wheel sdist
python -m twine upload dist/*