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

Goloki

Proud TX Suporter... LOL!
Member
Joined
Nov 24, 2006
Messages
458
Trophies
0
XP
849
Country
United States

That's a bummer to hear. My main reason for wanting GC VC was to be able to just open the game and play, without having to go through menus and using the Wiimote.

Well, I guess I better start learning to play with the gamepad, or else I'll have to go back to using a regular (non Wii VC-inject) Nintendont forwarder.
 

the_randomizer

The Temp's official fox whisperer
Member
Joined
Apr 29, 2011
Messages
31,284
Trophies
2
Age
38
Location
Dr. Wahwee's castle
XP
18,969
Country
United States
Agree with @wicksand420.
Apart from the lack of gamepad support on not64 we are now pretty much complete with RetroArch + WiiVC overclock + Wii/GC injections.

So you'd rather they don't have a standalone Wii U port of PCSX with better graphics/SPU plugins or N64 emulation with higher compatibility? I'm not trying to be ungrateful, I would think the few Wii U developers that are reading this thread will just decide not to bother at all. That's all I was saying. WiiSX and Not64 are fantastic with the full clock speed, it's just the emulators at their core, are fundamentally in need of improvement. That's all. If the screen tearing can be fixed, that would be a big improvement, it was disabled in WiiSX to help Wii performance.
 

TeconMoon

Well-Known Member
OP
Member
Joined
Aug 7, 2007
Messages
749
Trophies
1
XP
2,601
Country
United States
Alright version 2.2.0 has been released in the OP with the following changes:

## [2.2.0] = 2017-09-30
  • Added c2w patching support (REQUIRES patched titles to be installed to NAND launched with sign_c2w_patcher)
  • Replaced nintendont forwarders with v1.2
  • Replaced NUSPacker with FIX94's fork
  • Called all JAR files using java -jar instead of assuming that Windows file associations are actually correct
  • Added Internet Check before trying to use JNUSTool to prevent failures and more substantial checks for if all source files downloaded by JNUSTool actually exists
  • Merged Standard logging with Error logging
  • Cleaned up unnecessary WIT files
Here are the basic steps for injecting homebrew and patching it with cafe2wii
  1. Place your boot.dol in the SOURCE_FILES folder alongside your icon and banner.
  2. Run the script, after you're asked for your title and publisher you will be asked if you want to patch your title with c2w, choose y for yes.
  3. You will be asked for the Wii U Starbuck Ancast Key if it hasn't been provided or is wrong.
  4. The rest of the script will run as normal, after source files have been downloaded by JNUSTool you'll need to accept an admin prompt for c2w_patcher to patch the necessary files.
Some things to keep in mind:
  • Your resulting title MUST be installed to NAND, it won't run from USB
  • You need to launch sign_c2w_patcher before launching your title. It can be run from HBL, the HBL Channel, or even sneaked in alongside CBHC
As always thanks to @FIX94 for doing all the actual real work, the heavy lifting.

ti7BcY2.jpg


Also someone let me know if Spyro the Dragon ever works in WiiSXR :rofl2:
 
Last edited by TeconMoon,

Tyson TH

Well-Known Member
Member
Joined
Sep 23, 2013
Messages
159
Trophies
1
XP
239
Country
United States
So I'm trying to pack this one game and all of sudden everytime I finish installing and play it, it emulates the Wii Remote with the GamePad instead of the Classic Controller, I've already packed it twice making sure I specified to emulate the Classic Controller but it still ends up using the Wii Remote config for the GamePad every time I install it.
 

TeconMoon

Well-Known Member
OP
Member
Joined
Aug 7, 2007
Messages
749
Trophies
1
XP
2,601
Country
United States
So I'm trying to pack this one game and all of sudden everytime I finish installing and play it, it emulates the Wii Remote with the GamePad instead of the Classic Controller, I've already packed it twice making sure I specified to emulate the Classic Controller but it still ends up using the Wii Remote config for the GamePad every time I install it.
What game? I can not emphasize enough that many games don't work well with GamePad controller emulation, even if they say they support the classic controller.
 

markehmus

Well-Known Member
Member
Joined
Jul 26, 2008
Messages
1,521
Trophies
0
Age
112
Location
in the GAME
XP
1,279
Country
Canada
@KhaderWelaye your script 'scrubs' or truncates the .wbfs file with wit so the end result is less than the 4.(whatever) gb disc size .. i dont always use the script and i was wondering what the wit command was to shrink the game to 'scrub' size that you use , since i think i fail in 'shrinkin' the game when i do it
 

Tyson TH

Well-Known Member
Member
Joined
Sep 23, 2013
Messages
159
Trophies
1
XP
239
Country
United States
What game? I can not emphasize enough that many games don't work well with GamePad controller emulation, even if they say they support the classic controller.
Sonic Colors. I guess I just find it odd that it's emulating a Wii Remote scheme, but if it's really a case of it just not being incompatible then that's fine.
 

TeconMoon

Well-Known Member
OP
Member
Joined
Aug 7, 2007
Messages
749
Trophies
1
XP
2,601
Country
United States
@KhaderWelaye your script 'scrubs' or truncates the .wbfs file with wit so the end result is less than the 4.(whatever) gb disc size .. i dont always use the script and i was wondering what the wit command was to shrink the game to 'scrub' size that you use , since i think i fail in 'shrinkin' the game when i do it
First the script uses wbfs_file to convert the WBFS file to ISO (it seems to handle bad WBFS files better than WIT) and then runs a command to unpack and repack the ISO.

The repacked ISO is still 4.7GB, but it's aligned properly so when it's converted with NFS2ISO2NFS the resulting NFS files only take up the space they need.

So here's the process it would go through:
Code:
wbfs_file.exe sourcegame.wbfs convert temp.iso
wit.exe extract temp.iso --DEST TEMP --psel data -vv1
wit.exe copy TEMP --DEST game.iso -ovv --links --iso

Then shove the resulting game.iso file through NFS2ISO2NFS. An important part of this is that WIT is only looking for and using the Data partition, as last I checked NFS2ISO2NFS can only handle one partition.
 
Last edited by TeconMoon,
  • Like
Reactions: markehmus

markehmus

Well-Known Member
Member
Joined
Jul 26, 2008
Messages
1,521
Trophies
0
Age
112
Location
in the GAME
XP
1,279
Country
Canada
First the script uses wbfs_file to convert the WBFS file to ISO (it seems to handle bad WBFS files better than WIT) and then runs a command to unpack and repack the ISO.

The repacked ISO is still 4.7GB, but it's aligned properly so when it's converted with NFS2ISO2NFS the resulting NFS files only take up the space they need.

So here's the process it would go through:
Code:
wbfs_file.exe sourcegame.wbfs convert temp.iso
wit.exe extract temp.iso --DEST TEMP --psel data -vv1
wit.exe copy TEMP --DEST game.iso -ovv --links --iso

Then shove the resulting game.iso file through NFS2ISO2NFS. An important part of this is that WIT is only looking for and using the Data partition, as last I checked NFS2ISO2NFS can only handle one partition.
thank you for this , i looked at the script with 'edit' but some % signs and stuff confuse me
 

kevinbrew

Well-Known Member
Member
Joined
Nov 14, 2016
Messages
451
Trophies
0
Age
46
XP
603
Country
Your New Script Didnt Work 4 me. Injected Wiisxr with c2w patching and i get an error code 160-2793. Also the packed install folder is smaller in size than when i manually- c2w signed- with older script
 
Last edited by kevinbrew,

TeconMoon

Well-Known Member
OP
Member
Joined
Aug 7, 2007
Messages
749
Trophies
1
XP
2,601
Country
United States
@kevinbrew
WIT failed to pack your ISO completely which resulted in a corrupt ISO, and then failed to extract the Ticket and TMD from it afterwards.

The error indicated by WIT is that there's not sufficient space on your local drive.

it: Wiimms ISO Tool v3.00a r7387 cygwin - Dirk Clemens - 2017-08-13

1 object scanned, 1 supported file found ...
1 object scanned, 1 supported file found.
* COPY/SCRUB 1/1 FST:TEMP -> ISO:WORKINGDIR/content/game.iso
!! wit: ERROR #86 [WRITE FILE FAILED] in SetSizeSF() @ src/lib-sf.c#1777
!! Set file size failed [F=4,4699979776]:
!! WORKINGDIR/content/.game.iso.yhhnwJ.tmp
!! -> No space left on device [28]
16% copied in 0:02 (0.0 MiB/sec) -> ETA 0:14
1 MiB copied in 0:02, 0.2 MiB/sec
 

kevinbrew

Well-Known Member
Member
Joined
Nov 14, 2016
Messages
451
Trophies
0
Age
46
XP
603
Country
@kevinbrew
WIT failed to pack your ISO completely which resulted in a corrupt ISO, and then failed to extract the Ticket and TMD from it afterwards.

The error indicated by WIT is that there's not sufficient space on your local drive.

it: Wiimms ISO Tool v3.00a r7387 cygwin - Dirk Clemens - 2017-08-13

1 object scanned, 1 supported file found ...
1 object scanned, 1 supported file found.
* COPY/SCRUB 1/1 FST:TEMP -> ISO:WORKINGDIR/content/game.iso
!! wit: ERROR #86 [WRITE FILE FAILED] in SetSizeSF() @ src/lib-sf.c#1777
!! Set file size failed [F=4,4699979776]:
!! WORKINGDIR/content/.game.iso.yhhnwJ.tmp
!! -> No space left on device [28]
16% copied in 0:02 (0.0 MiB/sec) -> ETA 0:14
1 MiB copied in 0:02, 0.2 MiB/sec
Yes my space on HDD is indeed low. thanks will clean up my computer and get back to you. thanks for the script:):)
 

linkchidori

Well-Known Member
Member
Joined
Nov 12, 2013
Messages
169
Trophies
1
Age
25
XP
1,819
Country
Mexico
Im trying to use the WiiSX Forwarder on my Wii U, but even though i press yes when asked about using the gamepad, im not able to use it, it doesnt detect any controller, does someone knows how to fix it?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Xdqwerty @ Xdqwerty:
    also gonna install twilight menu in my r4 flashcard
  • Psionic Roshambo @ Psionic Roshambo:
    One thing that just occurred to me.... The sound on the 2600 sucked less back then the harsh sound we hear now is from infinitely better speakers we have now, back when the 2600 was new speakers produced a almost muffled sound, like CRTs made old graphics look slightly better.
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder if I could recommend that to some emulation devs that perhaps the sound could use some smoothing out to simulate those old TVs
  • Psionic Roshambo @ Psionic Roshambo:
    I think a few of the early systems could benefit from that, at least up to the 8 bit generation, by the 16 bit generation I think TVs had gotten a lot better in almost every way
  • Xdqwerty @ Xdqwerty:
    i dont have an sd card adapter but I have an usb sd card adapter
  • K3Nv2 @ K3Nv2:
    Old people games
  • Xdqwerty @ Xdqwerty:
    its not the one that comes with the r4
  • Xdqwerty @ Xdqwerty:
    doesnt work (my flashcard is from r4isdhc.com)
  • Xdqwerty @ Xdqwerty:
    might install ysmenu first
  • Psionic Roshambo @ Psionic Roshambo:
    Try Wood firmware
  • Psionic Roshambo @ Psionic Roshambo:
    For your R4
  • Psionic Roshambo @ Psionic Roshambo:
    It's old but it's the best firmware out for DS stuff
  • Xdqwerty @ Xdqwerty:
    it says it only works for the original R4, R4i Gold (r4ids.cn), R4iDSN (r4idsn.com) and Acekard R.P.G.
  • Xdqwerty @ Xdqwerty:
    nvm it does support mine
  • Xdqwerty @ Xdqwerty:
    but why choose it over ysmenu @Psionic Roshambo?
  • Xdqwerty @ Xdqwerty:
    bc im stupid?
  • Xdqwerty @ Xdqwerty:
    yea ik im stupid
  • Xdqwerty @ Xdqwerty:
    good night
  • Psionic Roshambo @ Psionic Roshambo:
    Just give it a try, but honestly if you have a 3DS you can play DS games without a card just off the internal SD card
  • Psionic Roshambo @ Psionic Roshambo:
    Slightly slower loading but a bit more convenient
  • BakerMan @ BakerMan:
    guys, my fuckin headphones have an out of place speaker
  • K3Nv2 @ K3Nv2:
    Did you try wearing them?
    B @ btjunior: @Xdqwerty 16