DnSpy¶
A tool we use to look at the games assmebly is dnSpy. This tool can be used to inspect the source of the game, and while it can be used it edit the assembly this will make your mod incompatible with other mods and require distribution of the entire assembly-csharp.dll
so instead this tool should only be used to find out how the game works internally.
How to Use¶
- Download the zip from the github release page.
- Extract it somewhere
- Run dnSpy.exe
- On the left of the window there will be a
Assembly Explorer
, drag the gamesassembly-csharp.dll
into theAssembly Explorer
- Click on the arrows to the left of items in the
assembly-csharp.dll
to expand them - Inside
Assembly-CSharp (0.0.0.0)
there isAssembly-CSharp.dll
and inside that there is{} -
and this is where a majority of the games code is.