VC injection 3.0: HANS injection

Discussion in '3DS - Homebrew Development and Emulators' started by shutterbug2000, Oct 27, 2015.

  1. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,078
    2,090
    Oct 11, 2014
    United States
    So, after 2 patched browser sploits, I think it's time for a new way to do vc injection: using smea's new HANS homebrew.

    So, what do you need to do this? Well, let's see!

    A legit, purchased virtual console game that is gb/c, nes, or gba

    braindump

    packhack

    and a 3ds with *hax 2.5

    NOTE: This will WIPE the save of the virtual console game you choose to use this with. To keep the save and swap them out, use svdt.

    Now, how do we perform this? Well, you're first going to want to run braindump on your 3ds, selecting the virtual console game you wish to inject into. Wait for braindump to dump all the files. Now, take the sd and put it in a PC. Navigate to the new folder on the sd card that is called 00040000(other numberd here). Now, go into packhack and run "romfs extractor", selecting the romfs.bin within that folder. Wait for this to finish. Now, go into the folder on the sd card, and go into romfs_, then rom. Now, copy the nes, gb/c, or gba(gba NOT recommended, super slow...) rom into the folder. Now, go back into packhack, this time running "romfs builder". Select the romfs_ folder, and save this as a bin file somewhere. Now, open the .bin in HxD(google it). Press ctrl+e, and make the end offset 0xfff. Press delete, confirm if necessary, then save this. Now, copy it to the hans folder on the root of the sd, with the name (last 8 digits of that folder).romfs. Run hans, select the vc, and enable romfs modification. It should now run the vc with your custom rom.

    To use this with nes roms, run this tool on the nes rom.

    If you have any questions, feel free to ask! :)
     
    Last edited by shutterbug2000, Nov 3, 2015


  2. GBAFail

    GBAFail Smell my finger.

    Member
    491
    193
    Oct 26, 2015
    United States
    Uranus
    Going to try this ASAP. :)
     
  3. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,078
    2,090
    Oct 11, 2014
    United States
    Let me know how it goes :).
     
  4. zbw2000

    zbw2000 GBAtemp Fan

    Member
    350
    98
    Aug 28, 2014
    United States
    Yay! now i can finally play pokemon yellow again, as long as my save is still there.
     
  5. CeeDee

    CeeDee hm?

    Member
    3,803
    5,305
    May 4, 2014
    United States
    somewhere
    Forewarning - you'll need to make a VNES header if you want NES 3DS VC to work, I believe.
     
  6. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,078
    2,090
    Oct 11, 2014
    United States
    Ah, what do we need to do that so I can add it?
     
  7. CeeDee

    CeeDee hm?

    Member
    3,803
    5,305
    May 4, 2014
    United States
    somewhere
  8. GBAFail

    GBAFail Smell my finger.

    Member
    491
    193
    Oct 26, 2015
    United States
    Uranus
    Wow, I haven't finished yet but there are a lot of options you can customize for the VC. That's weird.
     
    shutterbug2000 likes this.
  9. Josephvb10

    Josephvb10 The Pokémon guy

    Member
    532
    384
    Aug 26, 2009
    Lumiose City
    Does the rom needs to be the same size as the one you already have?
     
  10. GBAFail

    GBAFail Smell my finger.

    Member
    491
    193
    Oct 26, 2015
    United States
    Uranus
    Does the file need to be named anything specific BTW?
     
  11. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,078
    2,090
    Oct 11, 2014
    United States
    Nope. It can be any size!

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

    No, anything you want.
     
  12. GBAFail

    GBAFail Smell my finger.

    Member
    491
    193
    Oct 26, 2015
    United States
    Uranus
    You might have missed it. Does the need to be named anything in particular?
    EDIT: NVM, we posted at the same time. Lol.
     
  13. Josephvb10

    Josephvb10 The Pokémon guy

    Member
    532
    384
    Aug 26, 2009
    Lumiose City
    Great, will try it. Another question: If i have a GameBoy VC, can I inject a GameBoy Color rom?
     
  14. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,078
    2,090
    Oct 11, 2014
    United States
    Yeah, you can even inject a gba game into a gb vc at 1 frame per 10 seconds XD
     
    Jwiz33, Margen67 and fmkid like this.
  15. GBAFail

    GBAFail Smell my finger.

    Member
    491
    193
    Oct 26, 2015
    United States
    Uranus
    Do I delete the file in the rom folder?
     
  16. zbw2000

    zbw2000 GBAtemp Fan

    Member
    350
    98
    Aug 28, 2014
    United States
    wow, i didn't even think that was possible.
     
    GBAFail likes this.
  17. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,078
    2,090
    Oct 11, 2014
    United States
    Yeah, it might cause issues if you don't.

    (although I believe on nes there's actually multirom)
     
    Margen67 and GBAFail like this.
  18. TLOZmaster

    TLOZmaster GBAtemp Regular

    Member
    255
    77
    Feb 21, 2015
    United States
    Hyrule
    Hey, it says 0xfff is invalid.
     
  19. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,078
    2,090
    Oct 11, 2014
    United States
    Try just fff without the 0x
     
  20. Josephvb10

    Josephvb10 The Pokémon guy

    Member
    532
    384
    Aug 26, 2009
    Lumiose City
    Hmm when I enter the modified VC game it prompts to reset the savedate, however, when doing so, it freezes.
     
    TheLittlestBowl and GBAFail like this.