Open DrDobro opened 6 years ago
It's unfortunate that this is not getting more attention. I am running into the same issue. Please do let me know if you find a solution!
Basically what is needed is that retroarch supports the mode #4 from dolphinbar. This has already been added into Dolphin emulator 4.0-2241, so it is just a matter of adding that into retroarch input core.
Well its a crying shame linux kernel has the hid-wiimote drivers built in since 3.11 dolphin can make your wii controllers work without a dolphin bar.
I've tried that, it is not simple at all, and I am not a novice in Linux. While I could get the buttons working, never worked as a pointer/moused using this method, dolphinbar is ages better than setting through hid and bluetooth.
Well I didnt have any real bother I didnt need to install any hid drivers just done a sudo modprobe hid-wiimote
and setup the bluetooth as trusted disconnect the device in Bluetooth manager start dolphin select real wii mote and it connected. I just made a sensor bar myself. I have tried get the ir map to a mouse device (abs) with wminput and MoltenGamepad for retroarch not much luck so far would be nice to support both kernel drivers and dolphin bar
It would be nice if mode 4 worked for lightgun games and games with 2 action buttons like NES and TurboGrafx 16.
This is written up as a proposed bounty with a bit more technical detail in this more recent issue: https://github.com/libretro/RetroArch/issues/9732
RetroArch is a wonderful project! Now he still supports the Dolphin core. But I faced one unpleasant problem! I will try to describe the problem in detail and maybe there will be people smarter than me who will say whether there is a solution. Or they will be able to complete some code for the solution.
I can not play with friends in light games in cooperative mode on mame. I have three wimotes and dolphin bar. There is no problem playing alone. I turn on mode 2 on the dolphin bar. Next, I use the mouse as a light gun in mame games. But what if you want to play with a friend?
I took a number of actions to solve the problem. But in the end everything turned out very difficult and each time it takes a long and hard work to run everything. And even after the launch, everything is far from ideal.
I will describe in more detail the steps.
1 - I connect the first wiimote to the dolphin bar. 2 - I set the mode 2 on the dolphin bar (mouse and keyboard emulation) 3 - Now the controller is ready to play the first player. 4 - Next I take a bluetooth dongle 5 - The second wiimote I connect via bluetooth dongle 6 - I put a special driver HID Wiimote. Release ir-mouse link to the project https://github.com/jloehr/HID-Wiimote Now I have another hid device in the system. As a result, I now have three mouse devices in the system. A simple mouse, mayflash adapter and bluetooth device as mouse. 7 - Next, I launch RetroArch. 8 - Set Input driver to ROW 9 - I set the mouse index to 1 for the first player 10 - Next, I set the mouse index to 2 for the Second player 11 - Install mame2013 core 12 - Run game 13 - set in options "use mouse" to "True" 14 - I see both the cursor. And each of the cursors is controlled by its controller
This is a mini guide. BUT it's pretty bad, and that's why: 1 - there are a lot of problems with connecting via a bluetooth. 2 - problems when disabling the controller via bluetooth Each time you have to remove it manually from the system, then you can connect it again 3 - In the project "HidWiimote" there is no possibility to reassign buttons. In addition, there are only two active buttons "A" и "B". And "A" is a left mouse click. Consequently, it is not possible to use the pistol form from WiiMotes. And there is no way to reassign them. And many other problems that arise from time to time. Therefore, this way is very bad and heavy.
RetroArch is a universal project. Therefore, you start and play. At the moment, there are problems with this. Added emulator Dolphin. But to play first in the dolphin game, and then run the mame game, I have to go out and do a lot of operations to reconfigure the controllers and bluetooth devices. Let me remind you that the problem concerns light pistols, I did not test other games.
Below are my main questions. I very much ask you for help with solving the problem. Any help. 1 - Maybe there are ready solutions? 2 - Do you plan to add native support for wiimotes as a mouse to RetroArch via Dolphin bar? Several wimotes. 3 - Maybe you can create a special utility?
I see the implementation only in the following way. But it is necessary to know that my knowledge in C is very weak.
Set the mode to 4 for the dolphin bar. Now we have in the system a compound device of four parts. The dolphin emulator is able to work with each of them. Then three variants of the solution The first is native support of each controller as a mouse in RetroArch. Just for example, there will be a setting "Dolphin bar mice" and then the mouse index can be set from 0 to 3.
The second - will be setup "Use dolphin bar mice". If it is on, four virtual mice will be created in the system during the launch of RetroArch. Each mouse will correspond to one part of the Maiflash wiimote adapter. In the retroarch the user will set "Input driver" to row. And select the desired mouse index. In this case, you need to implement the virtual mouse driver. Also, the implementation of obtaining data from each wiimote and translate it to virtual mice.
The third - A utility that, like the second item, creates four virtual mice and translates the data from the controllers into them. With the difference, that it starts before the launch of RetroApx. In retroarch also choose the ROW. The utility will probably be useful to other users not using RetroArch. You are kind people. And try for people.
I'm coming to the end. Everything written relates to Dolphin bar, Wiimotes, LIGHT GUN GAMES and, it is important, WINDOWS. I read many forums, and this problem is very urgent. But there is no beautiful solution so far. All your hopes are only for your skill and knowledge. Many people will be happy if you can realize this. And I'm the first one among them.
Tell me please, do you plan to implement something like this in the near future? As it seems to me, only this is not enough to make RetroArch excellent. Thank you for taking the time to read such a large message. And I'm very sorry for my English. This is not my native language. But I really wanted to write to you.