Tutorial  Updated

Wii on Wii U Virtual Console: Injecting Games

Requirements:
WiiScrubber v1.40;
nfs2iso2nfs v0.5.4; it may require the Wii common Key. You can use wiiscrubber's key.bin renamed to wii_common_key.bin.
A clean rip of your Wii game;
The extracted contents of a Wii VC title for the Wii U (except the .nfs files);
-the 2 below require java to be installed-
jnustool (requires Wii U common key so you'll have to search online - hint: it begins with D7B0. Open the "config" file in notepad and paste the key inside, replacing [COMMONKEY]);
NUSpacker (must be @ihaveamac's version, requires Wii U common key as well)

Current limitations:
It's possible to use the gamepad to emulate ONLY the Classic Controller.
Wii Remote emulation is possible but there's no gyroscope or infrared commands (at least for now).
(Input emulation patches by @FIX94)

The game must be already compatible with the Classic Controller but that isn't a guarantee that it's going to work.
Here's a compatibility list: http://wiki.gbatemp.net/wiki/WiiU_VC_Wii_inject_compatibility_list

Integrity checks are still in place so only clean disc rips work.
The game iso must be pristine: untrimmed, unscrubbed and the partitions signed.
No homebrew, no mods, no wimmfi patched games until sigpatches are implemented.

Patched isos work now! Original idea by @Tock46!

Homebrew works now, even a special version of Nintendont by @FIX94

Trimmed isos still don't work, at least not isos trimmed by WiiScrubber.



HOW TO DO IT


0. Downloading a Wii VC Title
This may be illegal and I'm just telling you so you don't ever do it by mistake OK?
You can use the command line to download games' contents directly if you know the title id and title key.
I heard you can get them on a certain titlekeys site...

Once you have that, this is the command
Code:
java -jar JNUSTool.jar TITLEID TITLEKEY

NmNYbOu.png


Note: You should get a game that contains the latest revision of fw.img (r590), that's the only version supported by @FIX94's patches.
Here's some info you can use to verify that you have a good file:
Size: 1785497 bytes.
CRC32: E2F27E9B
MD5: 3CAF52A9A440EEE4F125A3AD22E305C8
SHA: A5A75EBF3164874830A1D5992495DE510AB3F74E

Now here's a list of some titles that contain the preferred fw.img (verified mostly by @fejich and @markehmus)
DONKEY KONG JUNGLE BEAT [VBXE01]
Kirby's Epic Yarn [VARE01]
Lost in Shadow [VA8E01]
Mario Strikers Charged [VBFE01]
Mario Super Sluggers [VBHE01]
Pandora's Tower [VAPE01]
PIKMIN 2 [VBTE01]
PIKMIN [VBUE01]
Resident Evil 4 Wii Edition [VBDE01]
Resident Evil The Umbrella Chronicles [VBWE01]
Rhythm Heaven Fever [VAKE01]
Sin and Punishment Star Successor [VALE01]
Super Mario Galaxy [VBKJ01]
Super Paper Mario [VBBE01]
The Legend of Zelda Skyward Sword [VANE01]
Trauma Team [VA6E01]
Wario Land Shake It [VBGE01]
WARIO WARE SMOOTH MOVES [VBVE01]





-----------------------------------------------

1. WiiScrubber
First setup WiiScrubber. Remember it needs the Wii common keys so run MakeKeyBin.exe first and do as it says.
Run it and open you iso. Right-click the UPDATE partition and select "Delete partition". Confirm.
uE02Phr.png


Now click on the + box to expand the DATA partition, then expand partition.bin.
Right click tmd.bin, select "Extract" and save it.
Do the same with ticket.bin.
jJPl3Wy.png


Rename the extracted ticket.bin to rvlt.tik
Rename the extracted tmd.bin to rvlt.tmd

Copy/move both files to the "code" folder of the Wii VC title.

Your iso is now ready and you can close WiiScrubber.


2. nfs2iso2nfs
Move your iso to the "content" folder of the Wii VC. Rename the file to "game.iso".
The content folder should contain only game.iso and the "assets" folder. Delete any nfs files that are still present.

Copy nfs2iso2nfs.exe to the content folder and run it. If everything is in place, it will begin the conversion process.
It should take around 15 minutes. Its console window will close when it's finished.
Once it ends you can delete your iso file and nfs2iso2nfs.exe (and wii_common_key.bin if it exists).
The content folder should contain only the nfs files and the "assets" folder.

Optional: You can enable Classic Controller emulation for playing using only the gamepad.
Open meta.xml (it's in the meta folder) in notepad.
Look for the line
Code:
<drc_use type="unsignedInt" length="4">1</drc_use>

replace it with
Code:
<drc_use type="unsignedInt" length="4">65537</drc_use>
and save the file.
Note that this will only work if the game supports the Classic Controller.
If it doesn't either it won't boot or you won't be able to do anything and only the gamepad's power button will work.
Here's a list of such games: https://wiki.gbatemp.net/wiki/List_of_Wii_games_compatible_with_Classic_Controller


3.NUSpacker
The final part, building the installation files.
NUSpacker requires the Wii U common key. You should find it online and then open the file "encryptKeyWith" with
notepad and paste the key inside (hint: it begins with D7B0)

It's also a command line tool so you'll have to write down the commands, or simply create a new text file,
write the command inside, save it and change the extension from .txt to .bat

I recommend copying the Wii VC folder (that contains the other 3 folders, code, content and meta) to nuspacker's folder.
That will make everything easier.

The command works like this (replace with the names of your own folders)
If you folders have spaces in their names, enclose them in quotation marks, like "Just Dance".
Code:
java -jar nuspacker.jar -in GAME_FOLDER -out INSTALATION_FILES_FOLDER

Wiait until it finishes the process.
Now just copy the folder with the installation data to the "install" folder SD card, run a CFW and install it with WUP Installer GX2!

PS: If you make a nonfunctional game, remember to uninstall it before trying again.
If you install a fiunctional game over a broken installation, it will still appear as broken.
 

Attachments

  • WiiScrubber [V-1.40 A-2009].rar
    528.8 KB · Views: 1,378
  • NUSpacker.zip
    59.6 KB · Views: 1,335
  • jnustool.zip
    99.6 KB · Views: 1,420
  • nfs2iso2nfs v0.5.4.zip
    11.3 KB · Views: 870
Last edited by piratesephiroth, , Reason: updated nfs2nfs2iso

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,844
Trophies
2
XP
7,954
Country
United Kingdom
Last edited by ploggy,

leseratte

Wiimmfi Team
Member
Joined
Jun 2, 2012
Messages
453
Trophies
1
XP
1,859
Country
Germany
you would have to ask someone to find the adress for all the buttons, fix94 was the one that did it and he says the functions are a mess to swap the lr with zrzl you have to do alot of patching anyway here it is the info fix94 got working

Everything below only works when patching the fw image of rhythm haeven fever ntsc vc wii, any other fw file will not have the same adresses

Wiimote emulation has no gyro or IR pointer so if you need to shake or aim you wont be able to.


MAke it emulate solo wiimote
seach for this in a hex editor:
20 01 23 00 1C 02 40 9A 1C 13
and replace it with this:
20 01 16 13 1C 02 40 9A 1C 13


Sideways wiimote (requires the abode and below code) the abode code alone emulates normal holding wiimote.
11B59=left,11B61=right,11B6F=down,11B7D=up
so put following values for sideways sideways wiimote
11B59=02,11B61=03,11B6F=01,11B7D=00


L R swap with ZR and ZL for CC(i know its alot of patching but very worthy, mario kart works so much better with the triggers and such.

11AC8 and 11C4A change both to 25804005
11AD0 change to 25404005
11C34 change to 2540 8022 4005
11AD8,11C20 both change to 232040034699
11AE2,11C0C both change to 25104005
11AC8,11C4A both change to 26804006
11AD0 change to 25404005
11C34 change to 2540 8022 4005
11AD8,11C20 both change to 46B123204003
11AE2,11C0C both change to 23104003


this was all found out by fix94 with the documenting from jagotu10.

if you want to add to OP just go right ahead and credit Fix94.

The offsets for the LR swap seem to be a little weird. You wrote all the offsets twice, sometimes with other values. Whats the reason and what are the correct patches?

Also, do you happen to have the "LR swap" and "Sideways Wiimote" patch in a "search for X replace by Y" format (not just offsets) so we can add that to other versions of fw.img as well? (There are at least three different versions).
 

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,238
Trophies
2
XP
34,773
Country
Mexico
I just tried a fw.img with fix's patch for Wiimote (only the vertical position) but it doesnt work for Homebrew. :(

I'm guessing homebrew devs used a different method to access the Classic Controller/Wiimote than Nintendo?
If you choose not to use the Gamepad when the Wii U prompts for it, do you get switched to Wiimote automatically?
Also, have you tried running something like d2x cIOS Installer MOD or some similar app just to see what it says? XD
And what message do you get when trying to run Nintendont?
 

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,844
Trophies
2
XP
7,954
Country
United Kingdom
If you choose not to use the Gamepad when the Wii U prompts for it, do you get switched to Wiimote automatically?
Also, have you tried running something like d2x cIOS Installer MOD or some similar app just to see what it says? XD
And what message do you get when trying to run Nintendont?
Yes if you say no to gamepad it goes back to default controls.
I haven't tried the dx2 installer since I already had to installed on vWii but I can check to see if it says different :) Just booted it up.. It seems to work fine :)
When I try to boot Nintendont it says it needs <ahb_access/> enabled in the Meta.xml (even though it is) and locks up/reboots (cant remember which)
@ShadowOne333
 

Attachments

  • nintendont error.jpg
    nintendont error.jpg
    76.2 KB · Views: 355
Last edited by ploggy,
  • Like
Reactions: ShadowOne333

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,238
Trophies
2
XP
34,773
Country
Mexico
Yes if you say no to gamepad it goes back to default controls.
I haven't tried the dx2 installer since I already had to installed on vWii but I can check to see if it says different :) Just booted it up.. It seems to work fine :)
When I try to boot Nintendont it says it needs <ahb_access/> enabled in the Meta.xml (even though it is) and locks up/reboots (cant remember which)
@ShadowOne333
It seems its trying to access the IOS from a particular path in the NAND.
Which brings me to my question, can you access NAND from WiiXplorer when booted up through Wii VC?
Also, have you tried to load a USB/HDD with WiiXplorer while in Wii VC as well?
 

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,844
Trophies
2
XP
7,954
Country
United Kingdom
It seems its trying to access the IOS from a particular path in the NAND.
Which brings me to my question, can you access NAND from WiiXplorer when booted up through Wii VC?
Also, have you tried to load a USB/HDD with WiiXplorer while in Wii VC as well?
I can access Nand fine through WiiXplorer (the vWii parts anyway) ;)
I don't think USB works.. It doesn't show up in WiiXplorer or Emulators anyway . Maybe we need the USB 2.0 IOS patches?
 

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,238
Trophies
2
XP
34,773
Country
Mexico
I can access Nand fine through WiiXplorer (the vWii parts anyway) ;)
I don't think USB works.. It doesn't show up in WiiXplorer or Emulators anyway . Maybe we need the USB 2.0 IOS patches?
Oh cool.
For the USB, I think you can change what device you are into by clicking on the SD card icon next to the path.
That should show you if you have any other device mounted at the moment or not.
 

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,844
Trophies
2
XP
7,954
Country
United Kingdom
Oh cool.
For the USB, I think you can change what device you are into by clicking on the SD card icon next to the path.
That should show you if you have any other device mounted at the moment or not.
yea, that's what I tried, it only showed the nand and sd icons :(
I even tried loading from USB on the Snes9xgx Emulator but it keeps saying retry.. I don't know how hard it would be to re-add USB support but I think that's what it's going to take?
 

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,238
Trophies
2
XP
34,773
Country
Mexico
yea, that's what I tried, it only showed the nand and sd icons :(
I even tried loading from USB on the Snes9xgx Emulator but it keeps saying retry.. I don't know how hard it would be to re-add USB support but I think that's what it's going to take?
Perhaps that's it.
IOS58 is the one in charge of that, so maybe that's the message that you get when booting up WiiXplorer.
IOS58 is not loading up USBs, and this is also the main IOS used for Nintendont.

So getting that one running might do it for Nintendont as well. Who knows.
 
Last edited by ShadowOne333,
  • Like
Reactions: ploggy

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,844
Trophies
2
XP
7,954
Country
United Kingdom
Perhaps that's it.
IOS58 is the one in charge of that, so perhaps that's the message that you get when booting up WiiXplorer.
IOS58 is not loading up USBs, and this is also the main IOS used for Nintendont.

So perhaps getting that one running might do it for Nintendont as well. Who knows.
Maybe.. I just don't know :P We need more looking into this.
 
  • Like
Reactions: ShadowOne333

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,844
Trophies
2
XP
7,954
Country
United Kingdom
Would Fix94 have any leads? Maybe try asking him?
I did. He said:

the problem is the whole gamepad thing basically works because there is a special replacement IOS loaded that does the classic controller emulation, nintendont itself though is ALSO a special replacement IOS loaded when you start the dol file, but since for one IOS reload is blocked and for two that special core wouldnt even line up with the hardcoded IOS58 patches nintendont requires to even load you cant just boot it up. Honestly I dont really know how you would even start getting around all those limitations, it probably would require a lot of rewriting of nintendont and nintendos replacement IOS itself.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    At one point PC game pads where poorly supported, loading a game had setup, it was complicated. Now it's almost as easy as a console.
  • ColdBlitz @ ColdBlitz:
    nintendo needs to up their game soon
  • K3Nv2 @ K3Nv2:
    Yeah even bt support for Xbox one controllers are just as easy as pairing
    +1
  • ColdBlitz @ ColdBlitz:
    considering the steamdeck can emulate the switch (yikes) theres almost 0 reason to buy the switch apart from playing online and using cartridges
  • K3Nv2 @ K3Nv2:
    Xinput and 360 dongles were a driver nightmare
  • K3Nv2 @ K3Nv2:
    I remember having to manually put in drivers and what not
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah the 360 dongles sucked
  • Psionic Roshambo @ Psionic Roshambo:
    But the new Xbox pads? PIr it up and if a game supports it it just works
  • K3Nv2 @ K3Nv2:
    Most emulators even automatically detect them now
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah it's a good time to be alive lol
  • Psionic Roshambo @ Psionic Roshambo:
    Pi4 and Batocera works with them perfectly too
  • K3Nv2 @ K3Nv2:
    I'd like to see future tap to pair options like you hold it over a scanner and it just automatically pairs
  • K3Nv2 @ K3Nv2:
    No need for additional cords buttons or anything
  • Psionic Roshambo @ Psionic Roshambo:
    Hmmm yeah that is possible BT has an address like an IP
  • Psionic Roshambo @ Psionic Roshambo:
    Scan a QR code on your phone open a page with the controller and a QR code for the device, hit go and done
  • K3Nv2 @ K3Nv2:
    One less latency issue for radio frequency
  • K3Nv2 @ K3Nv2:
    Or even wifi pair opening just an app to sign is nice
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah it could be hosted on the phone hmmm it's an idea Ken
  • K3Nv2 @ K3Nv2:
    But could be bad for people with lower speeds but how many mbs would it really need to detect a button press
  • Psionic Roshambo @ Psionic Roshambo:
    Nearly nothing
  • Psionic Roshambo @ Psionic Roshambo:
    Most of it BT used
  • BigOnYa @ BigOnYa:
    That's how I pair with uremum, I wave a $5 bill across her face, and instant link.
  • K3Nv2 @ K3Nv2:
    A priest travels to China holy covid
    K3Nv2 @ K3Nv2: A priest travels to China holy covid