Homebrew braindump prerelease - dump game contents on any system version!

Status
Not open for further replies.

Returnofganon

I pretend like I know what I'm talking about
Member
Joined
Jul 1, 2015
Messages
537
Trophies
0
XP
454
Country
United States
Wow man I made a thread not an hour ago asking if there was something like this. I salute you my good sir
 
  • Like
Reactions: Margen67

Selim873

Nunnayobeesnes
Member
Joined
Jul 31, 2010
Messages
1,275
Trophies
0
Age
30
Location
Chillin' with Bob Ross
XP
1,112
Country
United States
is it possible make a progress bar when dumping
thank you
----------
I try to use it dump files
it shows dumping code 。。。 2683KiB。。。
and not respond

It's slow. Using a stop watch and some math trying to rip the RomFS in MH4U, I think it's capped at 128KB/s overall. When it reaches RomFS, it'll show a realtime number count in bytes.
 
  • Like
Reactions: Margen67
D

Deleted User

Guest
Hi,

In the past few days, I've been working on a new tool called braindump. I'd hereby like to announce a pre-release of the tool, meant to help people interested in ROM hacking to get set up faster.

WHAT'S BRAINDUMP?
braindump is a 3DS userland homebrew application that can dump decrypted contents (both ExeFS and RomFS) of any 3DS game. This includes cartridge games, but also content obtained from the eShop and even some system applications. Even better yet, braindump runs on any system version since 9.0, including the most recent one.

WHAT IS IT USEFUL FOR?
Currently, it's for the most only useful for dumping game assets: Graphics, sounds, 3D models, etc. In particular, this should be useful for anyone interested in game modding.

braindump's feature set has been covered by uncart and Decrypt9 before, however braindump provides a few major advantages:
  • it runs on any system version newer than 9.0, including the most recent one. uncard and Decrypt9 are limited to system versions 9.2 or below.
  • it dumps cartridge games, eShop content, and (some) system applications in a uniform way. All three of these had to be decrypted with different commands before.
  • it's more convenient, since it can be launched directly from the Homebrew Launcher and only requires one operation step from starting to the decrypted content. uncart and Decrypt9 had to be launched through a separate program, and after dumping a game you had to restart your console and run another chain of commands to actually decrypt things.

DOWNLOAD AND USAGE
Binaries are available on GitHub. Note that I'm releasing the tool earlier than planned to make the HANS application shipping with *hax 2.5 more accessible to the broader masses (see below). For now, I'll keep the source code private, but rest assured it will be published as soon as I get to implementing the full feature set that was planned.

Extract the archive into your SD card's 3ds folder. The full path to the 3dsx should be "sd:/3ds/braindump/braindump.3dsx", and next to that file there should be an xml file. braindump must be launched from 3ds_hb_menu (3dslink or CIAs won't work). Upon launching, you will be asked for a target title - this is the application that will be dumped. Note that the tool will start dumping immediately after selecting the target title, so better make sure you have enough free space on your SD card.

Sorry for the lack of further instructions -- I'd rather get this thing out ASAP to make it useful for the more knowledgeable people. I'm sure we can clear up any confusion in the next few days, though ;)

FREQUENTLY ASKED QUESTIONS
How to ROM hack?!
At this stage, I cannot give you full instructions on how to mod a game, but here are some quick hints:
  • Dump the game contents using braindump on your 3DS. This will place the files exefs.bin and romfs.bin on your SD card (in a subdirectory with a 16-digit number as its name)
  • On your PC, extract the two files using ctrtool. Use "ctrtool --intype=romfs --romfsdir=romfsdir romfs.bin" and "ctrtool --intype=exefs --exefsdir=exefsdir --decompresscode exefs.bin" to unpack the romfs and exefs, respectively
  • Game modders will be interested in the contents extracted to romfsdir. Modify whatever you like, and repack the contents using 3dstool
  • Put the new romfs binary on your SD card. Start HANS on your 3DS and point it to the modded game, and make it replace the romfs with your new image. Note that for HANS to detect the romfs binary, you'll need to remove the first 0x1000 bytes from the romfs binary.

Can I use the dumps with Citra?
Unfortunately, not yet.

Will this break my 3DS?
It runs entirely in userspace, hence it's unlikely anything bad will happen. No guarantees though; I take no responsibility for anything that happens as a direct or indirect consequence of running this software on your 3DS.

I have a question and it isn't answered here!!!11
Give me a break, I wrote the FAQ 5 minutes before publishing this post! ;)

FUTURE PLANS
There's a lot more to come in braindump than just dumping ExeFS and RomFS. Stay tuned, I guess ;)
Great release! Now we just need a way to dump to our PCs via FTP :3
 
  • Like
Reactions: Margen67

Cornholio309

Well-Known Member
Member
Joined
Jun 23, 2013
Messages
202
Trophies
1
Age
27
XP
305
Country
United States
This is exactly what I was hoping would come around, and it came so much earlier than expected!

Thanks a bunch, man!
 
  • Like
Reactions: Margen67

Amapola62

Well-Known Member
Member
Joined
Oct 25, 2015
Messages
967
Trophies
0
Age
36
XP
557
Country
France
How would I patch my own version of Pokemon X to become Neo X ? I suppose I'll have to use that tool to dump it and then what ? I downloaded the packhax and python 2.7.7...where do i get the patch ?
 
  • Like
Reactions: Margen67

Giodude

GBAtemp's official rock
Member
Joined
May 17, 2015
Messages
5,094
Trophies
1
Age
23
Location
New York
XP
2,761
Country
United States
How would I patch my own version of Pokemon X to become Neo X ? I suppose I'll have to use that tool to dump it and then what ? I downloaded the packhax and python 2.7.7...where do i get the patch ?
That's the second thing i'm doing. Damn how is everyone reading my mind?
 
  • Like
Reactions: Margen67
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=KYZD7ykz9aQ