Possible to run a RomHack build using 3DS Builder in Citra?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Asia81, Mar 25, 2016.

  1. Asia81
    OP

    Asia81 In my Ecchi World <3

    Member
    5,133
    2,556
    Nov 15, 2014
    France
    Albi
    I need to start my hack of AS in Citra.
    It's not for play, so I don't care about FPS, it's just for take a screenshot of the title banner (as I don't have my 3ds under the hand) and some speeches of Birch.

    I can start a clean rom decrypted by D9 with Citra without any issues, but not when it's a .3ds rebuild using 3DS Builder.
     
  2. Ironclad17

    Ironclad17 Member

    Newcomer
    35
    6
    May 9, 2016
    United States
    I've been troubleshooting this as well. I've been using your HackingToolkit3DS and 3DS to CIA Converter. 3DS to CIA Converter produces a Rom that will load in Citra but is known to have glitches with some Roms due to its use of ctrtool like causing invisible text for example. I'm told RomFS Extractor/Builder doesn't have those issues which is what lead me to your toolkit.
    http://www.maxconsole.com/maxcon_forums/threads/285574-3DS-To-CIA-Converter-v4-1

    I noticed that with your first option "Enter D for extract a file/game decrypted" some files get unpacked that are not included again in 3DS Builder, DecryptedManual.bin and DecryptedO3DSUpdate.bin. I don't have the full picture but I also noticed that your method produces a smaller code.bin compared to 3DS to CIA Converter which only unpacks the romfs.bin, exefs.bin and produces a RSF file and exheader.bin (see the .bat under :3dsfix). 3DS to CIA Converter uses ctrtool to do the unpacking, what tool/lines are you using? I can't actually check myself because I don't know how to view the line commands from a .exe.

    Personally, I'm just trying to add a patch to a game, but since 3DS to CIA Converter uses ctrtool it has been troublesome. 3DS to CIA Converter uses a tool labeled "_makerom.exe" to actually build the Rom after all the editing. I don't know how it differs from 3DS Builder but its Roms at least run in Citra.

    I think if I could just get the untouched exefs.bin and romfs.bin, unpack with RomFS Extractor, edit, pack with RomFS Builder, and then get _makerom.exe to use that, it would work.

    I'm looking into using 3dstool instead.

    I think I finally got it working with this toolkit: https://gbatemp.net/threads/the-unofficial-guide-of-nsmb2-hacking.380325/

    The key tools are:
    RomFS Builder
    ExInjector
    3DSExplorer
     
    Last edited by Ironclad17, May 12, 2016
    Thelostrune likes this.
  3. 19jind

    19jind Newbie

    Newcomer
    3
    0
    Mar 19, 2017
    United States
    Er... how would one exactly install a rom hack? For example, the Gay Marriage hack for Fire Emblem Fates?
     
  4. Ironclad17

    Ironclad17 Member

    Newcomer
    35
    6
    May 9, 2016
    United States
    You just unpack the rom overwrite the romfs folder with the edited files and repack it. The easiest way is to follow that nsmb2 hacking guide I linked.
     
  5. Competitively

    Competitively Member

    Newcomer
    14
    0
    Feb 22, 2017
    United States
    link?
    edit:nvm
     
  6. PKMNTrainerTom

    PKMNTrainerTom Newbie

    Newcomer
    7
    0
    Aug 27, 2017
    Bangladesh
    Ironclad, did the hacked game cause any bugs or anything in Citra? I need to test it out before putting it into my 3ds.