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

FIX94

Former Staff
Former Staff
Joined
Dec 3, 2009
Messages
7,284
Trophies
0
Age
29
Location
???
XP
11,238
Country
Germany
OK so, I just pushed up a nintendont build that should work inside wii vc, on top of needing all of the libwiidrc patches applied to a fw.img it also needs the following to be applied:
offset 0x166E60 from B5F0465F4656464D4644B4F0B0BA1C0F to E59F1004E5910000E12FFF1012FFFFE0
offset 0x15D7B4 from 684B2B06D10C688B2B00D10968C8684223A9009B to 4901478846C0E00112FFFE002200230146C046C0
offset 0x18068C from 0D8000000D800000001C00000000000F0000000200000000 to 0D8000000D800000001C00000000000F0000000300000000
With all that you should be able to get into nintendont, the gamepad should work inside the loader and ingame as you would expect, games should be loadable just fine from sd card.
Also pressing home should reboot you back into the wiiu menu, that part hasnt been really tested yet though.
 

wolf_

Well-Known Member
Member
Joined
Jan 22, 2012
Messages
518
Trophies
1
Age
42
XP
1,585
Country
United States

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,177
Trophies
2
XP
33,530
Country
Mexico
OK so, I just pushed up a nintendont build that should work inside wii vc, on top of needing all of the libwiidrc patches applied to a fw.img it also needs the following to be applied:
offset 0x166E60 from B5F0465F4656464D4644B4F0B0BA1C0F to E59F1004E5910000E12FFF1012FFFFE0
offset 0x15D7B4 from 684B2B06D10C688B2B00D10968C8684223A9009B to 4901478846C0E00112FFFE002200230146C046C0
offset 0x18068C from 0D8000000D800000001C00000000000F0000000200000000 to 0D8000000D800000001C00000000000F0000000300000000
With all that you should be able to get into nintendont, the gamepad should work inside the loader and ingame as you would expect, games should be loadable just fine from sd card.
Also pressing home should reboot you back into the wiiu menu, that part hasnt been really tested yet though.
Awesome!
I will try this out during the weekend :D
A dream come true!

Btw, are the games only loadable from SD or does USB also work inside Wii VC?
 

Shadow Fyre

Well-Known Member
Newcomer
Joined
Nov 20, 2014
Messages
99
Trophies
0
Age
33
XP
282
Country
United States
OK so, I just pushed up a nintendont build that should work inside wii vc, on top of needing all of the libwiidrc patches applied to a fw.img it also needs the following to be applied:
offset 0x166E60 from B5F0465F4656464D4644B4F0B0BA1C0F to E59F1004E5910000E12FFF1012FFFFE0
offset 0x15D7B4 from 684B2B06D10C688B2B00D10968C8684223A9009B to 4901478846C0E00112FFFE002200230146C046C0
offset 0x18068C from 0D8000000D800000001C00000000000F0000000200000000 to 0D8000000D800000001C00000000000F0000000300000000
With all that you should be able to get into nintendont, the gamepad should work inside the loader and ingame as you would expect, games should be loadable just fine from sd card.
Also pressing home should reboot you back into the wiiu menu, that part hasnt been really tested yet though.

So where do I go to download the build? I'm pressing the link in the "nintendont build" but it just leads me to another post that links to this one again.
 

FIX94

Former Staff
Former Staff
Joined
Dec 3, 2009
Messages
7,284
Trophies
0
Age
29
Location
???
XP
11,238
Country
Germany

fejich

Well-Known Member
Newcomer
Joined
Nov 26, 2016
Messages
49
Trophies
0
Age
32
XP
118
Country
China
That sounds great.

May I ask how you are creating all these patches? Do you have a way to debug the fw.img / can you use regular TCP gecko tools on the VC games?
(Btw., updated the tool to support this new patch: https://download.florian-bach.de/fwpatcher_0.01_r17.zip )

Code:
D:\Wii VC\Program\NGC>fwpatcher-win32.exe INTERACTIVE fw.img
Patching fw.img - WiiU firmware image version 590.
Trucha / signature patch [Y/N]? y
ES [Y/N]? y
HW_AHBPROT [Y/N]? y
HW_MEMPROT [Y/N]? y
Gamepad & Wiimote simultaneously [Y/N]? y
Enable Gamepad Cache flush [Y/N]? y
Emulate Wiimote only (no CC) [Y/N]? y
Wiimote sideways (horizontal) [Y/N]? y
Enable L/R -> ZL/ZR button swap [Y/N]? y
Nintendont patch (requires other WiiDRC patches as well [Y/N]? y

There have been so many patches, the specific role can explain it?
  • ES
  • HW_AHBPROT
  • HW_MEMPROT
 
Last edited by fejich,

fejich

Well-Known Member
Newcomer
Joined
Nov 26, 2016
Messages
49
Trophies
0
Age
32
XP
118
Country
China

Attachments

  • QQ图片20170916131649.jpg
    QQ图片20170916131649.jpg
    52.1 KB · Views: 903

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • The Real Jdbye @ The Real Jdbye:
    @Psionic Roshambo i didn't go amd for one specific reason, the AI performance is way behind nvidia
    +1
  • The Real Jdbye @ The Real Jdbye:
    i just got a 4070ti
  • The Real Jdbye @ The Real Jdbye:
    oh yeah also DLSS is a pretty solid reason to go nvidia since fidelityfx is kinda crap
  • The Real Jdbye @ The Real Jdbye:
    and now with the rtx video upscaling, and sdr->hdr conversion, even more reason to go nvidia
  • The Real Jdbye @ The Real Jdbye:
    both of which work well in potplayer
  • The Real Jdbye @ The Real Jdbye:
    amd is a bit cheaper though
  • Psionic Roshambo @ Psionic Roshambo:
    Cheaper and they are less stingy with the RAM not a big issue now but I can imagine in a yard or two things might be different
  • Psionic Roshambo @ Psionic Roshambo:
    Year not yard lol
  • The Real Jdbye @ The Real Jdbye:
    the vram is one advantage when it comes to AI but ends up being slower even with that and really AI is the only use case that needs more than 12gb vram right now
  • Psionic Roshambo @ Psionic Roshambo:
    Interesting lol
  • Psionic Roshambo @ Psionic Roshambo:
    I think I watched a video where two games at 4K where eating just over 16GB of RAM and it's the one case where the 7900XT and XTX pulled ahead (minus RTX of course)
  • Psionic Roshambo @ Psionic Roshambo:
    So my opinion is that they could age a bit better in the future, and maybe AMD will continue improving them via drivers like they tend to do. No guarantee there but they have done it in the past. Just a feeling I have.
  • The Real Jdbye @ The Real Jdbye:
    cyberpunk at 4k without DLSS/fidelityfx *might* exceed 12gb
    +1
  • The Real Jdbye @ The Real Jdbye:
    but that game barely runs at native 4k
  • Psionic Roshambo @ Psionic Roshambo:
    I think it was some newer games and probably poorly optimized PS4 or PS5 ports
  • The Real Jdbye @ The Real Jdbye:
    they definitely will age better but i feel dlss might outweigh that since it looks about as good as native resolution and much less demanding
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    When I played Cyberpunk on my old 2080 Ti it sucked lol
  • The Real Jdbye @ The Real Jdbye:
    AMD could introduce something comparable to DLSS but nvidia's got a lot more experience with that
  • The Real Jdbye @ The Real Jdbye:
    least amd 7xxx has tensor cores which the previous generations didn't so there is the potential for AI upscaling
  • Psionic Roshambo @ Psionic Roshambo:
    They have FSR or whatever it's called and yeah it's still not great
  • The Real Jdbye @ The Real Jdbye:
    so AMD seem to finally be starting to take AI seriously
  • Psionic Roshambo @ Psionic Roshambo:
    Oh yeah those new 8000 CPUs have AI cores built in that's interesting
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe they plan on offloading to the CPU?
  • Psionic Roshambo @ Psionic Roshambo:
    Would be kinda cool to have the CPU and GPU working in random more
    Psionic Roshambo @ Psionic Roshambo: Would be kinda cool to have the CPU and GPU working in random more