Dolphin, the GameCube and Wii emulator - Forums

Full Version: New Wiimote Plugin error?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Does the old wiimote plugin work in r5939?
Yes
Does the old wiimote plugin work in r5940?
NO
Does the new wiimote plugin work in r5939?
yes
Does the new wiimote plugin work in r5940?
no

Its like this. Ive tried with the new and old plugin, and the problem is not the pairing, cause that i do with windows stack, the problem is that it doesnt detect the wiimote.

Im using a Spanish Wiimote, if that helps.

Regards
Meh, can't find the 5939 & 5940 rev here Sad http://www.dolphin-emu.org/download.html?list=15
(08-18-2010, 02:27 AM)anthonyda Wrote: [ -> ]Meh, can't find the 5939 & 5940 rev here Sad http://www.dolphin-emu.org/download.html?list=15

Dolphin-r5931 is the last one that hasnt got the error and Dolphin-r5942 has the error.

Its 5942 the one with the error.
The problem doesn't come from any of the Wiimote Plugins but from some of the changes to Wiiuse (as far as I tested) in R5940. This problem doesn't occur when using a wiiuse.dll from older revisions with newer versions (or when using a Debug (not Release nor DebugFast) build, but not sure if that's relevant).

For some reason, the call to SetupDiEnumDeviceInterfaces() in file io_win.c is failing for me since R5940 (false is returned), thus causing the loop in wiiuse_find() to break. The parameters should be checked, but unless I manage to compile wiiuse.dll (apparently it's another project file) with symbols, debugging that might not be so easy...
(08-18-2010, 03:49 AM)Dimitri Wrote: [ -> ]The problem doesn't come from any of the Wiimote Plugins but from some of the changes to Wiiuse (as far as I tested) in R5940. This problem doesn't occur when using a wiiuse.dll from older revisions with newer versions (or when using a Debug (not Release nor DebugFast) build, but not sure if that's relevant).

For some reason, the call to SetupDiEnumDeviceInterfaces() in file io_win.c is failing for me since R5940 (false is returned), thus causing the loop in wiiuse_find() to break. The parameters should be checked, but unless I manage to compile wiiuse.dll (apparently it's another project file) with symbols, debugging that might not be so easy...

Thanks, I was trying to determine whether the issues came from the plugin or wiiuse. It's difficult to debug when I don't experience the problem myself. I'll check out the changes to wiiuse in 5940 and the "SetupDiEnumDeviceInterfaces()" call.

Edit:
OK, I found the problem.
Your comment on google code about the debug builds working fine helped me find the prob.
That made it sound like a variable wasn't initialized.
And yup, an "index = 0;" line got removed accidentally.

OK everyone:
I think the wiimote connecting issues should be fixed in revision 6107. Please test both plugins and tell me your results.
Thx Billiard26, r6107 fixes the issues (win7).
!! OK !! Thanks a lot! Solved!
Pages: 1 2 3