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,373
  • NUSpacker.zip
    59.6 KB · Views: 1,329
  • jnustool.zip
    99.6 KB · Views: 1,417
  • nfs2iso2nfs v0.5.4.zip
    11.3 KB · Views: 864
Last edited by piratesephiroth, , Reason: updated nfs2nfs2iso

leseratte

Wiimmfi Team
Member
Joined
Jun 2, 2012
Messages
453
Trophies
1
XP
1,859
Country
Germany
I have just got an idea (just a theory at the moment) how we could get USB-Loaders to run in the Wii VC, but I'd need a few tests done for that.

- Does anyone happen to have Dragon Quest X and could try if that works in the WiiVC?
- Does anyone happen to have one of the singing games with a microphone / or Skylanders with the portal and could try if that works in WiiVC?
- WiiXplorer is currently booting and just has no CC support, right? If yes, can it read USB devices? Or does it fail, just like USB-Loaders?
- Does the fw.img show up as IOS255 or something to the Wii side? Or doesn't it appear at all?
- If it appears as IOS255: I know that IOS Reloads to other IOSes fail, but what about reloading to itself? Can we reload to IOS255 even if that doesn't make much sense?
 
Last edited by leseratte,

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,177
Trophies
2
XP
33,542
Country
Mexico
I have just got an idea (just a theory at the moment) how we could get USB-Loaders to run in the Wii VC, but I'd need a few tests done for that.

- Does anyone happen to have Dragon Quest X and could try if that works in the WiiVC?
- Does anyone happen to have one of the singing games with a microphone and could try if that works in WiiVC?
- WiiXplorer is currently booting and just has no CC support, right? If yes, can it read USB devices? Or does it fail, just like USB-Loaders?
To No. 3:
WiiXplorer doesn't read USB devices in Wii VC when injected, @ploggy confirmed this some pages ago.
Can't tell for your other two questions though.
 

leseratte

Wiimmfi Team
Member
Joined
Jun 2, 2012
Messages
453
Trophies
1
XP
1,859
Country
Germany
And is there any easier way to test a new edited fw.img than to re-patch and re-install everything when I try to get that working? Can I just install an USB-Loader into a WiiVC once and then use FTPiiU-everywhere to swap the fw.img until it works?
 

wicksand420

Well-Known Member
Member
Joined
Nov 13, 2016
Messages
2,787
Trophies
1
Age
39
XP
2,295
Country
United States
Someone could try skylanders also to see if usb portal works, i'll bet not though, thats something that will have to be written into the fw.img i'd imagine.
 

leseratte

Wiimmfi Team
Member
Joined
Jun 2, 2012
Messages
453
Trophies
1
XP
1,859
Country
Germany
Well the fw.img does have a USB module, but it has been modified (not a normal Wii / vWii USB module). We already know it fails to work with the LAN Adapter and with homebrew, but I'd like to know if it works with official Nintendo titles and other devices (LAN and Microphone/Portal/WFS are handled differently).
 

leseratte

Wiimmfi Team
Member
Joined
Jun 2, 2012
Messages
453
Trophies
1
XP
1,859
Country
Germany
AFAIK not, it's just that the game must be in the first partition and the others are ignored. You have to remove the update partition because that one is usually first. The additional partitions in SSBB are after the game partition.
 
  • Like
Reactions: cucholix

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,177
Trophies
2
XP
33,542
Country
Mexico
Dropping the question here too.
Has anyone tried injecting Call of Duty Black Ops and Modern Warfare 3 to see if the CCP works in those games?
 

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,177
Trophies
2
XP
33,542
Country
Mexico
Black ops works with cc /gp
Awesome!
Thanks for the heads up!
Then that means Modern Warfare 3 works as well.
I will add them both to the Compatibility List right away. :)

Thanks again for testing it out!
Btw, what base game did you use and what region was it? The region for Black Ops as well.
 

wolf_

Well-Known Member
Member
Joined
Jan 22, 2012
Messages
518
Trophies
1
Age
42
XP
1,585
Country
United States
Awesome!
Thanks for the heads up!
Then that means Modern Warfare 3 works as well.
I will add them both to the Compatibility List right away. :)
Ntsc and Xenoblade
Thanks again for testing it out!
Btw, what base game did you use and what region was it? The region for Black Ops as well.

--------------------- MERGED ---------------------------

Sorry ntsc and Xenoblade I used the injector script
 
  • Like
Reactions: ShadowOne333

leseratte

Wiimmfi Team
Member
Joined
Jun 2, 2012
Messages
453
Trophies
1
XP
1,859
Country
Germany
I have written a small tool which can help with applying patches to an fw.img: https://download.florian-bach.de/fwpatcher_0.01_current.zip

This tool supports all the patches I've found in this thread (Signature patch, ES_Identify patch, HW_AHBPROT patch, HW_MEMPROT patch, Wiimotes in Gamepad mode patch, Gamepad Cache flush patch (for libdrc), Wiimote-only emulation (no CC), Wiimote sideways / horizontal patch, and the L-R -> ZL-ZR button swap patch).

All patches except the Gamepad Cache flush patch and the L-R button swap patch have been ported to all three versions by me, however, most of the ported patches haven't been tested yet. If you test this, please tell me which patches do work and which don't. If you are able to port the Cache flush patch and the button swap patch to the other versions, please tell me the new offsets. Also, if you know about any other patches not yet supported by this tool, tell me and I'll implement them.

Call the tool on the command line with "fwpatcher.exe INTERACTIVE fw.img" and you'll be able to enable or disable all these patches.

In addition, this tool can identify which patches have been applied to an fw.img file - call it with "fwpatcher.exe CHECK fw.img" and it'll tell you which patches are activated in the fw.img.
At the moment, it doesn't recognize if there are more (unknown) patches in the file, but I will write an update tomorrow or on Sunday which does that.
 
Last edited by leseratte,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    S @ salazarcosplay: @Xdqwerty how are you?