-
Notifications
You must be signed in to change notification settings - Fork 566
Migration
Geoffrey Horsington edited this page Jun 26, 2021
·
14 revisions
⚠️ DOCS ARE MOVING⚠️
These docs are for BepInEx 4 and thus might be out-of-date!
Documentation is currently being updated for BepInEx 5.
For the latest documentation, refer to the new BepInEx docs page.
To migrate from a previous version of BepInEx, do the following:
- Delete
UnityEngine.dll
,0Harmony.dll
andBepInEx.dll
from the*_Data\Managed
folder for your game
-
IMPORTANT: Check all game folders for their respective
Managed
folders. BepInEx 3 creates the aforementioned files for each valid Unity executable it finds, which means that you may have to repeat this process multiple times.
- Rename
UnityEngine.dll.bak
toUnityEngine.dll
- Delete
BepInEx.Patcher.exe
from the game's root folder. - Delete your
config.ini
file in your BepInEx folder - Install BepInEx 4 normally
- Delete all occurences of the following DLLs in the game's folder:
ExIni.dll
UnityInjector.dll
Mono.Cecil.dll
Sybaris.Loader.dll
-
COM3D2.UnityInjector.Patcher
(and other UnityInjector patchers) -
opengl32.dll
Use Windows' search tool if you cannot find those.
- Install BepInEx 4 normally
- Download and install UnityInjectorLoader and SybarisLoader to enable UnityInjector and Sybaris compatibility