SteamVR/Desktop Game Theater: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Initial documentation of CLI based on watching the theater get launched using ProcessMonitor)
 
(Changed directory path from OpenVR to SteamVR)
 
(3 intermediate revisions by 3 users not shown)
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.
[[Category: SteamVR]]

Latest revision as of 05:06, 8 July 2021

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.