Common issues
Antivirus flagging the .exe as a virus
Antivirus flagging the .exe as a virus
This is a false positive caused by how PyInstaller packages Python applications into executables. The program does not contain any malware.
Why this happens
PyInstaller bundles the Python interpreter and all dependencies into a single executable. Antivirus software often flags this behavior as suspicious because it’s similar to how some malware packers work.Solutions
- Add an exception in your antivirus software for BD2ModManager.exe
- Use the Full.zip version instead of the standalone .exe (less likely to trigger false positives)
- Build from source if you want to verify the code yourself:
- Download the source code from GitHub
- Review the code to ensure it’s safe
- Build the executable using the provided build scripts
The source code is publicly available on GitHub for transparency. You can inspect every line of code before running it.
Game directory not found
Game directory not found
This error occurs when BD2 Mod Manager cannot locate the Brown Dust 2 installation.or
Error message
Solutions
-
Set the game directory manually:
- Click the settings or browse button
- Navigate to your Brown Dust 2 installation folder
- Select the folder containing
BrownDust II.exe
-
Typical installation paths:
-
Auto-detection: The mod manager attempts to locate the game using the Windows registry:
BrownDustX not installed
BrownDustX not installed
This error indicates that the BrownDustX mod loader is not installed in your game directory.
Error message
What is BrownDustX?
BrownDustX is a mod loader required for mods to work in Brown Dust 2. BD2 Mod Manager syncs mods to the BrownDustX mods folder.Solutions
-
Install BrownDustX:
- Download BrownDustX from the official source
- Install it to your Brown Dust 2 game directory
- Verify the installation by checking for this file:
- Verify the game path: Make sure you’ve selected the correct game directory
Administrator privileges required
Administrator privileges required
This error occurs when attempting to use symlink mode without administrator rights.
Error message
Why admin rights are needed
Creating symbolic links on Windows requires administrator privileges for security reasons. This is a Windows limitation, not a mod manager restriction.Solutions
-
Run as administrator:
- Right-click BD2ModManager.exe
- Select “Run as administrator”
- Approve the UAC prompt
-
Use copy mode instead:
- Switch to copy mode in the sync settings
- Copy mode doesn’t require admin rights
- Trade-off: slower sync and more disk space usage
-
Use the admin launcher:
- Run
runasadmin_main.pyto automatically request elevation
- Run
Mod extraction failed
Mod extraction failed
These errors occur when the mod manager cannot extract mod archives.
Error types
Solutions
For unsupported formats:- Manually extract the archive using 7-Zip or WinRAR
- Place the extracted mod folder in the
mods/staging directory
- Ensure you have the necessary extraction tools installed
- Try extracting manually if automated extraction fails
- Extract the archive manually using the provided password
- Move the extracted mod to the staging directory
Supported archive formats typically include .zip, .7z, and .rar files. If extraction fails, manual extraction is always an option.
Invalid mod error
Invalid mod error
These errors indicate the mod file structure is incorrect or incomplete.
Error types
Common causes
-
Missing .modfile:
- Every valid mod must contain a
.modfilefile - This file contains metadata about the mod
- Every valid mod must contain a
-
Multiple mods in one archive:
- Some archives contain multiple mods
- Extract and install each mod individually
-
Incorrect folder structure:
- The mod folder must contain the .modfile at the appropriate level
Solutions
For missing .modfile:- Verify the mod is a valid BrownDustX mod
- Check if the .modfile exists in a subfolder
- Download the mod again from a trusted source
- Extract the archive
- Install each mod folder separately
- Don’t try to install the parent folder containing multiple mods
Mod conflicts and naming issues
Mod conflicts and naming issues
These errors occur when mod names conflict or contain invalid characters.
Error types
Solutions
For duplicate mods:- Remove or rename the existing mod first
- Check if you already have the same mod installed
- Avoid these characters in mod names:
< > : " / \ | ? * - Use only alphanumeric characters, spaces, hyphens, and underscores
- Refresh the mod list
- Verify the mod exists in the staging directory
- Check if the mod was accidentally deleted
Installation conflicts
Installation conflicts
These errors occur when the mod staging directory has conflicts.
Error types
Solutions
For non-empty directory:- A folder with the same name already exists in the staging directory
- Remove or rename the existing folder
- Then try installing the mod again
- A file (not a folder) exists with the same name as the mod
- Rename or remove the conflicting file
- Retry the installation
Getting help
If you encounter an issue not covered in this guide:-
Check the logs:
- Logs are saved to
BD2ModManager-logs.login the application data folder - Look for error messages and stack traces
- Logs are saved to
-
Run with debug logging:
-
Report the issue:
- Open an issue on the GitHub repository
- Include the error message and relevant log excerpts
- Describe what you were doing when the error occurred
When reporting issues, never share the full log file publicly as it may contain sensitive information like file paths. Only share relevant error excerpts.