Hacking Injecting into Wii VC on Wii U

  • Thread starter Thread starter CeeDee
  • Start date Start date
  • Views Views 24,172
  • Replies Replies 155
  • Likes Likes 6
Chiming in with some info:
  • The fw.img and rpx/rpls are universal. There are slightly newer/older versions, but every single fw.img does support the classic controller emulation.
  • There is no way you're gonna trick HAI (that's what the IOS loaded from fw.img is called) to emulate anything else than a classic controller. The code just isn't there. Without modifying fw.img (or writing your own cIOS with wiimote emulation code that does all the i2c communication and emulates wiimote itself), there is no way it will ever act as for example the wiimote. EDIT: I'm not so sure about this anymore. Looking into it.
 
Last edited by JaGoTu10,
If anybody is willing to test a fw.img modified to emulate wiimote instead of classic controller, PM me either here on #wiiubru.

EDIT: The currently used sigpatches unfortunately aren't enough to load a modified fw.img
 
Last edited by JaGoTu10,
Gamepad support for the Classic Controller is defined in the meta.xml for a Wii VC title on this line:
Code:
<drc_use type="unsignedInt" length="4">1</drc_use>

Change 1 (or whatever number is currently there) to 65537 and boom, gamepad support.

Thanks to JaGoTu for reminding me of this value on the IRC chat.
no problem for what i found
have fun with it to experiment
 
Last edited by moops44,
  • Like
Reactions: Irastris
Guys, user @JaGoTu10 managed to get a working Wii ISO out of the NFS files:
http://gbatemp.net/threads/decrypting-wii-vc-nfs-files.452426/

Hi guys,
if you've been wondering, how to decrypt the nfs files in Wii VC's /content/, here's the answer:

The key is just stored in /code/htk.bin. Just like that. It's not encrypted in any way, it just sits there. So, just strip away the EGGS-SGGE header, join all the files together, and use a command like this:

Code:
openssl enc -d -aes-128-cbc -K "[key]" -iv 0 -nopad -in hif.nfs -out hif.nfs.dec

The resulting file seems to be just a regular Wii iso.

Those are the steps required to merge and convert the NFS files.
 
Yeah you're right, sorry.
I meant (2^16)+1
and all variations of it (2^n)+1
Surely if you're interested in setting up a test for all binary bits set to 1 you'll want to use a number of form 2^n - 1, not + 1
so for example 65535 is a better bet

it's a similar strategy to how regionhax uses the value 119 but in that case we didn't care about setting the 2^3 bit, thus the value was 2^7 - 1 -8
 
I know "65537" in the meta.xml enables Classic Controller support, but is there a value that emulates the Wii Remote instead?
as far as I know, wii remote seems to always be on(?). I tried it with Super Paper Mario (no cc, uses sideways wii remote) and 65537 still let me control the game.
 
as far as I know, wii remote seems to always be on(?). I tried it with Super Paper Mario (no cc, uses sideways wii remote) and 65537 still let me control the game.
Doesn't work with Beat the Beat: Rhythm Paradise :(

At least it still prompts me with the GamePad message so it's working with the Wii U menu but I can't register any input ingame.

Also to be honest, Beat the Beat only uses the A and B buttons, d-pad and motion sensor of the Wii Remote (not sideways).
 
Last edited by CatmanFan,
as far as I know, wii remote seems to always be on(?). I tried it with Super Paper Mario (no cc, uses sideways wii remote) and 65537 still let me control the game.
Oh, neat!

It'd be neat to see if someone can hack in cursor support via touchscreen and shaking/rotation support.
 
Last edited by CeeDee,
I wonder whether it is possible to add support wiiu gamepad as cc for vWii mode, making the same trick with the file meta.xml in the app, which launches vWii mode?
 

Site & Scene News

Popular threads in this forum