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

MG4M3R

Well-Known Member
Member
Joined
Mar 27, 2007
Messages
351
Trophies
1
XP
532
Country
Brazil
re-sync the gamepad, leave it alone for about 1 minute or go out the console range and see if it recognize it as a CC

Great idea!

It detects that I turned the gamepad off, but when I turned it on again, same thing.
upload_2017-9-7_18-43-14.png


Anyone had a similar problem with some other game?
Maybe it's something common with the early games with Classic Controller support.
Has anyone tried early games like Mortal Kombat Armageddon or Dragon Ball Z Budokai Tenkaichi 2?
 
Last edited by MG4M3R,

cucholix

00000780 00000438
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,286
Country
Chile
Great idea!

It detects that I turned the gamepad off, but when I turned it on again, same thing.
View attachment 98100

Anyone had a similar problem with some other game?
Maybe it's something common with the early games with Classic Controller support.
Has anyone tried early games like Mortal Kombat Armageddon or Dragon Ball Z Budokai Tenkaichi 2?
bummer, that method worked for me with The Last Story, I guess the game is coded differently, for example re-sync didn't work for me with Fire Emblem RD.
 
Last edited by cucholix,
  • Like
Reactions: MG4M3R

Radrian

Active Member
Newcomer
Joined
Oct 31, 2016
Messages
35
Trophies
0
Age
26
XP
261
Country
Mexico
I think I'm going to stick with 4.12GB files, couldn't make scrubbed games to load, maybe there are compatibility issues? I tried with both WIT and WiiScrubber.
Did you try put the .tik and .tmd of the new generated ISO?
I had the same problem but i fix it that way(was using the same code and meta folder that the 4.12GB ISO)
 

LuisGerdez

Well-Known Member
Newcomer
Joined
May 27, 2016
Messages
65
Trophies
0
Age
23
XP
165
Country
Venezuela
  • Like
Reactions: MG4M3R

fejich

Well-Known Member
Newcomer
Joined
Nov 26, 2016
Messages
49
Trophies
0
Age
32
XP
118
Country
China
New test, Chinese localization version of the game

《朧村正》(Muramasa: The Demon Blade)


《异度之刃》(Xenoblade Chronicles)
 
  • Like
Reactions: MG4M3R

cucholix

00000780 00000438
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,286
Country
Chile
Did you try put the .tik and .tmd of the new generated ISO?
I had the same problem but i fix it that way (was using the same code and meta folder that the 4.12GB ISO)
I extracted .tik and .tmd from the full iso and replaced them in my base, then I scrubbed the iso with WIT/WiiScrubber, nfs2iso2nfs the new iso, it correctly generated a smaller number of nfs (only 14), nuspacked them and black screen.

Maybe I should extract .tik and .tmd from the new iso? They are the same files shouldn't make difference... (?)

Is WiiScrewbber working for scrubor only WIT?
 
Last edited by cucholix,

Radrian

Active Member
Newcomer
Joined
Oct 31, 2016
Messages
35
Trophies
0
Age
26
XP
261
Country
Mexico
I extracted .tik and .tmd from the full iso and replaced them in my base, then I scrubbed the iso with WIT/WiiScrubber, nfs2iso2nfs the new iso, it correctly generated a smaller number of nfs (only 14), nuspacked them and black screen.

Maybe I should extract .tik and .tmd from the new iso? They are the same files shouldn't make difference... (?)
Nope, extract the .tik and .tmd of the new iso
they are different, you can check yourself in a hex editor or notepad++
 

MG4M3R

Well-Known Member
Member
Joined
Mar 27, 2007
Messages
351
Trophies
1
XP
532
Country
Brazil
bummer, that method worked for me with The Last Story, I guess the game is coded differently, for example re-sync didn't work for me with Fire Emblem RD.

The same goes for DBZ: Budokai Tenkaichi 3, it's a nuisance

So there are already 3 games that don't work.

I think it would be interesting to put together a compatibility list.
We could use as base the list of games that support the Classic Controller, and go marking those that don't work.

https://en.wikipedia.org/wiki/List_of_Wii_games_with_traditional_control_schemes
 

fejich

Well-Known Member
Newcomer
Joined
Nov 26, 2016
Messages
49
Trophies
0
Age
32
XP
118
Country
China
mmmh, I guess I would give a try, my PC is pretty slow and WIT takes ages in decrypt - encrypt -___-, all my injects are already full 4.12GB not feeling like doing all over again tbh.
wit processing game mirroring is faster than WiiScrubber

and it can dump the ticket.bin and tmd.bin,Only need a command

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

mmmh, I guess I would give a try, my PC is pretty slow and WIT takes ages in decrypt - encrypt -___-, all my injects are already full 4.12GB not feeling like doing all over again tbh.
Code:
@echo off

set PDR=%~dp0bin\wit.exe

rem tik
ren *.iso game.iso
"%PDR%" extract game.iso --psel data --files +tmd.bin --files +ticket.bin --dest code -vv1
cd code
ren ticket.bin rvlt.tik
ren tmd.bin rvlt.tmd

 pause
 
  • Like
Reactions: Radrian

LuisGerdez

Well-Known Member
Newcomer
Joined
May 27, 2016
Messages
65
Trophies
0
Age
23
XP
165
Country
Venezuela

Feffe

Well-Known Member
Member
Joined
Oct 12, 2008
Messages
225
Trophies
1
XP
2,122
Country
Italy
For the games not working, those mysterious values might be useful
Also, there are values in the meta.xml of "ext_dev_nunchaku" and "ext_dev_classic", could these be relevant? Both were defaulted to 0 from Xenoblade Chronicles base
I suggest to assign "1" to the ext_dev_classic to see if it's recognized
 

maverickduck

Member
Newcomer
Joined
Sep 8, 2017
Messages
15
Trophies
0
Age
39
XP
46
Country
United States
I was wondering when using this inject method if we can use the same VC-Wii base game for multiple Wii Titles?
If it helps anyone, from what I gathered from digging through the 29 threads of this of post so far and please correct me if I'm wrong..

To make unique games from the same basegame, edit the <title_id> element in both meta/meta.xml and code/app.xml

Also I was wondering how to update the game name of the VC-Wii title and from what I gathered:

To update the title of the VC-Wii game update all the <longname_*> elements from meta/meta.xml to the name of the Wii game. (credits to Cucholix and Anthe)


I would really appreciate it if OP can reference the above in the initial post to avoid people asking these questions again.
 

cucholix

00000780 00000438
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,286
Country
Chile
wit processing game mirroring is faster than WiiScrubber

and it can dump the ticket.bin and tmd.bin,Only need a command

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


Code:
@echo off

set PDR=%~dp0bin\wit.exe

rem tik
ren *.iso game.iso
"%PDR%" extract game.iso --psel data --files +tmd.bin --files +ticket.bin --dest code -vv1
cd code
ren ticket.bin rvlt.tik
ren tmd.bin rvlt.tmd

 pause
With that bat you still need to use extract.bat and compose.bat?
 

MG4M3R

Well-Known Member
Member
Joined
Mar 27, 2007
Messages
351
Trophies
1
XP
532
Country
Brazil
I hope it is possible to find a solution to this problem.

Considering that all problematic games were released until 2008, and that all subsequent games seem to work fine, it may be that the method used to implement the Classic Controller changed sometime in 2008.
 
D

Deleted User

Guest
We already tried loading up Nintendont, but there seems to be an issue with IOS reloading to be able to use it.
It does boot, but Nintendont cannot seem to get the required c/IOS to work as intended, so it doesn't work with Wii VC injection.
Not64 works... Partially.

If you try injecting it over a game which uses Wiimote+Nunchuck, then you can use it.
However, if you try using Not64 with a game that uses Gamepad controls, Not64 does boot, but it doesn't register the Gamepad as a CCP.
Perhaps tweaking Not64 source code could help in that regard, who knows.

But Nintendont is still a no-go until we figure out what the issue with the IOS is in particular and how to get it to load the IOS required for it.
Nintendont patches ios58. But problem is that we can't reload the ios.
 

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,820
Trophies
2
XP
7,858
Country
United Kingdom
Considering that all problematic games were released until 2008, and that all subsequent games seem to work fine, it may be that the method used to implement the Classic Controller changed sometime in 2008.
I was thinking a similar thing but with Wii Homebrew.. Iv'e come to the conclusion that Nintendo uses a different approach to implement Classic controller than Wii Homebrew Devs.
That's the only way I can see that Gamepad works fine in most official Wii games but not work for any Wii Homebrew.
It maybe beneficial for someone to see how Nintendo implemented Classic Controller support? maybe in the Wii SDK?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BakerMan @ BakerMan: ... that's rough buddy