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
.zip
into theGameInstallation\Rogue Legacy 2_Data\Mods
directory - 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.DevSetup
and run the provided.exe
- Choose your games installation directory
- Open the solution and build it OR run
dotnet build -c Release
- Go to the output directory and copy the
RL2.API
directory from there intoGameInstallation\Rogue Legacy 2_Data\Mods
- Run the game once to let the mod loader recognise the mod
- Obtain
RL2.API.dll
andRL2.API.xml
by following either the "Installation" or "Build from source" section. - Add it as a reference in your
.csproj
like this:
<PropertyGroup>
<Reference Include="YourPath\To\RL2.API.dll" />
<PropertyGroup>