Note: This page is still a work in progress.
This is an early preview of a page documenting all command line arguments.
The aim is to:
- create an exhaustive list of all command line arguments
- clarify whether they are used for the editor exe or built game exe
- comment on the usage and purpose of arguments
Debug
-
WaitForDebugger
Type:
flag
Causes Unreal to wait for a debugger to be connected before continuing execution.
Logging
-
Log
="abc"
Type:
string
Related:
-
LogTimes
Type:
flag
Incompatible with:
Opposite:
There are a bunch of different ways to display log times.
-
UTCLogTimes
Type:
flag
Incompatible with:
Opposite:
-
LocalLogTimes
Type:
flag
Incompatible with:
Opposite:
-
LogTimesSinceStart
-
LogTimeCode
Type:
flag
Incompatible with:
Opposite:
-
NoLogTimes
Type:
flag
Incompatible with:
-
AbsLog
="abc"
Type:
string
Related:
-
LogCmds
="abc"
Type:
string
Change the verbosity of log categories
-
ForceLogFlush
Type:
flag
-
NoPause
Type:
flag
Related:
-
NoPauseOnSuccess
Type:
flag
Related:
-
NoWrite
Type:
flag
Stats
-
LightMassStats
Type:
flag
Developer
-
Auto
Type:
flag
-
AutoCheckoutPackages
Type:
flag
Used on ResavePackagesCommandlet.
-
AutomatedMapBuild
Type:
flag
The second argument to the exe is the map, so this flag uses that. As to what an "automated build" means, I have no idea.
-
BuildMachine
Type:
flag
If this is set, it implies some other arguments?
-
CrashReports
Type:
flag
-
D3DDebug
Type:
flag
-
Deterministic
Type:
flag
Related:
Shortcut for -UseFixedTimeStep -FixedSeed
.
-
FixedSeed
Type:
flag
-
UseFixedTimeStep
Type:
flag
-
FixUpTangents
Type:
flag
-
ForcePVRTC
Type:
flag
Found a reference to "bForcePVRTC".
-
Installed
Type:
flag
Opposite:
-
NotInstalled
Type:
flag
Opposite:
-
InstallFW
Type:
flag
Opposite:
Shows the Windows firewall popup maybe?
-
UninstallFW
Type:
flag
Opposite:
-
InstallGE
Game Explorer seems to be some old Windows thing for managing installed games. Not sure if it's really relevant any more.
-
UninstallGE
Type:
flag
Opposite:
-
AllUsers
Type:
flag
does this mean this requires InstallGe?
-
LightMassDebug
Type:
flag
-
NoContentBrowser
Type:
flag
Surely this is editor-only? Why would you want to disable the content browser?
-
NoInnerException
Type:
flag
Seems to only be enabled with the define _WIN64
?Why might you do this? S
#ifdef _WIN64
if ( FParse::Param(CmdLine,TEXT("noinnerexception")) || FApp::IsBenchmarking() || bNoExceptionHandler)
{
GEnableInnerException = false;
}
#endif
-
NoLoadStartupPackages
Type:
flag
There is a log message that mentions it but I cannot find any code that actually uses it.
-
NoRC
Type:
flag
-
VerifyGC
Type:
flag
Opposite:
-
NoVerifyGC
Type:
flag
Opposite:
-
SeekFreeLoading
Type:
flag
-
SeekFreePackageMap
Type:
flag
-
SeekFreeloadingPCConsole
Type:
flag
-
SeekFreeLoadingServer
Type:
flag
-
SetThreadNames
Type:
flag
-
ShowMissingLoc
Type:
flag
Can't find this in the source. Also, I thought that error strings are already returned instead of English. Maybe this is editor-only?
-
Silent
Type:
flag
-
TreatLoadWarningsAsErrors
Type:
flag
What happens if there's an error?
-
WarningsAsErrors
Type:
flag
Related:
-
Unattended
Type:
flag
What kinds of things require feedback? When might you want to use this?
-
UseUnpublished
Type:
flag
-
VADebug
Type:
flag
-
Verbose
Type:
flag
-
ExecCmds
="abc"
Type:
string
It looks like this can be used to execute cheat console commands, separated with commas.
Deprecated
-
BiasCompressionForSize
Type:
flag
Can't find this in the engine.
-
BulkImportingSounds
Type:
flag
Can't find this in the engine.
-
Check_Native_Class_Sizes
Type:
flag
Can't find in source.
-
CoderMode
Type:
flag
Couldn't find it in the codebase for UE5. Possibly for Unreal Engine 3?
-
CompatScale
Type:
flag
Couldn't find in source.
-
ConformDir
Type:
flag
Can't find either ConformDir or ConfirmDir in UE5 source.
-
CookForDemo
Type:
flag
Cannot find in source.
-
CookPackages
Type:
flag
Cannot find in source.
-
DevCon
Type:
flag
Cannot find in source
-
DumpFileIOStats
Type:
flag
Cannot find in source
-
ForceSoundRecook
Type:
flag
Can't find any reference to this. Deprecated?
-
GenericBrowser
Type:
flag
Can't find any reference to this. Deprecated?
-
NoConform
Type:
flag
Cannot find in source.
-
TraceAnimUsage
Type:
flag
Cannot find in source.
-
Seconds
Type:
I couldn't find this in the Unreal Engine 5 codebase.
-
PrimaryNet
Type:
flag
Couldn't find this in the source code, deprecated?
-
PreferredProcessor
Type:
flag
Can't find in source.
-
EnglishCoalesced
Type:
flag
Couldn't find in source.
Localization
-
Culture
="abc"
Type:
string
Related:
When this is set, the text localization manager uses the specified culture and does not look at ini files.
It seems like it might be useful for testing localization, to force the game to launch with a specific culture without having to mess around with settings.
-
CultureForCooking
="abc"
Type:
string
Related:
Does the same as Culture
but can has the option to work with FirstInstall
.
-
FirstInstall
Type:
Related:
Based on the code, if CultureForCooking
and FirstInstall
are set, it writes the culture specified by CultureForCooking
to the Internationalization
part of the engine .ini file.
Rendering
-
ConsoleX
=123
Type:
integer
-
ConsoleY
=123
Type:
integer
-
ConsoleWidth
=123
Type:
integer
-
ConsoleHeight
=123
Type:
integer
-
WinX
=123
Type:
integer
-
WinY
=123
Type:
integer
-
ResX
=123
Type:
integer
-
ResY
=123
Type:
integer
-
VSync
Type:
flag
Opposite:
-
NoVSync
Type:
flag
Opposite:
-
Benchmark
Type:
flag
-
DumpMovie
Type:
flag
Sets the GIsDumpingMovie
variable to -1
so it dumps for an unspecified time. Can also be set through the console variable r.DumpingMovie
Is a flag, cannot set it to dump for a defined amoutn of time like the console variable or global variable.
- IConsoleManager::Get().RegisterConsoleVariableRef(TEXT("r.DumpingMovie"),
GIsDumpingMovie,
TEXT("Allows to dump each rendered frame to disk (slow fps, names MovieFrame..).\n")
TEXT("<=0:off (default), <0:remains on, >0:remains on for n frames (n is the number specified)"),
ECVF_Cheat);
-
Exec
Type:
flag
What is an exec file? Is it really related to rendering?
-
FPS
=123
Type:
integer
-
Fullscreen
Type:
flag
Opposite:
-
Windowed
Type:
flag
Opposite:
Network
-
LanPlay
Type:
flag
-
LimitClientTicks
Type:
flag
See NetDriver.cpp
. This flag seems to be on by default if GetNetMode() == NM_ListenServer
#if WITH_SERVER_CODE
int32 UNetDriver::ServerReplicateActors_PrepConnections( const float DeltaSeconds )
{
int32 NumClientsToTick = ClientConnections.Num();
// by default only throttle update for listen servers unless specified on the commandline
static bool bForceClientTickingThrottle = FParse::Param( FCommandLine::Get(), TEXT( "limitclientticks" ) );
if ( bForceClientTickingThrottle || GetNetMode() == NM_ListenServer )
{
// ...
-
MultiHome
Type:
flag
-
MultiHomeHttp
Type:
flag
-
NetworkProfiler
Type:
flag
-
NoSteam
Type:
flag
-
Port
="abc"
Type:
string
User
-
NoHomeDir
Type:
flag
So what does it do instead?
-
NoForceFeedback
Type:
flag
-
NoSound
Type:
flag
-
NoSplash
Type:
flag
-
NoTextureStreaming
Type:
flag
-
OneThread
Type:
flag
-
Paths
="abc"
Type:
string
-
UseAllAvailableCores
Type:
flag
Can only find it with reference to archiving.
Server Switches
-
Login
="abc"
Type:
string
-
Password
="abc"
Type:
string
Game Stats/Database
-
NoDatabase
Type:
flag
-
NoLiveTags
Type:
flag
INI/Config Files
-
NoAutoINIUpdate
Type:
flag
Incompatible with:
-
NoINI
Type:
flag
-
RegenerateINIs
Type:
flag
Incompatible with:
Be careful with plurals
Graphics
-
PreferAMD
Type:
flag
Related:
Windows DX11
-
PreferIntel
Type:
flag
Related:
Part of the Windows D3D12, D3D11 and Vulkan Render Hardware Interfaces, this lets you set a preferred adapter vendor. I guess you might want to use it if you've optimised for one over another, and the user has multiple installed?
-
PreferNVidia
Type:
flag
Related:
Part of the Windows D3D12, D3D11 and Vulkan Render Hardware Interfaces, this lets you set a preferred adapter vendor. I guess you might want to use it if you've optimised for one over another, and the user has multiple installed?
-
PreferMS
Type:
flag
Related:
Part of the Windows D3D11 Render Hardware Interface only, this lets you set a preferred adapter vendor. I guess you might want to use it if you've optimised for one over another, and the user has multiple installed?
-
AllowSoftwareRendering
Type:
flag
In the D3D11 and D3D12 RHI, setting this allows it to fall back to software rendering. By default it seem this is disabled.
VR
-
NoHMD
Type:
flag
Disables head-mounted display. Useful for disabling SteamVR.
Unknown
-
Multiprocess
Type:
flag
-
MultiprocessSaveConfig
Type:
flag
-
SkipCompile
Type:
flag
-
SystemMalloc
Type:
flag
-
NumThreads
=123
Type:
integer
Minimum 1.
-
NumRuns
=123
Type:
integer
Minimum 1.
-
MemPerThread
=123
Type:
integer
In kilobytes.
-
TouchMem
Type:
flag