An open API service indexing awesome lists of open source software.

https://github.com/bepinex/bepinex.monomod.loader

Runtime MonoMod loader for BepInEx
https://github.com/bepinex/bepinex.monomod.loader

Last synced: about 1 year ago
JSON representation

Runtime MonoMod loader for BepInEx

Awesome Lists containing this project

README

          

# BepInEx.MonoMod.Loader

This is loader for [MonoMod.MonoModPatches](https://github.com/MonoMod/MonoMod/blob/master/README.md#using-monomod)
suited for use in BepInEx.

Main features

* **No permanent patching** -- all patches are applied at runtime without permanent changes to DLLs
* **Easy install and uninstall** -- simply add/remove patch DLLs to install/uninstall patches

## Installation

0. [Download and install](https://bepinex.github.io/bepinex_docs/master/articles/user_guide/installation/index.html) BepInEx 5.0 or newer
1. Download the latest version from [releases](https://github.com/BepInEx/BepInEx.MonoMod.Loader/releases)
2. Extract the contents of the archive into the game folder (the folder that contains `BepInEx` folder)
3. Install MonoMod patches into `BepInEx/monomod` folder

## Notes about writing MonoMod patches

* [Write MonoMod patches normally](https://github.com/MonoMod/MonoMod/blob/master/README.md#using-monomod)
* **Name your patch DLL as follows:** `..mm.dll` where
* `` is the *name of the assembly you want to patch*
* `` is the *name of your mod*
* **NOTE:** Because of the naming convention, you can also *patch a single assembly per DLL*. If you need to patch multiple assemblies, write multiple DLLs.