Extract ExeFS and RomFS - ihaveamac/3DS-rom-tools GitHub Wiki

This guide explains how you can extract the contents out of an Executable Filesystem (ExeFS) and Read-Only Filesystem (RomFS).

Usually you would only have just ExeFS/RomFS files if you dumped a game using an older version of braindump.

Requirements

  • An ExeFS and/or RomFS file (often named exefs.bin, and romfs.bin/XXXXXXXX.romfs)
  • ctrtool
    If you are not using a 64-bit operating system, you must build the source yourself for now.
  • Basic knowledge of the Terminal/Command Line

Extracting

  1. Put your ExeFS and RomFS in its own folder.
  2. Extract the contents of the ExeFS. For example:
ctrtool -t exefs --exefsdir=exefs --decompresscode exefs.bin

Explanation of possible arguments for this situation:

  • -t or --type - Type of file (oddly required for extracting ExeFS, but not other types?)
  • --exefsdir=dir - Directory to save the ExeFS contents to
  • --decompresscode - Decompress code.bin
  1. Extract the contents of the RomFS. For example:
ctrtool --romfsdir=romfs romfs.bin

Explanation of possible arguments for this situation:

  • --romfsdir=dir - Directory to save the RomFS contents to
  • --listromfs - List RomFS contents
⚠️ **GitHub.com Fallback** ⚠️