RL2.API is a modding API for Rogue Legacy 2. It requires RL2.ModLoader to function.
- Follow the installation guide for RL2.ModLoader
- Download the latest release of RL2.API
- Unpack the
.zipinto theGameInstallation\Rogue Legacy 2_Data\Modsdirectory - Run the game once to let the mod loader recognise the mod
- Run
git clone https://github.com/RL2-API/RL2.API --recurse-submodules - Go to
RL2.ModLoader.DevSetupand run the provided.exeand choose your games installation directory- Alterantively, go to the
GameInstallation\Rogue Legacy 2_Data\Manageddirtectory and copy all files into the repositorieslibdirectory
- Alterantively, go to the
- Open the solution and build it OR run
dotnet build -c Release - Go to the output directory and copy the
RL2.APIdirectory from there intoGameInstallation\Rogue Legacy 2_Data\Mods - Run the game once to let the mod loader recognise the mod
- Obtain
RL2.API.dllandRL2.API.xmlby following either the "Installation" or "Build from source" section. - Add it as a reference in your
.csprojlike this:
<PropertyGroup>
<Reference Include="YourPath\To\RL2.API.dll" />
<PropertyGroup>