DS4Windows v2.0.9 Released

DS4Windows v2.0.9

DS4Windows is a utility designed to bring the Sony DualShock 4 game controllers into popular PC games that don't specifically support it. The magic is done by emulating an XBox controller.

This system is powerful. With it, you can map the controller the way you want, with default and per-game profiles, configuration of the lightbar, and more. Supports USB and Bluetooth connectivity.

Virtually everything on the DualShock 4 is supported. (not sure about on-controller audio)

On this beautiful Monday morning, the developer Ryochan7 decided to work on a new version of DS4Windows, he has just published the v2.0.9 of his software which as you now know is a tool which is intended for the PC and which allows use your Dual Shock 4 via the emulation of an Xbox 360 controller.

DS4Windows allows you to take advantage of your Dual Shock 4 on your PC, the software makes it possible to serve as an effective interface for configuring the device based on a fork of Jays2Kings, a project that was found here at ds4windows.com.

To take advantage of it unfortunately it will go through the micro-USB cable, but it is possible to use wireless with some Bluetooth 2.1 adapters (or higher).

Command line options of DS4Windows executable

DS4Windows (since version V1.7.13) supports following command line options when a main DS4Windows process is already running in the background. Windows BAT/CMD batch file or 3rd party application can use these commands to automate stop/start/shutdown or loadProfile operations.

DS4Windows.exe -command stop
DS4Windows.exe -command start
DS4Windows.exe -command shutdown
DS4Windows.exe -command LoadProfile.<controller#>.<profile name>
DS4Windows.exe -command LoadTempProfile.<controller#>.<profile name>
DS4Windows.exe -driverinstall
DS4Windows.exe -re-enabledevice

Stop/Start commands does the same as "Stop/Start" button in DS4Windows settings screen. Stop command doesn't shutdown the DS4Windows process, but just disconnects all controllers from the application.

Shutdown command disconnects all controllers and shutdowns the DS4Windows main process (ie. the application is closed).

LoadProfile/LoadTempProfile commands load and activates a profile. For example "DS4Windows.exe -command LoadProfile.1.SnakeGame" command would load a profile named SnakeGame for the first connected controller. This is useful command if you use batch files to launch games and want to automate the selection of correct profile without using auto-profile feature of DS4Windows.

DriverInstall shows a dialog and prompts to install required ViGem virtual gamepad driver. Normally DS4Windows does this automatically when the app detects that the virtual gamepad driver is missing.

Re-EnableDevice enables a gamepad device in exclusive mode if it's stuck in disabled state. Normally DS4Windows does this automatically when the app is closed and exclusive mode is no longer needed.

Note! The first command line parameter (-command/driverinstall/re-enabledevice) needs to be in lowercase letters.

How To Install DS4Windows And HIDGuardian

The scope of this document covers installation and setup of the core packages and scripts. It does not cover configuration of DS4Windows (profiles, mappings, and options).

This installation uses the following software packages:

  •     DS4Windows
  •     HIDGuardian
  •     Windows Driver Kit (optional)
  •     HIDGuardian Helper Files (optional)

Installing DS4Windows

    1.Download the latest DS4Windows package. The latest can be found here:
    Minimum required version for HIDGuardian support: v1.4.111
    Recommended version: latest

    2.Open the DS4Windows package.

    3.Open a File Explorer window (press WIN + E) and navigate to one of the following folders:
    For x86 32bit Windows: C:\Program Files (x86)
    For x64 64bit Windows: C:\Program Files
    Simply copy and paste one of the above locations to the address bar in File Explorer.

    4.Copy the DS4Windows folder from the window created from step 2 to the window created in step 3.

    5.If you're planning on using HIDGuardian to guarantee exclusive access to the game controller, proceed with the next steps. Otherwise, proceed to the steps under Setting up DS4Windows.

Windows 7 and ViGem virtual gamepad driver compatibility fix

ViGem virtual gamepad driver is a signed driver and it is supported both in Windows 7 and Windows 10 platforms. However, Windows 7 needs few Microsoft hotfixes to support the driver signature. Please see the following "Necessary preparations for Windows 7" steps". ViGem gamepad driver and Win7 signature hotfix and Microsoft Security Advisory 3033929

Also, both Win7 and Win10 users of Oculus tools should be aware of potential conflicts in ViGem gamepad drivers. See the following web page for more information. Potential conflict between Nefariou's original official ViGem gamepad driver and a rip off version in Oculus application package.

HidGuardian Test Installer

TLDR version. The HidGuardian filter driver is the most sure way of getting DS4Windows exclusive access to the DS4 controller. A test installer for HidGuardian version has been made to help make installing and getting a base configuration easier to set up. You can download the installer program at the following URL. Updated 2019/12/18


Manual instructions for installing and configuring HidGuardian can be found later in the section Installing HIDGuardian and later. If you wish to configure HidGuardian manually, read on. If you used the "Test Installer" linked above to install HidGuardian then you can stop reading unless you are interested to know what happens under the hood.

Setting up DS4Windows

    1.Open DS4Windows.

    2.Under the Settings tab, click 'Controller/Driver Setup'.

    3.Follow the instructions in the newly-opened window, performing step 1 (required), and step 2 (if running Windows 7 or below), and then perform the bluetooth pairing if using wireless controllers.

Installing HIDGuardian

If you used the above linked Test Installer to install HidGuardian driver then you can stop reading unless you wanna know what happens under the hood or you want to install everything manually.

    1.Download the HIDGuardian package:
    For x86 32bit Windows: https://downloads.vigem.org/projects/HidGuardian/stable/
    For x64 64bit Windows: https://downloads.vigem.org/projects/HidGuardian/stable/

    2.Open the HIDGuardian package, and navigate to either the x86 or x64 folder.

    3.Open another File Explorer window (press WIN + E) and navigate to one of the following folders:
    For x86 32bit Windows: C:\Program Files (x86)
    For x64 64bit Windows: C:\Program Files

    4.Create a new folder called HIDGuardian, and copy the contents of the x86 or x64 folders in the HIDGuardian package into this folder.

Installing the Windows Driver Kit

The Windows Driver Kit includes the devcon.exe command-line utility.
Due to copyright, this program cannot be redistributed.

    1.Download the Windows Driver Kit from the Microsoft website.

    On the Microsoft WDK site, skip over step 1, download the WDK in step 2.

    2.Install the Windows Driver Kit.

Installing and using the HIDGuardian Helper Files

    1.Download the following file:
    HIDGuardian Helper Files.zip

    2.Open a File Explorer window (Press WIN + E) and navigate to the HIDGuardian installation folder.
    For x86 32bit Windows: C:\Program Files (x86)\HIDGuardian
    For x64 64bit Windows: C:\Program Files\HIDGuardian

    3.Open the HIDGUardian Helper Files package, and copy the contents into the HIDGUardian installation folder.

    4.In the HIDGuardian installation folder, right-click on 'Install HIDGuardian' and select 'Run as administrator'. This will install the HIDGuardian filter driver.

    5.If you ever need to uninstall the HIDGuardian filter driver, I've included an uninstaller batch file, which also needs 'Run as administrator'.

Update Windows Registry with list of Affected Devices

    You can update the Windows registry with the list of devices to guard manually, automatically using the supplied .reg file, or via DS4Windows. Pick one of the next 3 steps(1a, 1b or 1c).

    1a. Manual method - Use notepad to edit the file 'HID Guardian AffectedDevices.reg' to retrieve the necessary info. If you need help using regedit, you probably shouldn't be using regedit ;)

    1b. Registry file import - double-click the registry file 'HID Guardian AffectedDevices.reg' and merge it into your Windows registry.

    1c. If DS4Windows is running, terminate it. Run DS4Windows as administrator by opening the folder where DS4Windows is saved, right-click on DS4Windows and select 'Run as administrator'. Then under the Settings tab, select 'Write HID Guardian Device List'. DS4Windows must be running as administrator in order to write to the Windows registry.

Here is a link to one post which explains a bit more how HidGuardian uses system registry settings: https://github.com/Ryochan7/DS4Windows/issues/844#issuecomment-541345798

Major Windows Updates - HIDGuardian Stops Working

Performing a major Windows update clears the HIDGuardian filter driver. To fix, re-run the 'Install HIDGuardian' batchfile from step 4 of the 'Installing and using the HIDGuardian Helper Files' section. This includes updating from Windows 2017 Fall Creator's Update to Windows 2018 Spring Creator's Update (and any future updates), or if you subscribe to the Windows Insider Preview and receive preview updates.

Changelog Version 2.0.9

- Correction of the recording of the macro parameter "Repeat while waiting"
- Midpoint update for gyroscopic calculations
- Modification of the default text options of the application in the main XAML
- Increased offset of the mouse stick

Download: DS4Windows 2.0.9

Post a Comment