Dolphin, the GameCube and Wii emulator - Forums

Full Version: UDPWii not completely dead (Dolphindroid)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2

nebososo

I know UDPWii was deprecated, but me and some friends wanted to play Just Dance. All my wiimotes are broken, except one, single player's no fun. The Just Dance streaming service and ios/android won't start the songs most of the time. I also didn't have a very smooth experience with the existing UDPWii Android apps. Given how simple it is to make one, I ended up with Dolphindroid.

I was able to play Just Dance 2015 and Mario Kart Wii just fine with it and I figured other people could benefit from it too.

Right now it supports:
- All default wiimote buttons. No nunchuck, I decided not to implement this, it felt like the screen would just be too cluttered and unusuable, as games expect you to use 2 hands.
- Accelerometer should work as expected
- The IR sensor is emulated on the touch screen, so no more tons of calibrations just to navigate those silly menus.

It is on the Play Store:
https://play.google.com/store/apps/details?id=com.nebososo.dolphindroid

And on github:
https://github.com/nebososo/dolphindroid

To actually play Just Dance (which expects you to use the IR sensor to navigate the menus), I had to change one tiny detail in Dolphin's old UDPWii implementation, for it it to actually read the IR data from the UDP packet.

I forked the wiispeak branch and pushed a couple of commits to allow this. The code can be found here:
https://github.com/nebososo/dolphin/tree/wiispeak_udpwii

I use Linux to play, but I went ahead and compiled Windows binaries that can be downloaded on the releases page :
https://github.com/nebososo/dolphin/releases

I expect the Linux and MacOS people to compile their own binaries. The standard cmake way works just fine.

Games still expect you to hold the phone horizontally for the IR sensor to work and use accelerometer data to wiggle it. So keep this in mind when playing.

If this happens to be useful to you, do report any bugs you may find here:
https://github.com/nebososo/dolphindroid/issues

I also wrote a simple UDPWii server to help writing and debugging clients: https://github.com/nebososo/udpwii_tester

bastiansoto

thanks man : 3

thieftheodore

does it also support motion plus?
Great work.

Do you know if it's possible to use RAW bluetooth on android? I still dream of a way to really emulate a wiimote on mobile devices. It could be as accurate to get it working both with dolphin and with real hardware Big Grin

But bad luck, nobody so far did try to use them as wiimotes directly :/

Qaazavaca Qaanic

Last time I checked, UDP Wiimote emulation was removed from newer versions of Dolphin. Is this app really worth developing, as in how many people would ever use it?
Anyone who is able to develop such an app can easily maintain such a feature.

nebososo

(07-06-2015, 03:44 AM)thieftheodore Wrote: [ -> ]does it also support motion plus?
Unfortunetelly, it doesn't. The UDPWii protocol doesn't, actually. So to support this would mean a lot of work.

(07-08-2015, 10:59 PM)degasus Wrote: [ -> ]Great work.

Do you know if it's possible to use RAW bluetooth on android? I still dream of a way to really emulate a wiimote on mobile devices. It could be as accurate to get it working both with dolphin and with real hardware Big Grin

But bad luck, nobody so far did try to use them as wiimotes directly :/
Thanks. I though about raw bluetooth, but ultimatelly decided to go the easy way. I'm still interested in finding out if it's feasible, so I might do some tests and reading .

(07-09-2015, 03:49 AM)jimbo1qaz Wrote: [ -> ]Last time I checked, UDP Wiimote emulation was removed from newer versions of Dolphin. Is this app really worth developing, as in how many people would ever use it?
Ha, you have a point. But I wrote the app for myself, I just figured there would be a couple of other people who would appreciate it.

(07-09-2015, 05:48 AM)degasus Wrote: [ -> ]Anyone who is able to develop such an app can easily maintain such a feature.
I actually started writing a separe UDPWii backend (as suggested here: https://github.com/dolphin-emu/dolphin/commit/e20a0265dec84005637f869cd0a4281bd963af7e) to culminate in a pull request, but I was actually having some trouble because of how tied the wiimote code is to the already existing backends. Then I drowned in "real life work" and stopped.
It looks like I might have a couple of slow weeks, so I can probably give this another shot if there's interest. Suggestions and/or tips would be appreciated, as I'm not very familiar with dolphin's source code.
this is great!! works perfect with just dance, i think this features might be added in newest dolphin

Goldenmoon

it works, Thank you. I hope it can be ported to newest release

EricPaulZ467

(06-18-2015, 02:35 AM)nebososo Wrote: [ -> ]I know UDPWii was deprecated, but me and some friends wanted to play Just Dance. All my wiimotes are broken, except one, single player's no fun. The Just Dance streaming service and ios/android won't start the songs most of the time. I also didn't have a very smooth experience with the existing UDPWii Android apps. Given how simple it is to make one, I ended up with Dolphindroid.

I was able to play Just Dance 2015 and Mario Kart Wii just fine with it and I figured other people could benefit from it too.

Right now it supports:
- All default wiimote buttons. No nunchuck, I decided not to implement this, it felt like the screen would just be too cluttered and unusuable, as games expect you to use 2 hands.
- Accelerometer should work as expected
- The IR sensor is emulated on the touch screen, so no more tons of calibrations just to navigate those silly menus.

It is on the Play Store:
https://play.google.com/store/apps/details?id=com.nebososo.dolphindroid

And on github:
https://github.com/nebososo/dolphindroid

To actually play Just Dance (which expects you to use the IR sensor to navigate the menus), I had to change one tiny detail in Dolphin's old UDPWii implementation, for it it to actually read the IR data from the UDP packet.

I forked the wiispeak branch and pushed a couple of commits to allow this. The code can be found here:
https://github.com/nebososo/dolphin/tree/wiispeak_udpwii

I use Linux to play, but I went ahead and compiled Windows binaries that can be downloaded on the releases page :
https://github.com/nebososo/dolphin/releases

I expect the Linux and MacOS people to compile their own binaries. The standard cmake way works just fine.

Games still expect you to hold the phone horizontally for the IR sensor to work and use accelerometer data to wiggle it. So keep this in mind when playing.

If this happens to be useful to you, do report any bugs you may find here:
https://github.com/nebososo/dolphindroid/issues

I also wrote a simple UDPWii server to help writing and debugging clients: https://github.com/nebososo/udpwii_tester

Hi, I really like your DolphinDroid project, it works perfectly for me. It has no errors. The only thing I wanted is can you make the buttons bigger and can you make the button separated alittlebit. And also, can you remove the drawing thing? If you had make it, please send it to my email : paulfernandezeric@gmail.com Rolleyes
Pages: 1 2