Skip to content

Config File Paths Locations:#

For Cooked Builds that are run from editor, visual studio, or run.py, they are in

"BBR\Saved\Cooked\WindowsNoEditor\BBR\Saved\Config\WindowsNoEditor\"

Staged or Packaged Builds:

"BBR\Saved\StagedBuilds\WindowsNoEditor\BBR\Config\"

General Paths:#

InstallDir/WindowsNoEditor/GameName/Binaries/Win64#

//InstallDir/WindowsNoEditor/GameName/Binaries/Win64

const FString ThePath = FString(FPlatformProcess::BaseDir());

InstallDir/WindowsNoEditor/#

//InstallDir/WindowsNoEditor/

const FString ThePath = FPaths::ConvertRelativePathToFull(FPaths::RootDir());

InstallDir/WindowsNoEditor/GameName#

//InstallDir/WindowsNoEditor/GameName

const FString ThePath = FPaths::ConvertRelativePathToFull(FPaths::GameDir());

InstallDir/WindowsNoEditor/GameName#

//InstallDir/WindowsNoEditor/GameName/

const FString ThePath = FPaths::ConvertRelativePathToFull(FPaths::GameUserDir());

InstallDir/WindowsNoEditor/GameName/Saved#

//InstallDir/WindowsNoEditor/GameName/Saved

const FString ThePath = FPaths::ConvertRelativePathToFull(FPaths::GameSavedDir());

InstallDir/WindowsNoEditor/GameName/Saved/Logs#

//InstallDir/WindowsNoEditor/GameName/Saved/Logs

const FString ThePath = FPaths::ConvertRelativePathToFull(FPaths::GameLogDir());

Project Directory:

FPlatformMisc::ProjectDir()

FPlatformMisc::RootDir()

FPlatformMisc::EngineDir()

FPlatformMisc::LaunchDir()

Reference From https://wiki.unrealengine.com/Packaged_Game_Paths,_Obtain_Directories_Based_on_Executable_Location

Get Plugin File Path#

FString baseDir    = IPluginManager::Get().FindPlugin("LivePP").IsValid() ? IPluginManager::Get().FindPlugin("LivePP")->GetBaseDir() : "";

Last update: November 14, 2019