[RELEASE] Injectiine - Wii U Virtual Console Injector

Discussion in 'Wii U - Hacking & Backup Loaders' started by CatmanFan, Dec 8, 2017.

  1. Raymo

    Raymo Newbie

    Newcomer
    1
    Mar 12, 2016
    Belgium
    I was trying to inject a GBA ROM (specifically a few Game Boy ROMs wrapped in Goomba Color) just now, without much success. All it gave me was a black screen (with a working home menu). Eventually I noticed it was specifically trying to load Python 3.4 to run inject_gba, which I don't have installed. I changed the batch file to make it load Python 3.6 instead, but this just gave me another black screen, this time without a working home menu.
    After like 5 hours of pulling my hair out, I eventually extracted the ROMs from the two provided bases and noticed they were both 16MB, whereas my ROM was only 1.57MB. I padded it with zeroes up to 16 megs and apparently that was enough to convince it to work.
    So if your ROMs are tiny then pad them I guess.
     
    CatmanFan likes this.
  2. xs4all

    xs4all GBAtemp Regular

    Member
    4
    Jun 9, 2008
    Australia
    That is correct, with GBA injects, specifically if your doing GB or GBC with Goomba, the output GBA file MUST be any of the ROM files sizes that is currently available for the GBA, so padding is necessary.
    You can PAD to any of the GBA file sizes:
    2mb (2,048 KB)
    4mb (4,096 KB)
    8mb (8,192 KB)
    16mb (16,384 KB)
    32mb (32,768 KB)

    For most Goomba injected SINGLE GB/GBC games only, you can get away with 2mb padding size, or just use 4mb to be safe. If your doing multiple GB/GBC games in a single GBA file, just pretty pad to the next GBA Rom size above and you should be good to go.

    Added Info:
    For those that don't know how to pad the roms to the specific size, I'm sure there are apps out their that do this, however I'm old school and use HEX editor app HxD Hex Editor.

    In a nutshell:
    - Open up the Goomba GBA rom and depending on the size of the Goomba rom that you created, refer to the above GBA rom sizes.
    - Find/download a GBA rom that is the same size that you will be padding to (You need to do this to get the offsets).
    - Open the official GBA rom in HxD Hex Editor as well (You will now see two tabs open).
    - On the official GBA ROM, scroll down to the very end of the file, note down the ending offest.
    - Back to the Goomba GBA rom tab, scroll down to the end of the file and just insert either "00" or "FF" until you read the same offset as the official rom.
    - Save file.
    - Use GBA Emulator on the PC to make sure the Goomba GBA Rom boots fine.
    - Inject as per normal.

    I'm sure there is several ways to do the above which will achieve the same results but that is how I roll.
     
    Last edited by xs4all, Apr 23, 2018
    Raymo and CatmanFan like this.
  3. aasfhls

    aasfhls Member

    Newcomer
    1
    Nov 1, 2017
    United States
    By any chance, do you have the fixed batch file? I tried padding out my ROM files, but still get the black screen+home menu as a result.
     
  4. TJF588

    TJF588 Member

    Newcomer
    1
    May 12, 2017
    United States
    Trying to use Mario & Luigi myself, but due to the way it displays, as shown in that screenshot, I can't tell if it's the USA or EUR version (which I'd think is important for its titlekey).

    Also, so far trying the M&L route has just resulted in the window closing on me. My attempts using MC did result in an output, though it had the black screen problem after installation.
     
    Last edited by TJF588, Apr 23, 2018
  5. michigander

    michigander Member

    Newcomer
    1
    Apr 23, 2018
    United States
    So, I'm not entirely sure what I'm doing wrong. All my NDS injects have gone flawlessly, but for some reason I run into some trouble with the GBA ones. For starters, Mario & Luigi show up weirdly as shown in picture 2. And when trying to use that game to inject other GBA games (so far I've tried Advance Wars and Advance Wars 2) I get the error shown in picture one. Injectiine then crashes after that. When trying to use Minish Cap, I only get a black screen on my Wii U, no crashing though. Should I use my own base files? How do I go about doing that?
     

    Attached Files:

    Mudwaster, CatmanFan and TJF588 like this.
  6. CatmanFan
    OP

    CatmanFan rip my right Joy-Con rail

    Member
    7
    Aug 14, 2016
    Morocco
    Hmph. I programmed this in Windows 7 so it's possible that these issues can occur on versions above Windows 7.
    I will be releasing a fix probably soon, but I don't know when honestly.
     
    Mudwaster and TJF588 like this.
  7. michigander

    michigander Member

    Newcomer
    1
    Apr 23, 2018
    United States
    I am using Windows 10 so I do not know if that is what may be causing the issues.
     
    CatmanFan likes this.
  8. Alacres

    Alacres GBAtemp Regular

    Member
    3
    Dec 11, 2009
    United States
    I've spent the last several hours trying to compile a GBA inject and I'm not having much luck. I have the two png files (found pictures myself on google and resized them to the required dimensions), and the rom of the game I want to inject. I made sure to put them in the "Files" folder. I also downloaded the US version of Minish Cap from USB Helper (because that's the version listed for Shining Force), unpacked them, and put the content, meta, and code folders in the "base" folder that I made within the "Files" folder. After that, I tried running Injectiine, picked GBA, tried the EUR version of Minish Cap initially since it was one of the existing base options, put in the title key for it and the Wii U common key, and when I went to compile it, it kept looping something and then just closed out. It goes so fast it's difficult to see what all is going wrong before it closes, but I could see "No cache TMD found". I then tried it again using my own base (the US version of Minish Cap) and I got an "Invalid Title ID" error, even though I picked the option for a random one. I also wasn't sure what to put for the 4-digit product code; I just used a random four digits. Not sure if that matters or not.

    So yeah, I'm pretty lost at this point. I'd really like to inject this Shining Force game but I can't figure out what I'm doing wrong. If anyone could help me out, I'd really appreciate it.

    Edit: Btw, I made sure to update to the latest Java too
     
    Last edited by Alacres, May 3, 2018
  9. alonzondavis

    alonzondavis GBAtemp Regular

    Member
    3
    Jun 16, 2016
    United States
    Im trying to inject a NDS game and I get this error repeating alot
    errorinjectiinwiiu.png
    -Im using Brain Training [EUR] as the base
    -The rom in question is Super Mario 64 DS with the Sonic over Mario patch found here

    I noticed the error message mentions java, but there isnt anything listed in the OP about installing Java, so what im supposed to use here? is it java 8- same as for the WiiVC inject? I havent installed it yet on my new pc but I will in a bit.

    ---yup needed java 8-it works now cool!
     
    Last edited by alonzondavis, May 5, 2018
  10. david11567

    david11567 Newbie

    Newcomer
    1
    Oct 5, 2017
    Australia
    I think this program is wonderful. My favourite injector tool.
     
  11. Theamazingrpm

    Theamazingrpm Newbie

    Newcomer
    1
    May 16, 2018
    United States
    Hey CatmanFan can you please help me? I've downloaded Injectiine and tried to run the program, and when I pressed Option 3 (I am trying to inject and download Super Smash Bros 64 to my Wii U), all it did was crash on me completely. There was some new text on there that appeared in the program when I put in that option, but it then closed on me and I couldn't see it. I have already installed both Java and Python on my machine, and it still does the same thing: crashes.
    Thanks.
     
  12. wiiztec

    wiiztec GBAtemp Fan

    Member
    3
    Apr 3, 2009
    United States
    Can this edit already injected games in WUP installer ready format? if not is there something that can?
     
  13. CatmanFan
    OP

    CatmanFan rip my right Joy-Con rail

    Member
    7
    Aug 14, 2016
    Morocco
    As far as I know, there isn't any software that does this. Mine doesn't have an option either. You should for now just dump whatever inject you want to edit.
     
  14. wiiztec

    wiiztec GBAtemp Fan

    Member
    3
    Apr 3, 2009
    United States
    What do you mean dump it?
     
  15. CatmanFan
    OP

    CatmanFan rip my right Joy-Con rail

    Member
    7
    Aug 14, 2016
    Morocco
    Probably using DDD or FTPiiU-Everywhere.
     
  16. wiiztec

    wiiztec GBAtemp Fan

    Member
    3
    Apr 3, 2009
    United States
    FTPiiU-Everywhere still only lets me see the SD card. How do I use DDD? it says I need some kind of server application
     
  17. frankadank

    frankadank Member

    Newcomer
    1
    Dec 4, 2017
    United States
    Can this tool be used to inject wiiware wads such as Castlevania: ReBirth?
     
  18. CatmanFan
    OP

    CatmanFan rip my right Joy-Con rail

    Member
    7
    Aug 14, 2016
    Morocco
    No. This only injects Wii U mode VC (NES, SNES, N64, GBA, NDS).
    If you want to inject Wii WADs, use this.
     
  19. ficknoog

    ficknoog Newbie

    Newcomer
    1
    May 20, 2018
    United States
    does the base vc game your injecting into have to be a legit copy?

    edit: figured it out oops
     
    Last edited by ficknoog, May 20, 2018
  20. DitDit

    DitDit Member

    Newcomer
    1
    May 21, 2018
    United Kingdom
    Can someone help? I keep getting this error:

    Capture.PNG
    Please help this is killing me. :hateit:
     
    Last edited by DitDit, May 21, 2018
Loading...