Development setup
What to install for each part of the repo.
2 min read
Install only what the part you work on needs. Every command is a
just recipe, so install just first; run just to list them.
Needs: rustup (the pinned toolchain installs itself).
just ci # formatting, strict clippy, tests, scenario validation, docs checksTo watch traces in 3D, build RLViser once with just rlviser.
Collision meshes#
The arena's collision meshes are Rocket League's own data, so they're never committed. Arena (Soccar) scenarios, training and the GPU simulator need them. Dump them from your own install:
- 1
Launch the game without anti-cheat (see Running the real-game harness) and enter Free Play.
- 2
Run
RLArenaCollisionDumper(checkout in.external/RLArenaCollisionDumper/). - 3
It writes
./collision-meshes/. Move the Soccar files intocollision_meshes/soccar/at the repo root (note the underscore), or pass--meshes <dir>to every command. - 4
Check with
just run scenarios/ball/ball-drop-center-500.json. It verifies all 16 mesh hashes and fails clearly if one is wrong.
The scenarios in scenarios/void/ use an empty arena and need no meshes.
Real game (Windows only)#
Needs: Rocket League from the Epic Games Launcher, BakkesMod, and Visual Studio 2022 with the C++ workload. Build and install steps are on the BakkesMod plugin page.
Needs: the simulation setup with the collision meshes, uv, and an NVIDIA GPU with a recent driver (PyTorch is installed for CUDA 13.0).
just py-sync # .venv with PyTorch and the Rust env extension
just py-testRun just py-sync again after changing Rust code in crates/rlenv, crates/sim-runner,
crates/scenario-schema or vendor/rocketsim, so the extension is rebuilt.
Needs: Bun.
just web-dev # http://localhost:4321 (Command Center: /command-center/)
just ts-check # content, formatting, lint, types, testsMore in Contributing to the docs.
Needs: rustup (to build the RocketSim reference once), the collision meshes, uv and an NVIDIA GPU. No CUDA toolkit: Warp bundles its own compiler.
just gpu-sync # gpu-sim/.venv (its own uv project)
just gpu-cache # reference data from RocketSim
just gpu-testMore in Using gpu-sim.