Steam browser protocol: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (spam page)
m (Robot: fixing template case.)
Line 18: Line 18:
**<code>joinchat/<id></code> - Joins a chat with a specified id number
**<code>joinchat/<id></code> - Joins a chat with a specified id number
**<code>message/<id></code> -  
**<code>message/<id></code> -  
* '''<code>{{steamlink|steam://guestpasses/}}</code>''' Opens up the Guest Passes window
* '''<code>{{SteamLink|steam://guestpasses/}}</code>''' Opens up the Guest Passes window
* '''<code>steam://hardwarepromo/</code>''' Executes hardware promo method.  
* '''<code>steam://hardwarepromo/</code>''' Executes hardware promo method.  
**Example: {{steamlink|steam://hardwarepromo/305}} gets the products for [http://www.steampowered.com/ati_offer1a/ this offer].
**Example: {{SteamLink|steam://hardwarepromo/305}} gets the products for [http://www.steampowered.com/ati_offer1a/ this offer].
**Example: {{steamlink|steam://hardwarepromo/609}} gets the products for [http://www.steampowered.com/nvidia1/ this offer].
**Example: {{SteamLink|steam://hardwarepromo/609}} gets the products for [http://www.steampowered.com/nvidia1/ this offer].
* '''<code>steam://install/<id></code>''' Installs an application.
* '''<code>steam://install/<id></code>''' Installs an application.
**Example: {{steamlink|steam://install/8230}} installs [http://steampowered.com/v/index.php?area=game&AppId=8230 Sam & Max: Episode 4].
**Example: {{SteamLink|steam://install/8230}} installs [http://steampowered.com/v/index.php?area=game&AppId=8230 Sam & Max: Episode 4].
* '''<code>steam://installaddon/<addon></code>''' Installs the specified add-on.
* '''<code>steam://installaddon/<addon></code>''' Installs the specified add-on.
**Example: {{steamlink|steam://installaddon/halflifehd}} installs HL High-Def Pack.
**Example: {{SteamLink|steam://installaddon/halflifehd}} installs HL High-Def Pack.
* '''<code>steam://open/<component></code>''' Opens a Steam window. Known <component> values:
* '''<code>steam://open/<component></code>''' Opens a Steam window. Known <component> values:
**<code>{{steamlinktitled|steam://open/friends|friends}}</code>
**<code>{{steamlinktitled|steam://open/friends|friends}}</code>
Line 42: Line 42:
* '''<code>steam://purchase/subscription/<id></code>''' Opens up a dialog box to buy a subscription to a Steam product/service. None are available yet.
* '''<code>steam://purchase/subscription/<id></code>''' Opens up a dialog box to buy a subscription to a Steam product/service. None are available yet.
* '''<code>steam://removeaddon/<addon></code>''' Uninstalls the specified add-on.
* '''<code>steam://removeaddon/<addon></code>''' Uninstalls the specified add-on.
**Example: {{steamlink|steam://removeaddon/halflifehd}} uninstalls HL High-Def Pack
**Example: {{SteamLink|steam://removeaddon/halflifehd}} uninstalls HL High-Def Pack
* '''<code>steam://run/<id></code>''' Runs an application.
* '''<code>steam://run/<id></code>''' Runs an application.
* '''<code>steam://runsafe/<id></code>''' Resets CVARs of an app.
* '''<code>steam://runsafe/<id></code>''' Resets CVARs of an app.
* '''<code>{{steamlink|steam://settings/}}</code>''' Same as <code>{{steamlink|steam://open/settings}}</code>, but also allows for subcommands for each page:
* '''<code>{{SteamLink|steam://settings/}}</code>''' Same as <code>{{SteamLink|steam://open/settings}}</code>, but also allows for subcommands for each page:
**<code>{{steamlinktitled|steam://settings/account|account}}</code>
**<code>{{steamlinktitled|steam://settings/account|account}}</code>
**<code>{{steamlinktitled|steam://settings/friends|friends}}</code>
**<code>{{steamlinktitled|steam://settings/friends|friends}}</code>

Revision as of 20:14, 19 January 2009

There are numerous system-wide commands available that interact with Steam. All of them open up Steam if it is not open. They can either be typed into a command box (Start-> Run) or through your browser's address bar (you can normally create links to them as you would web page links). Use a Steam Application ID in place of <id> (i.e. 211 for the Source SDK).

Implemented commands

Note.pngNote:If you forget the closing quote on a steam:"<command>", you will get an assertion failed error from Steam.exe/BootStrapperApp.cpp.

Suggested commands

The following commands are community suggestions and are not presently featured in Steam:

Connect protocol

  • steam://connect/<IP or DNS name>[:port]/<password>
    • Connects to the specified server with the right password --Semi
      • I think that this is a must due to the fact that the appid's are complete bs when it comes to launching steam remotely. --pumakuma
  • steam://connect/<IP or DNS name>[:port]/'command1 "arg1" "arg2";command2 "arg1";password "blah";etc..'
    • Connects to the specified server after executing the specified commands --ts2do
    • An alternate syntax which makes more sense if you're familiar with HTTP URL syntax: steam://connect/<IP or DNS name>[:port]/?cvar1=value&cvar2=value&password=blah&etc.. --The MAZZTer 21:03, 31 Jul 2008 (PDT)
    • A similar syntax could be: steam://connect/?ip=<ip>:<port>&password=<password>&hltv=<true/false>&gamedetails=<true/false>&cvars="<cvar1> <value>;<cvar2> <value>;" where gamedetails refers to Server Info (similar to proposed protocol below); and all data under cvars is automatically compiled into a one-time .cfg file. -- JRod 17:13, 22 Nov 2008 (PST)

Other

Appreciated -Rotzi
  • steam://runsingle/<AppID>
    • Runs an app, then shuts down Steam once the game closes. -- AiusEpsi
      • This is stupid. All Source games needs Steam open in order to do anything concerning gcf files, which is the game itself.--Sortie 23:53, 5 Apr 2007 (PDT)
it shuts down steam AFTER the game ran and closed! Leopard84
I don't get the point. Useless in my point of view. -Rotzi
    • Forces update (if autoupdate fails) of all files (including all linked .gcf) for defined AppID. -- Dwarden
Restarting Steam would be simpler, and have the same effect. --TomEdwards 08:23, 13 Sep 2006 (PDT)
i'm afraid it's not that simple, see my post there http://forums.steampowered.com/forums/showthread.php?s=&threadid=485982 -- Dwarden
Yea, my steam REFUSES to update ANYTHING, even after re-installing it. A force update would be nice. --PanFrie 04:50, 1 Feb 2008 (EST)
  • steam://checkbuild/<AppID>
    • Compares actual local build of AppID with latest version available at Steam servers for defined AppID.
    • Results displayed in way: '<AppID> - <ActualLocalBuild>:<LatestBuildAtSteamServers>
    • and if they not match it offers user dialog to force update to latest build.