bbepis-BepInExPack icon

BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Last updated 3 months ago
Total downloads 5075405
Total rating 400 
Categories Mods Libraries
Dependency string bbepis-BepInExPack-5.4.2117
Dependants 5277 other packages depend on this package

This mod requires the following mods to function

RiskofThunder-RoR2BepInExPack-1.9.0 icon
RiskofThunder-RoR2BepInExPack

Simplify the modding ecosystem of Risk of Rain 2, making it easier for modders to create and maintain their mods while preventing harmful bugs.

Preferred version: 1.9.0
RiskofThunder-FixPluginTypesSerialization-1.0.3 icon
RiskofThunder-FixPluginTypesSerialization

Fix custom Serializable structs and such not properly getting deserialized by Unity.

Preferred version: 1.0.3
RiskofThunder-BepInEx_GUI-3.0.1 icon
RiskofThunder-BepInEx_GUI

Graphical User Interface meant to replace the regular console host that is used by BepInEx when the config setting is enabled.

Preferred version: 3.0.1

README

BepInEx Framework

This is the pack of all the things you need to both start using mods, and start making mods using the BepInEx framework.

To install, extract contents of the inner BepInExPack to the gamefolder, such that the winhttp.dll file sits right next to RiskOfRain2.exe.

The zip looks like:

\BepInExPack    <----- move the contents of this folder
manifest.json
readme.md
icon.png

What each folder is for:

  • BepInEx/plugins - This is where normal mods/plugins are placed to be loaded. If a mod is just a NAME.dll file, it probably goes in here. For your own organisation, consider putting them inside folders, eg: plugins/ActualRain/ActualRain.dll

  • BepInEx/patchers - These are more advanced types of plugins that need to access Mono.Cecil to edit .dll files during runtime. Only copy paste your mods here if the author tells you to.

  • BepInEx/config - If your plugin has support for configuration, you can find the config file here to edit it.

  • BepInEx/core - Core BepInEx .dll files, you'll usually never want to touch these files (unless you're updating manually)

What is included in this pack

Doorstop 4

This is what loads BepInEx.

BepInEx 5.4

This is what loads all of your plugins/mods.

Customized BepInEx configuration

BepInEx config customized for use with RoR2.

BepInEx.GUI

Graphical User Interface meant to replace the regular console host that is used by BepInEx when the config setting is enabled.

FixPluginTypesSerialization

Enables custom Serializable struct stored in plugin assemblies to be correctly deserialized by the Unity engine's Deserializer.

RoR2BepInExPack

Provides fixes that makes it easier for modders to create and maintain their mods while preventing harmful bugs.

Writing your own mods

There's 2 documentation pages available:

Places to talk:

BepInEx contains helper libraries like MonoMod.RuntimeDetour and HarmonyX

Changelog

Available in the CHANGELOG.md file