Mortal Kombat Komplete Edition/ Injustice gamepad

Questions about Wine on Linux
Locked
User avatar
legluondunet
Level 2
Level 2
Posts: 34
Joined: Sun Aug 22, 2010 10:47 am

Mortal Kombat Komplete Edition/ Injustice gamepad

Post by legluondunet »

Hello,

I have difficulties to use a gamepad with this two games:

Mortal Kombat Komplete Edition
Injustice

the axis are always up or down...

Someone has the same bug with this games?
When I go to the wine control panel, joystick, I test my gamepad and all controls are ok...It's only with this 2 games.

Thank you for your help.

Config:
Ubuntu 14.04 LTS Trusty 64 bits
NVIDIA GeForce GTX 770
official Ubuntu Nvidia drivers 331.113 resolution 1920x1080
Processor Intel i5-3570 3,4 Ghz
8 Go RAM
User avatar
legluondunet
Level 2
Level 2
Posts: 34
Joined: Sun Aug 22, 2010 10:47 am

Re: Mortal Kombat Komplete Edition/ Injustice gamepad

Post by legluondunet »

I resolved my problem with use of x360ce, a gamepad emulator. It's a buggy soft but very usefull in this case. I hope Wine will improve very soon xinput support.
User avatar
legluondunet
Level 2
Level 2
Posts: 34
Joined: Sun Aug 22, 2010 10:47 am

Re: Mortal Kombat Komplete Edition/ Injustice gamepad

Post by legluondunet »

In fact, it is a lot complicated to have one or more gamepad fully functionnal with this game. This is how to proceed:

1) with winetricks, install directx and dotnet 4

2) download and install x360ce:
https://code.google.com/p/x360ce/
launch it, set fully your gamepad. In the options tab, set "Hookmode" to compatibility, save and quit.

3) copy this files from the x360ce folder:
x360ce.ini, xinput1_3.dll
into the Injustice or MKKE folder:
~.wine/drive_c/Program Files/Steam/steamapps/common/InjusticeGodsAmongUs_UltimateEdition/DiscContentPCG
or
~.wine/drive_c/Program Files/Steam/steamapps/common/MortalKombat_KompleteEdition/DiscContentPC

4) launch wineconfig, go to librairies tab, add "dinput8.dll" with "native then built-in".

5) Search in this folder:
~/.wine/drive_c/windows/system32
for dinput8.dll. If present, rename it in "dinput8.dll.bak"

6) Downoad this file: https://drive.google.com/folderview?id= ... drp=1#list
Then extract the archive on your desktop for example, copy dinput8b.dll from the "blocker" folder and copy it in the DiscContentPCG injustice folder or DiscContentPC MKKE folder. I obtain better result with this DLL with wine than with the x360ce one.

You can now play Injustice or MKKE with your favorite gamepad on Linux/Wine.

Good fight!
Locked