WHAT IS "rom_tool" ?
"rom_tool" is a tool I wrote in light of the recently announced Gateway 3DS. It has three main features:
- Read 3DS ROMs, and print information about them, including actual ROM file size, and minimum required 3DS FW etc.
- Accurately trim 3DS ROMs, and be able to restore them again.
- Extract the partitions from 3DS ROMs (and other NCSD Images, such as NAND Dumps)
ROM trimming and un-trimming is tested(to trim and un-trim correctly), and works with all 3DS ROM sizes, large(4GB) and small(128MB).
NOTE: In release v2.6 and onwards, there exists a feature called "Super Trim". This works by removing the update partition(in addition to unused bytes) from the ROM. This has been tested by
Devin, and works with Gateway-3DS. However as this is removing used data from the ROM, the removed update partition
CANNOT be restored, and the ROM is
PERMANENTLY altered. As update partitions are approximately 30MB in size, Super Trimming offers little advantage over regular trimming when dealing with large ROMs. So Super Trimming a ROM should only be done when space is scarce.
NOTE: Super Trimmed ROMs are only compatible with Gateway Version 1.1 and above.
HOW TO USE
This is a command line tool, so you have to use cmd
.
View ROM/NAND Dump Info:
rom_tool -i Test.3ds
Extract ROM Partitions:
rom_tool -x <prefix for extracted files> Test.3ds
Trim ROM:
rom_tool -t Test.3ds
Super Trim ROM (Permanently remove update partition):
rom_tool -s Test.3ds
Restore ROM (Untrim):
rom_tool -r Test.3ds
DOWNLOAD(WINDOWS) : FileTrip (v2.6 Released: 20/8/13)
SOURCE CODE : GITHUB
Note the source code was written to be compatible with both Windows and Linux. When compiling on Windows, use MinGW, success not guaranteed with any other Windows developing environment.