Using the Classic Controller in NSMBW... Possible?

Started by Crashdance22, April 24, 2010, 08:04:02 PM

Previous topic - Next topic

Crashdance22

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.





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?

Crashdance22

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?

dcx2

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...

Romaap

Wouldn't it be better to alter the ASM which handles the controls?

Crashdance22

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.

Crashdance22