Retro League GX is a demake of Rocket League for older game consoles.
- Make sure to clone submodules when cloning the repo. This repo depends on the Octave game engine
git clone --recurse-submodules
- Follow the Octave setup instructions to make sure you have all of the libraries and prerequisites installed (https://github.com/mholtkamp/octave)
- Make sure you have compiled shaders for Octave by running Octave/Engine/Shaders/GLSL/compile.bat
- Open the RetroLeague.sln in Visual Studio Community 2022
- Set Rocket as the Startup Project
- Set Rocket's Debug working directory to
$(SolutionDir)Octave
- Set Rocket's Command Arguments to
-project ../Rocket/Rocket.octp
- Launch Rocket in DebugEditor to open the editor
- Package the project for Windows using
File->Package Project->Windows
. This is needed to generate engine asset files before running the game. - Launch Rocket in Debug to run the game
- If you want to package the game for Windows with
File->Package Project
in the Editor, add devenv to the PATH. My devenv for VS 2022 community was located here:C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE
. The resulting "packaged" game will be in the Packaged folder in the reposity root.
- Make sure to clone submodules when cloning the repo. This repo depends on the Octave game engine
git clone --recurse-submodules
- Follow the Octave setup instructions to make sure you have all of the libraries and prerequisites installed (https://github.com/mholtkamp/octave)
- Make sure you have compiled shaders for Octave by running Octave/Engine/Shaders/GLSL/compile.sh
- Go into the Rocket directory and run
make -f Makefile_Linux_Editor
to compile the editor - Run
make -f Makefile_Linux_Game
to compile the game - Go into the Octave directory and run
../Rocket/Build/Linux/RocketEditor.out -project ../Rocket/Rocket.octp
to run the editor and automatically load the RetroLeague project (codename Rocket) - Package the project for Linux using
File->Package Project->Linux
. This is needed to generate engine asset files before running the game. - Run
../Rocket/Build/Linux/Rocket.out -project ../Rocket/Rocket.octp
to run the game - You can package the project in the Editor by selecting
File->Package Project->Linux
and this will create a "Packaged" in the root directory that is easier to distribute.
Alternatively to compiling and executing manually, you can instead open the root folder in Visual Studio Code and you should be able to run the Rocket Editor
and Rocket Game
tasks to compile and launch the game with the correct working directory and project commandline arg.