SimpleConfigExclude User Manual
Complete English product manual for SimpleConfigExclude
Supported Unreal Engine versions: 5.2–5.8
Visually manage which configuration files (.ini) are included or excluded when packaging an Unreal Engine project.
Configuration
Section titled “Configuration”Location: Editor > Project Settings > Plugins > Simple Config Exclude
Settings
Section titled “Settings”Hide Plugin Config
Section titled “Hide Plugin Config”- Default: Enabled
- Function: Hide DefaultSimpleConfigExclude.ini from the configuration list
- Purpose: Prevent accidental exclusion of the plugin’s own settings
Clean Config Before Copy
Section titled “Clean Config Before Copy”- Default: Enabled
- Function: Delete the target Config folder before copying excluded files
- Purpose: Ensure the target directory contains only the latest excluded files
Copy Target Directory
Section titled “Copy Target Directory”- Default: /Windows
- Function: Target directory for copying excluded configuration files
- Path format: Relative to the project directory, such as
/Windowsor/Build/Output - Cross-platform: Supports Windows, Mac, and Linux
- Directory structure: Preserves the original structure (
TargetDir/ProjectName/Config/xxx.ini) - Copy button: Copies all Disallowed configuration files to the target directory
Configuration Exclusion Rules
Section titled “Configuration Exclusion Rules”Three-state selectors for .ini files in all Config folders:
| Policy | Description |
|---|---|
| Default | Use UE’s default behavior, usually based on file type |
| Allowed | Force inclusion in the package, even if UE would exclude it |
| Disallowed | Force exclusion from the package |
Refresh Config List Button
Section titled “Refresh Config List Button”Click to rescan Config folders. Useful when:
- Adding configuration files
- Deleting configuration files
- The list is out of sync with actual files
Examples
Section titled “Examples”Example 1: Exclude Debug Configuration
Section titled “Example 1: Exclude Debug Configuration”If DefaultDebugSettings.ini contains debug hotkeys that should not ship in a release:
- Open Project Settings > Plugins > Simple Config Exclude
- Find
Config/DefaultDebugSettings.iniin the list - Select “Disallowed”
- Package the project — the file is excluded
Example 2: Force Inclusion of Custom Configuration
Section titled “Example 2: Force Inclusion of Custom Configuration”If DefaultCustomSettings.ini must be packaged:
- Open the plugin settings
- Find
Config/DefaultCustomSettings.ini - Select “Allowed”
- Package the project — the file is forcibly included
Example 3: Copy Excluded Files into the Packaged Output
Section titled “Example 3: Copy Excluded Files into the Packaged Output”After packaging, you may want to add excluded configuration manually:
- Set “Copy Target Directory” to the packaging output path, such as
/Windows - Set the configuration to exclude to “Disallowed”
- Package the project
- Click “Copy”
- Files are copied to
Windows/YourProject/Config/xxx.ini
Important Notes
Section titled “Important Notes”Default Behavior
Section titled “Default Behavior”All configuration files initially use “Default,” following UE’s default packaging behavior. UE decides by file type; engine.ini, game.ini, and input.ini are packaged.
Plugin Configuration Protection
Section titled “Plugin Configuration Protection”The plugin hides DefaultSimpleConfigExclude.ini by default because:
- It contains the plugin’s own settings
- Excluding it may cause plugin malfunction
- Uncheck “Hide Plugin Config” to display it
Settings Persistence
Section titled “Settings Persistence”- Plugin settings are stored in
DefaultSimpleConfigExclude.ini - Exclusion rules are stored in the
[Staging]section ofDefaultGame.ini - Both files should be committed to version control
After rule changes, the plugin writes DefaultGame.ini and reloads configuration so the settings panel corresponds to disk contents. Writing involves version-control checkout or read-only file handling; check checkout status and final file differences.
Cleanup Before Copying
Section titled “Cleanup Before Copying”When “Clean Config Before Copy” is enabled:
- Delete
TargetDir/ProjectName/Config/before copying - Copy only currently Disallowed files
- Ensure the target directory reflects the current state
Troubleshooting
Section titled “Troubleshooting”Files Missing from the List
Section titled “Files Missing from the List”- Click “Refresh Config List”
- Ensure the file is in
Configor a subfolder - Ensure the extension is
.ini
Rules Not Applied after Packaging
Section titled “Rules Not Applied after Packaging”- Check that
DefaultGame.inicontains a[Staging]section - Try clicking “Refresh Config List”
- Restart the editor and package again
Plugin Configuration Appears in the List
Section titled “Plugin Configuration Appears in the List”Check “Hide Plugin Config” and enable it to hide DefaultSimpleConfigExclude.ini
Extra Files in the Target Directory after Copying
Section titled “Extra Files in the Target Directory after Copying”Enable “Clean Config Before Copy” to clean the target Config folder before copying
Frequently Asked Questions
Section titled “Frequently Asked Questions”Q: Does this affect the game at runtime? A: No. This is an editor-only plugin affecting only packaging.
Q: Are subfolders supported? A: Yes. The plugin recursively scans Config and all subfolders, preserving directory structure during copying.
Q: Can copied excluded configuration be used? A: It depends on the configuration type. Runtime configuration such as Input can be used; configuration baked at compile time, such as rendering settings, cannot.
Version History
Section titled “Version History”Open Edit → Project Settings, go to SimpleConfigExclude settings, and set Language to English or Chinese. English is the default. User-facing interfaces, prompts, notifications, and functional logs update immediately without restarting the editor; public API names and module startup/shutdown logs always remain in English.
Support
Section titled “Support”For usage questions or collaboration inquiries, visit the contact page.
- Contact: Contact and Collaboration
Supplementary Usage Instructions
Section titled “Supplementary Usage Instructions”SimpleConfigExclude User Guide
Section titled “SimpleConfigExclude User Guide”Choose inclusion/exclusion states for configuration files in project settings and copy excluded files as needed.
Features and Parameters
Section titled “Features and Parameters”1.1 Three-State Configuration Selector
Section titled “1.1 Three-State Configuration Selector”The plugin offers three states for each configuration file:
| State | Meaning | Effect |
|---|---|---|
| Default | Default | Follow UE’s default behavior |
| Allowed | Force inclusion | Ensure the configuration file is packaged |
| Disallowed | Force exclusion | Ensure the configuration file is not packaged |
Each .ini file has a three-state control (SSegmentedControl) beside it in project settings; click to switch states.
1.2 Automatic Scanning and Application
Section titled “1.2 Automatic Scanning and Application”The plugin’s workflow is fully automated:
- At editor startup, automatically scan all
.inifiles underConfig - Read existing rules from the
[Staging]section inDefaultGame.ini - Generate the configuration list in the settings panel
- Changes take effect immediately: switching a state writes to
DefaultGame.iniat once
State changes write back to configuration files and handle the relevant files’ writable state.
1.3 Copy Excluded Files
Section titled “1.3 Copy Excluded Files”Excluded configuration files do not appear in the packaged directory. Some scenarios require adding files manually after packaging, such as deployment to different environments.
The plugin provides one-click copying:
- Configure the target directory (default:
/Windows) - Click
Copy - All configuration files marked
Disallowedare copied to the target directory - Optionally clean the target Config folder before copying
Copying can supplement deployment with configuration files for different environments.
1.4 Safety Design
Section titled “1.4 Safety Design”- Hide the plugin’s own configuration: Hide
DefaultSimpleConfigExclude.iniby default to prevent accidental loss of plugin configuration - Source control integration: Automatically check out
DefaultGame.inibefore modifying it, supporting Perforce/Git - Read-only protection: Automatically remove the read-only attribute when source control is not used
Installation and Configuration
Section titled “Installation and Configuration”Step 1: Install the Plugin
Section titled “Step 1: Install the Plugin”Copy the plugin folder into your project’s Plugins directory and restart the editor.
Step 2: Open the Settings Panel
Section titled “Step 2: Open the Settings Panel”Path: Edit > Project Settings > Plugins > Simple Config Exclude
The panel has three areas:
- Settings: General settings, including hiding plugin configuration and cleaning the target directory before copying
- Copy: Copy excluded files to the target directory
- Config Exclude Rules: Configuration file list and three-state selectors
Step 3: Configure Rules
Section titled “Step 3: Configure Rules”- Find the configuration file to exclude
- Click
Disallowedto exclude it - Click
Allowedfor forced inclusion - Changes take effect immediately; no additional save is needed
Step 4: Verify Packaging
Section titled “Step 4: Verify Packaging”Package the project normally and check its Config output folder to confirm excluded files are absent.
Configuration Examples
Section titled “Configuration Examples”Scenario 1: Exclude Debug Configuration
Section titled “Scenario 1: Exclude Debug Configuration”The project has DefaultDebug.ini storing debug parameters that production does not need:
DefaultDebug.ini → DisallowedScenario 2: Multi-Environment Deployment
Section titled “Scenario 2: Multi-Environment Deployment”1. Mark test-environment configuration as Disallowed2. Package a clean base version3. Use Copy to copy excluded configuration to the test deployment directory4. Production uses the packaged default configurationScenario 3: Protect Sensitive Configuration
Section titled “Scenario 3: Protect Sensitive Configuration”DefaultEncryption.ini → Disallowed // 密钥配置不随包发布DefaultServer.ini → Disallowed // 服务器配置通过运维单独部署Changing configuration states writes to DefaultGame.ini. When copying excluded files, check the target directory and whether cleanup before copying is enabled.