Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game ignores the new mappings #31

Open
mariomeissner opened this issue Feb 19, 2017 · 4 comments
Open

Game ignores the new mappings #31

mariomeissner opened this issue Feb 19, 2017 · 4 comments

Comments

@mariomeissner
Copy link

mariomeissner commented Feb 19, 2017

I'm trying to use this tool to remap left and right joysticks of an xboxOne controller on Tomb Raider (Steam).
I followed these steps:

  • Downloaded durazno and dropped files inside installation folder of Tomb Raider.
  • Opened durazno.exe and remapped the desired controls. Controller is properly recognized and remapping works in the test section. Closed GUI.
  • Copied xinput1_3.dll to xinput9_1_0.dll (now having two dll's in my folder) because tomb raider uses this one.
  • Loaded the game, but my remappings are ignored.

I'm guessing something with the dll is wrong, or I'm missing some step. x360ce works when I make xinput9_1_0.dll. (I need to use this program though since x360ce does not let me press both triggers at the same time). This information might be useful to determine the cause of this issue.

Should I specify something in the "LoadDLL=" setting inside the .ini file?
This is what durazno.log currently contains:
[Durazno.zip]

= Durazno Log Opened =
DllMain: DLL_PROCESS_ATTACH
XInputLoadLibrary: C:\Windows\system32\xinput9_1_0.dll
XInputGetProc: XInputGetState

I also attach my ini file here. (https://github.com/KrossX/Durazno/files/785716/Durazno.zip)
Could somebody help me out here? :/

@mariomeissner
Copy link
Author

An interesting behaviour I noticed is the following:
Before loading the game, log shows XInputLoadLibrary: C:\Windows\system32\xinput1_3.dll
Only after loading and closing, log shows XInputLoadLibrary: C:\Windows\system32\xinput9_1_0.dll
If I open the GUI again, it resets to 1_3 again.

@KrossX
Copy link
Owner

KrossX commented Feb 19, 2017

It's fine, the GUI uses XInput1_3 as that's the default filename and the log gets overwritten. And the game log shows your renamed file is working and the function got called. In short, I have no clue why it ain't working.

You might have better luck with XInput Plus.

@mariomeissner
Copy link
Author

Update!
I tried XInput Plus, without luck. This one even gives a lovely soft beep sound when you load a configured game, so that you know its actually properly loading. The beep was there but the remapped controls werent.

HOWEVER!
XInput Plus comes with a secondary program called XInput Plus Loader. Apparently, It injects the input thingies directly into the process (so it needs to be reinjected after each launch. They let you create a handy shortcut though, that autoinjects and launches the process).
This one worked! I don't really understand how, but yeah...!

Thank you for the suggestion. <3
Also, your program, although it didnt work for me in particular, is really well made, so thank you for developing it.
Mario.

@KrossX
Copy link
Owner

KrossX commented Feb 20, 2017

Thanks for the information. It seems I would have to learn some hooking magic at some point since new games are getting quite problematic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants