Project

General

Profile

Actions

Emulator Issues #549

closed

Enable use of multiple wiimotes

Added by Anonymous almost 16 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 4 (0 open4 closed)

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

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

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

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

Actions
Actions #1

Updated by Anonymous almost 16 years ago

Issue 407 has been merged into this issue.

Actions #2

Updated by nakeee almost 16 years ago

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

Actions #3

Updated by death2droid over 15 years ago

That's what i was thinking as well..

Actions #4

Updated by lpfaint99 over 15 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

Actions #5

Updated by antileecher over 15 years ago

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

Actions #6

Updated by marcus over 15 years ago

  • Status changed from New to Accepted
Actions #7

Updated by peneda.hasse over 15 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.

Actions #8

Updated by ChaosCode over 15 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.

Actions #9

Updated by wangdong1982C over 15 years ago

wish you guys good luck

Actions #10

Updated by dadynamo over 15 years ago

¡Good luck dolphin team!

Actions #11

Updated by sl1nk3.s about 15 years ago

Issue 1495 has been merged into this issue.

Actions #12

Updated by bot10010 about 15 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.

Actions #13

Updated by Dr.Dranyam about 15 years ago

we definitely need this !!!

Actions #14

Updated by compuchimbote about 15 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!

Actions #15

Updated by krayian about 15 years ago

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

Actions #16

Updated by Dr.Dranyam about 15 years ago

high priority !!! =D

Actions #17

Updated by Flare7571728 about 15 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 :(

Actions #18

Updated by barca95 about 15 years ago

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

Actions #19

Updated by ayuanx about 15 years ago

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

Actions #20

Updated by barca95 about 15 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

Actions #21

Updated by sl1nk3.s about 15 years ago

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

Actions #22

Updated by XTra.KrazzY about 15 years ago

when it's done.

Actions #24

Updated by p.flynn2 about 15 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.

Actions #25

Updated by mikyb91 about 15 years ago

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

Actions #26

Updated by Flare7571728 about 15 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.

Actions #27

Updated by mikyb91 about 15 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 :)

Actions #28

Updated by luisr142004 about 15 years ago

Issue 1732 has been merged into this issue.

Actions #29

Updated by barcaroandrea about 15 years ago

Multi-wiimotes support? yes,please HiGh PrIoRiTy

Actions #30

Updated by barcaroandrea about 15 years ago

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

Actions #31

Updated by jkpfeil86 about 15 years ago

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

Actions #32

Updated by Flare7571728 about 15 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?

Actions #33

Updated by XTra.KrazzY about 15 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.

Actions #34

Updated by ayuanx about 15 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.

Actions #35

Updated by CuentaSpam23 about 15 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)

Actions #36

Updated by ayuanx about 15 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.

Actions #37

Updated by CuentaSpam23 about 15 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 )

Actions #38

Updated by Flare7571728 about 15 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.

Actions #39

Updated by Anonymous about 15 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.

Actions #40

Updated by tomman about 15 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.

Actions #41

Updated by death2droid about 15 years ago

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

Actions #42

Updated by sl1nk3.s about 15 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 ?)

Actions #44

Updated by CuentaSpam23 about 15 years ago

The SYSCONF that you requested

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

Actions #45

Updated by BhaaL about 15 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?

Actions #46

Updated by Anonymous about 15 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.

Actions #47

Updated by Anonymous about 15 years ago

Issue 1791 has been merged into this issue.

Actions #48

Updated by isaac.sagar about 15 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!

Actions #49

Updated by ww4440502 about 15 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

Actions #50

Updated by Anonymous about 15 years ago

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

Actions #51

Updated by mikyb91 almost 15 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

Actions #52

Updated by ayuanx almost 15 years ago

Implemented in r4730

Actions #53

Updated by stephens.danica almost 15 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.

Actions #54

Updated by XTra.KrazzY almost 15 years ago

  • Status changed from Accepted to Fixed

Fixed by ayuanx in r4736

Actions #55

Updated by Flare7571728 almost 15 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.

Actions #56

Updated by isaac.sagar almost 15 years ago

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

THANKS!!!

PD: Happy new year!!

Actions

Also available in: Atom PDF