Project

General

Profile

Emulator Issues #549

Enable use of multiple wiimotes

Added by Anonymous over 11 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
% Done:

0%

Operating system:
N/A
Issue type:
Feature request
Milestone:
Regression:
No
Relates to usability:
Yes
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Tack this onto the wish list ;)

Currently only one wiimote is supported, being able to use more than one is
a want, not a need, and doesn't really need to be completed any time soon.
If anyone disagrees, feel free to work on it! :P


Related issues

Has duplicate Emulator - Emulator Issues #407: Pokemon Battle Revolution : Wiimote Problem.Duplicate

Has duplicate Emulator - Emulator Issues #1495: two wiimote support?Duplicate

Has duplicate Emulator - Emulator Issues #1732: More wiimotes supportDuplicate

Has duplicate Emulator - Emulator Issues #1791: I can not use 2,3 or 4 wiimoteDuplicate

History

#1 Updated by Anonymous over 11 years ago

issue 407 has been merged into this issue.

#2 Updated by nakeee about 11 years ago

wouldn't changing the number of wiimote constant be enough to make it work? (at least
for real wiimotes?)

#3 Updated by death2droid about 11 years ago

That's what i was thinking as well..

#4 Updated by lpfaint99 about 11 years ago

no, the problem is mostly in the core. Wiimote plug-in has very few modifications
necessary. I haven't yet been able to get more than one working. sysconf will need to
be updated to use more than 2

#5 Updated by antileecher almost 11 years ago

Guys its a good idea. Good luck in this new function.

#6 Updated by marcus almost 11 years ago

  • Status changed from New to Accepted

#7 Updated by peneda.hasse almost 11 years ago

I would like to suggest that this issue's Priority should be change do High.
Dolphin is working better and better each day, and at this point it should be very
important that users become able to use multi real wiimotes.
Wiimotes are the "soul" of Wii.

#8 Updated by ChaosCode almost 11 years ago

I agree on high but not many of the devs are good with the wiimote. thats one of the
reason for slow progression on it.

#9 Updated by wangdong1982C almost 11 years ago

wish you guys good luck

#10 Updated by dadynamo over 10 years ago

¬°Good luck dolphin team!

#11 Updated by sl1nk3.s over 10 years ago

issue 1495 has been merged into this issue.

#12 Updated by bot10010 over 10 years ago

"I would like to suggest that this issue's Priority should be change do High.
Dolphin is working better and better each day, and at this point it should be very
important that users become able to use multi real wiimotes.
Wiimotes are the "soul" of Wii."

Many GC games are still not working proprely on Dolphin. Obviously it's a necessary
modification, but I think the GC emulation is more important than the Wii one, for now.

#13 Updated by Dr.Dranyam over 10 years ago

we definitely need this !!!

#14 Updated by compuchimbote over 10 years ago

Really, this is the most atractive function in all the lastest nintendo consoles(64,
Cube and Wii obviously). High Priority please :).

Good luck friends!

#15 Updated by krayian over 10 years ago

This is very important feature, I would like to have more than 1 real wiimote
connected.

#16 Updated by Dr.Dranyam over 10 years ago

high priority !!! =D

#17 Updated by Flare7571728 over 10 years ago

I understand what you guys are saying about the Gamecube emulator needing work, and you
want to work on it from the bottom up, but this isn't a single Wii game, this is a
critical piece of the Wii functionality. I believe it deserves a more than "low"
priority. There are a lot of fun Wii games that work nearly perfectly except I can
only play alone :(

#18 Updated by barca95 over 10 years ago

This is very important.
Please..... HIGH PRIORITY !!!

#19 Updated by ayuanx over 10 years ago

No bandwith to do that, even single wiimote is not stable yet

#20 Updated by barca95 over 10 years ago

what's the date in which this problem will be resolved?

I thank in advance for the answer and I excuse me for the English

#21 Updated by sl1nk3.s over 10 years ago

We're planning for a multi-wiimote release sometime around December 2012 :D

#22 Updated by XTra.KrazzY over 10 years ago

when it's done.

#24 Updated by p.flynn2 over 10 years ago

I also would like to see the priority for this set to high. Im just getting into open
source software so if there is anything I can do to help, let me know.

#25 Updated by mikyb91 over 10 years ago

With the multi wiimote support,Dolphin will be a fantastic emulator!!!!!

#26 Updated by Flare7571728 over 10 years ago

I just wanna say, the day i can bring all my friends over for some 4 player wii-mote
action will be the day I donate to this cause. Because having a wii emulator is nice,
but having a fully functional one is worth paying for.

#27 Updated by mikyb91 over 10 years ago

I think that is the case to start this project, because as already said it is an
important thing for the emulation of the wii. the problems that can be created
adding besides this function, will be resolved with the time.....

This remains one opinion of mine however..... Excuse me for the English :)

#28 Updated by luisr142004 over 10 years ago

issue 1732 has been merged into this issue.

#29 Updated by barcaroandrea over 10 years ago

Multi-wiimotes support? yes,please HiGh PrIoRiTy

#30 Updated by barcaroandrea over 10 years ago

Please Dophin Team,can you add this function enter this christmas?
I like play with more wiimotes.... PlEaSe

#31 Updated by jkpfeil86 over 10 years ago

Please, it would be such a nice christmas-gift for the whole community :)

#32 Updated by Flare7571728 over 10 years ago

priority is still low... it must mean they don't care about Christmas.
also, seriously. if I knew how to program I'd do it, if I had money, I'd hire one of
you guys to do it... why is this not important to you?

#33 Updated by XTra.KrazzY over 10 years ago

  • Priority changed from Low to Normal

Usually I don't comment on foolish stuff, but here is the deal:
1. We're not putting this off, we're actually working on the feature. (and it's not easy)
2. Low priority means that it is not an essential feature for dolphin, and it truly
isn't. Most games function just fine without multiple wiimotes. I'll up this to
medium priority if it makes you happy.

We do not tolerate such comments on a project we spend our time on voluntarily.

#34 Updated by ayuanx over 10 years ago

OK, let me explain a little from the perspective of development.

First of all, multi-wiimote requires a new SYSCONF file which can only be dumped from
a real wii that has multi-wiimote activated on it. (Because this file stores the link
keys.)

So we need someone to dump this and do some reverse engineering if necessary.

We can't go on until this has been done by somebody.

#35 Updated by CuentaSpam23 over 10 years ago

@ ayuanx: And how can I dump the proper SYSCONF ? ( I mean , a SYSCONF that you can
use , because the SYSCONF can be obtained with just making a nand dump with bootmii
and then decrypting it)

#36 Updated by ayuanx over 10 years ago

Just make sure your wii has multi-wiimote (4 wiimotes are better) activated and
functioning well, then dump that file by any method you know.

#37 Updated by CuentaSpam23 over 10 years ago

The four wiimotes have to be connected when I dunmp the files, Or will the SYSCONF be
overwritten permanently to use the four wiimotes so I don't need to connect them
while dumping the files?

But bootmii/IOS should work ( I only need four wiimotes :P )

#38 Updated by Flare7571728 over 10 years ago

I'm sorry, I don't mean to offend. Low priority does have the appearance that the
feature is on the back burner, I didn't realize your priority system goes in the order
of functionality and not when it's going to be worked on.

#39 Updated by Anonymous over 10 years ago

I'll pay attention to this but I don't need to be emailed every time someone wants to
be annoying and useless.

#40 Updated by tomman over 10 years ago

I have a Wii FS backup (from my friend's 4.1U Wii), done with BootMii.

He has two Wiimotes sync'd to it. Will this SYSCONF work for RE purposes? I have no
problem for upload that file, if anyone needs it.

#41 Updated by death2droid over 10 years ago

bararoandrea a lot more work then that needs to be done(I'm pretty sure).

#42 Updated by sl1nk3.s over 10 years ago

OH SHI--, barcaroandrea, that worked ! omg, you're awesome, thanks a lot for this !
(how did you find that ??)
Please someone add him as a contributor so he can commit it.

(wait.. what ?)

#44 Updated by CuentaSpam23 over 10 years ago

The SYSCONF that you requested

I Synchronized 4 wiimotes with the red button , the I made a nand dump with Bootmii

#45 Updated by BhaaL over 10 years ago

Just wondering, whats the current issue with multiple Wiimotes? Lack of stuff on
SYSCONF side? From what the source tells me, the BT.DINF section is not used by Dolphin.

The Sysconf from SVN is currently populated with two Wiimotes (both having the same
address?) and a seemingly random set of bytes near the end of that section.

BT.DINF might look as follows:
u8 number of wiimotes
(
6b device address
64b device name, zero padded
)

godisgovernment: you added that Sysconf to SVN, is that yours (guessing it is ectors,
since it has Switzerland written all over it...)
Is that file modified in any way?

#46 Updated by Anonymous over 10 years ago

there are SO MANY THINGS WRONG it's mind boggling.
the HLE emulation of the internal BT module would have to be greatly revised to allow
for connecting to multiple radios, the wiimote class/wiimote class interaction with
internal bt module, wiimote plugin specs, and wiimote plugin behavior would all also
have to change.

fwiw, having a "real" sysconf isn't really helpful, you can just copy the name bytes
in there and throw in a fake btaddr, and there you go...Note that just as you said
the current sysconf has two devices listed, only one is usable either way ;p
the sysconf is just a byproduct of nintendo's stack. The annoying part is getting the
levels I listed above working correctly.

#47 Updated by Anonymous over 10 years ago

issue 1791 has been merged into this issue.

#48 Updated by isaac.sagar over 10 years ago

Oh man, reading the development in this issue has been like a wake-up punch in the
face...

I have been looking for information about multiple Wiimote support since i read this:
" http://twitter.com/Dolphinemu " was it just a strike of optimism then, or is there
still any hope?

Id like to ask another related question: Would including support for multiple
EMULATED wiimotes be also this challenging? (Some games like New SMB would benefit a
lot from this)

Thanks and kudos for your great work!

#49 Updated by ww4440502 over 10 years ago

hi

i was wondering of faking the wiimote2. would it be possible or not?
i mean playing wiimote2 with keyboard until the real one is done
is it possible?

thx , team

#50 Updated by Anonymous over 10 years ago

ww4440502: are you able to use your eyeballs and read the rest of the issue you have
just posted on?!?!
thanks.

#51 Updated by mikyb91 over 10 years ago

EXCUSE ME, CAN YOU TELL ME IN WHAT PART OF CODE IT NEEDS TO CHANGE THIS:

// If we are not using the emulated wiimote we can run the thread temporary 

until the data has beeen copied
if(g_Config.bUseRealWiimote) g_RunTemporary = true;

/* Allocate memory and copy the Wiimote eeprom accelerometer neutral values
   to g_Eeprom. Unlike with and extension we have to do this here, because
   this data is only read once when the Wiimote is connected. Also, we
   can't change the neutral values the wiimote will report, I think, unless
   we update its eeprom? In any case it's probably better to let the
   current calibration be where it is and adjust the global values after
   that to avoid overwriting critical data on any Wiimote. */
// TODO: Update for multiple wiimotes?
byte *data = (byte*)malloc(sizeof(byte) * sizeof(WiiMoteEmu::EepromData_0));
wiiuse_read_data(g_WiiMotesFromWiiUse[0], data, 0, sizeof

(WiiMoteEmu::EepromData_0));

// Don't run the Wiimote thread if no wiimotes were found
if (g_NumberOfWiiMotes > 0) g_Shutdown = false;

AND THIS:

// Function Definitions

void SendAcc(u8 _ReportID)
{
byte DataAcc[MAX_PAYLOAD];

DataAcc[0] = 0x22; // Report 0x12
DataAcc[1] = 0x00; // Core buttons
DataAcc[2] = 0x00;
DataAcc[3] = _ReportID; // Reporting mode

// TODO: Update for multiple wiimotes?
wiiuse_io_write(WiiMoteReal::g_WiiMotesFromWiiUse[0], (byte*)DataAcc, 

MAX_PAYLOAD);

std::string Temp = ArrayToString(DataAcc, 28, 0, 30);
DEBUG_LOG(WIIMOTE, "SendAcc: %s", Temp.c_str());

//22 00 00 _reportID 00

}

Both of code there are in wiimote_real.cpp
I THANK IN ADVANCE FOR THE ANSWER AND FOR THE TROUBLE

#52 Updated by ayuanx over 10 years ago

Implemented in r4730

#53 Updated by stephens.danica over 10 years ago

Now all we need is for Wiimote 2 to be emulate-able. As in, with a joystick. Some
people do not have a Bluetooth device, and are not willing to spend that money on it,
or cannot afford it.

#54 Updated by XTra.KrazzY over 10 years ago

  • Status changed from Accepted to Fixed

Fixed by ayuanx in r4736

#55 Updated by Flare7571728 over 10 years ago

http://www.dealextreme.com/details.dx/sku.11866

I ordered mine, shipping took like 2 weeks, but the device works well, and it's $2.28
with free shipping.

#56 Updated by isaac.sagar over 10 years ago

There is no word that makes justice to this, people, but ill try with the closest one...

THANKS!!!

PD: Happy new year!!

Also available in: Atom PDF