Skip to main content

Rocket League Boxcars-Replay Analyzer

Project description

Rocket League Boxcars-Replay Analyzer

Version Downloads

Features

  • 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
  • Extract info about players
    • name, scores, goals, saves, assists, shots
    • platform (Steam, PlayStation, PsyNet, and Xbox) 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!

Installation

Run the following to install:

pip install rockalyzer

Usage

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()

Simple render

If you set render=True when creating the Replayer-object, you get a simple (almost real-time) render of the game using matplotlib Screenshot of render

Build and upload package to PyPi

python ./setup bdist_wheel sdist
python -m twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rockalyzer-0.1.0.tar.gz (22.6 kB view hashes)

Uploaded Source

Built Distribution

rockalyzer-0.1.0-py3-none-any.whl (27.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page