BthPS3 icon indicating copy to clipboard operation
BthPS3 copied to clipboard

BthPS3 installer breaks/uninstall ViGEmBus

Open Kanuan opened this issue 2 years ago • 2 comments

Tested on v2.1.153

This issue is currently a draft

Installing or uninstalling BthPS3 (can't remember right now) causes ViGEmBus to not be detected anymore by applications looking for it. I'm not sure if the driver itself does not get loaded anymore by Windows or if it's loaded but applications can't find it.

Regardless, it's possible to just re-install the ViGEmBus without major problems.

To-do

Reproduce the issue again to check if the ViGEmBus still appears as installed on windows' Apps and Features list or is present in the Device Manager

Kanuan avatar Jun 05 '22 22:06 Kanuan

I had a look at this a few weeks (months?) back but need to investigate again, I think it is due to some reused code/scripts in the setup that accidentally nukes the wrong device.

nefarius avatar Jun 05 '22 23:06 nefarius

Can we somehow get a playlist on how to exactly reproduce it? It is still happening, observed on the Discord, but with just text search I can't find any references to ViGEmBus and its setup in the BthPS3 installer sources whatsoever 🤔 So best chance might be to reproduce it and log what happens during it with Process Monitor to find the originating process that kicks off the uninstall command.

nefarius avatar Aug 05 '22 10:08 nefarius

It also seem to break "Hide DS4 Controller" option in DS4Windows, as I can't hide my DS4 anymore, 2 of them appears. Reinstalling or toggling the option doesn't help. Getting: Could not open DS4 90:89:5F:94:7C:65 exclusively. You must quit other applications like UWP apps (Netflix), Steam, Uplay, Edge, NVIDIA IN-GAME before activating the 'Hide DS4 Controller' option

nyakze avatar Aug 14 '22 00:08 nyakze

It also seem to break "Hide DS4 Controller" option in DS4Windows, as I can't hide my DS4 anymore, 2 of them appears. Reinstalling or toggling the option doesn't help. Getting: Could not open DS4 90:89:5F:94:7C:65 exclusively. You must quit other applications like UWP apps (Netflix), Steam, Uplay, Edge, NVIDIA IN-GAME before activating the 'Hide DS4 Controller' option

Having a hard time believing that since I see no relation to that feature whatsoever.

nefarius avatar Aug 14 '22 08:08 nefarius

Could be related to dshidmini, as I install them together. But this problem has been reproduced on 3 completely different systems.

nyakze avatar Aug 14 '22 11:08 nyakze

Could be related to dshidmini, as I install them together. But this problem has been reproduced on 3 completely different systems.

DsHidMini currently doesn't ship with an installer and on its own doesn't have any code or logic shipped that interfaces with what you described.

nefarius avatar Aug 14 '22 11:08 nefarius

Hi everyone Same here, I'll try to reproduce my steps

I had already installed DS4Windows in my PC, for my Dualsense Controller:

  1. Installed dshidmini_v2.2.282.0 x 64
  2. Connected Via USB my 2 Dualshocks 3
  3. Connected my Bluethooth device
  4. Activated DS4Windows Mode
  5. Installed BthPS3 v2.5.148 x64
  6. My PC Reboots
  7. Opened DS4 Windows and ViGEMUSB is not installed
  8. Installs ViGEmBus and everything works fine EXCEPT BthPS3 appears as not installed in my DsHidMini Control
  9. I tried again, and checked BthPS3 installation without installing ViGEmBus and still as not installed

ElHurta avatar Aug 19 '22 18:08 ElHurta

I can not reproduce it whatsoever. Maybe it's code in DS4Windows? @Kanuan does DS4Windows silently invoke any related setup on initial start?

nefarius avatar Aug 20 '22 21:08 nefarius

Goodness, copypasta bug hiding in plain sight for quite some years 🤦 new release has that fixed!

nefarius avatar Aug 21 '22 00:08 nefarius