STALKER: Shadow of Chernobyl Tweak Guide
[Page 9] Advanced Tweaking (Pt.3)
Command Line Switches
There are a range of additional commands you can execute when first launching STALKER called Command Line Switches. These 'switches' are commands which are passed on to the game's main executable file XR_3DA.exe, telling the engine to do certain things as the game launches. To use a command line switch, go to your STALKER launch icon, right-click on it and select Properties. Then in the Target box, one space after the last character, insert the switch(es) you wish to use, each separated by one blank space. For example:
"C:\Program Files\THQ\S.T.A.L.K.E.R. - Shadow of Chernobyl\bin\XR_3DA.exe" -nointro -noprefetch -noshadows
The switches -nointro, -noprefetch and -noshadows used above have been added to disable the introductory logo screens, prevent prefetching of data and also disable all non-Sun shadows in the game engine. These would otherwise not be possible to do using the in-game settings. You can disable them at any time simply by removing the relevant switch from the launch icon, or creating a second launch icon without the switches and using that to launch the game whenever you don't wish to enable a certain switch.
The full list of Command Line Switches for STALKER is provided further below, and a brief description for each is provided wherever possible. I've tested each and every switch, however some switches have no discernable impact, or simply cause the game to crash while loading. Suggested usage instructions for the most useful switches are spread throughout this guide:
-_g
-batch_benchmark
-bug
-build
-center_screen - Centers the game window when running STALKER in windowed mode.
-debug_ge
-depth16
-designer
-demomode [ ]
-disasm
-dsound - Uses the DirectSound audio renderer instead of OpenAL.
-ebuild
-file_activity - Records file activity in the console during the game.
-fsltx
-gloss
-gpu_nopure - Switches the GPU state from Pure Hardware to simply Hardware mode.
-gpu_ref - Switches the GPU state to Reference mode.
-gpu_sw - Switches the GPU state to Software Renderer.
-i
-keep_lua
-launcher
-load [savegame] - Loads specified saved game on startup.
-ltx [filename.ltx] - Loads and executes specified filename.ltx configuration file.
-mblur - Allows the r2_mblur command to function correctly if used.
-mem_debug
-mt_cdb
-nes_texture_storing
-netsim
-no_call_stack_assert
-no_direct_connect
-no_occq
-nodf24
-nodistort - Removes distortion effects, e.g heat haze around fires and warping near anomalies.
-nointro - Skips all introductory movies/logos and goes straight to the main menu.
-nojit
-nolog - Disables logging.
-nonvs
-noprefetch - Disables prefetching. Games load faster, in-game stuttering may increase or drop.
-noshadows - Disables shadows from dynamic light sources (excluding the Sun). May improve FPS.
-nosound - Disables all sound in the game.
-overlay [directory path] - Forces a different directory for saved games/profiles/config file.
-pure_alloc
-pack [ ]
-psp - Enables third person view mode, but has bugs.
-r2 - Forces STALKER to start with Full Dynamic Lighting DX9 Renderer.
-r2a - Forces STALKER to start with Objects Dynamic Lighting DX9 Renderer.
-r4xx - Forces STALKER to start with Static Lighting DX8 Renderer.
-silent_error_mode
-sjitter
-skinw
-smap1536
-smap2048
-smap2560
-smap3072
-smap4096
The above switches set the Shadow Map size, which affects all shadow quality, similar to the in-game Shadows Quality setting. Here you can specify even higher quality shadow map resolutions (i.e. smap2048, smap3072 and smap4096) which improve image quality but reduce FPS.
-ss_tga - Forces all in-game screenshots to be taken in both .JPG and high quality .TGA format.
-start [ ]
-sunfilter
-svcfg
-tsh
-tdemo
-tdemof
-techdemo
-tune
-x86
-xclsx
Once again, if you have definite knowledge of what a switch does (please, no guesses), and it is something which would be quite useful, then please Email Me with the details and I will update this list accordingly so everyone can benefit.
The next page brings the guide to a conclusion with some handy tips.