How BD2MM uses BrownDustX
When you sync your mods, BD2MM writes them to:mods/ folder at runtime:
BepInEx installed
BepInEx must be present at
<game_dir>/BepInEx/. It is the mod loader that hooks into the Unity runtime. Key files include BepInEx/core/BepInEx.dll and winhttp.dll in the game root.BrownDustX plugin installed
The BrownDustX plugin must be present at
<game_dir>/BepInEx/plugins/BrownDustX/lynesth.bd2.browndustx.dll. It handles BD2-specific asset replacement.Status detection
The BrownDustX tab automatically checks your configured game directory for the presence of each component and shows a status for each:BepInEx
Detected when
<game_dir>/BepInEx/core/BepInEx.dll and <game_dir>/winhttp.dll both exist. Status values: INSTALLED, NOT_INSTALLED.BrownDustX plugin
Detected when
<game_dir>/BepInEx/plugins/BrownDustX/lynesth.bd2.browndustx.dll exists. Status values: INSTALLED, NOT_INSTALLED, BEPINEX_MISSING.ConfigurationManager
Optional plugin that adds an in-game configuration UI. Detected when
<game_dir>/BepInEx/plugins/ConfigurationManager/ConfigurationManager.dll exists.Installing BepInEx
If BepInEx is not detected, click Install BepInEx in the BrownDustX tab. BD2MM will:- Download the correct BepInEx release for Brown Dust 2.
- Extract it into your game directory, placing
BepInEx/core/BepInEx.dll,doorstop_config.ini, andwinhttp.dllin the game root. - Write a manifest file at
<game_dir>/BepInEx/.bd2mm_bepinex_manifest.jsonto track the installed version and files. - Re-run the detection check and update the status indicator.
You can also install from a local archive by providing a path to a BepInEx ZIP file. The app validates the archive before extraction.
Installing BrownDustX
If the BrownDustX plugin is not detected (or after you have just installed BepInEx), click Install BrownDustX. BD2MM will:- Download the latest BrownDustX plugin release.
- Extract it to
<game_dir>/BepInEx/plugins/BrownDustX/, includinglynesth.bd2.browndustx.dlland required resource files. - Write a manifest at
<game_dir>/BepInEx/plugins/BrownDustX/.bd2mm_bdx_manifest.json. - Re-run the detection check and update the status indicator.
You must install BepInEx before installing BrownDustX. If BepInEx is missing, the Install BrownDustX button will be disabled.
Installing ConfigurationManager (optional)
ConfigurationManager adds a configuration panel accessible in-game (usually viaF1). To install it, click Install ConfigurationManager. BD2MM will:
- Extract the plugin to
<game_dir>/BepInEx/plugins/ConfigurationManager/ConfigurationManager.dll. - Write a manifest at
<game_dir>/BepInEx/plugins/ConfigurationManager/.bd2mm_configmanager_manifest.json.
Uninstalling components
Components installed by BD2MM can also be removed from this tab. Each installed component shows a Remove button when:- The component was installed by BD2MM (a BD2MM manifest file exists).
- The installed version matches the manifest version.
installed_files list from the manifest and deletes each recorded file. Empty directories are cleaned up automatically.