How to convert .3ds to romfs.bin?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Astragon, Sep 6, 2018.

  1. Astragon
    OP

    Astragon Advanced Member

    Newcomer
    1
    Feb 13, 2017
    United States
    Hello guys, I have the .3ds file of Monster Hunter Double Cross on Citra and am looking to edit some smallish stuff in it, nothing truly game breaking. I have a hex editor (HxD) ready to use, alongside the MH Mod Tools and Python 2.7 installed.

    Problem is, the Mod Tools require romfs.bin as the base game file to unpack and edit things. How do I convert .3ds to romfs.bin?
     
  2. Ryccardo

    Ryccardo and his tropane alkaloids

    Member
    12
    Feb 13, 2015
    Italy
    Imola
    1-command extraction with ctrtool:
    ctrtool file.3ds -n 0 --romfs=romfs.bin
     
    Last edited by Ryccardo, Sep 6, 2018
  3. Astragon
    OP

    Astragon Advanced Member

    Newcomer
    1
    Feb 13, 2017
    United States
    Ok, found and downloaded ctrtool but when I try to open it a window briefly flashes in and out of existence on my screen and nothing stays up.
     
  4. Dionicio3

    Dionicio3 AyyMDionicio3

    Member
    11
    Feb 26, 2017
    United States
    Hollister, CA
    You need to run it from cmd
     
  5. Astragon
    OP

    Astragon Advanced Member

    Newcomer
    1
    Feb 13, 2017
    United States
    Okay, how do I do that? It's been literal years since I've ever needed to run anything that way.
     
  6. Dionicio3

    Dionicio3 AyyMDionicio3

    Member
    11
    Feb 26, 2017
    United States
    Hollister, CA
    Open cmd, CD to wherever you have ctrtool and you ROM, and follow what @Ryccardo posted
     
  7. Astragon
    OP

    Astragon Advanced Member

    Newcomer
    1
    Feb 13, 2017
    United States
    Okay yeah I'm REALLY dense regarding command line, the program folder is on my desktop and idk what exactly to write in cmd to open the program. Can someone be kind enough to tell me exactly what command I need to write? I tried doing "start ctrtool" and "start "ctrtool.exe" and neither worked.
     
  8. Dionicio3

    Dionicio3 AyyMDionicio3

    Member
    11
    Feb 26, 2017
    United States
    Hollister, CA
    You don't need to type "start" just copy and paste the command ryccardo mentioned
     
  9. Astragon
    OP

    Astragon Advanced Member

    Newcomer
    1
    Feb 13, 2017
    United States
    Okay, I just typed:
    "ctrtool Monster Hunter XX (JPN) (RF) v1.2 English Patch v4.3ds -n 0 --romfs=romfs.bin" and it said it did not recognize ctrtool as a program or command.
     
  10. Dionicio3

    Dionicio3 AyyMDionicio3

    Member
    11
    Feb 26, 2017
    United States
    Hollister, CA
    You haven't CD'd to the directory

    I recommend googling the basics of using the command prompt, it will help you a lot with this
     
  11. Astragon
    OP

    Astragon Advanced Member

    Newcomer
    1
    Feb 13, 2017
    United States
    I just need to know what two commands are that I can save in a Word Doc on my PC and type them in exactly when I need to use them. Can you please tell me exactly what I need to type for this? As you can guess I know next to nothing about programming.
     
  12. Dionicio3

    Dionicio3 AyyMDionicio3

    Member
    11
    Feb 26, 2017
    United States
    Hollister, CA
    If you know nothing about programming may I ask why you require a romfs.bin?
     
  13. Astragon
    OP

    Astragon Advanced Member

    Newcomer
    1
    Feb 13, 2017
    United States
    I'm just trying to edit one .3ds game I have for the Citra emulator. I used Python cmd stuff several years ago to decrypt and re-encrypt the save data for Monster Hunter 4 Ultimate and someone on a forum like this just told me what to type.

    Just looking to do a couple very small edits and nothing more. No real need, problem is I need a romfs.bin of the Monster Hunter XX game file and I have a .3ds file currently. All I need are a pair of commands to create a romfs.bin from it and another to turn it back into .3ds when I'm done.

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

    Or better yet, what sort of converter program could I find that doesn't need command line to work?
     
  14. Dionicio3

    Dionicio3 AyyMDionicio3

    Member
    11
    Feb 26, 2017
    United States
    Hollister, CA
    Okay you need to type "cd <full path of folder>" then run ryccardo's command
     
  15. Astragon
    OP

    Astragon Advanced Member

    Newcomer
    1
    Feb 13, 2017
    United States
    Okay I typed:

    >cd C:\Users\Jason\Desktop\Windows_x86_64\ctrtool.exe Monster_Hunter_XX_(JPN)_(RF)_v1.2_English_Patch_v4.3ds -n 0 --romfs=romfs.bin

    And it said the system cannot find the path specified.
     
  16. Dionicio3

    Dionicio3 AyyMDionicio3

    Member
    11
    Feb 26, 2017
    United States
    Hollister, CA
    No type the cd command first, then press enter, then type the other command
     
  17. Astragon
    OP

    Astragon Advanced Member

    Newcomer
    1
    Feb 13, 2017
    United States
    Okay I typed in just the first part and it said the directory name is invalid.

    I typed:

    cd C:\Users\Jason\Desktop\Windows_x86_64\ctrtool.exe
     
  18. Dionicio3

    Dionicio3 AyyMDionicio3

    Member
    11
    Feb 26, 2017
    United States
    Hollister, CA
    Remove the "ctrtool.exe" from the cd command
     
  19. Astragon
    OP

    Astragon Advanced Member

    Newcomer
    1
    Feb 13, 2017
    United States
    Okay, now it shows:

    C:\Users\Jason\Desktop\Windows_x86_64>

    Now I type the stuff Ryccardo posted?
     
  20. Dionicio3

    Dionicio3 AyyMDionicio3

    Member
    11
    Feb 26, 2017
    United States
    Hollister, CA
    Yes
     
Loading...