How to stop Steam VR automaticaly after playing?

Is there any setting, to make Steam VR stop after playing a game? I am using the Pimax Environment right now to start my games (mainly Racingsims). When I end the game, I am dropped in the Steam Environment and not back in the PimaxEnvironment. Since I only use Mouse and Keyboardinput, I can´t navigate in there and have to take off the headset, to end it. This makes using the PE pointless, when I still have to get out of VR between different games.
Any help would be great.

1 Like

There’s no easy fix, yet… :upside_down_face:

I believe @SweViver and @arminelec have or are considering a way to have PE (or a service of sorts?) running in the background which would, theoretically, make it possible to have PE kill SteamVR when the application exits.

1 Like

I use a VoiceAttack voice command for this - ‘destruct all’ . First, it checks whether Elite Dangerous, DCS, or anything else I don’t want to accidentally disconnect from is running, then it terminates the SteamVR related processes.

You can get my VoiceAttack macros by cloning this repository to ‘C:\core\infrastructure\extendedInterface’, and then importing the ‘*.vap’ files into VoiceAttack .

The ‘destruct all’ command you may be looking for should be within ‘_DEFAULT-MSW-Profile.vap’ .

_
Also, I have some scripts to start/stop/restart SteamVR…

3 Likes

Thanks for the answers, but I am not very firm with fiddling around in Voice Attack. So I hope, there will be some easy way implemented in PE in the future.

@sweviver, FYI: Here’s how I would tackle that feature. When PE spawns (launches) a game, it should spawn a worker thread which checks to see if the VR game/app is still running (via GetExitCodeProcess); if not, it should terminate SteamVR.

C++, How to determine if a Windows Process is running? - Stack Overflow

3 Likes

So will this be an option in future Pimax Environments?
Would be really helpful.

1 Like

@SweViver I think, this is a very important option for the PE. At least a little “looking into it” or some other sort of feedback would be much appreciated.

@arminelec already confirmed that they are looking into it (a background service that keeps track of the application status) or have added it to the backlog as far as I remember… :slightly_smiling_face:

1 Like

Very good, thank you.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.