A mod loader for Bohrdom that automatically loads mods on startup.
BohrdomLoader is unfinished and probably will be forever.
- Download
BohrdomLoader.zipfrom the latest release - Rename your existing
SDL2_mixer.dllin the Bohrdom game folder toSDL2_mixer_original.dll(C:\Program Files (x86)\Steam\steamapps\common\Bohrdom) - Extract the files from the zip into the game folder
- Create a
modsfolder in the game directory if it doesn't exist - Launch the game normally through Steam
Drop any mod .dll files into the mods folder and launch the game. That's it.
Mods are standard x86 Windows DLLs. BohrdomLoader will load any .dll placed in the mods folder on startup.
Minimal mod template:
#include <Windows.h>
BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) {
if (ul_reason_for_call == DLL_PROCESS_ATTACH) {
// your code here
}
return TRUE;
}You need to include BohrdomAPI.h. You can call RegisterRenderCallback and RegisterClickCallback to hook into the game. You can view a POC mod here.
Build as x86 DLL and drop into the mods folder.
Requires Visual Studio with C++ desktop development workload, x86 target.