Nefarius virtual gamepad emulation bus driver что это

Обновлено: 07.07.2024

The text was updated successfully, but these errors were encountered:

Nike2406 commented Dec 21, 2020

Here setupapi.dev.log
But I already installed the patch by checking the file system via dism (DISM /Online /Cleanup-Image /RestoreHealth).
Never the less, thank you for support)

nefarius commented Dec 21, 2020

But I already installed the patch by checking the file system via dism (DISM /Online /Cleanup-Image /RestoreHealth).

Pardon me, what do you mean by that?

nefarius commented Dec 21, 2020

I've reviewed the file; it reports that the driver has been installed successfully. Is that also what you experience now?

Nike2406 commented Dec 21, 2020

I've reviewed the file; it reports that the driver has been installed successfully. Is that also what you experience now?

Yes, I already installed ViGEmBusDriver successfully.
Before this happened, i tried to reboot pc, checked another versions . and so on. After that that, i tried to check windows files by utility Dism via Command line, and, it's a miracle, it's successfully installed)

nefarius commented Dec 21, 2020

That's a cool hint to know, thanks! May we close this issue then? 😀

Yep) You're welcome =)

@reztek nice find! Odd, the CAT signature is indeed complaining, on my own one, the Microsoft one appears to be fine. Maybe dual-signing the CAT is not allowed or breaks the way I did it. I'll bake a test-release you could help me test 😁

ViGEm Bus Driver

Windows kernel-mode driver emulating well-known USB game controllers.

(This project is available under a free and permissive license, but needs financial support to sustain its continued improvements. In addition to maintenance and stability there are many desirable features yet to be added. If your company is using components of ViGEm, please consider reaching out.)

Businesses: support continued development via invoiced technical support, maintenance, sponsoring contracts:
E-mail: vigem @ nefarius dot at

Individuals: support continued maintenance and development via PayPal donations.

The ViGEmBus driver and ViGEmClient libraries represent the core of the Virtual Gamepad Emulation Framework (or ViGEm , for short). ViGEm aims for a 100% accurate emulation of well-known gaming peripherals as pure software-based devices at kernel level. As it mimics "the real thing" games and other processes require no additional modification whatsoever to detect ViGEm -based devices (no Proxy-DLLs or API-Hooking) and simply work out of the box. While the (now obsolete) Scarlett.Crush Productions Virtual Bus Driver is the spiritual father of this project, ViGEm has been designed and written from the ground up utilizing Microsoft's Kernel-Mode Driver Framework.

Currently supports emulation of the following USB Gamepads:

  • You have an unsupported input device you'd like to use within games without modifying said game.
  • You want the freedom to use a different controller of your choice in PS4 Remote Play.
  • You encountered a game not compatible with x360ce (prior to version 4.x).
  • You want to extend the reach of your input device (like send traffic to a different machine over a network).
  • You want to test/benchmark your game and need a replay mechanism for your user inputs.
  • You want to work around player slot assignment order issues in XInput .

Version 1.16 and below

The driver is built for Windows 7/8.1/10/Server 2016/Server 2019 (x86 and amd64).

Version 1.17 and above

The driver is built for Windows 10/Server 2016/Server 2019 only (x86 and amd64).

The ViGEm Bus Driver is licensed under the BSD-3-Clause, see LICENSE for more information.

  • Build the DmfK project with Release and Debug configurations for all architectures (x64 and Win32).

You can build directly within Visual Studio.

Do bear in mind that you'll need to sign the driver to use it without test mode.

Found a bug and want it fixed? Open a detailed issue on the GitHub issue tracker!

Have an idea for a new feature? Let's have a chat about your request on Discord or the community forums.

Please respect that the GitHub issue tracker isn't a helpdesk. We offer a Discord server and forums, where you're welcome to check out and engage in discussions!

Pre-built production-signed binaries are provided by Nefarius Software Solutions e.U. and available as an all-in-one setup.

Sponsors listed here have helped the project flourish by either financial support or by gifting licenses:

Known users of ViGEm

A brief listing of projects/companies/vendors known to build upon the powers of ViGEm.

This list is non-exhaustive, if you'd like to see your project included, contact us!

Installation

  • Download the latest setup of ViGEmBus matching your system architecture. It's a file named ViGEmBusSetup_xXX.msi
  • Run the setup and follow the instructions

Congratulations! That was it, ViGEmBus is now ready to use.

In case you are experiencing issues, have a look at the troubleshooting section.

Removal

  • Use Driver Store Explorer to remove the dshidmini.inf driver:

    The driver will still be loaded for controllers that were using it, so be sure to uninstall them from Device Manager
  • Plug in your controllers
  • Open Device Manager by pressing Win + X and select it from the menu:
  • Expand Nefarius HID Devices
  • For each device under Nefarius HID Devices , right click it and select Uninstall Device , then select Uninstall on the appearing confirmation window

After that, DsHidMini should be fully gone from your computer 😥

Updating

Updating simply involves downloading the latest setup and following the exact same steps.

Installation

No matter what software you may have preinstalled, this step is always the same 😀

Version 2.x.x

  • If you want Bluetooth support you need to install BthPS3 first (optional for USB)
  • Download the attached dshidmini_vX.X.X.X.zip archive to an arbitrary location on your machine
  • Extract the archive (doesn't matter where to, e.g. your Downloads folder)
    • On x64 navigate to x64\dshidmini
    • On x86 navigate to x86\dshidmini
    • If you've never installed great software before 😉 this might show up (hit Install):
    • Should only take a moment until success dialog
    • This will automatically pair it to your Windows Bluetooth host if you have working Bluetooth at the time of plugging it in
    • Run it as Administrator to change settings, check the documentation for details
    • It is not required to keep the utility running for the driver to function, only if you want to observe battery level or change settings

    By now if you plug in your controller (or reboot the machine) chances are high that everything already works as expected. If it doesn't, worry not, read on here!

    Version 1.x.x

    Version 1 has been deprecated and replaced by version 2, which is not backwards compatible, so study the installations instructions carefully and make sure you use the versions outlined!

    • If you want Bluetooth support you need to install BthPS3 first (optional for USB)
    • Download the attached dshidmini_vX.X.X.X.zip archive to an arbitrary location on your machine
    • Extract the archive (doesn't matter where to, e.g. your Downloads folder)
      • On x64 navigate to x64\dshidmini
      • On x86 navigate to x86\dshidmini
      • If you've never installed great software before 😉 this might show up (hit Install):
      • Should only take a moment until success dialog
      • This will automatically pair it to your Windows Bluetooth host if you have working Bluetooth at the time of plugging it in
      • Run it as Administrator to change settings, check the documentation for details
      • It is not required to keep the utility running for the driver to function, only if you want to observe battery level or change settings

      By now if you plug in your controller (or reboot the machine) chances are high that everything already works as expected. If it doesn't, worry not, read on here!

      Troubleshooting

      Verifying if the controller is loading the correct driver

      The driver can't do anything if it is not being used, so to check this:

      DsHidMini_DeviceManager

      • Connect your controller by USB cable
      • Open Device Manager by pressing Win + X and select it from the menu
      • Search for and expand the category Nefarius HID Devices , your controller should appear there. Double click on it to check the driver status:

      If the device appears there but the driver status indicates some error (e.g. This device cannot start (Error Code 10) ) try pressing the Reset button on the back of your controller and then reconnecting it. Rebooting your computer is also worth a shot.

      If the controller does not appear under Nefarius HID Devices or if this section doesn't exist at all, you probably have another driver taking priority over DsHidMini. To solve this you need to remove those rogue drivers. See how to do so on the removing conflicting drivers section.

      Removing conflicting drivers

      We need to first determine if any other conflicting device driver is present on the system and remove it so DsHidMini can take over that job. The steps outlined here may or may not be applicable to your system, it entirely depends on your past 😜 and the stuff you potentially installed. Worry not though, together we shall succeed ✨

      ScpToolkit

      If you had ScpToolkit installed, you need to purge every remains from your machine. Follow this comprehensive removal guide.

      Official Sony driver

      If you have/had PS Now installed, chances are high you have the official Sony sixaxis.sys on your system. Follow this procedure to remove it.

      FireShock

      If you've used Shibari before you probably have FireShock installed, lets rectify that:

      Controller does not connect by Bluetooth

      Let's go step-by-step with this:

      • Open Device Manager by pressing Win + X and select it from the menu
      • Check if BthPS3 is correctly installed, its status and if its version is v1.3.108 or higher:
      • Connect your controller by USB
      • Open the DsHidMini Control Utility ( DSHMC.exe file that comes along the driver archive)
      • Check if your device is correctly paired to the current Bluetooth host address. If it's not, try reconnecting your controller by USB sometimes until the pairing completes successfully
      • If the "pairing" check is Ok like in the picture above but the device is still not connecting by Bluetooth, try resetting your controller by pressing the reset button on its back, connecting by USB again to have it re-paired to the current Bluetooth address then trying connecting wireless again. Remember to always confirm in the DsHidMini Control UI Tool if the pairing was successful before trying to connect wireless

      If after all those tries the device still fails to connect, then maybe:

      How to Install/Remove

      DsHidMini can only work its magic if it's the dominant driver for your controller, you may have others preinstalled that need removal, this guide covers most of the known cases.

      Removal

      This depends on the software you use

      Some programs "bundle" ViGEmBus with it (e.g. silently install a copy on their own), either with or without the users consent. This method is out of our reach; please contact the distributor of said software, we can't aid in this case.

      Apps and Features method

      The usual way consists in using its built-in uninstaller:

      UninstallingViGEm

      • Open Windows 10's Apps and Features by pressing Win + X and selecting it from the menu
      • Use the search box in the center to look for Emulation or Nefarius
      • Click on Nefarius Nefarius Gamepad Emulation Bus Driver and select Uninstall
      • Follow the uninstaller's instructions
      • Done. If you get prompted to reboot, do so and that's it!

      .msi installer method

      This method is useful when the ViGEmBus entry doesn't appear in the Windows' Apps lists at Apps and Features :

      SetupRemoveVigem

      • Just follow the same steps of the installation section, but choose the remove when it appears
      • Done. If you get prompted to reboot, do so and that's it!

      That should do the trick. If you want to be absolutely sure that there are no traces left of the ViGEmBus on your system, have a look at the troubleshooting section

      How to Install/Remove

      ViGEmBus is a low-level emulator library (framework) for USB game controllers, it doesn't have a user interface. You need software building upon ViGEmBus to make things happen 😉 If you don't know what that means, you're in the wrong place and most probably shouldn't install it 😘

      Troubleshooting

      Section based on the latest version!

      The whole troubleshooting section is based on top of the latest version of ViGEmBus. If you are using or trying to install an older version, then your experience will greatly differ and following this section may actually cause more issues. Use common sense 🙂

      General health checks

      The ViGEmBus has no user interface, but don't worry, it's easy to verify if everything is working as expected when you know where to look:

      Device Manager

      • Open Device Manager by pressing Win + X and selecting it from the menu:
      • Click on the View tab at the top and change the view type to Devices by connection
      • Look for entries named Nefarius Virtual Gamepad Emulation Bus or Virtual Gamepad Emulation Bus

      If more than one entry appears, you might have multiple version of ViGEmBus installed which may cause conflicts. Follow the full clean section.

      If you have only one entry and it is the one starting with Nefarius then continue following this section:

      DeviceManagerViGEmBUS

      • Right click on the Nefarius Virtual Gamepad Emulation Bus then select Properties
      • At the General tab, its status should be working properly
      • At the Driver tab the Driver Version should match the latest version you downloaded and installed

      If everything matches the instructions, then things should work as expected. A special case is when the user has a laptop from the HP Omen Gaming line. If this is your case, have a look at the ViGEm issues in HP Omen laptops section.

      ViGEmBus issues in HP Omen laptops

      HP's line of Omen gaming Laptops/Desktops come pre-installed with a modified (forked) version of the ViGEmBus driver (from 2018). Apps trying to locate the latest ViGEmBus may end up detecting the modified HP driver instead, causing all sorts of issue since it is based on an outdated version.

      Purging every trace of ViGEmBus

      If you are facing issues and/or have multiple ViGEmBus entries in your Device Manager it's best to remove every trace of it from your system to start clean again:

      • First, follow the removal section to uninstall ViGEmBus via the normal way so we can tackle things in order
      • After uninstalling ViGEmBus by using its uninstaller, reboot your computer
      • Open Device Manager by pressing Win + X and selecting it from the menu
      • Click on the View tab at the top and select Devices by connection
      • For each entry that exists with the name of Nefarius Virtual Gamepad Emulation Bus or Virtual Gamepad Emulation Bus , right click on them and select Uninstall then give confirmation when asked to

      Having no ViGEmBus entries left at the Device Manager does not mean your system is fully rid of it, so let's continue:

      • Download and open the Driver Store Explorer
      • On its interface, click at the INF bar at the top left side so the list gets ordered by name
      • Scroll to the V letter section and mark every entry of vigembus.inf . BE CAREFUL TO NOT MARK ANYTHING ELSE! After that, on the right side, mark the Force Deletion checkbox and then click on Delete Driver
      • Reboot your computer
      • Verify again on the Driver Store Explorer if there are no entries left of vigembus.inf and if there are no entries left of (Nefarius) Virtual Gamepad Emulation Bus on the Device Manager. If there are, repeat this section

      And done, no ViGEmBus left anywhere! Now it's safe to try re-installing the latest version according to the installation section.

      Other issues

      This guide should cover all known issues regarding the ViGEmBus setup, so give it a good read.

      If you are facing another issue that is not covered here, feel free to reach us through the proper means.

      Updating

      If you want to update, simply follow all the same steps of the installation and overwrite any existing files. Reboot your machine to be extra safe if it didn't work right away.

      Читайте также: