-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5b275f2
commit f1c0513
Showing
1 changed file
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,32 @@ | ||
# RL2.API | ||
# RL2.API | ||
[](https://github.com/RL2-API/RL2.API/releases/latest) | ||
 | ||
[](https://rl2-modloader.onrender.com/mods/RL2.API) | ||
 | ||
|
||
|
||
RL2.API is a modding API for [Rogue Legacy 2](https://roguelegacy2.com). It requires [RL2.ModLoader](https://github.com/RL2-API/RL2.ModLoader) to function. | ||
|
||
|
||
## Installation | ||
1. Follow the installation guide for [RL2.ModLoader](https://github.com/RL2-API/RL2.ModLoader) | ||
2. Download the [latest release of RL2.API](https://github.com/RL2-API/RL2.API/releases/latest) | ||
3. Unpack the `.zip` into the `GameInstallation\Rogue Legacy 2_Data\Mods` directory | ||
4. Run the game once to let the mod loader recognise the mod | ||
|
||
## Build from source | ||
1. Run `git clone https://github.com/RL2-API/RL2.API --recurse-submodules` | ||
2. Go to `RL2.ModLoader.DevSetup` and run the provided `.exe` | ||
3. Choose your games installation directory | ||
4. Open the solution and build it OR run `dotnet build -c Release` | ||
5. Go to the output directory and copy the `RL2.API` directory from there into `GameInstallation\Rogue Legacy 2_Data\Mods` | ||
6. Run the game once to let the mod loader recognise the mod | ||
|
||
## Using RL2.API as a dependency | ||
1. Obtain `RL2.API.dll` and `RL2.API.xml` by following either the "Installation" or "Build from source" section. | ||
2. Add it as a reference in your `.csproj` like this: | ||
```xml | ||
<PropertyGroup> | ||
<Reference Include="YourPath\To\RL2.API.dll" /> | ||
<PropertyGroup> | ||
``` |