TF2 launch options: how to set them and what each one does
Launch options are flags Steam passes to TF2 when it starts the game. They set things like the DirectX level and window mode, or turn off parts of the startup.
How to set launch options in TF2
- Open the properties. In your Steam library, right-click Team Fortress 2 and choose Properties.
- Find the box. It's on the General tab, under Launch Options.
- Type the options. Separate them with spaces:
-novid -nojoy. - Close the window and start the game.
To remove one, just delete it from the box.
Launch options to start with
mastercomfig's docs recommend this line: -novid -nojoy -nosteamcontroller -nohltv -particles 1. Here's what each one does.
| Launch option | What it does |
|---|---|
-novid | Skips the Valve intro video so the game starts faster. |
-nojoy | Turns off joystick support. Faster start, less memory. |
-nosteamcontroller | Turns off Steam controller support. Faster start, less memory, fewer input conflicts. |
-nohltv | Turns off SourceTV hosting to save resources. |
-particles 1 | Caps beam particles at the lowest count, 512. |
-dxlevel and -vulkan
-dxlevel sets which DirectX level the game uses. These are Windows only. On macOS and Linux the game picks the level itself and you can't change it.
| Launch option | What it does |
|---|---|
-dxlevel 90 | DirectX 9 with Pixel Shader 2.0b. Lower graphics quality. |
-dxlevel 100 | DirectX 9+ with Pixel Shader 3.0. Best graphics. Start the game once with -dxlevel 95 first. |
-vulkan | Best graphics, rendered with Vulkan through DXVK. Start the game once with -dxlevel 95 first. |
Use -dxlevel for one launch, then remove it. Start the game with it once, close the game and delete it. According to mastercomfig's docs, leaving it in causes graphics settings to not apply, slow loading and freezes. They also say -vulkan lowers input latency and fixes some graphics bugs, though how well it works depends on your system and drivers.
mat_dxlevel holds your current DirectX level. Its in-game help text says competitive play needs at least mat_dxlevel 90.
You can still set DirectX 8 with a launch option (the wiki lists 80 to 100 as values for -dxlevel). mastercomfig's docs say don't: more input lag, lower FPS, crashes, and broken water and skins. There are also reports it stopped working after the 64-bit update.
Window, resolution and refresh rate
| Launch option | What it does |
|---|---|
-windowed | Starts the game in a window. |
-noborder | Removes the window border. With -windowed you get a borderless window that can fill the screen. |
-fullscreen | Starts the game in fullscreen. |
-w <number> -h <number> | Sets the game width and height in pixels, like -w 1024 -h 576. |
-small | Allows resolutions smaller than 640x480. |
-freq <number> | Sets the refresh rate in Hz if the game doesn't detect it, like -freq 144. |
-displayindex <number> | macOS and Linux: picks the monitor. 0 is your main display (the default). |
mastercomfig's docs recommend setting resolution in the in-game video options. Use -w and -h only for sizes that aren't listed there.
Other TF2 launch options
| Launch option | What it does |
|---|---|
-console | Opens the console when the game starts. |
-nostartupsound | Turns off the main menu music. |
-no_texture_stream | Turns off texture streaming (blurry textures while the full ones load). |
-autoconfig | Resets graphics to what the game recommends for your PC. Remove it after one launch. |
-audiolanguage english | English voice lines when the game is set to another language. |
-precachefontchars | Preloads common font characters. |
-enablefakeip | Uses a reserved IP address instead of your own. |
-nouserclip | Uses software clipping instead of hardware clip planes. Can raise or lower FPS depending on your PC. |
-nosound | Turns off sound. |
+exec <file>.cfg | Runs that config file when the game starts. |
Launch options for a HUD or a config
You don't need any. A custom HUD loads from its folder in tf/custom, and autoexec.cfg runs on its own when the game starts. +exec is only for a config with a different name. The TF2 config maker writes an autoexec.cfg for you.
Where this comes from
The Steam steps and option descriptions come from the Team Fortress 2 wiki and from mastercomfig's docs. The recommended line, the -dxlevel advice and the mat_dxlevel help text are from mastercomfig too.
Next
For settings that aren't launch options, see the TF2 console commands guide, set your FOV and viewmodel, or pick a TF2 HUD.