BepInEx Modding
Modding Games with BepInEx on Linux
BepInEx is a popular Unity game modding framework. Getting it to work on Linux requires one extra step: you need to tell Wine/Proton to load BepInEx's custom DLL instead of the built-in Windows one.
Install BepInEx into your game folder as you normally would, then follow the instructions for your launcher below.
Steam
You need to add a launch option to force Proton to use the custom DLL.
- Right-click the game in your Steam Library and select Properties.
- In the General tab, scroll down to Launch Options.
- Paste the following line exactly as written:
WINEDLLOVERRIDES="winhttp=n,b" %command%
note
If your BepInEx download came with version.dll instead of winhttp.dll, change the command to:
WINEDLLOVERRIDES="version=n,b" %command%
Lutris
- Right-click the game and select Configure.
- Go to the Runner options tab.
- Scroll down to DLL overrides and click Add.
- Under Key, type
winhttp. Under Value, typen,b. - Save and launch.
Heroic Games Launcher
- Click the Settings icon for the specific game.
- Scroll down to the Wine/Proton section and find Advanced Options or Winetricks / Game Settings.
- Look for DLL Overrides.
- Add
winhttpand set it to Native then Builtin (which is whatn,bstands for).