chihirobelmo / FalconBMS-Alternative-Launcher

Configure and save FalconBMS setup per Joysticks.
Other
130 stars 30 forks source link

This hardcoded path can fail to find valid installations of SteamVR if they're not located at that path #85

Open subenji opened 1 year ago

subenji commented 1 year ago

https://github.com/chihirobelmo/FalconBMS-Alternative-Launcher/blob/73aafffb5a61f9ecc45304c02554d2bcd20225a4/Falcon%20BMS%20Alternative%20Launcher/SteamVR.cs#L32

I have an Oculus Rift, and my SteamVR installation is located at C:\Program Files (x86)\Steam\steamapps\common\OpenVR. The launcher failed to find my installation due to this hardcoded path. I suspect that my installation was located here as I have had the headset for several years, and the installation folder may be a legacy location.

I did test reinstalling SteamVR, which does then install to the \SteamVR path, and could be offered as a workaround, but in my opinion I feel the legacy path should be considered too.

chihirobelmo commented 1 year ago

@subenji hi, did you find exe as "OpenVR\bin\win64\vrstartup.exe" or just "OpenVR\vrstartup.exe" ?

subenji commented 1 year ago

The first, OpenVR\bin\win64\vrstartup.exe

The files and folder structure were identical besides the differing installation folder.

chihirobelmo commented 1 year ago

thx! I'll make it also look for legacy ones too.