Where is the Default.ini file in the UE4 installation directory?

UE4 does not pack the Config file。

  1. Blacklist: Prevents the Config file from being packed into *.pak

(1) Default.ini appends files to be excluded:
[Staging]

  • BlacklistConfigFiles = project name/Config/DefaultEngine ini
    +BlacklistConfigFiles= Project name /Config/DefaultGame.ini
    +BlacklistConfigFiles= Project name /Config/DefaultInput.ini

(2) *.Build.cs Add runtime dependencies: (files are automatically copied to the specified directory when packaged)
(2.1) Namespace
using System;
using System.IO;
(2.2) Runtime dependencies:
RuntimeDependencies.Add(Path.Combine(ModuleDirectory, “… /… /Config”, “DefaultEngine.ini”));
RuntimeDependencies.Add(Path.Combine(ModuleDirectory, “… /… /Config”, “DefaultGame.ini”));
RuntimeDependencies.Add(Path.Combine(ModuleDirectory, “… /… /Config”, “DefaultInput.ini”));