Command line options: Difference between revisions
Jump to navigation
Jump to search
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 | * '''-applaunch %id %c''' - This launches an Game or Application through Steam. Replace the %id with the [[Steam_Application_IDs|Game/Application ID number]] that you want to open up, replace %c with the command line options for the Application/Game. | ||
* '''-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.) | * '''-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.) | * '''-nocache''' - This starts steam with no cache. (Steam must be off for this to work properly.) | ||
Line 8: | Line 8: | ||
* '''-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.) | ||
=== | ==hldsupdatetool (Windows), steam (Unix)== | ||
: | Use: <code>hldsupdatetool -command <command> [parameters] [flags]</code> | ||
*'''-command update''' - Install or update HLDS | *'''-command update''' - Install or update HLDS | ||
Line 47: | Line 18: | ||
*'''-command list''' - View available games | *'''-command list''' - View available games | ||
*'''-game <game>''' - Mod name | |||
parameters: | |||
*'''-game [[Game Name Abbreviations|<game>]]''' - Mod name | |||
*'''-dir <installdir>''' - HLDS Install dir (if dir not specified, will use value from last run of tool) | *'''-dir <installdir>''' - HLDS Install dir (if dir not specified, will use value from last run of tool) | ||
flags: | flags: | ||
*'''-verify_all''' - Verify all HLDS files are up to date | *'''-verify_all''' - Verify all HLDS files are up to date | ||
*'''-retry''' - Automatically retry every 30 seconds if the Steam Network is busy | *'''-retry''' - Automatically retry every 30 seconds if the Steam Network is busy | ||
*'''-remember_password''' - Remember password (if a username is supplied) | *'''-remember_password''' - Remember password (if a username is supplied) | ||
optional parameters: (only needed to access limited content) | |||
*'''-username <username>''' - Steam account username | |||
*'''-password <password>''' - Steam account password | |||
Line 69: | Line 40: | ||
* '''-autoupdate''' - The server is searching for updates on startup | * '''-autoupdate''' - The server is searching for updates on startup | ||
* '''-console''' - HLDS will run in console mode | * '''-console''' - HLDS will run in console mode | ||
* '''-game < | * '''-game [[Game Name Abbreviations|<game>]]''' - Specifies which game/mod to run | ||
* '''-insecure''' - Disables VAC | * '''-insecure''' - Disables VAC | ||
* '''-sport <port>''' - Specifies the VAC2 port the server should use | * '''-sport <port>''' - Specifies the VAC2 port the server should use | ||
Line 81: | Line 52: | ||
** '''+maxplayers <number>''' - Specifies how many player slots the server can contain | ** '''+maxplayers <number>''' - Specifies how many player slots the server can contain | ||
** '''+port <port>''' - Specifies which port to use | ** '''+port <port>''' - Specifies which port to use | ||
==Source DS (srcds.exe, srcds_run)== | ==Source DS (srcds.exe, srcds_run)== | ||
Line 86: | Line 58: | ||
* '''-autoupdate''' | * '''-autoupdate''' | ||
* '''-console''' | * '''-console''' | ||
* '''-game < | * '''-game [[Game Name Abbreviations|<game>]]''' | ||
* '''-insecure''' - Will start the server without VAC | * '''-insecure''' - Will start the server without VAC | ||
* '''-nobots''' | * '''-nobots''' | ||
Line 96: | Line 68: | ||
** '''+map <map>''' | ** '''+map <map>''' | ||
** '''+maxplayers <number>''' | ** '''+maxplayers <number>''' | ||
==Source Games== | ==Source Games== | ||
* '''-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. | ||
* '''-w <width> -h <height>''' - This makes the desired game start up at resolution <width> by <height> | * '''-w <width> -h <height>''' - This makes the desired game start up at resolution <width> by <height> |
Revision as of 05:35, 11 August 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.
- -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.)
- -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.)
hldsupdatetool (Windows), steam (Unix)
Use: hldsupdatetool -command <command> [parameters] [flags]
- -command update - Install or update HLDS
- -command version - View installed versions
- -command list - View available games
parameters:
- -game <game> - Mod name
- -dir <installdir> - HLDS Install dir (if dir not specified, will use value from last run of tool)
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)
optional parameters: (only needed to access limited content)
- -username <username> - Steam account username
- -password <password> - Steam account password
HLDS (hlds.exe)
- -autoupdate - The server is searching for updates on startup
- -console - HLDS will run in console mode
- -game <game> - Specifies which game/mod to run
- -insecure - Disables VAC
- -sport <port> - Specifies the VAC2 port the server should use
- +<CVAR> <setting> - Sets CVAR to specified setting
- +hostname "Server Name" - Specifies the name of the server
- +ip - Specifies the IP when multiple network cards are installed
- +map <map> - Specifies which map to start
- +maxplayers <number> - Specifies how many player slots the server can contain
- +port <port> - Specifies which port to use
Source DS (srcds.exe, srcds_run)
- -autoupdate
- -console
- -game <game>
- -insecure - Will start the server without VAC
- -nobots
- -tickrate <number>
- +<CVAR> <setting> - Sets CVAR to specified setting
- +map <map>
- +maxplayers <number>
Source Games
- -novideo - When loading a game with this parameter, the intro Valve video will not play.
- -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.
- -fullscreen - Force fullscreen mode
- -refresh <rate> - Force a specific refresh rate
- -nocrashdialog - Supresses some 'memory could not be read' unhandled errors
- -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