-
Notifications
You must be signed in to change notification settings - Fork 3
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
Question About: Fixed a startup crash due to DirectInput controller enumeration being broken #2
Comments
Sounds like #1 could be related - however it doesn't break on my wheel. It probably has to do with the game assuming specific FFB capabilities that the wheel might not have, but I am not sure how to test it more - maybe you could dump the input parameters and the result - who knows, perhaps the error here is not |
Yes, that is the same issue.
Ok, that is good to know at least. So it is not all wheels, just that one.
I just checked the logs and it is returning error code 0x80070057.
I did that and everything looked good, as far I as I can tell. Here is the function call:
I am also seeing these calls fail:
I don't see anything wrong with these calls, so I am not sure what parameter is wrong. |
BTW: here is the raw data with all functions logging: dinput_log.zip For this update I created an IDirectInputEffect class and returned a pointer to that class even if the CreateEffect failed so that the game would play without crashing. Then I tried to add the effect by calling
|
This issue states
which makes me think it's just a game bug - maybe these wheels just don't support the type of Force Feedback the game expects - although it would be strange not to support the constant force... I have no further ideas atm, but I'll let you know if I manage to reproduce it or gather any more info. |
That is what I thought also, but it works without dinputto8. So I guess something is changing between the v1 CreateEffect() call and the v8 CreateEffect() call. Or some other function needs to be setup first that is not quite setup for v8, but still works with v1. Anyways, thanks for looking. If you think of anything let me know. |
Next time I have my wheel setup, I will try Porsche with dinputto8 - I use |
Thanks! |
This would allow for Xidi to be used too. I'd really appreciate that. Thanks! |
You can already do that since UAL is generic - just rename |
I'm not sure I understand... What |
I am not sure if Xidi can load another DLL - if it can use another DLL as a proxy, you should have Xidi as |
Xidi brings a |
Latest version of UAL allows to load original(or not original) dll by renaming it to |
Sounds great. I guess that sorts it out once and for all. Thanks so much! |
I have had an issue open in dinputto8 for a while regarding an issue with NFS: Porsche Unleashed crashing when certain controllers are used.
I troubleshot the issue down to a failing call to the
CreateEffect
function. The game cannot handle the fail and tries to access the nullptr after the call fails.But I don't have the controller to test with so I am not quite sure why it fails. If you have any ideas that could help here that would be great.
The text was updated successfully, but these errors were encountered: