Automatically generates Fallout76Custom.ini files for .ba2 mod management with intelligent path detection and robust error handling.
This tool scans your Fallout 76 data directory and creates a properly formatted Custom.ini file that loads all installed .ba2 mods. Originally created by GrimTech and maintained with regular updates alongside Fallout 76 patches.
Nexus Mods: Fallout76CreateCustomIni
- Backup your existing
Fallout76Custom.ini(if you have one) - Copy
createCustomIniGUI.pyto yourFallout76\Datadirectory - Run:
py createCustomIniGUI.py - Use the interface to browse folders, scan mods, and create your INI
- Verify the generated file using the "Open Output Folder" button
- Backup your existing
Fallout76Custom.ini(if you have one) - Copy
createCustomIni.pyorcreateCustomIni.exeto yourFallout76\Datadirectory - Run the script:
- Python:
py createCustomIni.py - Executable:
createCustomIni.exe
- Python:
- Verify the generated
Fallout76Custom.iniin your Documents folder
Both versions automatically detect your Fallout 76 directory, including OneDrive locations.
Perfect for users who prefer a graphical interface:
- Visual Interface: Browse folders with buttons, no typing needed
- Mod Preview: See exactly which mods will be included before creating
- Real-time Validation: Visual indicators show if paths are valid
- Dark Mode: Toggle between light and dark themes
- Settings Memory: Saves your preferences for next time
- Drag & Drop: Drag folders directly onto input fields (optional)
- One-Click Access: Open output folder button after creation
See GUI_README.md for detailed GUI documentation.
Traditional command-line interface for power users:
- Fast Execution: Quick command-line operation
- Scriptable: Easy to integrate into batch files or automation
- Lightweight: No GUI dependencies
- Full Control: All options available via command-line flags
- Automatically locates your Fallout 76 directory across multiple possible locations
- No manual configuration needed in most cases
Seamlessly handles various OneDrive configurations:
- OneDrive Personal
- OneDrive Business
- OneDrive with redirected Documents folders
- Standard Documents folder as fallback
Automatically categorizes mods into the correct INI sections:
sResourceStartUpArchiveList- Startup mods (BakaFile, IconTag, etc.)sResourceArchiveList2- Core gameplay modssResourceIndexFileList- Texture and map modssResourceArchive2List- General mods (default category)
- Validates data folder existence before processing
- Clear error messages with actionable solutions
- UTF-8 encoding support for international characters
- Permission issue detection with admin mode suggestion
--datafolder <path> Specify Fallout 76's data folder location
Default: current directory
--inifolder <path> Specify where Fallout76Custom.ini should be created
Default: Auto-detected from Documents or OneDrive
--inifilename <name> Specify the INI filename
Default: Fallout76Custom.ini
--runasadmin Run with administrator privileges
Use when Fallout 76 is in a UAC-protected location
--copyinicontents <file> Import contents from another INI file
Useful for preserving custom settings
-h, --help Show help message
# Launch the GUI
py createCustomIniGUI.py
# Then use the interface to:
# 1. Browse to your data folder
# 2. Click "Scan Mods" to preview
# 3. Click "Create Custom INI"
# 4. Click "Open Output Folder" to view resultpy createCustomIni.pypy createCustomIni.py --datafolder "C:\Games\Fallout76\Data"py createCustomIni.py --inifolder "D:\MyConfigs"py createCustomIni.py --runasadminpy createCustomIni.py --copyinicontents "backup.ini"- Detection: Scans multiple possible Fallout 76 directory locations
- Scanning: Identifies all .ba2 files in the data folder (excluding official "SeventySix" files)
- Categorization: Sorts mods into appropriate INI sections based on type
- Generation: Creates a properly formatted Fallout76Custom.ini file
- Validation: Confirms successful creation with console feedback
If you see a permission error, try running with --runasadmin:
py createCustomIni.py --runasadminManually specify your data folder location:
py createCustomIni.py --datafolder "C:\Path\To\Fallout76\Data"Check that you have write permissions to your Documents folder and that the path exists.
- Language: Python 3
- Encoding: UTF-8 (supports international characters)
- Compiled Version: Built with PyInstaller for standalone execution
- Platform: Windows (primary), cross-platform compatible
- Language: Python 3 with tkinter
- Dependencies:
- tkinter (included with Python)
- tkinterdnd2 (optional, for drag & drop)
- Settings Storage: JSON file (
createCustomIni_settings.json) - Platform: Cross-platform (Windows, macOS, Linux)
No installation needed - Python 3 is the only requirement.
pip install tkinterdnd2- The script excludes official Bethesda archives (files starting with "SeventySix")
- Mods are automatically sorted with
HUDModLoader.ba2placed last when present - The tool creates necessary directories if they don't exist
- Console output shows progress and confirms successful creation
createCustomIni.py- Original CLI versioncreateCustomIniGUI.py- New GUI version with enhanced featuresGUI_README.md- Detailed documentation for GUI versionrequirements-gui.txt- Optional dependencies for GUIREADME.md- This filechangelog.md- Version history and changes
This is a community tool maintained for Fallout 76 modders. Feel free to report issues or suggest improvements on the Nexus Mods page.
"I don't normally do python.. or windows... so sorry..." - Original Author
Despite the humble disclaimer, this tool has proven reliable for hundreds of Fallout 76 modders!
