Hacking [RELEASE] WiiVC Injector Script (GC/Wii/Homebrew Support)

cucholix

00000780 00000438
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,270
Country
Chile
Sorry it didn't work for you, did you use special characters like a colon : in your game title or publisher? I have added a check for those to warn users not to use them in the new version I'm releasing soon.
Hopefully is not too late for 0.5, but could you add a character number limit in the title name?
I've tested some games in the Wii U menu and it support up to 36 characters in 1 line, past that it will continue in the second line, and will generate cut-off names.

Now not sure if it's exactly 36, but the longest I've tested "No More Heroes 2: Desperate Struggle" fit in 1 line :)

"Fragile Dreams - Farewell Ruins of the Moon" for instance is cut-off xD
 
Last edited by cucholix,

TeconMoon

Well-Known Member
OP
Member
Joined
Aug 7, 2007
Messages
749
Trophies
1
XP
2,604
Country
United States
Hey KhaderWelaye,

I made the noob mistake running your script with the wrong title keys. The script did throw an error about the wrong base which I was grateful for. Turns out I was using the other "Xeno" key and didn't realize it. After re-extracting your zip file to another folder I ran the script with the correct keys. So my feature request would be Would it possible to make the script prompt once already added to ask to change the settings such as keys with a y or n prompt, to avoid having to re-extract the zip file. If not, it's cool. Just thought it would be a cool feature. Thanks for the great script btw works perfectly :-)

In version 1.0.5 I will make sure that if you enter the wrong Title ID, Key, or common key, it will prompt you for the correct one.

Hopefully is not too late for 0.5, but could you add a character number limit in the title name?
I've tested some games in the Wii U menu and it support up to 36 characters in 1 line, past that it will continue in the second line, and will generate cut-off names.

Now not sure if it's exactly 36, but the longest I've tested "No More Heroes 2: Desperate Struggle" fit in 1 line :)

"Fragile Dreams - Farewell Ruins of the Moon" for instance is cut-off xD

Not sure if I will be able to implement a cut-off but I can add a recommended maximum note

thx for this amazing tool :), but i detect one not working, game Wii Play Motion USA Version (SC8E01), it give me a a error code 160-4792 its installed on my usb hdd, i use cfw mocha+haxchi.

Did you manually specify a title ID when building this game or use a randomly generated one?
 
  • Like
Reactions: cucholix

miririhen

Member
Newcomer
Joined
Jan 5, 2017
Messages
9
Trophies
0
Age
28
XP
63
Country
United States
I'm getting an odd error that I'm not sure the cause of. For some reason, I cannot install injected Wii titles to my external hard drive, and I get errors if I try to move the games from my NAND to the USB. I can transfer other files just fine. I use Haxchi on 5.5.2. Not sure if it's a replicable issue but wanted to ask in case.
 

cucholix

00000780 00000438
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,270
Country
Chile
I'm getting an odd error that I'm not sure the cause of. For some reason, I cannot install injected Wii titles to my external hard drive, and I get errors if I try to move the games from my NAND to the USB. I can transfer other files just fine. I use Haxchi on 5.5.2. Not sure if it's a replicable issue but wanted to ask in case.
Maybe your inject have the same id as one of your games in the hdd.
 

maverickduck

Member
Newcomer
Joined
Sep 8, 2017
Messages
15
Trophies
0
Age
39
XP
46
Country
United States
Correct me if I'm wrong but as of the most recent version 1.04 posted by OP, doesn't the script auto generate a random TitleID if one does not manually type one out?
 

TeconMoon

Well-Known Member
OP
Member
Joined
Aug 7, 2007
Messages
749
Trophies
1
XP
2,604
Country
United States
The Title ID structure of generated titles as of 1.0.2 is as follows: 0005000010XXXXFF

XXXX being the unique ID number either generated or specified by the user, and the FF at the end is so that there's a zero% chance it will conflict with a legitimate title.

Unless you specified two different games with the same Title ID, I'm not sure what your issue would be. You may possibly want to try plugging in another flash drive, formatting it to the Wii U format, and see if you are able to copy your title there. That would tell you if there's an issue with your hard drive or not.
 

cucholix

00000780 00000438
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,270
Country
Chile
Huh, that sounds like a possibility. Any way to prevent that in the future other than writing down the titleID of every game I have? Thanks! :D
That key site have some titles id for official releases, just avoid using the same one :P, of course it's good to have a register of your injects in case you use the same id.
 

TeconMoon

Well-Known Member
OP
Member
Joined
Aug 7, 2007
Messages
749
Trophies
1
XP
2,604
Country
United States
I have a lot of testing to do when I get home but I will hopefully release version 1.0.5 of the injector script tonight with the following features/changes:

- Support for WBFS conversion if preferred over ISO @zeldaism
- Support of pre-built bootSound BNSTD if preferred over WAV @wolf_
- If the wrong Title ID, Title Key or Common key is specified, it will prompt you to re-enter them. @maverickduck
- If a space is accidentally included when you paste the Wii U Common Key, it will no longer break the script
-Lots of failchecks. Script will warn you if:
1. Java isn't detected
2. Script reliant folders aren't accessible by the script (permission issues)
3. ROBOCOPY isn't supported on your OS
4. The necessary code/meta files weren't downloaded or generated properly (This occurs before converting the game wbfs/iso files, so should show up very early in the process)
5. Special characters that break folder creation are present
6. NUSPacker fails to generate the installable package
 

zeldaism

Well-Known Member
Member
Joined
Apr 19, 2016
Messages
844
Trophies
0
Age
26
XP
1,350
Country
United States
I have a lot of testing to do when I get home but I will hopefully release version 1.0.5 of the injector script tonight with the following features/changes:

- Support for WBFS conversion if preferred over ISO @zeldaism
- Support of pre-built bootSound BNSTD if preferred over WAV @wolf_
- If the wrong Title ID, Title Key or Common key is specified, it will prompt you to re-enter them. @maverickduck
- If a space is accidentally included when you paste the Wii U Common Key, it will no longer break the script
-Lots of failchecks. Script will warn you if:
1. Java isn't detected
2. Script reliant folders aren't accessible by the script (permission issues)
3. ROBOCOPY isn't supported on your OS
4. The necessary code/meta files weren't downloaded or generated properly (This occurs before converting the game wbfs/iso files, so should show up very early in the process)
5. Special characters that break folder creation are present
6. NUSPacker fails to generate the installable package
Thank you for making everything much simpler. ^_^
 

miririhen

Member
Newcomer
Joined
Jan 5, 2017
Messages
9
Trophies
0
Age
28
XP
63
Country
United States
The Title ID structure of generated titles as of 1.0.2 is as follows: 0005000010XXXXFF

XXXX being the unique ID number either generated or specified by the user, and the FF at the end is so that there's a zero% chance it will conflict with a legitimate title.

Unless you specified two different games with the same Title ID, I'm not sure what your issue would be. You may possibly want to try plugging in another flash drive, formatting it to the Wii U format, and see if you are able to copy your title there. That would tell you if there's an issue with your hard drive or not.

Okay, so I tried copying them to my original hard drive, one by one, with a flash drive inserted as well and it all worked fine? I'm not going to pretend I understand technology. Thanks for all the help, and for the awesome program! :D
 

s3phir0th115

Well-Known Member
Member
Joined
Dec 31, 2008
Messages
728
Trophies
1
XP
1,003
Country
United States
Thanks for making this! I was hoping a good script would be made to handle this.

Something I noticed in the script, you seem to be extracting the image and then rebuilding the iso from that to do the scrubbing. Why not just have wit scrub it directly with wit COPY?

Specifically, you can replace:

Code:
.\TOOLS\wit\wit.exe extract .\SOURCE_FILES\game.iso --DEST TEMP --psel data -vv1
.\TOOLS\wit\wit.exe copy TEMP --DEST .\WORKINGDIR\content\game.iso -ovv --links --iso

with

Code:
.\TOOLS\wit\wit.exe copy .\SOURCE_FILES\game.iso --DEST .\WORKINGDIR\content\game.iso --psel data -vv1 --iso

And you get equivalent results, in my testing. It's also loads more efficient.
 

s3phir0th115

Well-Known Member
Member
Joined
Dec 31, 2008
Messages
728
Trophies
1
XP
1,003
Country
United States
Last time I tried doing copy instead of extract and rebuild the resulting game nfs files wouldn't load, I will do more testing with it. Thanks!

No problem! And that makes sense, I wonder what would account for the difference in working or not.

Full transparency, mine I think are already scrubbed. I converted my existing wbfs to iso with wit. I don't know if that makes a difference compared to the retail image. The wit commands I think would produce an equivalent, but I don't have a retail image to compare against. I might have to dump my disc of it and try it.
 
Last edited by s3phir0th115,

s3phir0th115

Well-Known Member
Member
Joined
Dec 31, 2008
Messages
728
Trophies
1
XP
1,003
Country
United States
Would Wii Ultimate Unscrubber be of any use here?

https://gbatemp.net/threads/wii-ultimate-unscrubber.452110/

I wasn't aware there was such a thing, that's pretty neat.

Unfortunately I hit the free download limit on mega.nz. Now I'm dumping my disc of it. Hopefully it matches the Redump database.

If it does I'm going to try this tool again with the changed command and see if it works any different from my scrubbed image. In theory it shouldn't, but we'll see.
 

TeconMoon

Well-Known Member
OP
Member
Joined
Aug 7, 2007
Messages
749
Trophies
1
XP
2,604
Country
United States
Doing some testing tonight, has anyone noticed an issue with Classic Controller compatible games that if you enable GamePad classic controller emulation, trying to return to the Wii (U) Menu freezes the system?

I've been testing that with Super Smash Bros, and anytime I press home and select Wii Menu it crashes, but only if I've said launch the GamePad with classic controls. If I launch the exact same title and say no to GamePad controls, it returns to the menu just fine.

This may be a current limitation of nfs2iso2nfs but just wanted to see what others were experiencing.
 

wolf_

Well-Known Member
Member
Joined
Jan 22, 2012
Messages
518
Trophies
1
Age
42
XP
1,585
Country
United States
Doing some testing tonight, has anyone noticed an issue with Classic Controller compatible games that if you enable GamePad classic controller emulation, trying to return to the Wii (U) Menu freezes the system

I've been testing that with Super Smash Bros, and anytime I press home and select Wii Menu it crashes, but only if I've said launch the GamePad with classic controls. If I launch the exact same title and say no to GamePad controls, it returns to the menu just fine.

This may be a current limitation of nfs2iso2nfs but just wanted to see what others were experiencing.
I been playing Mario kart Wii and it don't freeze at all when exiting
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Do any am4 boards support ddr5