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

Discussion in 'Wii U - Hacking & Backup Loaders' started by KhaderWelaye, Sep 9, 2017.

  1. KhaderWelaye
    OP

    KhaderWelaye GBAtemp Stubborn Injection Guy

    Member
    610
    613
    Mar 31, 2012
    United States
    Download: WiiVC Injector Script v2.2.6

    Changelog

    Requirements:
    • Java 8 installed (Some tools rely on this)
    • Windows Vista/7/8.1/10
    How to use:
    • Download the Injector Script from the top of the OP. All the tools it relies on are included.
    • Extract the ZIP to a folder
    • Place your game dump inside the SOURCE_FILES folder named the following:
      • game.gcm for GameCube Game
        • Use a 1:1 game dump for better compatibility
        • If you have a GameCube ISO just rename it to GCM
        • If you have a multi-disc GameCube game, the proper naming convention is game.gcm alongside disc2.gcm
      • game.iso or game.wbfs for Wii Retail ISOs
        • If your WBFS is split, the correct naming convention is game.wbfs with game.wbf1 alongside it
      • boot.dol for Wii Homebrew
    • Place the following files inside the SOURCE_FILES folder
      • REQUIRED:
        • Icon file named iconTex.png OR iconTex.tga - Dimensions: 128x128
        • TV banner named bootTvTex.png OR bootTvTex.tga - Dimensions: 1280x720
      • OPTIONAL, AND NOT RECOMMENDED AT ALL UNTIL YOU KNOW WHAT YOU'RE DOING:
        • Boot sound named bootSound.wav OR bootSound.btsnd
        • 854x480 GamePad banner named bootDrcTex.png OR bootDrcTex.tga
        • 170x42 logo named bootLogoTex.png OR bootLogoTex.tga
        • (FOR GAMECUBE ONLY) Replacement Nintendont Forwarder named main.dol
    • Run the WiiVC Injector Script. The first time you run it you will be asked for the following:
      • Rhythm Heaven Fever Title Key (Find it on that one Title Key site, starts with 04EA)
      • Wii U Common Key (Google it, starts with D7B0)
    • You will be asked for information about your game:
      • Game Name (Don't use special characters like the Pokémon é or & and stuff)
      • Game Publisher (Don't use special characters like the Pokémon é or & and stuff)
      • (For Wii Retail Games Only) GamePad Controller emulation mode
        • No GamePad Controls, Real Wii Remotes only (Recommended)
        • Classic Controller Emulation (DOESN'T WORK WITH A LOT OF GAMES)
        • Wii Remote Emulation (IR & MOTION NOT SUPPORTED, PRETTY MUCH WORTHLESS)
    • (HIGHLY EXPERIMENTAL, NOT RECOMMENDED) If you are injecting Wii Homebrew, you will be asked if you want to patch the title with cafe2wii to unlock the vWii's clock speed.
      • You will be asked for the Wii U Starbuck Ancast Key if it hasn't been previously provided or is wrong (Google it, starts with B5D8)
      • The resulting title WILL need to be installed to NAND to run, not USB
      • You will need to launch sign_cfw_patcher before you can run your title
    • A random 4-digit number will be used to modify the Title ID, you can specify one optionally if you wish (Not recommended) - Title ID Structure: 0005000000XXXXFF (Must be Hex values 0-F)
      • The end of every Title ID generated by this script has been modified so that it can not overwrite any system title
    • If you provided a custom bootSound.wav file, you can choose if you want it to loop
    • The script will go through a lot of steps to pack the game based on the information provided
    • Complete! The script will tell you the directory of your packed game, and you can install it with WUP Installer GX2 (YOU MUST USE SIG PATCHES TO INSTALL AND LAUNCH YOUR GAME)!
    Thanks to all who made the tools necessary for this to be possible! Any and all feedback is appreciated.

    Troubleshooting Tips:
    • Robocopy fail errors: If you get errors about Robocopy failing to create the working directory, either you are using an OS that doesn't include Robocopy (Windows XP) or JNUSTool failed to run properly. Make sure your OS supports Robocopy (Windows Vista and higher), also try uninstalling Java COMPLETELY and re-installing Java 8 from https://java.com. Post the logs here if you continue to have issues
    • Invalid PNG errors: If you get errors about your PNG files being invalid, open them in MS Paint, GIMP or a photo editor of choice and re-save them as valid PNG files. YOU CAN NOT JUST RENAME JPG FILES TO PNG AND EXPECT THEM TO WORK.
    • IOS58 errors: If you get IOS58 errors or a blank screen when trying to boot your game, make sure your Nintendont build is up to date. Download the latest version from its GitHub.
    • Minimum file requirements not met: Post the logs in the forum so we can determine where the script failed and why. The logs are log.txt and errorlog.txt
    Background: Thanks to many people, injecting GameCube games, Wii games, and Wii Homebrew into the Wii U VC is now possible! However, it's a very long manual labor process. This script aims to simplify the process.

    What this tool does: This tool will take a GameCube Game (GCM File), Wii Game (ISO or WBFS File), or Wii Homebrew (DOL File) you've provided and export a fully packaged installer ready to go with WUP Installer GX2!


    Credits:
    c2w_patcher 1.1:
    FIX94
    HomeBrew ISO Base: FIX94 & Ploggy
    JNUSTool 0.3b: Maschell
    Nintendont Autoboot Forwarder 1.2: FIX94
    nfs2iso2nfs 0.5.5: piratesephiroth, FIX94, and SO many more people
    NUSPacker: timogus & ihaveamac
    pngcheck: Alexander Lehmann, Andreas Dilger, Greg Roelofs
    PNG to TGA 2.6: Easy2Convert Software
    SoX 14.4.2: cbagwell, robs, & uklauer
    TGA to PNG 2.6: Easy2Convert Software
    wav2btsnd 0.2: timogus & Zarklord
    wbfs_file 2.6: oggzee & kwiirk
    Wiimms ISO Tools 3.00a: Wiimms
     
    Last edited by KhaderWelaye, Oct 17, 2017 at 5:11 PM


  2. THEELEMENTKH

    THEELEMENTKH GBAtemp Advanced Fan

    Member
    945
    589
    May 31, 2016
    Spain
    Hell
    Oh wow, this is awesome!
    I will try it when I've got the time.
     
  3. fatherjack

    fatherjack GBAtemp Fan

    Member
    359
    35
    Jul 3, 2007
    Still Here
  4. MartyDreamy

    MartyDreamy Smooches

    Member
    923
    1,689
    Jul 1, 2015
    Italy
    ZagToon Studios
    Finally, an easy script for injecting the Wii games :D Good job!
     
  5. Saintseiya911

    Saintseiya911 Member

    Newcomer
    16
    0
    Sep 4, 2017
    United States
    Great for sure it's easier now I can try wwe13 for sure plus mw3
     
  6. craftsk8

    craftsk8 Advanced Member

    Newcomer
    56
    6
    May 18, 2016
    Serbia, Republic of
    Code:
    :::::::::::::::::::::::::::::::::::::
    ::TeconMoon's WiiVC Injector Script::
    :::::::::::::::::::::::::::::::::::::
    
    Game packed successfully! Install the The Legend of Zelda Skyward Sword_PACKED folder using WUP Installer GX2
    or your WUP Installer of choice!
    
    where i can get The Legend of Zelda Skyward Sword_PACKED folder?? I can't find it =)
    all process takes 10 seconds and it strange
     
    Last edited by craftsk8, Sep 9, 2017
  7. Columbo2811

    Columbo2811 GBAtemp Maniac

    Member
    1,345
    800
    Jul 19, 2015
    Have you put right keys in. I accidentally put xenoblade chronicles X in when it's not x version.
     
  8. CreAtor135

    CreAtor135 GBATemp's #1 Nothing

    Member
    772
    499
    Jan 10, 2015
    United States
    Ikeb, Ukuro
    So theoretically speaking, if I enable HIDtoVPAD, inject Smash Bros Brawl, and enable Gamepad Classic Controller emulation, could I use a GameCube controller in the game? Same goes for any other Wii VC.
     
  9. KhaderWelaye
    OP

    KhaderWelaye GBAtemp Stubborn Injection Guy

    Member
    610
    613
    Mar 31, 2012
    United States
    That's what I was about to ask, if it completed in 10 seconds it definitely didn't build right. I will see if I can implement a check for the right key in the next version. In the meantime I would recommend you re-download the zip and make sure you use all the right keys.

    This isn't the case, when the system reloads into vWii mode to run the game HIDtoVPAD will be unloaded.

    — Posts automatically merged - Please don't double post! —

    I have updated the script to version 1.0.1 adding a check that the correct Title ID is provided. It will fail if it detects the wrong Title ID and tell you. The new download is available at the top of the OP.
     
    Last edited by KhaderWelaye, Sep 9, 2017
  10. cucholix

    cucholix No-Intro

    Member
    1,034
    561
    Jan 17, 2017
    Chile
    Amazing, would be possible add an option enter the output game id manually?
    Also for it recognize the .tga too directly?
     
    Last edited by cucholix, Sep 9, 2017
    Kamui-ce likes this.
  11. SuperMarioDaBom

    SuperMarioDaBom Advanced Member

    Newcomer
    50
    12
    Jun 6, 2016
    United States
    This is just what I need! I'm gonna go run this right now!

    Something that would be cool is to be able to add custom boot sounds. wav2btsnd can do the conversion.
     
  12. KhaderWelaye
    OP

    KhaderWelaye GBAtemp Stubborn Injection Guy

    Member
    610
    613
    Mar 31, 2012
    United States
    Both of these are probably implementable, I dabbled with custom boot sounds but figured it was out of scope for an initial release. I will add both of these to a to-do list :)
     
  13. SuperMarioDaBom

    SuperMarioDaBom Advanced Member

    Newcomer
    50
    12
    Jun 6, 2016
    United States
    Windows Defender thought that it was malware and blocked it.

    OH NOES ITSA DANGEROZ VIRUZ

    /joke
     
  14. LaPingas

    LaPingas FGC Monster

    Member
    366
    95
    Nov 2, 2016
    Israel
    Armada's Mustache
    GOOD JOB! THE THING IS MOVING FORWARD FASTER THAN EVER
    One question tho, can I play wiimmfi online after modifying the ISO? Will it be able to connect?
     
  15. KhaderWelaye
    OP

    KhaderWelaye GBAtemp Stubborn Injection Guy

    Member
    610
    613
    Mar 31, 2012
    United States
    I believe so, whether you inject the iso manually or use this script it shouldn't have an effect.
     
  16. MrFrodo18

    MrFrodo18 Member

    Newcomer
    37
    44
    Dec 1, 2016
    United States
    T-total noob question here. Since we have tools like this for Wii games, is it possible that one day we would be able to install GameCube games the same way? That would be a dream come true.
     
  17. SuperMarioDaBom

    SuperMarioDaBom Advanced Member

    Newcomer
    50
    12
    Jun 6, 2016
    United States
    It would have to be done through a homebrew app such as Nintendont, but in theory eventually it should be possible.
     
  18. LaPingas

    LaPingas FGC Monster

    Member
    366
    95
    Nov 2, 2016
    Israel
    Armada's Mustache
    Yooooooo neat
    Does it automatically change the Title ID? How do I change the Title ID to make this work and if it's manually how can I make up one?
     
  19. Saintseiya911

    Saintseiya911 Member

    Newcomer
    16
    0
    Sep 4, 2017
    United States
    Noob here question I have my iso I want to inject but have no nolledge of getting the title stuff or png stuff or key stuff if any one could help I would appreciate it as the game is WWE 13
     
  20. zeldaism

    zeldaism GBAtemp Advanced Fan

    Member
    782
    264
    Apr 19, 2016
    United States
    This was so much easier! Great job. ^_^