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

XInputInterface not found for Xbox One build #25

Open
alexandreMarie opened this issue Apr 26, 2017 · 7 comments
Open

XInputInterface not found for Xbox One build #25

alexandreMarie opened this issue Apr 26, 2017 · 7 comments

Comments

@alexandreMarie
Copy link

Hi everyone.

I'm trying to use XInputDotNet on Xbox One and unfortunately all the dll's are presents in the executable folder but when the console launch the .exe I have the following error

"DLLNotFoundException: Unable to load DLL "XInputInterface" : The specified module could not be found. (Exception from HRESULT 0x8007007E)

@speps
Copy link
Owner

speps commented Apr 27, 2017

For Xbox One, you would probably need to rebuild XInputInterface.dll yourself as it's built for Windows, not Xbox One. Just opening the solution and adding the right platform should do the trick. However, I don't know how the plugins work for Xbox One so you'll to find that yourself in the documentation. By that last sentence, I mean that I don't know how the Plugins should be organised for Xbox One.

@alexandreMarie
Copy link
Author

I rebuid it, it works perfectly if I add the XInputInterface manually with the Xbox browser. I'll be back when we succesfully configure the project and make the automatically DLL copy works.

Thanks for your quick reply

@hsuchil
Copy link

hsuchil commented Jul 26, 2017

@alexandreMarie
I'm hitting this same issue, any luck finding a way to fix this?
Can you describe your workaround?
What do you mean by "Xbox Browser"?

@gdespaux
Copy link

gdespaux commented Aug 26, 2017

@hsuchil Hopefully this helps you and anyone else with this problem.

Building the DLL in VS definitely helped some of my issues. You'll need the DirectX SDK to do so. (Latest version is from June 2010) You can search for it or use this link here

It looks like Microsoft just removed the download from their site, but that is a cached link from Google and still works for me at least.

BE SURE to uninstall any existing 2010 C++ redis you have. Otherwise the DirectX SDK install will fail or act weird if it does install. You can safely re-install the latest 2010 redis after the SDK is installed.

You also need a few components installed in VS, namely the C++. If anything is missing it'll notify you if you close/reopen the project after a failed build. Just putting all this here since I've never done it before now and would have been easier if there was some guide for this. Make sure you Build Solution and not Deploy/Debug, just Build the DLL and then move it to your project. Working so far for me :)

@Fnatic91
Copy link

Fnatic91 commented Sep 3, 2017

Hi,

i have a same issue.

Anyone can upload the modified dll please? I can't figuring out what need to change in vs to work.

@Fnatic91
Copy link

Fnatic91 commented Nov 1, 2017

Hi,

Its working fine in unity but cant make work on xbox :/ anyone can help me pelase?

@gdespaux
Copy link

gdespaux commented Nov 1, 2017

@Sybere it truly is better to do without it. I had so many issues even after getting it to work that I removed the library.

The problem is that if you manage to "just make it work" then all it will take is one update to break and you'll be reworking it all over again.

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

No branches or pull requests

5 participants