Repository navigation
Getting Started
This page acts as a "quick start" guide for getting Xidi set up and running.
-
Windows 10 or 11. Older versions of Windows are not supported.
-
Visual C++ Runtime for Visual Studio 2022. If running a 64-bit operating system, install both the x86 and the x64 versions of this runtime, otherwise install just the x86 version.
Xidi binaries are available on its Releases page. Be sure to download the latest available version.
-
Place the main Xidi binary into the same directory as the application's executable file. This will be either "Xidi.32.dll" (for a 32-bit application), "Xidi.64.dll" (for a 64-bit application), or both.
-
Install one of the mechanisms for loading Xidi into the same directory as the application executable.
-
Optionally supply configuration settings to Xidi.
-
Run the application.
Xidi can be loaded into an application via one of several mechanisms. The following subsections describe each one and how to install it.
As of Xidi v5.0.0, the HookModule mechanism is recommended wherever possible. This is because it offers several advantages:
- Greater compatibility with applications than can be achieved using any other mechanism.
- Some applications and mods bypass the loading mechanism upon which Xidi's other mechanisms rely. In these situations, the other mechanisms will simply not work.
- Some applications simply break when other mechanisms are used.
- Automatically works with whatever API an application might use, be it DirectInput or WinMM.
- With this mechanism, it is not necessary to know in advance what API an application uses to communicate with game controllers. Thanks to new features introduced in Hookshot v2.0.0, Xidi will "just work" regardless of the API.
To use the HookModule mechanism:
- Place either "Xidi.HookModule.32.dll" (for a 32-bit application), "Xidi.HookModule.64.dll" (for a 64-bit application), or both into the same directory as the application executable.
- Download Hookshot version 2.0.0 or higher.
- Extract the necessary Hookshot files ("Hookshot.32.exe" and "Hookshot.32.dll" for a 32-bit application, "Hookshot.64.exe" and "Hookshot.64.dll" for a 64-bit application, or all of these files together) into the same directory as the game executable.
- Run the application with Hookshot. The easiest way to do this is using the Hookshot Launcher, as follows, but there are other ways that are described in Hookshot's documentation. To use Hookshot Launcher:
- Rename the application executable by adding the text "_HookshotLauncher_" to the beginning. For example, "Game.exe" would be renamed to "_HookshotLauncher_Game.exe".
- From the downloaded Hookshot release, extract "HookshotLauncher.XX.exe" to the same directory as the application executable, then rename it to the original name of the application executable. Following the example above, this would mean renaming "HookshotLauncher.XX.exe" to "Game.exe".
- For this step, substitute "XX" with "32" for a 32-bit application executable or "64" for a 64-bit application executable.
- Run the application as normal. Hookshot Launcher will take care of ensuring Hookshot loads the application correctly.
Many applications use the DirectInput API to communicate with various input devices, including game controllers. For such applications, place either "dinput8.dll" or "dinput.dll" into the same directory as the executable. The former is for applications that use version 8 of DirectInput, and the latter is for applications that use any older version.
Some applications make use of the legacy joystick API offered by the Windows multimedia library. To use Xidi with these applications, place "winmm.dll" into the same directory as the executable.