WiiRd forum

Wii & Gamecube Hacking => Wii Game hacking help => Topic started by: Crashdance22 on April 24, 2010, 08:04:02 PM

Title: Using the Classic Controller in NSMBW... Possible?
Post by: Crashdance22 on April 24, 2010, 08:04:02 PM
Well I've been looking through the controller drivers in New Super Mario Bros. Wii (USA) and found some interesting things. First of all, there are three driver files: Wiimote, Wiimote with Nunchuk, and Wiimote with Classic Controller. It's obvious the first two are usable in the game, they are responsible for hooking our controller methods when we hotswap the Nunchuk. But what about this third one?

I've dissected the three files (extensionControllerYokomochi.arc, extensionControllerNunchuk.arc, and extensionControllerClasic.arc) and found 3 directories within each of them. These are \anim, \blyt, and \timg. \anim contains 3 files that appear to be identical across all 3 drivers. \blyt contains 1 file that seems to be the bulk of the driver code. And finally, \timg contains the images you see when you (un)plug the Nunchuk.

(http://i39.tinypic.com/3094jzc.png)

(http://i42.tinypic.com/fllc2a.png)

The brlyt files are 2.71KB for the Wiimote, 5.6KB for the Nunchuk, and 2.13KB for the Classic Controller. The Wiimote and Classic files aren't much different in size, which makes sense considering the similarities in the control schemes.

But the big question here is, is the Classic Controller driver usable? It appears to have some actual code inside! Could it be possible to test this file by loading it with cheat codes? What do you guys think about this?
Title: Re: Using the Classic Controller in NSMBW... Possible?
Post by: Crashdance22 on May 27, 2010, 08:26:04 PM
Huh... that's odd. Last I checked there were thousands of people wondering why this game didn't have classic controller support. Is anyone interested?
Title: Re: Using the Classic Controller in NSMBW... Possible?
Post by: dcx2 on May 28, 2010, 03:12:46 AM
Some hacks use the GCN or Classic Controller for button activators.  I bet you could write a code that reads the CC values and over-writes the Wiimote + Nunchuck values.  Someone should be able to use a USB Gecko to find the CC address, if it exists...
Title: Re: Using the Classic Controller in NSMBW... Possible?
Post by: Romaap on May 28, 2010, 11:17:05 AM
Wouldn't it be better to alter the ASM which handles the controls?
Title: Re: Using the Classic Controller in NSMBW... Possible?
Post by: Crashdance22 on May 28, 2010, 01:28:58 PM
Of course, the driver would need to be loaded so the game could read the inputs. I'm no hacker by the way, I'm just seeing if this is possible.
Title: Re: Using the Classic Controller in NSMBW... Possible?
Post by: Crashdance22 on June 24, 2010, 02:18:16 PM
Is anyone currently working on this?