Skip to main content

RLViser - Rocket League replay visualizer

Project description

PyViser

forthebadge

A pip-installable version of VirxEC/rlviser with minor modifications to facilitate the build process.

Purpose

The goal of this repository is to provide pre-built pip-installable wheels to PyPI for easy installation of RLViser. For the original code or most up-to-date developments, please see VirxEC's repository.

Installation

pip install pyviser

About RLViser

RLViser is a lightweight visualizer for rocketsim-rs binds that listens for UDP packets.

Any language can communicate with the visualizer by sending UDP packets in the correct format, but rocketsim-rs has a GameState.to_bytes() function that does this automatically.

image

Usage

To see an example of how to communicate with the visualizer, see the example in the rocketsim-rs repository.

You can also choose to use the integrated support in RLGym 2.0 and RLGym-PPO or use the RLViser-Py library to interface directly from Python via RocketSim classes.

Controls

NOTICE: These controls WON'T WORK until you've toggled the menu off. The menu is open by default upon launch.

Key Action
Esc Toggle menu
1 - 8 Change car camera focus
9 Director camera
0 Free camera
W Move forward
A Move left
S Move backward
D Move right
Space Move up
Left Ctrl Move down
Left Shift Slow
R State set ball towards goal
P Toggle pause/play
+ Increase game speed +0.5x
- Decrease game speed -0.5x
= Set game speed to 1x
Left click1 Drag cars and ball

1 - Requires the menu toggled ON to free the cursor, you can drag cars and the ball to move them in the world. Requires the agent on the other side to support state setting.

Modes

Currently, both standard soccer and hoops are supported.

image

Credits

All credit for the original RLViser goes to VirxEC. This repository simply provides pip-installable builds of their excellent work.

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

pyviser-0.10.4.tar.gz (5.2 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyviser-0.10.4-py3-none-win_amd64.whl (31.1 MB view details)

Uploaded Python 3Windows x86-64

pyviser-0.10.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (32.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

pyviser-0.10.4-py3-none-macosx_11_0_arm64.whl (28.6 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file pyviser-0.10.4.tar.gz.

File metadata

  • Download URL: pyviser-0.10.4.tar.gz
  • Upload date:
  • Size: 5.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyviser-0.10.4.tar.gz
Algorithm Hash digest
SHA256 cb08ade707c26ac90f1c87ea22725897320a62138f4eea8b75776164d1d2ecf1
MD5 7fa836baae49a8dfa90af3791b86f822
BLAKE2b-256 ebf8c813a73ee729fc1f22c4d7013a9112a6470ca14877d1b2881e85850db211

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyviser-0.10.4.tar.gz:

Publisher: wheels.yml on 2ToTheNthPower/rlviser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyviser-0.10.4-py3-none-win_amd64.whl.

File metadata

  • Download URL: pyviser-0.10.4-py3-none-win_amd64.whl
  • Upload date:
  • Size: 31.1 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyviser-0.10.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 18b5c9aa0d325e3a14ae09f4fc50d1b89adb34889c1faf5388d9b350d7725b1c
MD5 9ab2158499056c38ee73567de18cc905
BLAKE2b-256 378fa035d258a0f9385f4628f3e7e94c048e8b29a54c9d234dfac7bcd1244ce1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyviser-0.10.4-py3-none-win_amd64.whl:

Publisher: wheels.yml on 2ToTheNthPower/rlviser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyviser-0.10.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyviser-0.10.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7a5251f0b01de0d7a683533fcb28d4a27934f47824c62cefb209a1c13149dbf3
MD5 aa5a4441572c35c36af9aebe5a0ff93a
BLAKE2b-256 d6e211483c01bb345c3650b7d02ac3429ebec3876d4bb807e54f13eab09212f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyviser-0.10.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: wheels.yml on 2ToTheNthPower/rlviser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyviser-0.10.4-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyviser-0.10.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 df6662d6553e642ffcf828938e336aff2c1e10ee276cacfae8c2c882400645c5
MD5 bbaea7e45abd1e184ab67c95be5e10e3
BLAKE2b-256 737f4d3b42812bebbee1fc4b8259c33a77e2895d2fd562cc9c250043687e992b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyviser-0.10.4-py3-none-macosx_11_0_arm64.whl:

Publisher: wheels.yml on 2ToTheNthPower/rlviser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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