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

markehmus

Well-Known Member
Member
Joined
Jul 26, 2008
Messages
1,521
Trophies
0
Age
112
Location
in the GAME
XP
1,379
Country
Canada
Nothing to patch ? but its there so maybe the patch does not work on all fw.img ?
Screenshot_2.jpg

Code:
+++++ ISO2NFS +++++

Searching for AES key file...
AES key file found!
Wii common key found in source code!

Patching fw.img to enable fakesigning...
Nothing to patch
 

Billy Acuña

Well-Known Member
Member
Joined
Oct 10, 2015
Messages
3,126
Trophies
1
Age
31
XP
3,701
Country
Mexico
  • Like
Reactions: DarthDub and ploggy

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
I think I found my issue, the version of cdecrypt I was using was decrypting fw.img and fw.tmd to garbage (even with the correct common key), but I switched that out, so now it's decrypting them correctly. Time for another attempt.
 

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,248
Trophies
2
XP
34,952
Country
Mexico
Work you mickey mouse piece of shiiiiitttttt!! I would have been doing backflips around the room if it had worked :P
We're Sooo close though..
Really freaking close.
I think Not64 does something similar to games kike RE4.
Why do I say so?
Well, try the following...

Enter vWii normally and boot Not64.
If you hzve a Wiimote+CCP, notice how the controller input in port one changes icon somewhat rapidly from Wiimote to CCP.
Perhaps compiling Not64 from source to run CCP before Wiimote "might" work?
 
  • Like
Reactions: DarthDub and ploggy

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,845
Trophies
2
XP
7,964
Country
United Kingdom
Really freaking close.
I think Not64 does something similar to games kike RE4.
Why do I say so?
Well, try the following...

Enter vWii normally and boot Not64.
If you hzve a Wiimote+CCP, notice how the controller input in port one changes icon somewhat rapidly from Wiimote to CCP.
Perhaps compiling Not64 from source to run CCP before Wiimote "might" work?
I dont know but I think at this point anythings worth a try?

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

Can anyone confirm me if multiplayer works with gamepad enabled?
I dont think so, when ever gamepad is enabled wiimotes are disabled, they are for me anyway..
 

TeconMoon

Well-Known Member
Member
Joined
Aug 7, 2007
Messages
749
Trophies
1
XP
2,642
Country
United States
Has anyone had any luck customizing the PDF manual links for injects? When you choose a game, where it's asking you to choose between the TV or TV & GamePad, in the top-right there's a manual button that just opens the web browser and links to a PDF. I can't figure out where this link is being stored, I initially thought it would be stored in the Manual.bfma file but couldn't find any traces in there, I even tried deleting that file, building the game, and it still took me to the base game's manual (Xenoblade in this case).

And if no one knows then all my VC Injects can have the Xenoblade manual LOL
 
  • Like
Reactions: markehmus

cucholix

00000780 00000438
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,302
Country
Chile
The only options I can see is to change the Wiimote from vertical to horizontal. This makes it 'playable' but is far from actual classic controller emulation, the L/R buttons don't work, and a majority of the commands are therefore bound to horrible combinations like "1+2" when it should be simple, intuitive and identical to FE9 if it was to emulate a classic controller.
Can you try loosing sync between the console and the gamepad on purpouse? For example by placing it out of range or not pressing any button for about 2 minute. It worked for me with The Last Story.
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
I think I found my issue, the version of cdecrypt I was using was decrypting fw.img and fw.tmd to garbage (even with the correct common key), but I switched that out, so now it's decrypting them correctly. Time for another attempt.

I got Lego Batman USA to boot, but Bathaxx says "Sd card not found (-1056964604)" even though I'm using a 1GB microSD card, so I'm out of ideas. At least the game runs, though.
 

DarthDub

Amateur Hacker
Member
Joined
Jan 26, 2016
Messages
2,834
Trophies
1
Age
34
Location
Your mom's basement.
Website
www.gaiaonline.com
XP
3,635
Country
United States
Really freaking close.
I think Not64 does something similar to games kike RE4.
Why do I say so?
Well, try the following...

Enter vWii normally and boot Not64.
If you hzve a Wiimote+CCP, notice how the controller input in port one changes icon somewhat rapidly from Wiimote to CCP.
Perhaps compiling Not64 from source to run CCP before Wiimote "might" work?
Time for a new fork of Not64.

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

I got Lego Batman USA to boot, but Bathaxx says "Sd card not found (-1056964604)" even though I'm using a 1GB microSD card, so I'm out of ideas. At least the game runs, though.
Use a regular sized SD card.
 

Supster131

(づ。◕‿‿◕。)づ *:・゚✧
Member
Joined
Jan 19, 2016
Messages
3,315
Trophies
1
Location
My Computer
XP
2,758
Country
United States
Thanks to @daxtsu , we realized the issue was cdecrypt. Once we moved over to jnustool, we no longer had issues.
Since then, I gave Mario Kart Wii patched with wiimmfii (scrubbed) another try... and it booted! Online works and all too! I was even able to inject my save.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: One gram of felony? +1