Steam Command Line Parameters: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
|- | |- | ||
| <code>-applaunch <AppID></code> || Launches the game with using the specified <code>SteamAppID</code> | | <code>-applaunch <AppID></code> || Launches the game with using the specified <code>SteamAppID</code> | ||
|- | |||
| <code>-game <GameDir></code> || Launches Steam using the files in <code>GameDir</code> | |||
|} | |} | ||
Line 28: | Line 30: | ||
For example, some typical settings: | For example, some typical settings: | ||
Steam.exe -applaunch 280 -dev -console -sw +sv_lan 1 +map MyMap | Steam.exe -applaunch 280 -game "C:\path\to\directory" -dev -console -sw +sv_lan 1 +map MyMap | ||
This would start a [[Half-Life 2: Deathmatch]] game in developer mode, activate the developer console, in windowed mode, and in LAN multiplayer mode, then load <code>MyMap.bsp</code>. | This would start a [[Half-Life 2: Deathmatch]] game in developer mode, activate the developer console, in windowed mode, and in LAN multiplayer mode, then load <code>MyMap.bsp</code>. | ||
==See Also== | ==See Also== | ||
* [[Command Line Options]] | * [[Command Line Options]] |
Revision as of 21:57, 4 March 2006
When launching the game engine, there are a number of command-line options that can be used to change the engine environment.
-dev |
Launches the game in developer mode. Useful debugging and console information is shown. |
-console |
Launches the game directly to the developer console, and does not show the 3D background map. |
-sw or -windowed |
Starts the game in windowed mode. |
-fullscreen |
Starts the game in fullscreen mode. |
-w <size> |
Sets the screen width to <size> in pixels, i.e. -w 1024
|
-h <size> |
Sets the screen height to <size> in pixels, i.e. -h 768
|
-condebug |
Logs the contents of the developer console to <game directory>\console.log
|
-novideo |
Bypasses the opening cinematic videos when launching the game. |
+sv_lan 1 |
Launches the game in LAN mode. Useful to stop players from joining your game from the Internet. |
+map <mapname> |
Launches the game, then loads the map called <mapname>.bsp
|
-applaunch <AppID> |
Launches the game with using the specified SteamAppID
|
-game <GameDir> |
Launches Steam using the files in GameDir
|
Parameters using the "+" symbol are developer console commands that are executed after the engine is launched.
For example, some typical settings:
Steam.exe -applaunch 280 -game "C:\path\to\directory" -dev -console -sw +sv_lan 1 +map MyMap
This would start a Half-Life 2: Deathmatch game in developer mode, activate the developer console, in windowed mode, and in LAN multiplayer mode, then load MyMap.bsp
.