- Install python 3.8 or later and Visual Studio (2019 or 2022) for .NET 4.5
- Run
patch.py
with python - Provide it with your path to your game binaries (GAMEFOLDER/
x64
or GAMEFOLDER/x86
etc) - Enjoy!
- create a folder called
Vanilla
- drop your game binaries (
*.dll
,*.exe
) in there (GAMEFOLDER/x64
). x86 may very well work too but isn't tested yet - If the game is Transistor, it doesn't bundle a file that is required to build, because GamepadBridge.dll lists it as a dependency. Download that from here rename it to
Tao.sdl.dll
and place it in theVanilla
folder. - open the project and build it
- open a command prompt in the folder containing the results
- run
MonoMod.exe Engine.dll
- remove any instances of
MONOMODDED_
from the names of the files it produced - run
MonoMod.RuntimeDetour.HookGen.exe --private Engine.dll
- backup your Engine.dll from the game (rename to Engine.dll.bak or Vanilla_Engine.dll etc.)
- copy the
Engine.dll
andMMHOOK_Engine.dll
files into the game - Enjoy!
- Create a class library (.net framework) using visual studio 2022 and select .net framework 4.5
- Add
Engine.dll
andMMHOOK_Engine.dll
to the references - For your base class, extend Mod
- Have fun!
- In the game's
Content
folder, create a folder calledEngineMods
. - Place the mod's dll inside
- Enjoy whatever the mod does