Hacking [RELEASE] 3DS Multi EmuNAND Creator

Ronhero

Too Weird to Live, Too Rare to Die
Member
Joined
Jun 28, 2014
Messages
3,470
Trophies
1
Location
Arizona Bay
Website
127.0.0.1
XP
2,062
Country
United States
Just posting here to let you know, @DarkMatterCore, that Cakes has recently added multi emuNAND support (thanks to someone's contribution), and I thought it'd be a nice idea to be able to give them names. The way this is done is very simple: In the first sector of the emuNAND, which is unused by both GW emuNAND and redNAND, at the very beginning, it has to contain the string "NAME", followed by the name of the emuNAND (31 chars max., zero-teminated). See code. Just letting you know, in case you want to include the option to name it in your tool.

I'd there a .3dsx that points at emunand #2 that will boot from crt?
 

DarkMatterCore

Finding my light.
OP
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,602
Country
Spain
v1.3 released. Here's the changelog:

v1.3:
* It is now possible to set a custom name to an EmuNAND, which can be displayed by CakesFW in its Multi EmuNAND selection menu.
* The program is now able to format the FAT32 partition without calling the format.exe tool from Windows, using code from fat32format by Ridgecrop.
* Added compatibility with exFAT SD cards. Please have in mind that these cards *will* get formatted to FAT32, if they already aren't.
* Fixed some threading bugs.

If you have been having problems with the last few releases, I highly recommend you try out this one. Feedback is appreciated, as always.

@DarkMatterCore Sorry for the stupid question but:

I have 2x N3DS systems with WORKING EMUNANDs. I created one partition EMUNANDS for both of them with v1.0 of multinand creator. I have been UNABLE to extract EMUNAND from either SD card since their creation. I v1.0 I got the no SD card with emunand signature error and with 1.2 I just get greyed out extract buttons and no valid drives available.

I am pretty technical but don't know where to locate all of the relevant documentation. Would you mind directing me to the offsets and contents of relevant signature locations and checks such that I might examine my EMUNAND partition and see why it's not working? I think it's odd that I have created 3 emunands (I had to wipe my very first one when I couldn't extract and figured reformatting with the tool would fix it) and I can't extract from any of them.

1 of them is a 128GB card, one is a 32GB card. I have been working in windows 10 and am running as administrator.

The flashcard string is stored at the very beginning of the MBR (sector #0, offset 0x00) and is 11 bytes long. It should read "GATEWAYNAND".

If you have time to spare, please try the latest release.

Would it be possible to have a triple region CFW set up going on. sysNAND be USA, 1st emuNAND be EUR, 2nd emuNAND be JPN? That would make importing games a bit easier, instead of using regionFOUR or having multiple 3DSes.

Of course it's possible, but you'd have to deal with the region change procedure twice.
 
  • Like
Reactions: kiwiis

DarkMatterCore

Finding my light.
OP
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,602
Country
Spain
can i use this to transfer my 4gb sd card to a 128gb one? if not then can anyone pls tell me the easiest way to do so?

You should now be able to do so with the latest release (v1.3). Just backup the EmuNAND from your *old* SD card and format the EmuNAND on the *new* SD card using the previously extracted backup. It's a pretty straightforward process.
 

richardparker

Well-Known Member
Member
Joined
Oct 10, 2014
Messages
707
Trophies
0
Age
23
Location
Swallowed up by the ocean!
XP
388
Country
India
You should now be able to do so with the latest release (v1.3). Just backup the EmuNAND from your *old* SD card and format the EmuNAND on the *new* SD card using the previously extracted backup. It's a pretty straightforward process.
it is straightforward but im really sorry cuz i dont get it pls help and thanks im a noob.
 

d0k3

3DS Homebrew Legend
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Just an idea, but you may want to also include 3DSFAT16tool and 3DFIRMtool functionality into this. Would require XORpads (as generated by, f.e. Decrypt9), of course, but I'm pretty sure a lot of users would be thankful for a more streamlined approach to dumping CTRNAND / TWLN / FIRM0FIRM1.

EDIT: On second thought, leave 3DSFIRMtool out of this. This is only useful for experimental arm9loaderhax setup now and won't do any good otherwise. if you should consider this, that is.
 
Last edited by d0k3,
  • Like
Reactions: DarkMatterCore

gallymimu

EE Expert
Member
Joined
Mar 15, 2009
Messages
466
Trophies
0
XP
699
Country
United States
The flashcard string is stored at the very beginning of the MBR (sector #0, offset 0x00) and is 11 bytes long. It should read "GATEWAYNAND".

If you have time to spare, please try the latest release.

String seemed to be missing. I added it and am now able to extract NAND. I haven't tried re-injecting to see if it is "all good"

For reference I used gateway to extract sysnand originally and v1.0 of this tool to create the EMUNAND. It didn't create the GATEWAYNAND string for some reason.
 

DarkMatterCore

Finding my light.
OP
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,602
Country
Spain
Just an idea, but you may want to also include 3DSFAT16tool and 3DFIRMtool functionality into this. Would require XORpads (as generated by, f.e. Decrypt9), of course, but I'm pretty sure a lot of users would be thankful for a more streamlined approach to dumping CTRNAND / TWLN / FIRM0FIRM1.

EDIT: On second thought, leave 3DSFIRMtool out of this. This is only useful for experimental arm9loaderhax setup now and won't do any good otherwise. if you should consider this, that is.

Sure thing, I'll look into that for the next release. Thanks for the suggestion.

String seemed to be missing. I added it and am now able to extract NAND. I haven't tried re-injecting to see if it is "all good"

For reference I used gateway to extract sysnand originally and v1.0 of this tool to create the EMUNAND. It didn't create the GATEWAYNAND string for some reason.

Well, technically, previous versions weren't compatible with SDXC cards, because they used the format.exe tool from Windows. I guess that's the reason.

I'm actually interested to try the new version with more SDXC cards, though. I have none, to be honest, and I have to rely on my friends to test most of the changes.
 
Last edited by DarkMatterCore,

gallymimu

EE Expert
Member
Joined
Mar 15, 2009
Messages
466
Trophies
0
XP
699
Country
United States
Well, technically, previous versions weren't compatible with SDXC cards, because they used the format.exe tool from Windows. I guess that's the reason.

I'm actually interested to try the new version with more SDXC cards, though. I have none, to be honest, and I have to rely on my friends to test most of the changes.

Really? At what point in your program is the MBR header information inserted? Is that actually part of the call to format.exe?
 

gallymimu

EE Expert
Member
Joined
Mar 15, 2009
Messages
466
Trophies
0
XP
699
Country
United States
It is inserted only after the FAT32 partition has been successfully formatted. The format.exe tool can't format SDXC cards to FAT32.

Ah, got it. It never occurred to me that I wasn't meant to manually format the FAT32 partition, I assumed that was normal process :) It makes complete sense now.

Thanks so much for the help, it was driving me nuts that I couldn't extract and didn't know where the signature belonged!
 
  • Like
Reactions: DarkMatterCore

DarkMatterCore

Finding my light.
OP
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,602
Country
Spain
Ah, got it. It never occurred to me that I wasn't meant to manually format the FAT32 partition, I assumed that was normal process :) It makes complete sense now.

Thanks so much for the help, it was driving me nuts that I couldn't extract and didn't know where the signature belonged!

No problem, I'm glad to help. :)
 

Ketchup901

Well-Known Member
Member
Joined
Nov 1, 2015
Messages
129
Trophies
0
Age
23
Location
Stockholm
XP
171
Country
When I try to extract emuNAND it says the following:
b17979cd82645b919fd5a88f78c305cd.png
 

Ketchup901

Well-Known Member
Member
Joined
Nov 1, 2015
Messages
129
Trophies
0
Age
23
Location
Stockholm
XP
171
Country
Last edited by Ketchup901,

DarkMatterCore

Finding my light.
OP
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,602
Country
Spain

Ketchup901

Well-Known Member
Member
Joined
Nov 1, 2015
Messages
129
Trophies
0
Age
23
Location
Stockholm
XP
171
Country
If you're only using a single EmuNAND, then yes, you should just pick "1". It's the default value, anyway.
Thanks, sorry for being retarded.

--------------------- MERGED ---------------------------

@DarkMatterCore Okay I just injected emuNAND.bin into NAND #2, and now Windows tells me I need to format the SD card before I can use it.
Should I format it?
 

DarkMatterCore

Finding my light.
OP
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,602
Country
Spain
Thanks, sorry for being retarded.

No problem at all, really. It's most likely my fault for sucking at GUI designing.

@DarkMatterCore Okay I just injected emuNAND.bin into NAND #2, and now Windows tells me I need to format the SD card before I can use it.
Should I format it?

Are you using v1.3? The new partition should have been automatically formatted.
 

Ketchup901

Well-Known Member
Member
Joined
Nov 1, 2015
Messages
129
Trophies
0
Age
23
Location
Stockholm
XP
171
Country
No problem at all, really. It's most likely my fault for sucking at GUI designing.



Are you using v1.3? The new partition should have been automatically formatted.
Yes, I am. It does not appear to be automatically formatted as it tells me to format it. What do you think though, should I format or not? Maybe your program failed to call the format function?
 

DarkMatterCore

Finding my light.
OP
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,602
Country
Spain
Yes, I am. It does not appear to be automatically formatted as it tells me to format it. What do you think though, should I format or not? Maybe your program failed to call the format function?

Weird. I guess I still have to tweak the FAT32Format code a bit (the program no longer calls the format.exe tool from Windows). I assume it didn't really fail to write the FAT partition sectors, though. Otherwise a different error message should have been displayed.

There should be no problems if you format the new partition using another program, but make sure it is FAT32.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BigOnYa @ BigOnYa: I feel like I spent the night with Ancientboi +3