BD2 Mod Manager uses a specific directory structure to organize application data, user files, mods, and configuration. Understanding this structure helps you locate important files and troubleshoot issues.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/bruhnn/BD2ModManager/llms.txt
Use this file to discover all available pages before exploring further.
Application directories
The application manages several directory paths defined insrc/utils/paths.py. The structure differs depending on whether you’re running the .exe or running from source.
App path
The root directory where the application executable is located. When running .exe:User data path
Writable location for user-specific data. This is determined by Qt’sQStandardPaths.AppLocalDataLocation.
Windows:
data/- User-writable CSV data filescharacters_assets/- User character assetsprofiles/- Profile JSON filescache/- Cached temporary datatools/- User tools directorymanifest.json- Update manifestmanifest_v2.json- Version 2 update manifestmods.json- Mods database
Mods folder structure
BD2 Mod Manager uses a separate mods folder from the BrownDustX mods directory.Manager’s mods folder
This is where you add your mods by:- Dragging and dropping them into the application
- Manually moving them into the
mods/folder
BrownDustX mods directory
When you sync your mods, the application creates aBD2MM folder inside the BrownDustX mods directory:
BD2MM folder after syncing.
Profile storage
Profiles are stored as JSON files in the profiles directory. Path:{user_data_path}/profiles/
Structure:
Configuration files
Configuration and manifest files are stored in the user data path.mods.json
Path:{user_data_path}/mods.json
Stores mod metadata including authors and enabled states.
manifest.json and manifest_v2.json
Paths:{user_data_path}/manifest.json{user_data_path}/manifest_v2.json
Data files
The application uses CSV files to store character, dating, and NPC data.Bundled data files
Path:{bundle_path}/src/data/ (or {bundle_path}/data/ when running as .exe)
Files:
characters.csv- Character definitions with ID, name, costume, and collab statusdatings.csv- Dating scene to character ID mappingsnpcs.csv- NPC definitions with optional character linkagesauthors.csv- Mod author information
User data files
Path:{user_data_path}/data/
Files:
characters.csv- User-writable copy of character datadatings.csv- User-writable copy of dating datanpcs.csv- User-writable copy of NPC dataauthors.csv- User-writable copy of author data
Resources
Bundled application resources are stored in the resources directory. Path:{bundle_path}/src/resources/ (or {bundle_path}/resources/ when running as .exe)
Structure:
User character assets
Path:{user_data_path}/characters_assets/
Allows users to provide their own character asset images that override the bundled ones.
Cache directory
Path:{user_data_path}/cache/
Stores temporary cached data used by the application.
Tools directory
Bundled path:{bundle_path}/tools/
User path: {user_data_path}/tools/
Contains bundled tools and user tools.
Log files
Log files are created in the application root directory. Path:{app_path}/BD2ModManager-logs.log
Configuration:
- Default log level: DEBUG
- Mode: Overwrite on each run (
mode="w") - Encoding: UTF-8
Directory creation
The application automatically creates required directories on startup inpaths.py:52-63:
- User data path
- User data subpath (data/)
- User characters assets
- Profiles path
- User cache path
- User tools path