Skip to main content

Parsers & Relative Paths

Starting with version 1.0.6, ConfigBP includes parsers that allow you to get at various paths related to your project using the Open Configuration File node.

To use these parsers, use one of the parsing tags, followed by the name of your configuration file. See the below table for the currently implemented parsers. Please also ensure that the "relative path" box is unchecked: the parsers will be substituted `for the paths.

An example of a configuration file could be: {{UserDir}}/test.ini. This will open up the test.ini configuration file, located at your project's root/the main project directory.

For a full overview of all parsers available in v1.0.6+, please refer to the table below:

ParserDescriptionExample Path (in Editor)Example Path (in Packaged Game)
{{UserDir}}Project (User) DirectoryD:/Users/UserName/Documents/Unreal Projects/ConfigBPProjectD:/Users/UserName/Documents/Unreal Projects/ConfigBPProject/WindowsNoEditor/ConfigBPProject
{{GameConfig}}Project Configuration DirectoryD:/Users/UserName/Documents/Unreal Projects/ConfigBPProject/ConfigD:/Users/UserName/Documents/Unreal Projects/ConfigBPProject/WindowsNoEditor/ConfigBPProject/Config
{{ProjectDir}}Project DirectoryD:/Users/UserName/Documents/Unreal Projects/ConfigBPProjectD:/Users/UserName/Documents/Unreal Projects/ConfigBPProject/WindowsNoEditor/ConfigBPProject
{{ContentDir}}Content DirectoryD:/Users/UserName/Documents/Unreal Projects/ConfigBPProject/ContentD:/Users/UserName/Documents/Unreal Projects/ConfigBPProject/WindowsNoEditor/ConfigBPProject/Content
{{ProjectSavedDir}}Saved DirectoryD:/Users/UserName/Documents/Unreal Projects/ConfigBPProject/SavedD:/Users/UserName/Documents/Unreal Projects/ConfigBPProject/WindowsNoEditor/ConfigBPProject/Saved