Prey XInput Fix

What is this?

This fix attempts to resolve the controller issues in Prey that were introduced with patch v1.05, by forcing the game to use XInput instead of the Steam Controller API by Valve.

You can download the fix from PC Gaming Wiki here or from Nexusmods here.

Overview

Description

While Prey offers good controller support, patch v1.05 introduced various issues. Instead of choosing either XInput or the Steam Controller API based on the user settings, the game always uses the latter. This results either in problems with the movement as well as certain controller settings or in the controller not working at all if the user has disabled the usage of the Steam Controller API in game’s properties in Steam.

This fix re-enables XInput support and forces the game to use it, regardless of the settings.

Instructions

Supported Versions

Important: This fix is is designed for latest, fully patched installation of Prey and will probably crash when it is used with any other version than 1.05.

Install

The fix does not make any permanent changes to the game or the system and can easily be removed (see below).

  1. Extract the file dinput8.dll to the release sub-folder of Prey. For example: "C:\Program Files (x86)\Steam\steamapps\common\Prey\Binaries\Danielle\x64\Release\"
  2. Important: Make sure that you have turned of the usage of the Steam Controller API (see below)
  3. Start the game like you would normally, for example directly through Steam or Big Picture mode

Although the fix forces the game to use XInput, it is necessary to turn of the usage of the Steam Controller API in the game’s settings. This is because the Steam Controller configuration emulates mouse input when using the analog sticks, which overrides the data provided by XInput. To do this, go to Big Picture mode and find Prey in you library. Click Mange Game -> Controller Options and uncheck Use Steam Configuration for Non-Steam Controllers.

Uninstall

  1. Remove or rename the dinput8.dll from the folder of the game.

How To Use

After the installation the fix does not require any additional treatment. Just launch and configure the game as usual.

Additional Information

What You Should Know

This fix is essentially a hack and relies on the layout of the specific executable. There may be crashes or unexpected issues. Feel free to provide feedback so that the problems can get fixed.

Since the fix consists of an executable DLL-File, I could have put any harmful shenanigans in there. You just have to trust me that the file is clean.

If you don’t — and why should you — feel free to use a meta online virus scanner like VirusTotal to verify the file. Be aware however, that because the fix uses “hacking techniques” such as injection and hooking, it could trigger anti-virus software without being harmful.

Known Issues

There are currently no known issues with using the fix.

Contact And Support

If you like this fix and want to support the development or show your appreciation, you can find more information on my website. There you can also find out more about other fixes that I have done and means to contact me if you have a question, want to provide feedback, bug reports or suggestions.

Version History

Beta 0.2:

  • Added support for demo version of Prey
  • Added measures to make the fix more robust to updates of the game

Beta 0.1:

  • Initial release
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s