Launch Options


Writen by: Ben “Klown” Ross

**As with all my Tweaks and Tip, I HIGHLY recommend you backup your Day of Defeat : Source folder or atleast your cfg folder and ALL its contents (Not just the .cfg files). I am not responsible for anything you mess up even if you do exactly as I say, Some peoples systems just don’t like being tweaked.**

Now since I have already show you what you can do in windows and in a FPS config to improve your game. I decided to tell you about the little section I skipped over, This will be the Day of Defeat : Source Launch Options. Getting to this area is very simple and from there you can improve your FPS , Game Preformance , Debug and much more. Now lets get started by getting you to this area.

* Step 1.) Open Up Steam
* Step 2.) Right click on “Day of Defeat : Source” and click “Properties”
* Step 3.) In the “General” tab click “Set Launch Options”

————————————

**At the very bottom of this tweaks article, I will explain what every command does so look there to see what exactly they all do.**

Now if its the first time you been here, You will have an empty box, If not you may have stuff in there already doesn’t matter. In the text area is of course where we are going to put all the commands. Lets start with imporving the games load up time. I for one hate seeing and having to ESC out of the valve intro movie everytime, So to get rid of that just add :

* -novid

————————————

If you use my FPS config, You know everytime you load up the game you have to exec it twice or three times, To make this a little bit easier just add :

* -console

**Also make sure you seperate each one with a space it should look like this : -novid -console**

————————————

Now lets worry about your mouse.

*Note : Adding these commands below will change the “feel” of your game so do it at your own risk of having to readjust*
People hate the game loading every mouse setting built into windows and making it take effect when you play the game. To fix this you can add these 3 commands :

* -noforcemaccel
* -noforcemspd
* -noforcemparms

————————————

Lets move onto a little more complicated commands. This would be your heapsize, This is determined by how much RAM you have for your system. Now I can’t just give a number for everyone since everyone doesn’t have the same amount of RAM. I can though give you a way to find out your amount and plus give the most common ones :

Most Common :

Amount of RAM – Heapsize Number

4gb – 2097152
3gb – 1572864
2gb – 1048576
1gb – 524288
512mb – 262144
256mb – 131072
128mb – 65536

Formula to find out heapsize :

Amount of RAM in MB x 1024 / 2 (so for 2gb of RAM it would be : 2048 * 1024 = 2097152 / 2 = 1048576)

Just adding that number to the launch options will not work.. It needs to be in conjunction with the -heapsize command. So all together with the -heapsize and your heapsize it would look like this if you have 2gb of ram.

* -heapsize 1048576

————————————

The last big thing is setting your Direct-X Level. But be WARNED that you do NOT want to have this set to be changed in BOTH your launch options and in a Config file. It has to be set in ONLY ONE NOT BOTH. Now the 80 or 81 dxlevel may not work for every and can cause instability or the game to not run at all. So I will provide all 4 LEGAL dxlevels.

80 (For those that 81 doesn’t work for try this)
81 (Best for an increase in FPS)
90 (Default if 80 or 81 doesn’t work this is the one you have to use)
95 (BEST for movie making , Makes the graphics even better)

To use/set your Direct-X Level you will need to put the following *Remember where ## is that is the level number you want to use*

* -dxlevel ##

————————————

Those above are the only commands I FULLY recommend adding. Below are some optional commands that you can add if you want.

* -refresh ##

Match this to your monitors MAX refresh rateat the resolution you play your game at.

* -high or -low

Set this to have your game run on either HIGH or LOW cpu priority, This can boost FPS on some systems. It can also cause random steam disconnect/crashes on others. Try high first then low if it doesn’t work.. If none of them work or cause errors remove it. DO NOT USE BOTH AT ONCE!

————————————

Alright there are more but I will stop there. Look at the very bottom of this article for a complete list or more you can add.

Now before I give that list let me tell you some important and helpfull commands you can do. First is debugging your game, If you ever crash a lot you can try adding either of these or all of them :

* -nosound

Stops the game from using your soundcard. If your game stops crashing it has something to do with your sound. Either bad drivers / Dx sound issues / or even vent or some other sound program running at the same time. *Can also improve FPS at the cost of sound*

* -windowed or -sw

Runs the game in window mode or software mode. If your game stops crashing its probally a Direct-X problem or bad videocard drivers or something along those lines.

* -autoconfig

This is where a the cfg folder backup comes in. This stops and rewrites your video settings and config settings to default. If you game stops crashing while this is in the launch options its either a bad video setting ingame or something in your config. *After you take this out if it didn’t help and restore you ENTIRE cfg folder over the new one made*

————————————

For my last helpful top you can add a “+” sign and use that to exec config files or change a individual cvar on startup. It would look like this for a config :

* +exec FPS.cfg

or it would look like this for a cvar :

* +r_drawdetailprops 1

————————————

That is all I have for you guys today hope I helped out in someform. Below is the complete list of “-” commands you can use in the Launch Options and what they do.

-autoconfig
(Restores ALL settings to default and ignores every config file)

-dev
(Developer Mode, Runs standard test when opening)

-condebug
(Logs your console output into a console.log text file)

-console
(Opens the game directly to your console)

-toconsole
(Opens the game directly to your console *Used for server when a +map isn’t specified*)

-dxlevel
(Sets your games Direct-X Level 80 , 81 , 90 , 95)

-32bit
(Forces the game to run in 32bit mode if you are using a 64bit system)

-fullscreen
(Starts the game in Fullscreen)

-windowed
(Starts the game in a Window)

-sw
(Starts the game in a window with Software Mode)

-w
(Sets the width of game in a window or fullscreen)

-h
(Sets the height of game in a window or fullscreen)

-refresh
(Sets a particular refresh rate for the game to use)

-heapsize
(Tells how much memory the game will use)

-nocrashdialog
(Stops the error window from popping up after a crash)

-novid or -novideo
(Stops intro from loading)

-nosound
(Stops the game from using your soundcard)

-nosync
(Tells the game to not use VSync)

-low
(Sets the game to use LOW cpu priority)

-high
(Sets the game to use HIGH cpu priority)

-noforcemparms
(Stops windows mouse paramaters from loading)

-noforcemspd
(Stops windows mouse speed from loading)

-noforceaccel
(Stops windows mouse acceleration from loading)