Skip to main content

A python API with zero dependencies to create fully customizable environments for Reinforcement Learning projects.

Project description

The Rocket League Gym

This is a python API that can be used to treat the game Rocket League as though it were an OpenAI Gym-style environment for Reinforcement Learning projects. This API must be used with the accompanying Bakkesmod plugin.

Requirements

  • A Windows 10 PC
  • Rocket League (Both Steam and Epic are supported)
  • Bakkesmod
  • The RLGym plugin for Bakkesmod (It's installed automatically by pip)
  • Python between versions 3.7 and 3.9 (3.10 not supported).

Installation

Install the library via pip:

pip install rlgym[all]  // Installs every rlgym component

pip install rlgym  // Installs only the api

pip install rlgym[rl]  // Installs all rocket league packages

pip install rlgym[rl-sim]  // Installs only RocketSim rocket league packages

If you installed the Rocket League game distribution

Once the API is installed, you will need to enable the RLGym plugin from inside the Bakkesmod plugin manager. To do this, first launch the game, then press F2 to open the Bakkesmod menu. Navigate to the plugins tab and open the Plugin Manager. From there, scroll down until you find the RLGym plugin, and enable it. Close the game when this is done.

Testing everything works

RLGym is now installed! simply run example.py from our repo to ensure everything works.

Dependency Management

Don't specify this package as a dependency, this is an instalation only package.

You should depend directly on the package you're consuming and its corresponding extras, be it rlgym-rocket-league[sim], rlgym-api or any other in particular.

Usage

For tutorials and documentation, please visit our Wiki.

We also provide the base RLGym API in its own standalone package with no dependencies.

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

rlgym-2.0.0a3.tar.gz (9.0 kB view details)

Uploaded Source

File details

Details for the file rlgym-2.0.0a3.tar.gz.

File metadata

  • Download URL: rlgym-2.0.0a3.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.8

File hashes

Hashes for rlgym-2.0.0a3.tar.gz
Algorithm Hash digest
SHA256 4d77b3e493bed64234184092b5dcc9f6b75e845ed046ffcdc879c72a6e57b3c4
MD5 7d7d3bfcdf6005eb04ee7ed39e7025f7
BLAKE2b-256 11487f308d62593dab0306301498c2ffadea32e3bb1cc865f12d381b59d4b273

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page