[Tutorial] Text hacking OOT3D

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by nopy4869, Nov 2, 2015.

  1. nopy4869
    OP

    nopy4869 Member

    Newcomer
    26
    21
    Sep 23, 2015
    United States
    While I recognize nobody asked for this, I feel obligated to give something back to you guys, so here is a short guide for basic text hacking in OOT3D :D

    Pre-requisites:
    A copy of Ocarina Of Time 3D
    Method of dumping romfs files [braindump recommended]
    Ctrtool
    A hex editor [I recommend HxD]
    Method of rebuilding romfs files [RomFS-Builder recommended]

    Instructions:
    1. Dump the romfs from OOT3D
    2. Extract the data from the romfs file
    This can be done by running the following command, replacing <romfs> with the name of the romfs file:
    ctrtool -x -t romfs --romfsdir=romfs <romfs>​
    3. Navigate to "romfs/message/us/"
    4. Open the "us.qm" file in your hex editor of choice
    5. Find the text you want to replace and replace it
    6. When finished, use RomFS-Builder on the romfs folder
    7. Copy the rebuilt romfs file into your 3DS's SD card's hans folder with the name 00033500.romfs [This is right for the USA version, but EUR, CHN, JPN, etc are certainly different]
    8. You can now do 1337 shoutouts on your twitch stream like the mlg luminarty snoypah you are.

    Nitty gritty:
    There is definitely some sort of markdown format that the file uses, but I don't really have the time to figure it out. There is rudimentary support for features such as player name references and word coloring. Nothing too complicated, an hour could probably see all the work needed to figure it out. As for me, though, I have some homebrew to code.

    P.S. In case anyone wants to know, it is kind of hard to MLA cite your own personal experience, this thread is helping me cite that as a source :P
     
    Last edited by nopy4869, Nov 2, 2015
    shinyquagsire23 likes this.
  2. TheDuckMan64

    TheDuckMan64 Chicken nugget.

    Member
    355
    48
    Oct 9, 2015
    This is probably a really noob question, but how can I get ctrtools to work on OSX? I've compiled it from the 3dshax github page.
     
    Last edited by TheDuckMan64, Nov 2, 2015
  3. Asia81

    Asia81 In my Ecchi World <3

    Member
    4,874
    2,347
    Nov 15, 2014
    France
    Albi
    lol...
     
  4. TheDuckMan64

    TheDuckMan64 Chicken nugget.

    Member
    355
    48
    Oct 9, 2015
    Is a slightly different process for Mac. Assuming your using Windows?

    EDIT: Just figured it out just then.
     
    Last edited by TheDuckMan64, Nov 2, 2015
  5. nopy4869
    OP

    nopy4869 Member

    Newcomer
    26
    21
    Sep 23, 2015
    United States
    The tutorial is for Windows, but the only thing that isn't cross-platform is the Romfs-Builder. For that one I use Wine.
     
  6. Asia81

    Asia81 In my Ecchi World <3

    Member
    4,874
    2,347
    Nov 15, 2014
    France
    Albi
    the lol was for the tutorial, not for mac/windows/other