Mod articles
-
Tools Setup
C# Decompiler
You have a few options:
dnSpy: https://github.com/0xd4d/dnSpy
ILSpy: https://github.com/icsharpcode/ILSpy
dotPeek: https://www.jetbrains.com/decompiler
Each have their advantages and disadvantages. I find dnSpy the easiest to use, but occasionally use ILSpy for transpiler patches.
Whichever you use, Navigate to the Rogue Legacy 2_Data/Managed folder and open up Assembly-CSharp.dll in it. This is the dll that contains all the code for the game. Later we'll talk about patching methods with Harmony; for now, just know that this is how you figure out which methods to patch.
Unity Asset Explorer
(This is optional.)
There are a few asset explorers out there, ...