[RELEASE] WiiVC Injector Script

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

  1. KhaderWelaye
    OP

    KhaderWelaye GBAtemp Fan

    Member
    347
    244
    Mar 31, 2012
    United States
    Download: WiiVC Injector Script v1.0.6
    Beta: WiiVC Injector Script v2.0.0


    What's new in the beta:
    • GameCube Injection Support: Requires Nintendont on the SD Card
    • Wii DOL Homebrew Injection Support
    • Added support for GamePad Wii Remote emulation for Retail Wii games
    • Re-worked how WBFS files are handles for more stability

    Background:
    Thanks to many people, injecting Wii ISOs into the Wii U VC is now possible! However, it's a very long manual labor process. I got tired of doing things manually and decided to script the whole thing.

    What this tool does: This tool will take an ISO you've provided and export a fully packaged installer ready to go with WUP Installer GX2! (More technical breakdown at the bottom)

    Requirements:
    • Java 8 installed (Some tools rely on this)
    • Windows Vista/7/8.1/10
    It's fine if you don't meet the dimensions, but the script will stretch your picture to the correct dimensions if you don't which may result in ugly game icons or banners.

    Benefits:
    • One script does all the work instead of having to manually use 4+ programs
    • Failsafes to keep you from making a WUP package that won't work
    • Logging support for if something goes wrong, you can post the log files here for me to inspect
    • If your TGA or PNG isn't the right specification, the script will fix them to prevent bad title icons
    • Your wav file will be converted to the correct specification, so don't worry about saving the wav with a specific bitrate or etc

    Steps: YouTube Video of me demonstrating old version of the script - 5ish minutes
    • Download the WiiVC Injector Script.zip I've attached to this thread. 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
      • boot.dol for Wii Homebrew
      • game.iso or game.wbfs for Wii Retail ISOs
    • Place your 128x128 icon inside the SOURCE_FILES folder named iconTex.png OR iconTex.tga
    • Place your 1280x720 banner inside the SOURCE_FILES folder named bootTvTex.png OR bootTvTex.tga
    • (Optional) Place your 854x480 banner inside the SOURCE_FILES folder named bootDrcTex.png OR bootDrcTex.tga
    • (Optional) Place your boot sound file inside the SOURCE_FILES folder named bootSound.wav OR bootSound.btsnd
    • Run the WiiVC Injector Script
      • The first time you run this script, you will be asked for a specific Title Key and the Wii U Common Key. Find them with that one title key site and Google.
    • You will be asked for meta information about your game: the name of the game, the publisher, and whether or not the GamePad will emulate the Classic Controller. (WARNING: Lots of games don't work with CC emulation)
    • You will be given the option to manually specify a title id for the meta if you desire instead of using a random one.
    • If you provided a custom WAV file, you will be asked if you want it to loop
    • ???
    • PROFIT! You'll have a "Packed" folder in the same directory as the script shortcut which will contain your packed game, you can install it with WUP Installer GX2 (YOU MUST USE SIG PATCHES)!
    Thanks to all who made the tools necessary for this to be possible! Any and all feedback is appreciated.

    Credits:
    HomeBrew ISO Base:
    FIX94
    JNUSTool: Maschell
    nfs2iso2nfs: SO many people, sorry I can't keep track
    NUSPacker: timogus & ihaveamac
    PNG to TGA 2.6: Easy2Convert Software
    SoX: cbagwell, robs, & uklauer
    TGA to PNG 2.6: Easy2Convert Software
    wav2btsnd: timogus & Zarklord
    wbfs_file: oggzee & kwiirk
    Wiimms ISO Tools: Wiimms
     
    Last edited by KhaderWelaye, Sep 19, 2017 at 5:26 PM
    THYPLEX, Kleyon, BIFFTAZ and 47 others like this.


  2. THEELEMENTKH

    THEELEMENTKH A normal user

    Member
    850
    500
    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
    354
    34
    Jul 3, 2007
    Still Here
  4. MartyDreamy

    MartyDreamy *Objection Intensifies*

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

    Saintseiya911 Member

    Newcomer
    12
    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
    55
    5
    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,264
    747
    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
    768
    491
    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 Fan

    Member
    347
    244
    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
    726
    381
    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 Member

    Newcomer
    49
    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 Fan

    Member
    347
    244
    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 Member

    Newcomer
    49
    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
    308
    77
    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 Fan

    Member
    347
    244
    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 Member

    Newcomer
    49
    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
    308
    77
    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
    12
    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
    663
    202
    Apr 19, 2016
    United States
    This was so much easier! Great job. ^_^