DeadSpaceMouseFix

Origin Update For Mass Effect and Dead Space Mouse Fixes

I recently started to have a little bit more free time at my disposal again and used it to tackle an annoying problem that plagued the mouse fixes for both Dead Space and Mass Effect. The change logs for both games are as follows:

Beta 0.5:

  • The fix should now correctly work with Origin versions from any region

This might not look very impressive, but fixing this issue involved tackling a more severe underlying problem with Origin. Although the fixes were advertised to work with Origin, they would show an unsupported version pop-up for some users, while working fine for others.

Games are often available on a variety of distribution platforms, which usually all come with their own executable file of the game. This means that even if the versions are practically the same, the executables of say the Steam version most likely will have a different layout compared to the Origin or GOG version. A game can also have multiple versions on the same platform. This is most often the case for games that are distributed with certain languages that are only available in some regions.

While other game fixes work on a more abstract level, fixes like the ones for Dead Space of Mass Effect hook into the game and need to know the specific locations (i.e. memory addresses) of functions or data to hook into. If the addresses are wrong, the game usually just crashes. For this reason, every version has to be supported separately by a fix. This is often not trivial, because a fix might rely on several addresses which all have to be determined individually for every version. This also presupposes that I have access to every version in the first place, which is often not the case. Additionally, this process usually has to be repeated every time a game is patched.

Fortunately, the number of different official versions is often rather small and the chances that an older game gets patched are often pretty slim. By restricting a fix to only support the latest, fully patched version it is usually feasible to cover most — if not all — official distribution sources.

However, as it turned out, Origin does not like to play ball with this approach. While Steam usually only provides multiple versions if they actually differ from a content point of view (e.g. languages or censoring), Origin seems to always distribute technically different version for every region, even if they are practically identical. It is hard to tell how many regions Origin uses, but I saw different versions for Western Europe, Eastern Europe, Northern Europe, North America, Russia and more.

Because it is not feasible to support all of them, the updated versions of the mouse fixes now use a pattern matcher to handle Origin versions. Because they are usually very similar, it is possible to search for certain memory patterns in the executable, instead of specifying the addresses directly.

This should hopefully be sufficient to properly handle Origin versions for all fixes in the future.

Dead Space Mouse Fix

What is this?

This fix makes Dead Space use raw mouse input without any additional smoothing or acceleration. It works with VSync and high frame rates and is easy to install without having to fiddle around with FPS limiters or config files.

Overview

Description

The mouse controls in Dead Space are notorious. While many players report issues with positive or negative mouse acceleration or overall sluggish movement, others state that the controls are not that bad. This is because the engine applies a lot of transformations to the input that are based on frame time. This leads to movement that is generally better when the frame rate ist stable. The problem gets worse when activating V-Sync. This is why popular workarounds recommend to disable V-Sync and cap the frame rate to avoid fluctuations.

Unfortunately, this also means that playing at higher frame rates is often not feasible, which also prevents users from taking advantage of GSync, FreeSync, Fast Sync or similar technologies.

This fix attempts to circumvent those problems by acquiring raw mouse input and injecting it directly into the game’s camera functions, making the controls as independent of the frame rate as possible.

While the movement is still not as perfect as in other games — e.g. DOOM — it should be a huge improvement to the default behavior.

Important: This is an experimental fix. Although I tested all supported versions for some time, I played none of them all the way through. There might be crashes or other issues that I’m not aware of that may require further updates of the fix.

Features

  • Raw mouse input independent of FPS or VSync
  • Reasonable sensitivity range
  • Same sensitivity in each direction
  • No dead zone for slow movement
  • No additional smoothing or positive/negative mouse acceleration
  • Configuration via the ingame settings as usual

Note: Although the input is pretty raw when aiming, it may still feel a little bit sluggish when moving and turning the camera at the same time. This is because the game applies calculations based on the momentum of the player character to the input.

Instructions

Supported Versions

Important: This fix relies on the latest, fully patched executables of the supported versions. Older versions or ones that otherwise have been tempered with won’t work. This also means that if a game were to be patched — which is very unlikely at this point — it would break the fix and require it to be updated.

*You can find out what version of a game you have on Steam by using one of the methods stated here.

**The Origin version might crash on start when the ingame overlay is enabled. If that happens disable the overlay in the game properties in Origin. If the game still crashes the problem might be unrelated to the fix as this is an ongoing issue with the Origin version. In that case uninstall the fix and try to resolve the issue first before installing the fix again.

Install

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

  1. Download this zip-file from PC Gaming Wiki
  2. Extract the file dinput8.dll to your main game folder. For example: "D:\Games\Steam\steamapps\common\Dead Space".
  3. Start the game like you would normally, for example directly through Steam, Origin or GOG Galaxy

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 the game as usual.

Upon start the fix will detect which version you are using and immediately alert you via a dialog box and terminate the process if something goes wrong. This is to ensure that users don’t assume the fix is loaded when they are actually using an unsupported version.

To change the sensitivity just use the ingame settings like you would normally. The fix also incorporates the x- and y-axis inversion settings.

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 this 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

The only known issue at the moment is that the head movement does not fully follow the restrictions of the default camera. This means that you are able to look at higher and lower angles than it would normally be possible.

Contact And Support

If you like this mod 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.5.1 – Hotfix:

  • Fixed bug that caused the Steam and retail version to crash on start

Beta 0.5:

  • The fix should now correctly work with Origin versions from any region

Beta 0.4:

  • Added MessageBox to inform users when the fix cannot be loaded (e.g. using it on an unsupported version)

Beta 0.3:

  • Added support for GOG and Origin versions of the game

Beta 0.2:

  • Added support for x- and y-axis inversion

Beta 0.1:

  • Initial release