- Install python 3.8 or later and Visual Studio (2019 or 2022) for .NET 4.5
- Run
patch.pywith python - Provide it with your path to your game binaries (GAMEFOLDER/
x64or GAMEFOLDER/x86etc) - 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.dlland place it in theVanillafolder. - 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.dllandMMHOOK_Engine.dllfiles into the game - Enjoy!
- Create a class library (.net framework) using visual studio 2022 and select .net framework 4.5
- Add
Engine.dllandMMHOOK_Engine.dllto the references - For your base class, extend Mod
- Have fun!
- In the game's
Contentfolder, create a folder calledEngineMods. - Place the mod's dll inside
- Enjoy whatever the mod does