Skip to content

DirectInput support for Street Fighter 5 PC

License

Notifications You must be signed in to change notification settings

gabrielOttopia/SF5DInput

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SF5DInput

DirectInput support for Street Fighter 5 PC

This is a drop in DLL replacement for xinput1_3.dll that provides DirectInput support for Street Fighter 5 PC. It focuses on having direct bindings for PS3/PS4 controllers that match up with default bindings that would be used on the PS4 version of the game. It also provides features for swapping which slots can be assigned to each controller.

How to Use?

Download the latest version of the dll in the release section. Drop the xinput1_3.dll file into *installdirectory\StreetFighterV\Binaries\Win64* and launch the game. To uninstall, just remove the dll file from this folder.

Features

  1. Supports DirectInput as well as XInput devices (analog input supported)
  2. You can plug or unplug your devices while the game is running
  3. Devices are automatically assigned (first plugged, first player assigned, places are kept).
  4. By holding the Home Button and left or right on the DPad for 2 seconds, you can switch between being player 1 or player 2 on any controller (on XInput controller Start+Back can be used if it's not working).

Tournament mode

This version of the dll disable controller switch to avoid having a player claiming a slot during a match. The slot allocation and hotplug still works (first plugged, first player assigned).

Known Bugs

  1. Controllers that aren't PS3/PS4 controllers don't have a way to get proper mapping :(

Tested with....

  1. Hori FC4
  2. Sony DualShock 4
  3. Hori PS4 VLX
  4. PS360+ in any mode
  5. Venom PS4
  6. Madcatz TE2
  7. Hori RAP 4
  8. Madcatz TE

Supported Games

SF5Dinput actually works with a ton of games other than Street Fighter 5! TO test it just drop the dll into the games folder beside its executable, then see if SF5DInput specific features work (like switching from P1->P2, plugging in controllers. Be sure to test with and without the DLL, as many games have DInput support WITHOUT hotplugging support, and its important to know if the DLL is solving problems for the game. For example, the game Nitroplus Blasters already works with hotplugging controllers, so it doesn't actually need anything.

64-bit games (need 64-bit DLL build)

  1. Street Fighter 5 (Adds DInput Hotplug)

32-bit games (need 32-bit DLL build)

  1. Ultra Street Fighter 4 (Adds DInput Hotplug) rename dll to xinput9_1_0.dll
  2. Blazblue Cross Tag Battle (Adds DInput Hotplug)
  3. Blazblue Central Fiction
  4. Kohime Enbu

Credits

  • @dantarion
  • @WydD

About

DirectInput support for Street Fighter 5 PC

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 73.2%
  • C++ 26.8%