Installing BepInEx Mods for Cult of the Lamb in Linux Mint
Overview
Currently I'm using Linux Mint 22.3 Xfce 64-bit, and I installed Cult of the Lamb using the Heroic Game Launcher. The game works great out of the box. But how do you get the BepInEx mods like Quality of Life (QOL) working with it?
After fighting useless battles with r2modman, I decided to just get the BepInEx files directly in the game's installation folder and configure Heroic.
Notes:
- Because Cult of the Lamb is a Windows-only game, you'll want the Windows version of BepInEx. Don't make the mistake I did by trying to install the Linux version of BepInEx!
- I installed Heroic Game Launcher as a Flatpak.
Step 1: Get BepInEx and the Configuration Manager
Note: You'll want the BepInEx Configuration Manager for mods like Quality of Life (QOL).
Go to https://github.com/bepinex/bepinex/releases and download the Windows x64 .zip of BepInEx.
Extract the zip file's contents to your game's main installation folder (replace
usernamewith your username):/home/usernamee/Games/Heroic/Cult of the Lamb
Note: This is not the same as your
Prefixfolder. The BepInEx files need to be in the same location as your game's .exe file (Cult Of The Lamb.exe).Go to https://github.com/BepInEx/BepInEx.ConfigurationManager/releases and download the BepInEx Configuration Manager (I chose the BepInEx5 version, the one that isn't IL2CPP). Extract the files to your game's installation folder; the
ConfigurationManagerfolder should be in yourBepInEx/pluginsfolder.
Step 2: Set up Heroic Game Launcher to use BepInEx
- Open the Heroic Game Launcher, right-click your Cult of the Lamb game, and select
Settings. - Under the
Winetab, selectWINECFG(Wine configuration). - Select the
Librariestab. - In the "New override for library" field, enter
winhttp, and then selectAdd. SelectApply. This will add thewinhttp.dllfile to your game's installation folder. - Select the
Advancedtab. - Under "Environment Variables", enter the following:
- Variable Name:
WINEDLLOVERRIDES - Value:
winhttp.dll=n,b
- Variable Name:
- Select the plus icon (
+) to ensure Heroic adds this new variable.
Step 3: Run your game
Run and then exit the game. To verify that everything worked, check the BepInEx folder and look for the file LogOutput.log. If it's there, that means the game recognized and ran BepInEx.
If there were problems, try checking the game's launch log. In Heroic, right-click the game and select Logs. Look for words like "error" or "failed" to give you hints about what went wrong.
If all went well: Congratulations! Start downloading your BepInEx mods and adding them to the BepInEx/plugins folder.