UDN
Search public documentation:
CommandLineArguments
日本語訳
中国翻译
한국어
Interested in the Unreal Engine?
Visit the Unreal Technology site.
Looking for jobs and company info?
Check out the Epic games site.
Questions about support via UDN?
Contact the UDN Staff
中国翻译
한국어
Interested in the Unreal Engine?
Visit the Unreal Technology site.
Looking for jobs and company info?
Check out the Epic games site.
Questions about support via UDN?
Contact the UDN Staff
UE3 Home > Unreal Engine 3 Basics > Unreal Engine 3 Command-Line Arguments
Unreal Engine 3 Command-Line Arguments
Overview
Modes
UDK.exe editor
-
Editor
: Launch the editor -
Server
: Run the game as a server
Map/Server/Editor URL Parameters
UDK.exe MyMap.udk?game=MyPackage.MyGame?class=MyPackage.MyPawn UDK.exe server MyMap.udk?listen=true?bIsLanMatch=true UDK.exe 127.0.0.1
General Options
-
CHARACTER
: the player character to use. -
CLASS
: tells the engine what player class to use (overriding default). -
GAME
: tells the engine what GameInfo class to use (overriding default). -
NAME
: player name to use. -
PASSWORD
: password required to join a server. -
TEAM
: the team the player is on (or prefers).
Server Options
-
bHasVoice
: Specify that voice support is available. -
bIsLanMatch
: Set whether multiplayer game is on the local network (e.g.bIsLanMatch=0
). -
bRequiresPassword
: Set whether online games requires a password (e.g.bRequiresPassword=0
). -
DEDICATED
: Specify server as dedicated server. -
GAMEPASSWORD
: Server password passed on travel. -
LISTEN
: Specify server as a listen server (e.g. Listen=...). -
SERVERDESCRIPTION
: The description to be displayed for the server.
UTGame Specific Options
-
DIFFICULTY
: Set the skill level for bots in the game. -
MUTATOR
: Specify a mutator to use. -
NUMPLAY
: Number of players to use. (Number of bots +1 for the player) -
RESTART
: Restart the map. -
SPECTATORONLY
: Start the game in spectator mode.
Switches
UDK.exe –silent LOG=MyLog.txt
Developer
-
ABSLOG
: Same as LOG= but without a filename length check. -
ALLUSERS
: Add the game for all users when INSTALLGE is specified. -
AUTO
: Assume yes on all questions (for example during compile). -
AUTOCHECKOUTPACKAGES
: Automatically checkout packages that need to be saved. -
AUTODEBUG
: Perform auto debugging. Attach the UnrealScript debugger and break at the first bytecode encountered. -
AutomatedMapBuild
: Perform an automated build of a specified map. Automated Map Build -
BIASCOMPRESSIONFORSIZE
: Override compression settings with respect to size. -
BUILDMACHINE
: Set as build machine. Used for deciding if debug output is enabled. -
BULKIMPORTINGSOUNDS
: Use when importing sounds in bulk (Generic Browser specific) -
CHECK_NATIVE_CLASS_SIZES
: Enable checking of native class sizes. Note: Native classes on console platforms will cause native class size checks to fail even though they are assumed to be correct. -
CODERMODE
: Enables Coder mode. -
COMPATSCALE
: Set compatibility settings manually to override PCCompat tool settings. -
CONFORMDIR
: Directory to use when conforming packages. -
COOKFORDEMO
: Specify as cooking packages for the demo. -
COOKPACKAGES
: tag to specify cooking packages. -
CRASHREPORTS
: Always report crashes of the engine. -
D3DDEBUG
: Use a d3d debug device. -
DEBUG
: Tells the engine to send debug info to the debugger, or build debug packages during script compile. -
DEBUGFACEFX
: Trace FaceFX animations. -
DEVCON
: Disable secure connections for developers (uses unencrypted sockets). -
DUMPFILEIOSTATS
: track and log File IO statistics. -
DUMPUDKSURVEY
: Simply dump UDK hardware survey. No upload. -
FATALSCRIPTWARNINGS
: treat script warnings from debugging as fatal. -
FINAL_RELEASE
: Set the FINAL_RELEASE macro for script compiling. -
FIXEDSEED
: Initialize the random number generator with a fixed value, 0. -
FIXUPTANGENTS
: Fix legacy tangents in distributions automatically. -
FORCELOGFLUSH
: Force a log flush after each line. -
FORCEPVRTC
: force pvrtc texture compression for mobile platform. -
FORCESOUNDRECOOK
: Force a complete re-cook of all sounds. -
GENERICBROWSER
: Use the Generic Browser. -
INCLUDEUTGAMECONTENT
: Set UTGameContent packages to be loaded. -
INSTALLED
: For development purposes, run the game as if installed. -
INSTALLFW
/UNINSTALLFW
: Set whether the handling of the firewall integration should be performed. -
INSTALLGE
: Add the game to the Game Explorer -
LANGUAGEFORCOOKING
: Set language to be used for cooking. -
LIGHTMASSDEBUG
: Launch lightmass manually with –debug and allows lightmass to be executed multiple times. -
LIGHTMASSSTATS
: Force all lightmass agents to report detailed stats to the log. -
LOG
: When used as a switch (-log), opens a seperate window to display the contents of the log in real time. When used as a setting (LOG=filename.log), tells the engine to use the log filename of the string which immediately follows. -
LOGTIMES
: Print time with log output. (Default, same as setting LogTimes=True in the [LogFiles] section of *Engine.ini) -
NOCONFORM
: tells the engine not to conform packages as they are compiled. -
NOCONTENTBROWSER
: Disable the Content Browser. -
NOINNEREXCEPTION
: Disables the exception handler within native C++. -
NOLOADSTARTUPPACKAGES
: Force startup packages not to be loaded. You can use this if objects in a startup package must be deleted from within the editor. -
NOLOGTIMES
: Do not print time with log output. (Same as setting LogTimes=False in the [LogFiles] section of *Engine.ini) -
NOMODAUTOLOAD
: Do not automatically load mod classes. -
NOPAUSE
: Close the log window automatically on exit. -
NOPAUSEONSUCCESS
: Close the log window automatically on exit as long as no errors were present. -
NOREMOTECONTROL
: Disable the remote control. Used for dedicated servers. -
NORC
: Disable the remote control. Used for dedicated servers. -
NOVERIFYGC
: Do not verify garbage compiler assumptions. -
NOWRITE
: Disable output to log. -
OUTPUTHEADERS
: Force output of headers on script patch export. -
RC
: Force remote control to be visible. -
REMOTECONTROL
: Force remote control to be visible. -
REPAIR
: Automatically fix any problems with game asset database. -
SCRIPTSTACKONWARNINGS
: Display script stack for warnings during debugging -
SEEKFREELOADING
: Only use cooked data. -
SEEKFREEPACKAGEMAP
: Override the package map with the seekfree (cooked) version. -
SEEKFREELOADINGPCCONSOLE
: only use cooked data for PC console mode. -
SEEKFREELOADINGSERVER
: Only use cooked data for server. -
SETTHREADNAMES
: (Xbox only) Force thread names to be set. This can mess up the XDK COM API which is why it must be explicitly set to be performed if desired. -
SHOWMISSINGLOC
: if missing localized text, return error string instead of English text. -
SILENT
: Disable output and feedback. -
SKIPDOWNLOADER
: For development purposes on Android, skip Google Play expansion downloader and use manually synced data. -
TRACEANIMUSAGE
: Trace animation usage. -
TREATLOADWARNINGSASERRORS
: Force load warnings to be treated as errors. -
UNATTENDED
: Set as unattended. Disable anything requiring feedback from user. -
UNINSTALLGE
: Remove the game from the Game Explorer. -
USEUNPUBLISHED
: Force packages in the Unpublished folder to be used (deprecated?) -
UTRACE
: Enable script tracing features. -
VADEBUG
: Use the Visual Studio debugger interface. -
VERBOSE
: Set script compiler to use verbose output. -
VERIFYGC
: Force garbage compiler assumptions to be verified. -
WAITFORDEBUGSERVER
: Force game to wait until UnrealConsole attaches. -
WARNINGSASERRORS
: Treat warnings as errors -
WXWINDOWS
: Must be passed to enable property windows and the remote control
Rendering
-
ConsolePosX
: Horizontal position for console output window. -
ConsolePosY
: Vertical position for console output window. -
PosX
: Set the horizontal position of the game window on the screen. -
PosY
: Set the vertical position of the game window on the screen. -
WindowPosX
: Set the horizontal position of the game window on the screen. -
WindowPosY
: Set the vertical position of the game window on the screen. -
ResX
: Set horizontal resolution for game window. -
ResY
: Set vertical resolution for game window. -
VSync
: Activate the VSYNC via command line (prevents tearing of the image but costs fps and causes input latency) -
NoVSync
: Deactivate the VSYNC via command line -
BENCHMARK
: Run game at fixed-step in order to process each frame without skipping any frames. This is useful in conjunction with DUMPMOVIE options. -
DUMPMOVIE
: Dump rendered frames to files using current resolution of game. -
DUMPMOVIE_TILEDSHOT
: Dump rendered frames to files using the specified resolution multiplier. Uses tiled shots for high resolution frames (e.g.DUMPMOVIE_TILEDSHOT=4
). -
EXEC
: executes the specified exec file. -
FORCESHADERMODEL2
: Force shader model 2 rendering path even on shader model 3 hardware. -
FORCESHADERMODEL3
: Force the use of shader model 3. -
FPS
: set the frames per second for benchmarking. -
FULLSCREEN
: Set game to run in fullscreen mode. -
PIXO
: Use pixomatic software rendering. -
SECONDS
: Set the maximum tick time. -
SM3
: Force the use of shader model 3. -
SM4
/D3D10
: Force use of DirectX 10 if available. -
WINDOWED
: Set game to run in windowed mode.
Network
-
LANPLAY
: tells the engine to not cap client bandwidth when connecting to servers. Causes double the amount of server updates and can saturate client’s bandwidth. -
Limitclientticks
: Force throttling of network updates. -
LIVEMACADDRESS
: Specify a MAC address to use for Panorama connection. -
LIVEPORT
: Specify a port to use for Panorama connection. -
LIVEREGKEY
: Specify a registration key. -
MPGAMETYPE
: Specify single gametype to be used for cooking. -
MULTIHOME
: Tells the engine to use a multihome address for networking. -
NETWORKPROFILER
: Enable network profiler tracking. -
NOLIVE
: Disable Panorama. -
NOSTEAM
: Set steamworks to not be used. -
PORT
: tells the engine to use a specific port number. -
PRIMARYNET
: affects how the engine handles network binding.
User
-
NOHOMEDIR
: Override use of My Documents folder as home directory. -
NOFORCEFEEDBACK
: Disable force feedback in the engine. -
NOSOUND
: Disable any sound output from the engine. -
NOSPLASH
: Disable use of splash image when loading game. -
NOTEXTURESTREAMING
: Disable texture streaming. Highest quality textures are always loaded. -
ONETHREAD
: Run the engine using a single thread instead of multi-threading. -
PATHS
: set what paths to use for testing wrangled content. Not used for shipping releases. -
PREFERREDPROCESSOR
: Set the thread affinity for a specific processor. -
USEALLAVAILABLECORES
: Force the use of all available cores on the target platform.
Server Switches
-
LOGIN
: set username to use when logging in. -
PASSWORD
: set password to use when logging in.
Game Stats/Database
-
CSVSTATS
: Write stats to file using comma separated format. -
GAMESTATS
: Use game stats visualization. -
NODATABASE
: Do not use database. Ignore database connection errors. -
NOGADWARNING
: Disable game asset database warning on editor startup. -
NOLIVETAGS
: Skip loading unverified tag changes from SQL database. Only load for current user. -
STARTSTATSFILE
: Begin writing to the stats file. -
STATFILE
: Set the name of the file to output stats to. -
XMLSTATS
: Write stats to file using XML format.
INI/Config Files
-
ENGLISHCOALESCED
: Revert to the default (English) coalesced .ini if the language-localized version cannot be found. -
NOAUTOINIUPDATE
: Suppress prompts to update .ini files. -
NOINI
: Do not update the .ini files. -
REGENERATEINIS
: forces .ini files to be regenerated.
Commandline Argument | INI Override |
---|---|
DEFEDITORINI= | Default Editor |
EDITORINI= | Editor |
DEFEDITORUSERSETTINGSINI= | Default EditorUserSettings |
EDITORUSERSETTINGSINI= | EditorUserSettings |
DEFCOMPATINI= | Default Compat |
COMPATINI= | Compat |
DEFLIGHTMASSINI= | Default Lightmass |
LIGHTMASSINI= | Lightmass |
DEFENGINEINI= | Default Engine |
ENGINEINI= | Engine |
DEFGAMEINI= | Default Game |
GAMEINI= | Game |
DEFINPUTINI= | Default Input |
INPUTINI= | Input |
DEFUIINI= | Default UI |
UIINI= | UI |
-ini:IniName:Section1.Key1=Value1,Section2.Key2=Value2,...
-ini:PS3-UDKEngine:Engine.Engine.bSmoothFrameRate=False,TextureStreaming.PoolSize=100 -ini:ExoGame:AwesomeBoss.HitPoints=100000
Debugging
-
BugLoc
(e.g.BugLoc=(X=1798.8569,Y=475.9513,Z=-8.8500)
) -
BugRot
(e.g.BugRot=(Pitch=-1978,Yaw=-7197,Roll=0)
)
Misc.
-
timelimit
(e.g.timelimit=[time]
) -
goalscore
(e.g.goalscore=[score]
) -
numbots
(e.g.numbots=[num]
)