Difference between revisions of "SteamVR/Desktop Game Theater"

From Valve Developer Community
Jump to: navigation, search
(Initial documentation of CLI based on watching the theater get launched using ProcessMonitor)
 
m (Remove redundant note (move to talk page?))
Line 4: Line 4:
  
 
=== Command line arguments taken by steamvr_desktop_game_theater.exe ===
 
=== Command line arguments taken by steamvr_desktop_game_theater.exe ===
 
(based on monitoring the Steam process when launching an app in the theater
 
  
 
* <code>-legacygame [name]</code>: A string (<code>[name]</code>) for the name of the game being launched, eg. <code>"Team Fortress 2"</code>. It's not exactly clear where or how this parameter is used.
 
* <code>-legacygame [name]</code>: A string (<code>[name]</code>) for the name of the game being launched, eg. <code>"Team Fortress 2"</code>. It's not exactly clear where or how this parameter is used.
 
* <code>-overlaykey "valve.steam.desktopgame.[appid]"</code>: The app to launch in the Steam Overlay, where <code>[appid]</code> is the game's [[Steam Application ID]]. Other kinds of application may be acceptable with a different prefix (non-Steam games?)
 
* <code>-overlaykey "valve.steam.desktopgame.[appid]"</code>: The app to launch in the Steam Overlay, where <code>[appid]</code> is the game's [[Steam Application ID]]. Other kinds of application may be acceptable with a different prefix (non-Steam games?)
 
* <code>-pid [pid]</code>: The PID (<code>[pid]</code>) of the Steam Client Bootstrapper (Steam.exe) process that is responsible for the theater.
 
* <code>-pid [pid]</code>: The PID (<code>[pid]</code>) of the Steam Client Bootstrapper (Steam.exe) process that is responsible for the theater.

Revision as of 10:30, 17 May 2016

The SteamVR Desktop Game Theater is the component of SteamVR responsible for displaying traditional desktop games, as well as media files like movies, in virtual reality for SteamVR.

The SteamVR Desktop Game Theater executable can be found in "C:\Program Files (x86)\Steam\SteamApps\common\SteamVR\tools\steamvr_desktop_game_theater\win64\steamvr_desktop_game_theater.exe" (assuming a default Steam install).

Command line arguments taken by steamvr_desktop_game_theater.exe

  • -legacygame [name]: A string ([name]) for the name of the game being launched, eg. "Team Fortress 2". It's not exactly clear where or how this parameter is used.
  • -overlaykey "valve.steam.desktopgame.[appid]": The app to launch in the Steam Overlay, where [appid] is the game's Steam Application ID. Other kinds of application may be acceptable with a different prefix (non-Steam games?)
  • -pid [pid]: The PID ([pid]) of the Steam Client Bootstrapper (Steam.exe) process that is responsible for the theater.