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

  1. Open the properties. In your Steam library, right-click Team Fortress 2 and choose Properties.
  2. Find the box. It's on the General tab, under Launch Options.
  3. Type the options. Separate them with spaces: -novid -nojoy.
  4. 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 optionWhat it does
-novidSkips the Valve intro video so the game starts faster.
-nojoyTurns off joystick support. Faster start, less memory.
-nosteamcontrollerTurns off Steam controller support. Faster start, less memory, fewer input conflicts.
-nohltvTurns off SourceTV hosting to save resources.
-particles 1Caps 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 optionWhat it does
-dxlevel 90DirectX 9 with Pixel Shader 2.0b. Lower graphics quality.
-dxlevel 100DirectX 9+ with Pixel Shader 3.0. Best graphics. Start the game once with -dxlevel 95 first.
-vulkanBest 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 optionWhat it does
-windowedStarts the game in a window.
-noborderRemoves the window border. With -windowed you get a borderless window that can fill the screen.
-fullscreenStarts the game in fullscreen.
-w <number> -h <number>Sets the game width and height in pixels, like -w 1024 -h 576.
-smallAllows 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 optionWhat it does
-consoleOpens the console when the game starts.
-nostartupsoundTurns off the main menu music.
-no_texture_streamTurns off texture streaming (blurry textures while the full ones load).
-autoconfigResets graphics to what the game recommends for your PC. Remove it after one launch.
-audiolanguage englishEnglish voice lines when the game is set to another language.
-precachefontcharsPreloads common font characters.
-enablefakeipUses a reserved IP address instead of your own.
-nouserclipUses software clipping instead of hardware clip planes. Can raise or lower FPS depending on your PC.
-nosoundTurns off sound.
+exec <file>.cfgRuns 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.