Skip to content

[EN] Engine's command line keys

Xottab_DUTY edited this page May 14, 2019 · 6 revisions

xr_3da (xrEngine.exe)

Key Description
-dedicated Enables dedicated server mode
-nosplash Disables splash screen
-splashnotop Disables TOPMOST mode for splash screen
-fsltx Sets the path to filesystem configuration file

xrCDB

Key Description
-mt_cdb

xrCore

Key Description
-auto_load_arch
-overlay_path
-nolog Disables log
asdf (Debug and Mixed only)
-force_flushlog Forces log flush to disk on each Log() call
-build
-ebuild
-cache
-file_activity
-swap_on_compact Swaps memory on mem_compact() call
-silent_error_mode BugTrap will just save error report without showing error window
-show_error_window Will show error window, where you can skip the error. Not related to -silent_error_mode key

xrEngine (xrEngine.dll)

Key Description
-center_screen Centers game window
-gpu_sw
-gpu_nopure
-gpu_ref
-draw_borders
-weather Enables weather editor
-tune Intel vTune integration
-nes_texture_storing
-noprefetch Disables prefetch
-ltx
-r1 Forces static lighting (DX9)
-r2a Forces dynamic lighting (DX9)
-r2 Forces full dynamic lighting (DX9)
-r2.5 Forces enhanced full dynamic lighting (DX9)
-r3 Forces enhanced full dynamic lighting (DX10)
-r4 Forces enhanced full dynamic lighting (DX11)
-gl Forces enhanced full dynamic lighting (OpenGL)
-start
-load
-xclsx Disables red text (Appears on Debug and Mixed only)

xrGame

Key Description
-designer
-psp Enables PSP mode
-keep_lua
-ignore_save_incompatibility
-demomode
-nointro Disables intro
-svcfg
-savescreenshots
-debug_ge
-$
-~ve Disables entity verifying

xrNetServer

Key Description
-netsim
-dump_traffic

xrRender

Key Description
-noaref Disables alpha reference
-no_hom Disables HOM
-vtf Forces vertex texture fetch usage (For OpenGL renderer only)
-no_occq Disables occlusion testing
-ss_png Enables PNG screenshots instead of JPEG (For OpenGL renderer only)
-list_thm Lists THM files and LTX descriptions in the log
-game_designer Works on R1-R2 only
-lack_of_shaders Don't crash if some shaders are missing
-no_staging
-nodf24
-r4xx Emulates ATI-R4XX series GPU
-nonvs Disable NVidia stencil
-smap1024 Shadow map quality
-smap1536 Shadow map quality
-smap2048 Shadow map quality
-smap2560 Shadow map quality
-smap3072 Shadow map quality
-smap4096 Shadow map quality
-smap8192 Shadow map quality
-gloss
-bug
-sunfilter
-sjitter
-depth16
-noshadows Disables shadows
-tsh
-mblur Enables motion blur
-nodistort Disables distortion
-nocolormap Disables color mapping (works only on R1)
-disasm Outputs disassembled shader in $appdata$/disasm folder
-skinw

xrScriptEngine

Key Description
-_g
-luadumpstate Lua state dump on crash (more detailed log)
-break_on_assert
-dump_bindings Dumps Lua script export and saves it in $appdata$ folder
-nojit Disables JIT scripts compilation
-lua_studio Connects the engine to GSC's LuaStudio script debugger. Doesn't work, because this program is GSC property and you cannot download it

xrSound

Key Description
-nosound Disables sound
Clone this wiki locally