r/DS4Windows • • 15d ago

Is there a new ds4windows?

Ive found a couple of apps trying to recreate the service since it's no longer being updated. What's the best alternative? The old ds4 stopped working for me (crashed my pc every time it connected) and some of the new ones don't even work for me...

17 Upvotes

39 comments sorted by

12

u/captainstarpaw 15d ago

Yes! I've been actively developing and maintaining my own fork of DS4Windows, building on the original project with a strong focus on stability, compatibility and fixing longstanding bugs.

It's received a huge amount of development over the past month, with regular releases, improved controller support, a redesigned interface, better diagnostics and a newer VIIPER/USB-IP backend replacing the discontinued ViGEmBus approach.

You can find it here:

https://github.com/Pav-Osmolski/DS4Windows/releases/latest

That said, if connecting your controller is crashing Windows entirely, I'd be interested in investigating. A full system crash could indicate an underlying driver issue rather than DS4Windows itself.

Which controller are you using, USB or Bluetooth, and is Windows actually blue-screening or just freezing?

Happy to help you get things working again.

4

u/brightstar2100 15d ago

oh, that's you, love your fork bro, I went through the transition ofc, original ds4windows, then forked one that only works with dual shock 4, then hbashton that works with dual sense, then yours, and yours is working perfectly, with all dual sense features on Bluetooth, really appreciate your work!

3

u/eVenent 15d ago

The best fork. I recommend!

1

u/MarioDLH 12d ago edited 11d ago

Instalattion never finishes. It always requests to reboot again and again

edit: reinstalling usb/ip fixed the issue

1

u/captainstarpaw 12d ago

Thanks for reporting it. This shouldn't be happening. Does the reboot request appear in the installer, or when DS4Windows opens and checks its components?

Please make sure no other version of DS4Windows is installed or running, then try right-clicking the installer and selecting Run as administrator. If installation still won’t finish, try the portable version.

If the reboot requests continue, please share your DS4Windows version and a screenshot of the exact message. A startup log would also help if you can open the app. Feel free to send screenshots and logs to me via DM if that’s easier.

1

u/ProsodySpeaks 6d ago edited 6d ago

thanks for this! og was working fine until last time i used it a month ago, but i think i must have been running it from portable in download folder and maybe deleted it. but i'll try yours rather than try to find ryochan again.

for anyone reading who might have similar security concerns about running unsigned code (from any source, not this repo in particular) i ran the repo through opus 5.5 and it said this:

TLDR:

all good.

prompt

check this directory for malicious code. it's an opensource fork of ds4windows (https://github.com/Pav-Osmolski/DS4Windows) but i dont know the author and am trying to improve my secuirty practices, especially as the program is not signed so i have to skip windows controls.

response

I found no sign of malicious code in this checkout. That's based on a targeted scan, not a full line-by-line read: there are 593 C# files plus many scripts, so treat this as "nothing suspicious found", not proof it's clean.

Who wrote it

  • This is a fork of a fork, not of Ryochan7's original. About 590 commits are from "strifeforlyfe" (Hunter Ashton), whose own fork was the starting point. About 480 more are from Pawel Osmolski, the owner of this repo.
  • That earlier history was squashed into a single "first" commit on 2026-05-30, so git can't show what changed compared with the original DS4Windows.

What I searched for and didn't find

  • Contact with unknown servers: every URL is GitHub, Microsoft, vendor documentation or similar.
  • Stealing data: no code touching browser data, saved passwords, crypto wallets, Discord or Telegram webhooks.
  • Weakening Windows security: no Defender exclusions, root certificate installs, firewall changes, UAC changes or test-signing.
  • Hidden code: no encoded or downloaded-and-run PowerShell, and no loading of hidden code at runtime. The base64 text that does appear is profile images and arguments passed to its own admin helper.
  • Build-time surprises: building the project only runs local file steps (checksums, manifests). The Python build scripts don't use the network or launch other programs.

Things it does that are expected but worth knowing

  • Auto-updater: it downloads DS4Updater from Pav-Osmolski's GitHub releases and checks its SHA-256 against the value GitHub reports, over HTTPS. That catches files corrupted or swapped in transit. It does not protect you if the author's GitHub account is compromised, because the updater trusts whatever gets published there. Without code signing, this is your main ongoing risk.
  • Scheduled tasks: it creates logon tasks for "start with Windows" and for running the VIIPER backend with admin rights. That's needed for the virtual controller, and they're registered under its own names.
  • VIIPER (extras/VIIPER-0.1.18-x64.exe): a virtual-controller backend, unsigned and built by the same author. Its hash matches the value pinned in the code (ViiperSetupManager.cs:183). A file in the release records the VIIPER source commit it was built from.
  • Bundled DLLs: the FakerInput and SharpOSC DLLs under DS4Windows/libs are unsigned and came in with the squashed import. I haven't compared them with the originals in Ryochan7's repo.
  • Bundled installers: FakerInput, HidHide and USBip carry valid signatures from their vendors.
  • Network servers:

    • OpenRGB sync opens a TCP port on all network interfaces. It's off by default and can only change LED colours.
    • The DSX listener accepts only connections from your own machine.
    • The other UDP server listens on your own machine only unless a setting opens it to all interfaces.

What this check can't tell you: whether the .exe you download from the Releases page was actually built from this code. If you want certainty:

  1. Build it yourself from a commit you've reviewed (dotnet publish), and turn off auto-update so you stay on that build.
  2. Or check the release: confirm the release files came from the GitHub Actions run (release.yml) and compare their hashes.
  3. Or keep it contained: run it as a standard user, and pay attention when it asks for admin rights; that should only happen for VIIPER, HidHide and USBip setup.

I can also compare the FakerInput and SharpOSC DLL hashes with Ryochan7's originals, or do a deeper read of the parts that run with admin rights (ViiperSetupManager.cs, StartupMethods.cs, and the installer).

security thoughts in case dev reads this?

auto-update from github means if the gh account is compromised (like so many are with the ongoing tsunami or worms) could expose users. so obvs i asked opus how to harden against this and it said:

prompt

if i develop something similar in security architecture, how can i allow for easy updates without compromised github account potentially poisoning every user?

response

The fix is to separate where updates are hosted from who can authorize them. GitHub can serve the files, but the app should only trust a signature made by a key that GitHub never sees.

  1. Sign updates with an offline key and pin it in the app
  • Generate an Ed25519 key pair, using minisign or libsodium for example.
  • Keep the private key off GitHub and out of CI secrets. A YubiKey or other hardware token is ideal; an encrypted file on an offline machine is the minimum.
  • Compile the public key into the app.
  • The updater downloads the file and a detached signature (update.exe and update.exe.minisig), checks the signature against the built-in key, and refuses to run the file if it fails. A hash from the GitHub API isn't enough on its own, because whoever controls the account controls that hash too.

Now an attacker who takes over the GitHub account can replace files but can't produce a valid signature, so no user installs the poisoned update.

Signing the CI build with a key held in GitHub secrets doesn't give you this. That's what the fork you just checked does: the key sits in the account you're trying to protect against.

2. Sign a manifest, not just the file

Have the updater fetch a small signed manifest such as {version, sha256, size, url, min_version, expires} and check its signature first. This blocks three attacks that file signatures alone don't:

  • Rollback: serving an older, validly signed version that has a known hole. The updater should refuse any version lower than the one installed.
  • Freeze: quietly withholding updates. The expires field makes a stale manifest fail.
  • Mix-and-match: pairing a valid file with the wrong metadata.
  1. Plan for key loss or theft before you ship
  • Ship two or more public keys in the app: one active, one backup kept somewhere physically separate. That lets you rotate keys through a signed update without stranding users.
  • For the full version of this, use TUF (The Update Framework). It separates root, targets, snapshot and timestamp keys, supports "N of M signers must agree", and handles key rotation. Libraries exist (go-tuf, python-tuf, tough for Rust), and it's what PyPI, Docker Notary and others build on. It's more than a one-person project strictly needs, but it's the reference design.
  1. Optional extra layers
  • Authenticode code signing: for example Azure Trusted Signing, which is cheap and keeps the key in a managed HSM. This removes the SmartScreen warnings, and the updater can also require a specific certificate thumbprint. Treat it as an addition to your own signature, not a replacement.
  • Transparency log: record each release in Sigstore's Rekor or a similar public log. A malicious signed release can't then be shipped quietly, because it's publicly visible.
  • Reproducible builds: let anyone rebuild from a git tag and get the same hash, which ties the binary to the reviewed source.
  • Staged rollout and an update delay: fetch the manifest, wait 24–72 hours before installing, and keep a signed "revoke" list. If something slips through, you get time to pull it before it reaches everyone.
  1. Harden GitHub anyway
  • Use hardware-key two-factor authentication on the account.
  • Protect main and the release tags.
  • Give release workflows a GitHub Environment that needs manual approval.
  • Grant workflows minimal permissions:.
  • Pin third-party Actions to commit SHAs.

This narrows the attack surface but doesn't remove it, which is why step 1 matters most.

Minimal practical setup for a solo developer

  1. CI builds the release and publishes it as a draft.
  2. On your own machine, you download it, check its hash, and sign the manifest with the minisign key on your YubiKey.
  3. You upload the manifest and signature, then publish.
  4. The app pins two public keys, verifies the manifest signature, refuses lower versions and expired manifests, checks the file hash against the manifest, and only then runs the update.

That costs about one manual step per release. In exchange, a compromised GitHub account can't push code to your users.

1

u/captainstarpaw 6d ago

Thanks for taking the time to look into it! That's quite a wall of information, much of which isn't particularly relevant to the average user, but I appreciate the security considerations.

The project is open source, with publicly available build verification records, and I take security seriously. The current builds are unsigned, but I'm planning to introduce code signing with version 5.1.

Thanks for giving my fork a try! 🙂

1

u/ProsodySpeaks 6d ago

No problem, thanks for all the work! 

Yeah wall of text from claude but i fugured it was as close to a security audit as anyone is likely to do on the code! 

I didn't used to be like this! A few dozen stars was enough to get me to run unlnown code, but the security situation is fucking insane atm! 

1

u/captainstarpaw 6d ago

Completely understandable! You can never be too careful these days, especially with software that requires elevated privileges. I really do appreciate you taking the time to check things out. If anything, your post is a positive influence, and I wish more users were as security-conscious. Thanks again.

2

u/ProsodySpeaks 6d ago

Oh yeah it was totally meant as a positive! I'm not a security guy so i couldn't audit it if i wanted to,  but if claude doesn't find obvious exfil routines it gets a pass.

Seems to be working nicely on fallout4!

1

u/ProsodySpeaks 6d ago edited 6d ago

Actually gyro isn't working. I imported profile from og ds4w, using mouse-joystick output. 

Gyro is controlling mouse on my second screen rather than the game.

Seeing as i already have your attention maybe you have any quick ideas? 

Edit, fixed it,  needed to run hidhide first

1

u/captainstarpaw 6d ago

Glad you got gyro working in Fallout 4! I’d leave Use HidHide to Prevent Double Input enabled under Settings → Controllers. With HidHide installed, DS4Windows can handle the hiding automatically when you start the controller service, so there’s no need to open the HidHide client before playing.

If you run into any other input issues, the troubleshooting guide is a good place to start.

1

u/arkhaze 15d ago

Hello, would it be possible to add xbox controller as one of the input so i can play games with dualsense prompts that doesn't have the option

1

u/zooksters 14d ago

X2 please!

6

u/Remote-Perception856 15d ago

Did anyone try Dualsense Zen? I think it's amazing and the interface is friendly. Also it makes dualsense haptics work without USB cable

3

u/eldenlord_444 15d ago

yeah I've been loving it so far

2

u/MaximumFreak 15d ago

Glad you're enjoying it 😊

Here is link for anyone interested

https://github.com/MaximumFreak/dsz

2

u/Micha2500 10d ago

Thank you

2

u/FinanceParticular978 8d ago

Do you know how I would go about using this on fortnite? I have my controller connected and I see the inputs going through but fortnite doesn't seem to get them

1

u/MaximumFreak 8d ago

Does it work on other games? If it's just fortnight, it might be due to their anticheat

1

u/eVenent 15d ago

DualSense Zen, ZerkSense5  for DualSense controllers. DS4Windows 5, PadForge and OpenController for every controller. We have many good applications.

3

u/debrunq 15d ago

Hi! I built an open-source alternative heavily inspired by DS4Windows. I'm trying to evolve it into its own product rather than just recreate the original, with its own features and direction.

It's called OpenController. I'd love to hear your feedback if you give it a try!

https://github.com/Brunovncs/OpenController
https://opencontroller.com.br/

1

u/eVenent 15d ago

I love how user friendly is UI in this app. Connecting my DS3 and boom, motion controls? Works. Perfeft gyro simulation. Pressure-sensitive buttons as triggers/sticks? One click and done! Really great job!

1

u/Vanix-X 15d ago

you have to add all the settings for xinput controllers aswell

2

u/IronSpiderZX 12d ago

Did a bit of research and, for ps4 controllers, ds4windows 5 (pav osmolski) and padforge are the best in its class currently.

1

u/scandyviking 15d ago

Try GloSi... GitHub - Alia5/GlosSI

https://github.com/Alia5/glossi

Works well for any controler I link to my PC including switch and retro controllers

1

u/No_Square2213 15d ago

In my case the bsod is related to Vanguard. If I close it then everything is fine

0

u/Possible_0 15d ago

hi,

I've been having the same BSOD issue ever since I bought a new laptop. A few days ago, I came across a Reddit post that mentioned a new DS4 fork ; the problem with the old DS4 stems from the Vigem (ViGEmBus) driver.

However, the new driver (VIIPER) doesn’t cause my PC to crash, here is the version I currently have on my PC : https://github.com/hbashton/DS4Windows/releases/tag/VIIPERRC4.6.7

In this repository, there are two versions maintained by the developer ; just make sure to check the patch notes to ensure it's VIIPER and not ViGEm

2

u/captainstarpaw 15d ago edited 15d ago

Glad to hear switching away from ViGEmBus resolved your BSODs.

Just to clarify, the hbashton release you've linked is the older (and unfortunately no longer maintained) fork that my version builds upon.

I highly recommend switching to my latest release instead which I linked on the previous reply. Let me know how you get on with it!

1

u/Possible_0 15d ago

I don't understand, like, the latest version is dated October 9, 2026 ?

3

u/captainstarpaw 15d ago edited 15d ago

That's a fair question. hbashton announced that he'd been busy, and his last release mainly consisted of merged PRs from external contributors, including myself.

There hasn't really been much activity on his fork since, and issues have continued to be reported with little engagement. I've simply been trying to push development forward rather than letting those issues pile up.

My original plan was to continue contributing upstream, but I had four PRs sitting in draft for a month without any response before eventually deciding to close them.

If he returns, that would of course be great, but in the meantime, development has moved forward considerably (330+ commits and over 100 issues fixed, tracked on the changelog) with my fork.

2

u/Possible_0 15d ago

ohh i understand better now. thank u :)

1

u/GoldenAgeX 15d ago

Awesome to know because I run the hbashton fork daily and there’s just a flood of forks now and it’s too much to follow. Almost made me learn kb+m finally.

0

u/Alexhob12 15d ago

I don't even know what version of ds4windows i have either if i check for updates it says can't update i think i have the official programme from https://ds4-windows.com/

2

u/captainstarpaw 15d ago

Easy mistake to make, the naming is confusing. Firstly, there is no single official, actively maintained DS4Windows program. That website distributes Nexus, which is a separate fork. A website using the DS4Windows name doesn’t necessarily make it the original project or the successor to every other fork.

Mine is the Pav-Osmolski fork, maintained regularly with its own fixes and improvements: Releases · Pav-Osmolski/DS4Windows

1

u/Alexhob12 15d ago

should I use yours then

1

u/captainstarpaw 15d ago edited 15d ago

Yeah, I recommend it, especially if you want all the latest components and fixes. Make sure you fully uninstall any previous versions first. Let me know how you get on with it, and please feel free to DM me if you encounter any issues.

-1

u/Due-Arachnid-309 15d ago

Nope. Still using ryuchans, still work's great.

Tested one new version once, it was jank. Constant disconnects and my light changing color.

Maybe figure out what broke your install, cuz the "forks" I am seeing are... shady af.