Hacking Merging 4 sd cards to 1.

defrb

Well-Known Member
OP
Member
Joined
Apr 13, 2007
Messages
233
Trophies
1
XP
601
Country
Netherlands
Hello,

I bought a 128gb card for my 3ds and want to merge my old cards (32gb) to the new one. Is this possible?
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,942
Country
United States
Is it possible to combine multiple Nintendo 3DS folders if they share the same encryption. The easiest way to check for this is if their <ID0> subfolders all match.
  • sdmc:/Nintendo 3DS/<ID0>
  • :!: Do not manually change or text edit this 32-char string. This will fuck up the folder and do jack squat!!

*** ~ ###

Nintendo 3DS folders with different <ID0> subfolders (aka, from two or more different 3DS systems) can combine libraries using the SDTransfer methods.

(A) Faster but more involved: Decryption, recombination, and re-encryption with the use of desktop program, ninfs.
-or-

(B) Slower but easier to pull off for the average 3DS homebrewer: Decryption, recombination, and re-encryption with GodMode9.
  • CFW 3DS Reset without losing CFW [post #2]
    • GodMode9 v1.9.1 or newer for total CMAC corrections. Older versions will not work.
    • The SD card requires just as much available free space as the total size of the Nintendo 3DS folder.
    • :!: Avoid the steps involving Format System Memory.
    • :!: Also avoid the steps that deals with the data folder in the [1:] SYSNAND CTRNAND.

*** ~ ###

The next issue to contend with is the <ID1> subfolder, which is the 32-char subfolder found within <ID0>.
  • sdmc:/Nintendo 3DS/<ID0>/<ID1>
The <ID1> is different for every SD card and is actually derived from the SD card's CID (card identification register). Unlike the <ID0>, renaming or editing this string is not encryption sensitive. You can change this to whatever you want so long as:
  1. The string is 32 characters long.
  2. The only characters used are hex values (0-9, A-F, a-f).
    • Example #1: 00000000000000000000000000000000
    • Example #2: 0123456789ABCDEF420abcdef69FEED0

As long as the <ID0> is the same for every Nintendo 3DS folders, you can merge all of the <ID1> into a single one. While not technically necessary, it's best practice to match the name of the <ID1> to what the 3DS system naturally creates it as for a particular SD card. You can use a different <ID1>, but there's a slight chance the 3DS will refuse to acknowledge that one if the natural <ID1> is already present.

*** ~ ###

The next-next problem is to figuring out whether the Nintendo 3DS folders had separate copies of the same game installed with the exact TitleIDs.
  • sdmc:/Nintendo 3DS/<ID0>/<ID1>/title/
    • 00040000 (games)
    • 0004000e (updates)
    • 0004008c (DLCs)
You would have to selectively choose which save to keep for a particular game that has more than one copy.
  • sdmc:/Nintendo 3DS/<ID0>/<ID1>/title/00040000/<TID_LOW>/data/00000001.sav

Keep in mind certain games, such as Minecraft and Monster Hunter series, create their saves as extdata.
  • sdmc:/Nintendo 3DS/<ID0>/<ID1>/extdata/0000<TID_LOW, 4-char>/00000000/0000000#

*** ~ ###

After the folders are added together, the next-next-next major hurdle is correcting the database files found at:
  • sdmc:/Nintendo 3DS/<ID0>/<ID1>/dbs/
    • import.db
    • title.db
A homebrew solution that directly fixes the title.db has been recently released by @ihaveamac in the custom-install thread, rebuild-title-database.

Similar R&D is currently underway by aspargas2 and @d0k3 for GodMode9.

Another method in rebuilding the title.db and import.db can also be accomplished by the gm9 script's CTRTransfer (Type D9) - Rebuild 3DS Database.
Although this method is somewhat crude, the gm9 script's Option (A) Quick can rebuild the DB files by generating small sized dummy CIAs in part 1a. Once the user installs those dummy CIAs in FBI, (s)he completes the setup restoration in part 2a.

*** ~ ###

The CMACs in the *.cmd files will need corrections.
  • GodMode9 v1.9.1 (or newer) → hold (R)-shoulder and press (A) on [A:] SYSNAND SDFix CMACs for drive.

*** ~ ###


Games that were never installed on a target 3DS system might have missing tickets requiring faketik.

Mass unwrapping HOME Menu icons is done with Cthuhlu.

Lastly, certain games such as Super Smash Bros and Animal Crossing - New Leaf have anti-cheating or anti-savegame restore feature known as "Secure Value".

To reset this secure value for a game that has it, backup and restore its save in Checkpoint or JKSM.
If you prefer the quick and dirty method, you can mass reset all present secure values by deleting this nand file.
  • GodMode9 → [1:] SYSNAND CTRNAND/data/<ID0>/sysdata/00010011/00000000 → press (X) → <A> yes<A> yes → button combo → <A> yes.
  • :!: Be careful! Don't delete anything else!
 
Last edited by TurdPooCharger,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: "Now I know why he took his own life"