class

FConfigHierarchy

Module
Core
Header
#include "Core/ConfigIni.h"
Namespace
Mowo

Public functions

ReturnsNameDescription
std::vector<std::filesystem::path>LayerFilesEvery layer file for baseName ("Engine", "Game", "Scalability"), lowest first, whether or not it exists.
boolBuildCombines the existing layers.
std::filesystem::pathUserFileThe file a per-user change to baseName is written to.
uint32_tApplyConsoleVariablesSets every cvar in [ConsoleVariables] and [ScalabilityGroups] (sg.*), as setBy.
uint32_tApplyScalabilityGroupScalability.ini's [<Group>@<Level>] sections: the cvars a group level sets beyond the tier rows, e.g.
FConfigLayerDirsDirsForProjectThe layer directories for a project whose Config/ is projectConfigDir: the engine's Engine/Config, that Config/, and <project>/Saved/Config.
boolLoadProjectEngineConfigA project's engine settings for a reader that runs without the project-open overlay — the backend choice inside Engine::Initialize, the release logger, a packaged game whose manifest comes from a pak: the Config/Engine.ini (converted from a legacy Engine.mdf on first touch) with the Engine INI hierarchy over it, so DefaultEngine.ini wins.

Function details

LayerFiles

C++
static std::vector<std::filesystem::path> LayerFiles(const FConfigLayerDirs& dirs, const std::string& baseName)

Every layer file for baseName ("Engine", "Game", "Scalability"), lowest first, whether or not it exists.

Build

C++
static bool Build(const FConfigLayerDirs& dirs, const std::string& baseName, FConfigIniFile& out, std::vector<std::filesystem::path>* used = nullptr, std::string* error = nullptr)

Combines the existing layers. used lists the files that were read.

UserFile

C++
static std::filesystem::path UserFile(const FConfigLayerDirs& dirs, const std::string& baseName)

The file a per-user change to baseName is written to.

ApplyConsoleVariables

C++
static uint32_t ApplyConsoleVariables(const FConfigIniFile& file, ECVarSetBy setBy = ECVarSetBy::ProjectSetting)

Sets every cvar in [ConsoleVariables] and [ScalabilityGroups] (sg.*), as setBy. Returns how many applied; an unregistered name is remembered and set when a cvar of that name registers, so a plugin that loads later still gets its line, and one that is off does not fail the load.

ApplyScalabilityGroup

C++
static uint32_t ApplyScalabilityGroup(const FConfigIniFile& file, const std::string& group, int32_t level)

Scalability.ini's [<Group>@<Level>] sections: the cvars a group level sets beyond the tier rows, e.g. [ShadowQuality@3] for sg.ShadowQuality=3. Applied as ECVarSetBy::Scalability, below every INI and player setting.

DirsForProject

C++
static FConfigLayerDirs DirsForProject(const std::filesystem::path& projectConfigDir)

The layer directories for a project whose Config/ is projectConfigDir: the engine's Engine/Config, that Config/, and <project>/Saved/Config.

LoadProjectEngineConfig

C++
static bool LoadProjectEngineConfig(const std::filesystem::path& projectConfigDir, Config& out)

A project's engine settings for a reader that runs without the project-open overlay — the backend choice inside Engine::Initialize, the release logger, a packaged game whose manifest comes from a pak: the Config/Engine.ini (converted from a legacy Engine.mdf on first touch) with the Engine INI hierarchy over it, so DefaultEngine.ini wins. False when neither exists.

Generated from Core/ConfigIni.h via core.json · Nov 5, 2026Version 1.0.0