Project

General

Profile

Actions

Emulator Issues #4833

closed

3rd party Wiimote do not work with Microsoft stack

Added by MatejDro about 13 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
Controls
% Done:

0%

Operating system:
Windows
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
Yes
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

When using Microsoft BT stack (one in Windows 7), 3rd party wiimote will not work in Dolphin.

Pairing works great and Dolphin detects wiimote properly (it shows "1 wiimote connected"). But the game will not respond to any wiimote commands.

After starting the game, this error shows up in log:

Src\HW\WiimoteReal\IOWin.cpp:434 N[Wiimote]: WiimoteIOWrite[MSBT_STACK_MS]: Unable to send data to wiimote

If using other bluetooth stack (BlueSoleil, Toshiba, WIDCOMM etc.), controller will work properly.

Also controller works fine with other programs like WiinRemote, proving that this setup (microsoft stack + 3rd party wiimote) can work.

I can provide any additional information and help with testing, since I really want this issue solved.


Related issues 5 (0 open5 closed)

Has duplicate Emulator - Emulator Issues #4515: Compatible Speedlink Wiimote not working with DolphinDuplicate

Actions
Has duplicate Emulator - Emulator Issues #4529: Wiimote version compatibilityDuplicate

Actions
Has duplicate Emulator - Emulator Issues #4553: Memorex wireless game controller Plus combo pack not working on dolphinDuplicate

Actions
Has duplicate Emulator - Emulator Issues #4668: Wii remote disconnect in game.Duplicate

Actions
Is duplicate of Emulator - Emulator Issues #5011: Wii Remote Plus and some 3rd-party Wii Remotes do not work on WindowsFixed

Actions
Actions #1

Updated by Billiard26 about 13 years ago

  • Status changed from New to Accepted
  • Priority set to Normal
  • Category set to controls
  • Relates to usability set to Yes
  • Operating system Windows added

Can you find some open source software which does work with MS BT + 3rd party wiimotes, one which is written in C or C++?
WiinRemote is written in pascal or something ridiculous.

Actions #2

Updated by MatejDro about 13 years ago

Demo application included with that thing works

http://wiiyourself.gl.tter.org/

Actions #3

Updated by MatejDro about 13 years ago

Any news on that one?

Actions #4

Updated by justnews about 13 years ago

I've been have problems with my third party wiimote for ages now, i get exactly the same problem, the wiimote pairs up fine but refuses to work in any wii game, i've managed to get it to work a couple of times by going back into the wiimote options and clicking on refresh then pressing alt f5 a few times but most times the game still refuses to accept any input. i've even tried disconnecting the speaker using the game property options. i've tried other software like glovepie etc and they all work fine. these connection problems happen with HLE option selected which i use 90% of the time as the games go to slow with the LLE option even though i have an amd x6 1055t and running windows 7 x64 ultimate.

Actions #5

Updated by Billiard26 about 13 years ago

It's difficult to fix when you don't own a 3rd party wiimote.
Maybe If I feel like cleaning up the wiimote code it'll fix itself.

Actions #6

Updated by MatejDro about 13 years ago

I can help you by providing info and testing with the remote if you wish.

Actions #8

Updated by MatejDro about 13 years ago

Tested and it does not seem to fix the issue.

I get same "Src\HW\WiimoteReal\IOWin.cpp:434 N[Wiimote]:WiimoteIOWrite[MSBT_STACK_MS]: Unable to send data to wiimote" error and wiimote will not respond.

Or maybe I screwed up something? I cloned repository, then selected "Pull" and selected "fix-3rd-party-wiimote" branch. Then I compiled it like normal. Is that correct?

Actions #9

Updated by MatejDro about 13 years ago

Also, some time ago there was "Recording Window" or something like that in Dolphin, which allowed you to record wiimote movements. 3rd party wiimotes were working without problems with this window, which means that dolphin can read data from those wiimotes, just something is wrong with game connecting mechanism.

I can't find this "Recording Window" in new revision, so I cannot test it.

Actions #10

Updated by pholklore1 about 13 years ago

I've noticed that the Windows wiimote code (IOWin.cpp) always skips the first byte, so my fix couldn't ever help there:

	case MSBT_STACK_MS:
		i = HidD_SetOutputReport(dev_handle, buf + 1, len - 1);
                    ...
	case MSBT_STACK_BLUESOLEIL:
		return WriteFile(dev_handle, buf + 1, 22, &bytes, &hid_overlap);
                    ...
Actions #11

Updated by pholklore1 about 13 years ago

What I found while debugging my 3rd party wiimote (on linux), was that the reason the wiimote doesn't work in game, was that the game failed to configure the remote (done immediately when the game boots) (on linux, we were sending data packets instead of set reports). The MS stack code appears to be doing that already -- the HidD_SetOutputReport call makes it look like it. But I don't know anything about the Windows stack -- it may be that still sends data packets unless you configure the stack to do otherwise. Who knows.

I'd try logging the wiimote IO output the game sends to the device (hack IOWrite and IORead for example), and making sure that looks sane (the wiimote replies to all commands it should). If not, hack the WiimoteReal.cpp code to manually send the command the game is sending, and which the wiimote is failing to respond to, right after the Handshake/SetLeds code (send packet, and loop polling input and printf it). Then try to figure out why the wiimote doesn't respond. :-)

Actions #12

Updated by eclipse606 about 13 years ago

I have actually been able to connect my third party wiimote using windows stack since i started using Dolphin; however, it only registers button presses. Advanced functions like ir never worked.
The ir and motion do work fine when using "wiinremote"

Nyko Wand+
Windows 7 64bit

Actions #13

Updated by skidau about 13 years ago

In Windows, there is a hard-coded PID/VID pair to detect and connect Wiimotes. At the moment, the list consists of the official Nintendo Wiimote and one other third-party one. To fix this, a selectable list of PID/VID's that have been detected is probably needed.

Actions #14

Updated by skidau about 13 years ago

Issue 4668 has been merged into this issue.

Actions #15

Updated by skidau about 13 years ago

Issue 4553 has been merged into this issue.

Actions #16

Updated by skidau about 13 years ago

Issue 4529 has been merged into this issue.

Actions #17

Updated by Anonymous about 13 years ago

No, the string should be used instead of PID/VID. Add another option and knives will be thrown.

Actions #18

Updated by skidau about 13 years ago

Issue 4515 has been merged into this issue.

Actions #19

Updated by Anonymous about 13 years ago

please try this build of dolphin if you are having trouble connecting non-nintendo wiimotes (on windows): https://min.us/lVwefgFOiXF8d

Actions #20

Updated by lgbergamo about 13 years ago

I am the owner of the Issue 4529 and i am agree, this is the same Issue. I can test too, but this build /\ from Godisgov is not compatible with my windows 7 X86.

Actions #21

Updated by Anonymous about 13 years ago

Actions #22

Updated by lgbergamo about 13 years ago

Nothing man, sometimes only show connecting, sometimes connected and no response.

See attached some screens

Actions #23

Updated by Anonymous about 13 years ago

k, did it show as connected under the wiimote config before this?

Actions #24

Updated by lgbergamo about 13 years ago

Yes, in the Dolphin 3.0 show was connected too. Any doubt just ask.

Actions #25

Updated by lgbergamo about 13 years ago

Guys, we can contact these other companies, what made this 3rd party wiimote works, to get the functional code. I can try here, but will be better a important representative from the project Dolphin.

Actions #26

Updated by Anonymous about 13 years ago

It's most likely the same problem that phoklore fixed on non-windows. The first problem is just figuring out how to monitor the usb/bt traffic windows is actually sending. Maybe I can do it with vmware.

Actions #27

Updated by Anonymous about 13 years ago

Can you link me to a page to buy one of these shitty devices?

Actions #28

Updated by lgbergamo about 13 years ago

I can't found a identical device on the web, have a lot versions.

Someone bought from the web?

MatejDro?
?

Actions #29

Updated by MatejDro about 13 years ago

Just do a search on ebay for "wiimote". You will get tons of results. If device costs around 20€ or cheaper, It's probably fake one.

Actions #30

Updated by danialhorton about 13 years ago

You sure you haven't downloaded that recent Bluetooth driver update that screws the ability to connect with HID devices

Actions #31

Updated by lgbergamo about 13 years ago

I saw customers commenting "This wiimote works with the emulator" some fakes works with Dolphin.

My bluetoth and wiimote is working with another programs, i don't thinks is driver.

Actions #32

Updated by MatejDro about 13 years ago

Problem appears to me in Win7, WinXP and with both USB bluetooth stick and motherboard bluetooth stick. And also problem is here since I started using dolphin, which was about a year ago, I guess.

So i doubt it's trouble in recent drivers.

Actions #33

Updated by danialhorton about 13 years ago

"My bluetoth and wiimote is working with another programs, i don't thinks is driver."

Invalid response, Do you have the Yi Ruan driver or not.

if so, Remove it from device manager with the Delete Device Drivers box ticked and reboot. Then never install this driver again.

Actions #34

Updated by lgbergamo about 13 years ago

What is the Bluetooth driver recommended?

Actions #35

Updated by danialhorton about 13 years ago

the one windows installs is preferable, but if your device is a generic CSR you could try the Harmony stack from station drivers.

Actions #36

Updated by lgbergamo about 13 years ago

My Windows installed the Generic Bluetooth Radio, this didn't work.

And I tryed the harmony stack, the wiinote was not found.

Actions #37

Updated by Anonymous about 13 years ago

Just link to a place to buy one of these things which actually doesn't work with dolphin, ie the one you have.

Actions #39

Updated by lgbergamo about 13 years ago

I don't found, if you see my issue 4529 you will see the details from the box, i didn't found a box like that, and u have a chance to buy a Wiimote working on Dolphin.

Actions #40

Updated by Anonymous about 13 years ago

Um, how about a store (not an auction). Where I can get one guaranteed not to work? I'm not taking any chances here...

Actions #41

Updated by lgbergamo about 13 years ago

I can send my Wiimote by mail, but i live far, far away, MatejDro can you send to godisgov?

Actions #42

Updated by MatejDro about 13 years ago

One I linked is not an auction, you can buy it right away.

I don't think there is any guarantee that it will not work. Even if it would say somewhere "chinese fake wiimote", there is slight chance that it might work without problems. I don't think you can get new original wiimote for 20€, so I think this is 3rd party one.

Actions #45

Updated by MatejDro about 13 years ago

Sure, but chinese knock off can still be considered as 3rd party, right? AFAIK nyko wand also suffers from same issues.

Actions #46

Updated by eclipse606 about 13 years ago

the chinese ones tend to hav cheap/faulty parts
3rd party are factory tested before they're sold

they might still hav problems but at least there are no missing pieces

Actions #47

Updated by eclipse606 about 13 years ago

Here is a video I made with my wiimote:
http://www.youtube.com/watch?v=Wkkfw7HDX8M

I think gives a good illustration of the problem

Actions #48

Updated by MatejDro about 13 years ago

I agree, that hardware is probably way cheaper in those knockoffs, but it does not causes the issue, since wiimote works fine on non-microsoft stack.

Actions #49

Updated by MatejDro about 13 years ago

We gave you a lot of links above. If you want to buy it from real company, check post from mbrewski, who posted several links to some good 3rd party wiimotes. Otherwise, just go to ebay and buy cheapest wiimote you can find. It's 99,9% a chinese ripoff.

Actions #50

Updated by MatejDro about 13 years ago

And mbrewski also confirmed in that video that Nyko's wand is suffering from that issue, so if you want to be 100% to get "broken" one, get Nyko's wand.

Actions #51

Updated by Anonymous about 13 years ago

hmk, I didn't realize it was happening with any 3rdparty one...I thought it was specific to some weird brand.

I'll get a wand+ I guess.

Actions #52

Updated by eclipse606 about 13 years ago

i agree with MatejDro,
I still think this is an issue even if its a real 3rd party as u can see from my video above.

Actions #53

Updated by lgbergamo about 13 years ago

I agree with Nyko's hand, my problems are the same from the video.

Actions #54

Updated by xavier.viment about 13 years ago

Hello, I have the same problem with a 3rd party buying on Ebay. This Wiimote is recognized and seems to workfine with "wiinremote". Recognized by "Dolphin" but not by the game.

Actions #55

Updated by pholklore1 about 13 years ago

IOWin.cpp:IOWrite does:

	case MSBT_STACK_UNKNOWN:
		{
			// Try to auto-detect the stack type
			if (i = WriteFile(dev_handle, buf + 1, 22, &bytes, &hid_overlap))
			{
				// Bluesoleil will always return 1 here, even if it's not connected
				stack = MSBT_STACK_BLUESOLEIL;
				return i;
			}

			if (i = HidD_SetOutputReport(dev_handle, buf + 1, len - 1))
			{
				stack = MSBT_STACK_MS;
				return i;
			}

I have a hunch that that WriteFile is succeeding even with the microsoft stack, and, that a WriteFile in that stack sends a DATA packet instead of a SET_REPORT, and then we're tripping on the same issue I saw on linux.

Can anyone try forcing the stack to MSBT_STACK_MS so that autodetect code isn't reached? You just need to edit WiimoteReal.cpp, and change the line that reads

, dev_handle(0), stack(MSBT_STACK_UNKNOWN)

to:

, dev_handle(0), stack(MSBT_STACK_MS)

rebuild dolphin after the change, and try it out.

also try forcing the other path for good measure:

, dev_handle(0), stack(MSBT_STACK_BLUESOLEIL)

No Windows environment here, sorry. Someone else needs to do the builds.

Actions #56

Updated by lgbergamo about 13 years ago

Hello?

Is for us user do that?

Actions #57

Updated by deodrrs about 13 years ago

I also have the nyko wand and the same problems

Actions #58

Updated by MatejDro about 13 years ago

I get issues with both MSBT_STACK_UNKNOWN and MSBT_STACK_MS, however I do not get the error that I pasted in first post anymore. Wiimote will simply not function in game.

MSBT_STACK_BLUESOLEIL will not even detect wiimote (It will show "0 wiimotes detected" and wiimote will not vibrate).

Actions #59

Updated by MatejDro almost 13 years ago

Any news about that?

Actions #60

Updated by skidau almost 13 years ago

Maybe try your wiimote with a build of:

http://code.google.com/p/dolphin-emu/source/list?name=Wiimote

Also try the different bt stacks with that build.

Actions #62

Updated by MatejDro almost 13 years ago

I have yet to find working x64 link for Toshiba Stack.

But this issue is not about workarounds. I DON'T WANT to use workarounds. I want to use it with Windows stack.

Actions #63

Updated by tim.reppenhagen almost 13 years ago

I had the same problem with this china-wiimote:
http://www.ebay.de/itm/MOTION-PLUS-SET-CONTROLLER-WIIMOTE-REMOTE-NUNCHUK-NUNCHUCK-NINTENDO-WII-Weis-/330661226721?pt=PC_Viedeospielzubeh%C3%B6r&hash=item4cfcf1e8e1

Pairing and connecting to Dolphin worked, but it stopped working after pressing a button or starting a game.
Since I'm using Blue Soleil it works without any issues.

Actions #64

Updated by hideo.akira almost 13 years ago

I can confirm I have had problem with 3rd Party Nintendo Wiimote ( motion plus - Brand : Gamer ) ..

  1. Syndrome : Pairing ends up nicely, wiimote vibrates, first light comes on, yet there is no feedback from the controller whatsoever.

  2. Tested : Win 7 ( x86) - Various builds ( including Dolphin-win-x86-v3.0-371 )
    I have also tested Linux Mint 11 ( codename KATYA ) and experienced the very same issue.

  3. Solution : ( first fail - solution for that ? ) I've installed bluesoleil, but i got the error message "only MS btstack works with dolphin"

      Success : as mentioned above in this Forum by PETR : i've been able to successfuly test wii motion plus game with no problem  by installing the TOSHIBA stack ( however this is trial period version for 30 days ), so not all the way there yet.
    
  4. Conclusion, a noob like me gets a pair of wiimotes , uses cheap usb bt dongle, installs the dolphin, pairs up, .... and it does not work. I would recommend to highlight at the DOLPHIN main web section that 3rd Party controllers are causing issues, and that the appropriate BT stack is required for proper functionality.

Moreover, as I've tested this with linux ( not the latest as of yet, altough )and had similar experience, I was suspecting DOLPHIN to be broken. Even though ppl behind this wonderful project are definitely not to blame, as they cannot possibly seek out every single 3rd party wiimote and assure its compatibility. Yet, if there is any chance on investigation on this matter within the code, it would be greatly appreciated.

Actions #65

Updated by 8phobos8 almost 13 years ago

I have a strange issue. My wiimote randomly disconnects after I start the game, but not each game... In some games wiimote works perfectly (new super mario, sega superstars ect.). In other games (101 in 1 sports, Grand slam tennis, ect.) wiimote works very bad (for a minute or two ) then disconnects before I press alt+f5 and alt+f6 few times(1 to 20) then disconnects again and again.... There is many games where after disconnects and pressing alt f5 I can play normally before first menu (complete level for example) then again needed to press alt f5. In most situation by pressing HOME MENU button battery indicator going down and disconnect wiimote(led still in 1 and in dolphin status : connected 1 wiimote).
I'm using the RVL-003 wiimote (china clone) and toshiba stack(also trying on BS, MS. same thing). I'm trying different BT dongles too, but same result.
Any ideas??? Any body help???

Actions #66

Updated by skidau almost 13 years ago

8phobos, have you tried ticking Alternate Wiimote Timing in the game properties of those games? That might help with the disconnection problems.

Actions #67

Updated by 8phobos8 almost 13 years ago

Ticking Alternate Wiimote Timing - was first thing I'm try. So this isn't help. There is something else.... Game will work properly 100% if wiimote does not disconnect after I push HOME MENU (in new super mario, for example). But if i push HOME MENU, and wiimote disconnects - same thing will be in game every time (grand slam tennis, ect).
I want to say that the HOME MENU button activate mechanism of disconnections (without pushing HOME BUTTON disconnections still be, but little later).

Actions #68

Updated by eclipse606 over 12 years ago

Hey, Brewski here. (the one who uploaded the video)

I can upload any logs or FIFO if you guys need it.
Just let me know

Actions #69

Updated by Hellhog over 12 years ago

I'm not entirely sure if this even belongs here, but there's very few places to ask about this, so please forgive me.

I've got a Nyko Wand+ that I'm trying to pair up with my laptop that has the toshiba stack on it. The wand shows up in the bluetooth manager, but it never really connects. The 1 light does not stay on, and the wand does not vibrate, though Windows' device manager says it connected just fine.

I recognize this has little to do with Dolphin specifically, but I'm a little desperate. Thanks for any help.

Actions #70

Updated by shortstrawfate over 12 years ago

The Lego Play & Build remote exhibits this behaviour - set wiimote settings for remote #1 to real wiimote, press refresh and the '1' LED lights on the remote and it vibrates, stays connected okay but games don't respond to input.

I've tried this with the MS stack, bluesoleil and Toshiba on Windows 7/x64.

Actions #71

Updated by shortstrawfate over 12 years ago

Have also tried on my laptop with the MS stack and a different (built-in) Bluetooth adapter. Not sure where you are but in the UK the Lego controller is pretty cheap, ~£15 on Amazon.

Actions #72

Updated by achaw.ar over 12 years ago

same here, works fine with bluesoleil an toshiba but gets constants real de-sync (wiimote poweroff)with this drivers...dont now why...with both of my controllers happens the same (chinese, from dealextreme)
Ms stack syncs but buttons are not recognized...

Actions #73

Updated by MatejDro over 12 years ago

Wait, why is this issue on hold?

Actions #74

Updated by antoine.tran.94 over 12 years ago

Any news?

Actions #75

Updated by kingcillo over 12 years ago

Hi there, im having the same problem as comment 75, im using a 3rd party wiimote with an integrated m+ see http://www.ebay.es/itm/261000500958?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649

When i pair up the wiimote (with all bluetooth stack types, MS, Toshiba, Bluesoleil, etc...) it vibrates, LED 1 on, trying to play any game and it just doesnt respond to any button, i have also a borrowed official wiimote and it just works perfectly but it doesnt have m+ so i cant play games that requires m+

My build is the 3.0 dirty 600, any suggestion or fix would be much appreciated, thx

Actions #76

Updated by kingcillo over 12 years ago

I managed to make it "work" with Toshiba stack

I have connected the wiimote without the nunchuck and Dolphin said me "connect nunchuck" i connected it and somehow i passed through the calibration but something weird happened, if i move the wiimote when calibrating (on purpose, to make sure the sensor bar works) it says to me to re-check, till here all fine but then the screen "point at center with wiimote" i was pointing center moving wiimote and the cursor wasnt moving at all

I checked if something happens to the wiimote with the wiiremote program and it works fine, it detects the sensor bar and i can use wiimote as if i was using the mouse

Im just going MAD, whats happening to dolphin emulator that my wiimote doesnt work with it, all programs-checking works correctly but dolphin doesnt, its not 3rd partys wiimotes fault i can say, or at least thats my oppinion

Actions #77

Updated by daniel.gagnon over 12 years ago

Yep just the same problem :
wii are detected on windows, worked with WiiRemote, are detected on Dolphin but not in games.
I first tried real wiimote and it worked.
I buy 3rd party wii from dealextreme like said on post (http://forums.dolphin-emulator.com/showthread.php?tid=20726&pid=199985#pid199985)
My bluetooth : Atheros Communications on a Asus P8z68-v/gen3 mobo (driver v7.2.0.65)

Actions #78

Updated by ikuklos over 12 years ago

I have the same problem or similar... china wiimotes won't work with windows stack, work with BlueSoleil... but plug the nunchuck make the wiimote nonresponsive.

Windows 7 x64, all versions of dolphin included Dolphin x64 v3.0 Revision 682

Sorry for the bad english hehe Bye

Actions #79

Updated by majd85majd almost 12 years ago

hi...i might be late but anyway i have the same issue as ikuk i have a wiimote dose not work on ms stack but works fine with toshiba stack but in some games(like donky kong jb) wich required a nunchuck the wiimote becomes unresponsive (but in other games works fine with nunchuck (like monster hunter tri) .but i can get it to work if i open wiimote test v 1.8 after starting the game but with some bugs in movment ..but i thought my wiimote is orginal it has nintindo logo and it is white with some words chinese probably,but im not sure because we have a lot of chinese products in my country ,so after reading her i have some douts that it is not orginal .....could someone profisional her confirm this please so i can by another wiimote or not,i can attach fotos for my wiimote if you are interested....sorry for the long talk

Actions #80

Updated by danielhenriqueferratti almost 12 years ago

same problem Here.... and when i use the toshiba stack... it wont help!

Actions #82

Updated by danielhenriqueferratti almost 12 years ago

Thanks Billiard26 i did some researches on the web and i found a lot of stacks to use... my BT is a motherboard BT from the ASUS p8p67 Deluxe, it uses the Microsoft driver... well, i've tried the Toshiba stack(after unistalling the mobo driver) and no results, is incompatible with my BT hardware... did some researches again and found a workaround to install and make the Samsung Stack compatible with my BT... no way again........ tried the BlueSoleil and it wont recognize my BT hardware too...
My wiimote is a copy from the original one... its identical the nintendo one... no brands, no names, no nothing.

The problem is... its vibrates when synchronized but all the games wait for the inputs (please press 1.... or please press A) i press the buttons and nothing happens, i've tried to desynchronize and resynchronize, it vibrates but inside the game... nothing works...

sorry bout the ancient scroll that i'm typing.. haha.. i'll try to ask on the forum that you said, but do you have any clues about my prob? i'm stuck whit my BT because i cant workaround with toshibas.... so any help i'll be glad!

BTW Thanks!

Actions #83

Updated by Billiard26 almost 12 years ago

  • Status changed from Accepted to Duplicate
Actions #84

Updated by misakupka over 11 years ago

I have a 3rd party wiimote from DX as well. I´m using a BT dongle that came with my motherboard that uses Qualcomm-Atheros stack (it still look and feel much like a MS stack). Wiimote doesn´t work at all in Dolphin, I also used Toshiba stack (disconnects occasionaly, jerky movement), BlueSoleil (diconnected almost immediately). It used to work a bit on my older PC with different USB dongle and Toshiba stack (with some disconnecting issues). It however works perfectly with this app called wiinremote (http://onakasuita.org/wii/index-e.html) with source code available on the page... could it help making it work with Dolphin?

Actions

Also available in: Atom PDF