Project

General

Profile

Actions

Emulator Issues #1020

closed

Wii Motion Plus games give constant (incorrect) errors

Added by Carl.Kenner almost 15 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

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

Description

What steps will reproduce the problem?

  1. Use the emulated Wii Remote
  2. Play a game that supports Wii Motion Plus
  3. Go through the intro and the menus to start the game

What is the expected output? What do you see instead?

The game should silently either detect that I don't have a Motion Plus, or
that I do have a Motion Plus.

Instead it gives the (wrong) error "WmWriteData: bad register block!".
In reality the error is in WmReadData.

What version of the product are you using? On what operating system?

Windows XP

Please provide any additional information below.

The bug is caused by the game trying to read the two bytes from registers
0xA600FE. These registers should return 00 05 if there is a Motion Plus
attached, or they should give read error number 7 if there is no Motion
Plus attached. Instead the Wiimote Plugin displays an error to the user
because that register block has never been used before in other games.

Actions #1

Updated by death2droid almost 15 years ago

Adding this under

case 0xA6:
INFO_LOG(WII_IPC_WIIMOTE, " Case 0xa6: MotionPlusReg");
break;

/INFO_LOG(CONSOLE, "Write RegExt Size: %i Address: %08x Offset: %08x \n",
wd->size, address, (address & 0xffff));
INFO_LOG(CONSOLE, "Data: %s\n", Temp.c_str());
/
break;

If you're wondering what file it is EmuSubroutines.
Tell me if it stops the error.

I need to hunt down some documentation :P

Actions #2

Updated by death2droid almost 15 years ago

  • Status changed from New to Accepted
Actions #3

Updated by Carl.Kenner almost 15 years ago

I'd already patched the error myself. I'm just finishing emulating the Motion Plus.

Actions #4

Updated by bkchaw almost 15 years ago

care to post the patch?

Actions #5

Updated by death2droid almost 15 years ago

:P If you manage to emulate it post the patch file with it here.

Actions #6

Updated by Anonymous over 14 years ago

I wonder whatever happened to Carl? :) Here is a rudimentary patch contributed from
http://forums.dolphin-emu.com/thread-4093.html (tweaked a bit). Seems against my ethic
to start work on it without polling Carl first.

paging Mr Kenner... :p

Actions #7

Updated by Anonymous over 14 years ago

oops, here's a corrected patch

Actions #8

Updated by skidau about 14 years ago

Is this still an issue?

Actions #9

Updated by ayuanx about 14 years ago

I don't know, but the patch is already in SVN.

Actions #10

Updated by skidau about 14 years ago

  • Status changed from Accepted to Fixed
Actions

Also available in: Atom PDF