Steam launch options are short codes you type into a game's properties so it starts with different settings: a resolution, windowed mode, a skipped intro video, or on Linux, a Proton setting. They're one of the most useful tools for getting a game running when its own menu won't cooperate, and also one of the most misused, because lists of so-called performance launch options get copied between games that don't support them. This guide shows where launch options go, how they work, which ones Valve actually documents, and how to remove them. The instructions come from Valve's Steam Support page and the README for Valve's Proton project on GitHub, both credited below. Where something is our advice, we say so.
What launch options do
Valve's description is that "Game launch options can be used to change game settings before running the game." It adds that they "allow the user to supersede internal settings of the game", and calls them "an effective means to recover from incompatible video settings as well as troubleshooting a wide range of issues."
That last use is the one we'd reach for first. If you've set a resolution or refresh rate your monitor can't show and the game now opens to a black screen, a launch option can force it back without you needing to reach the in-game menu.
How to add launch options in Steam
Valve's steps are:
Open your Steam Library.
Right-click the game's title and select Properties.
On the General tab, find the Launch Options section.
Enter the options you want, and Valve says to "be sure to separate each code with a space".
Close the game's Properties window and launch the game.
There's no Save button. Whatever's in the box is used the next time you start the game from Steam.
The launch options Valve documents (Source and GoldSrc games)
Valve's support page lists common launch options, but there's an important catch it spells out: "These launch options apply to GoldSrc and Source engine games only. They do not apply to most third party games." In other words, they're for Valve's own titles, such as Left 4 Dead and Team Fortress 2, which the page mentions by name, not for every game on Steam. The ones most useful for fixing display problems are:
-autoconfig: "Restores video and performance settings to default for the current hardware detected". Valve notes that it ignores the game's settings files "until this parameter is removed", so take it out once the game is working again.
-windowed or -sw: forces windowed mode. -fullscreen forces full-screen mode. Our guide to fullscreen vs borderless windowed explains the difference.
-w and -h: force a resolution width and height. Valve says -h isn't needed when -w is set, because "The width value will determine the height automatically."
-refresh: "Force a specific refresh rate." If you're not sure what your monitor supports, see our guide to changing your monitor's refresh rate.
-novid: Valve says that with this option "the intro Valve video will not play."
-console: "Starts the game with the developer console enabled."
So for a Source game stuck on a resolution your screen can't handle, an example entry would be -windowed -w 1920, and once you're back in, you can set the resolution properly in the game's menu and remove the options.
Valve also lists options such as -dxlevel and console commands with a plus sign in front, such as +mat_picmip for texture detail. It warns about one in particular: "Our games no longer support DirectX 7 as a launch option. Using this can cause crashes." If you have -dxlevel 70 in a game's launch options, Valve says to remove it.
Other games: check the developer's own advice
For games not built on Valve's engines, in our view the only launch options worth using are ones the game's developer or publisher documents, such as in its support pages or patch notes. Codes copied from forums for one game often do nothing in another, and some can cause problems. If you're trying to raise frame rates, the in-game settings and the tools in our guides to fixing stuttering in PC games and capping your frame rate are more reliable places to start.
What %command% means (Linux and Proton)
On Linux, and on Steam Deck-style setups, launch options can also set environment variables for Proton, Valve's compatibility layer for running Windows games. That's where %command% comes in. Valve's Proton README says that to change the runtime configuration for a specific game, you "Set the variable, followed by %command%". Its example is PROTON_USE_WINED3D=1 %command%, which uses "the OpenGL-based wined3d renderer instead of the Vulkan-based DXVK renderer".
In other words, %command% stands in for the game itself, so the variable goes first and the game then launches with that setting applied.
The same README documents PROTON_LOG, a "Convenience method for dumping a useful debug log" that's handy if you're reporting a problem, and notes that "To enable an option, set the variable to a non-0 value." Reassuringly, it also says these options "do not effect permanent changes to the Wine prefix. Removing the option will revert to the previous behavior." If you're new to Linux gaming, our guide to installing Bazzite is a good place to start, and the Steam Shader Pre-Caching guide explains another Steam setting that matters most on Linux.
How to undo launch options
To remove launch options, go back to the game's Properties > General > Launch Options and delete the text, leaving the box empty. In our view, it's good practice to remove any option once it's done its job, especially -autoconfig, which Valve says makes the game ignore its settings files while it's set. If a game starts behaving strangely, check this box before anything else: a forgotten launch option from months ago is an easy thing to miss.