Command line options: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
==Steam (steam.exe, Windows)== | ==Steam (steam.exe, Windows)== | ||
* '''-applaunch %id %c''' - This launches an Game or Application through Steam. Replace the %id with the Game/Application ID number that you want to open up, replace %c with the command line options for the Application/Game. The IDs can be found here Applaunch IDs. | |||
* '''-login %u %p''' - This logs into Steam with the specified Username and Password combination. Replace %u with the username, and %p with the password you want to login with. (Steam must be off for this to work.) | |||
* '''-nocache''' - This starts steam with no cache. (Steam must be off for this to work properly.) | |||
* '''-novideo''' - When loading a game with this parameter, the intro Valve video will not play. | * '''-novideo''' - When loading a game with this parameter, the intro Valve video will not play. | ||
* '''-script %s''' - This runs a Steam script. Replace %s with the script filename. All scripts must be in a subdirectory of the Steam folder called test scripts. (Steam must be off for this to work.) | |||
* '''-shutdown''' - This shutsdown Steam. | |||
* '''-silent''' - This suppresses the dialog box that opens when you start steam. It is used when you have Steam set to auto-start when your computer turns on. (Steam must be off for this to work.) | * '''-silent''' - This suppresses the dialog box that opens when you start steam. It is used when you have Steam set to auto-start when your computer turns on. (Steam must be off for this to work.) | ||
* '''- | * '''-w <width> -h <height>''' - This makes the desired game start up at resolution <width> by <height> | ||
* '''-wd''' - This puts the desired game in windowed mode. | |||
==Steam (steam, Unix)== | |||
==='''-command update'''=== | |||
* '''-game <name>''' | |||
::"Counter-Strike Source"<br/> | |||
::"hl2mp"<br/> | |||
::"cstrike"<br/> | |||
::"czero"<br/> | |||
::"dmc"<br/> | |||
::"dod"<br/> | |||
::"gearbox"<br/> | |||
::"ricochet"<br/> | |||
::"tfc"<br/> | |||
*'''-dir <directory>''' | |||
*'''-verify_all''' | |||
*'''-retry''' | |||
*'''-username <username>''' | |||
*'''-password <password>''' | |||
*'''-remember_password''' | |||
===-command create=== | |||
*'''-username <username>''' | |||
*'''-email <email>''' | |||
*'''-password <password>''' | |||
*'''-question "Your Question?"''' | |||
*'''-answer "Your Answer"''' | |||
==hldsupdatetool== | |||
Use: hldsupdatetool -command <command> [parameters] [flags] | |||
*'''-command update''' - Install or update HLDS | |||
*'''-command version''' - View installed versions | |||
*'''-command list''' - View available games | |||
*'''-game <game>''' - Mod name | |||
*'''-dir <installdir>''' - HLDS Install dir (if dir not specified, will use value from last run of tool) | |||
optional parameters: (only needed to access limited content) | |||
*'''-username <username>''' - Steam account username | |||
*'''-password <password>''' - Steam account password | |||
flags: | |||
*'''-verify_all''' - Verify all HLDS files are up to date | |||
*'''-retry''' - Automatically retry every 30 seconds if the Steam Network is busy | |||
*'''-remember_password''' - Remember password (if a username is supplied) | |||
==HLDS (hlds.exe)== | |||
* '''-autoupdate''' - The server is searching for updates on startup | |||
* '''-console''' - HLDS will run in console mode | |||
* '''-game <mod>''' - Specifies which game/mod to run | |||
* '''+hostname "SERVERNAME"''' - Specifies the name of the server | |||
* '''+map <map>''' - Specifies which map to start | |||
* '''+maxplayers <number>''' - Specifies how many player slots the server can contain | |||
* '''+port <number>''' - Specifies which port to use | |||
==Source DS (srcds.exe, srcds_run)== | |||
* '''- | * '''-autoupdate''' | ||
* '''-console''' | |||
* '''-game <mod>''' | |||
* '''-insecure''' - Will start the server without VAC | |||
* '''+map <map>''' | |||
* '''-maxplayers <number>''' | |||
* '''-nobots''' | |||
* '''-tickrate <number>''' | |||
==Source Games== | |||
* '''- | * '''-condebug''' - Will also log all console output in a text file | ||
* '''-console''' - Starts the game with the console | |||
* '''-heapsize <kilobytes>''' - Specifies the heapsize (in kilobyte) the game will use | |||
[[Category:Steam]] | [[Category:Steam]] |
Revision as of 09:49, 26 July 2005
Steam (steam.exe, Windows)
- -applaunch %id %c - This launches an Game or Application through Steam. Replace the %id with the Game/Application ID number that you want to open up, replace %c with the command line options for the Application/Game. The IDs can be found here Applaunch IDs.
- -login %u %p - This logs into Steam with the specified Username and Password combination. Replace %u with the username, and %p with the password you want to login with. (Steam must be off for this to work.)
- -nocache - This starts steam with no cache. (Steam must be off for this to work properly.)
- -novideo - When loading a game with this parameter, the intro Valve video will not play.
- -script %s - This runs a Steam script. Replace %s with the script filename. All scripts must be in a subdirectory of the Steam folder called test scripts. (Steam must be off for this to work.)
- -shutdown - This shutsdown Steam.
- -silent - This suppresses the dialog box that opens when you start steam. It is used when you have Steam set to auto-start when your computer turns on. (Steam must be off for this to work.)
- -w <width> -h <height> - This makes the desired game start up at resolution <width> by <height>
- -wd - This puts the desired game in windowed mode.
Steam (steam, Unix)
-command update
- -game <name>
- "Counter-Strike Source"
- "hl2mp"
- "cstrike"
- "czero"
- "dmc"
- "dod"
- "gearbox"
- "ricochet"
- "tfc"
- "Counter-Strike Source"
- -dir <directory>
- -verify_all
- -retry
- -username <username>
- -password <password>
- -remember_password
-command create
- -username <username>
- -email <email>
- -password <password>
- -question "Your Question?"
- -answer "Your Answer"
hldsupdatetool
Use: hldsupdatetool -command <command> [parameters] [flags]
- -command update - Install or update HLDS
- -command version - View installed versions
- -command list - View available games
- -game <game> - Mod name
- -dir <installdir> - HLDS Install dir (if dir not specified, will use value from last run of tool)
optional parameters: (only needed to access limited content)
- -username <username> - Steam account username
- -password <password> - Steam account password
flags:
- -verify_all - Verify all HLDS files are up to date
- -retry - Automatically retry every 30 seconds if the Steam Network is busy
- -remember_password - Remember password (if a username is supplied)
HLDS (hlds.exe)
- -autoupdate - The server is searching for updates on startup
- -console - HLDS will run in console mode
- -game <mod> - Specifies which game/mod to run
- +hostname "SERVERNAME" - Specifies the name of the server
- +map <map> - Specifies which map to start
- +maxplayers <number> - Specifies how many player slots the server can contain
- +port <number> - Specifies which port to use
Source DS (srcds.exe, srcds_run)
- -autoupdate
- -console
- -game <mod>
- -insecure - Will start the server without VAC
- +map <map>
- -maxplayers <number>
- -nobots
- -tickrate <number>
Source Games
- -condebug - Will also log all console output in a text file
- -console - Starts the game with the console
- -heapsize <kilobytes> - Specifies the heapsize (in kilobyte) the game will use