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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file rockalyzer-0.1.0.tar.gz.

File metadata

  • Download URL: rockalyzer-0.1.0.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for rockalyzer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1e89700bc19e7c36f077723a8a611ec39e497cceecf2195a2a171c78caf03544
MD5 d5cfb4af333539137ce7001f5e43c828
BLAKE2b-256 0db6b947debf458102f5dac475966d4ea3c64acda324b3f295251fed433b999f

See more details on using hashes here.

File details

Details for the file rockalyzer-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: rockalyzer-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 27.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for rockalyzer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d733270ca2bcab8ccecbbf5029131c2cdcb180b1a2221406dda804c6e0207237
MD5 7fc75de250bcae23d7f3f53e8353539c
BLAKE2b-256 8aaeebb992036b4f32be6ef79368bd38c8e398eb4510843eda7082f51f37c0d6

See more details on using hashes here.

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