SimpleConfigExcludeDocumentation

Copy Excluded Configuration Files

Set the Destination and Copy

  • Default: /Windows
  • Function: Target directory for copying excluded configuration files
  • Path format: Relative to the project directory, such as /Windows or /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

To add excluded configuration after packaging, follow this order:

  1. Set “Copy Target Directory” to the packaging output path, such as /Windows
  2. Set the configuration to exclude to “Disallowed”
  3. Package the project
  4. Click “Copy”
  5. Files are copied to Windows/YourProject/Config/xxx.ini

Clean the Destination Before Copying

If the folder already contains configuration you need for deployment, back it up or turn off cleanup before copying. Open the destination afterward and check that the required files are present.

Clean Config Before Copy is on by default. Before clicking Copy, check TargetDir/ProjectName/Config/ for anything you need to keep. The plugin deletes that folder and then copies only the files currently marked Disallowed.

Supply Configuration for Different Environments

1. Mark test-environment configuration as Disallowed
2. Package a clean base version
3. Use Copy to copy excluded configuration to the test deployment directory
4. Production uses the packaged default configuration

Copying preserves the subfolder structure under Config. Files read at runtime, such as Input configuration, can be supplied at deployment. Copying a file does not reapply values baked into the build, such as certain rendering settings.