![Steam launch options Steam launch options](https://d1u5p3l4wpay3k.cloudfront.net/dota2_gamepedia/thumb/f/f9/Open-console-screen.jpg/1200px-Open-console-screen.jpg)
I recently learned of an apparently recently added launch option: -sdl_displayindex int. In my case, adding -sdl_displayindex 1 to my Dota launch options has changed which monitor the game launch on to my secondary monitor.
I've written, a small program that lets you run any game (including Steam) on your secondary monitor. Here's what it can do:. Toggle primary monitor (so that the game runs on your other monitor fullscreen). Set HDMI audio playback (so that audio comes out of your TV).
Prevent computer sleep (so that you can play with a gamepad whose input doesn't stop sleep). Darken non-game displays (so that the immersion atmosphere is maximized). Launch any game executable (including Steam). Revert all changes once the game exits. If the game will run in windowed mode (borderless or not), you can use to manipulate the window. You can resize it to fill any of your screens, many of your screens and fit it so the borders aren't visible even if they're really there. You can also save and load presets, if you wish to use different window sizes or monitors for different games.
Another advantage is that this program will work with any window, it doesn't have to be a game. I mainly use it to get my League of Legends window back to my desktop after it has run off to oblivion. Ultramon is excellent for this. You can edit the properties of the shortcut where you can select which monitor the game/app will play on. Also you can have other monitors turn off for you and then back on once the game/app exits. It is worth the money to buy it.
Additional: Does not work with steam. However, with Ultrmon, you can create shortcuts to turn off other monitors. So I have a shortcut to go to GamingMode.
The game has no choice other than to open on the one remaining monitor. After playing I execute the DefaultView shortcut and my other monitors turn back on.
Note: Command parameters are described inside the characters. Syntax: hl2.exe Usage These options can be used with:. Hammer editor dialog. Windows shortcuts pointing to hl2.exe directly.
Windows shortcuts pointing to steam.exe with the proper -applaunch specified (see Steam section below). Command-line batch script files launching these applications. Examples.
steam.exe -applaunch 280 -dev -console -sw +svlan 1 +map MyMap. hl2.exe -game cstrike -dev -console -fullscreen +svlan 1 +map dedust Command-line parameters Argument Description -alllanguages Loads all language files.autoconfig Restores video and performance settings to default for the current hardware detected. Ignores settings inside any.cfg files until this parameter is removed.32bit Forces the engine to start in 32-bit mode. Only useful on Operating Systems.adapter Sets the GL graphics adapter. Default is 0.allowdebug Fakes a debugger for phonehome, and is the same as -dev, unless -nodev is specified.allowstalezip Suppresses console warnings from stale.txt existing.basedir Sets the base directory for the game files.
On Xbox 360 RFS, this is forced to smb://hostname/game.bi Defines the build identifier ID which is used in phonehome -bugbait To do: Is it for Bugbait E3 2003 demo? This lets IsLoadingBugBaitReport return true.bugreporterdll Name of the bug reporter DLL to use -buildcubemaps Builds cubemaps when fully loaded into a map, then quits the game.ccsyntax Spew details about the localized strings we load.clientport Sets the client port. Default is 27002.collate Skips everything, just merges the reslist from temp folders to the final folder again.conclearlog Clears the console.log text file on start. Only works if -condebug set.condebug Logs all console output into the console.log text file.console Starts the game with the enabled. Same as having conenable enabled.deathsonly Supposed to only count deaths while parsing tf2 gamestats, but actually pointless because there is only code for deaths.defaultgamedir Fallback directory if '-game' is not set.
Default is 'hl2'.demo Enters the game into demo mode. Only works for 'hl2' and 'portal' -dev Enables developer mode. Also disables the automatic loading of menu background maps and stops the quit dialog from appearing on exit.debugdxsupport Writes debug DirectX information as keyvalues to the console as shader devices are loading configuration.disallowhwmorph Same as matdisablehwmorph 1. Disables HW morphing for particular mods.dti Prints the datatable when being sent -dumpvidmemstats Spews video memory statistics to vidmemstats.txt. This forces CModelLoader to quit.dvd Enables strict DVD mode.
Allows loading files from DVD only. Xbox 360 only.dvddev Enables developer DVD mode. Allows loading files from a remote path as a fallback as well as the DVD. Xbox 360 only.dxlevel Forces the game to start using specified DirectX API version.
![Set launch options for tf2 Set launch options for tf2](/uploads/1/2/5/3/125384596/276467985.jpg)
Officially supported values are: 60, 70, 80, 81, 90, 91, 95 (recommended), 98 (Xbox 360 only), and 100. After starting the game with this launch parameter, the selected value will be saved for future start ups and video settings will be temporarily reset (but not saved), so it is highly recommended to remove this launch parameter after first launch with it.edit According to comments, intended to replace -tools. Does nothing except disable all file logging for building reslists.endgamevid If specified startup videos will not be skipped, and EndGameVids.txt will be used instead of StartupVids.txt.