Installation of RLGym-PPO and rlgym-sim
Step 1: Install RLGym
To install RLGym and ensure it works, follow the instructions in the installation guide.
Step 2: Install RLGym-PPO and rlgym-sim
Follow these steps to install all necessary components.
-
Install the RocketSim package using:
sh pip install rocketsim -
Install the rlgym_sim package using:
sh pip install git+https://github.com/AechPro/rocket-league-gym-sim@main -
Download the asset dumper from here and follow its instructions to create the
collision_meshesfolder (we will move it later). - If you have an NVIDIA graphics card, install CUDA from the CUDA Toolkit Archive.
- Install PyTorch from the official website. If you installed CUDA, choose the CUDA version; otherwise, choose the CPU version.
-
Install RLGym-PPO using:
sh pip install git+https://github.com/AechPro/rlgym-ppo -
Move
collision_meshesto your bot's folder. - Copy
example.pyfrom RLGym-PPO and verify it works. You can find theexample.pyfile here.
Step 3: Visualize Using RocketSimVis
To visualize the simulation, you can use the RocketSimVis tool. Follow the instructions in the RocketSimVis repository to set it up.