Patch/DLC Converter (SD Decryptor) Guide originally by tjexp

First of all, this will not work if you have formatted your sysNand.
I am not responsible if you do something wrong and damage your 3DS

Updated with v2 - DLC guide / File name fix

Black = General guide (follow this mostly)
Red = Update conversion
Blue = DLC conversion

I'll guide you through how to convert eShop updates so you can share them with others. The same method can be used for DLC/Themes

Grab python 2.7: https://www.python.org/download/releases/2.7/

IMPORTANT: If you want your Update/DLC to look official and only give update notifications when there is a later update
then: Download Update/DLC from eShop and load DevMenu and find your games ID in the list of programs > Write down
the version number for example 2.4.0

1) Open 3DS_SD_Decryptor folder
2) Point CMD to the 3DS_SD_Decryptor folder (example: cd C:\Users\lostpants\Desktop\Patch Converter v2\SD_Decrypter)
3) Decrypt SD card by using cmd with: SDinfo_gen.py "G:/Nintendo 3DS/firstIDhere/secondIDhere/" (replace the G with your drive letter)
(The ID's are long numbers/letters)
A SDinfo.bin will be made

4) Place Launcher.dat and SDinfo.bin on SD card and create xorpads by launching DS profile mode with GW exploit installed (This will create a lot of xorpads, need big SD)

5) Find decrypted xorpads of the updates you want, they are sorted by Unique ID's (Pokemon X update was: title.0004000e.00055d00.content.00000002.app.xorpa d)
5) DLC will normally start with title.0004008c then your Unique game ID
6) Find the original file on your SD card in the Nintendo 3DS folder, They will both have same file size and would be inside
a folder with the games unique ID (if it's a patch It will end in .app - example 00000002.app)
Patches are normally found within the Title/0004000e folder / DLC is found within the Title/0004008c folder
7) Move both files (the xorpad and original file) to the make_cia for updates or makerom for DLC directory

image.png



8) Open CMD and point it to the above folder (example: cd C:\Users\lostpants\Desktop\Patch Converter v2\make_cia)(cd C:\Users\lostpants\Desktop\Patch Converter v2\makerom for DLC)9) Enter the following and replace the boxes:
padxorer [originalfilename].app [xorpadname].app.xorpad
Code:
Example: padxorer 00000002.app title.0004000e.00055e00.content.00000002.app.xorpad
You will need to do this multiple times for DLC as most have multiple files
image.png



You should get a .out file

10) Use CMD again and enter the following and replace the needed parts
Remember the patch version? This is where it's needed. You seperate the 3 numbers into major/minor/micro and for the id_0 you need to find the original ID (its the
file name so lets say 00000002.app You need to convert that 2 from Hex to Decimal and enter it there: 2 hex in decimal is still 2 so we would put id_0=00000002)
Website for converting Hex to Decimal: http://www.binaryhexconverter.com/he...imal-converter

make_cia -o anyname.cia --major=(1st number) --minor=(2nd number) --micro=(3rd number) --content0=********.app.out --id_0=********

Code:
For example: make_cia - o anyname.cia --major=3 --minor=5 --micro=0 --content0=00000002.app.out --id_0=00000002


10 DLC) Remember the version? This is where it's needed. You seperate the 3 numbers into major/minor/micro
The FileNumber depends on how many files you have, so for example we have 2 - first file number is 0 then we need to repeat the command for the next .outfile but with
1 as the FileNumber
FileID is the number of your file (ours is 00000001) so we have to convert that number from Hex to Decimal and enter it there

_makerom -f cia -target t -content ********.app.out:FileNumber:FileID -content ********.app.out:Filenumber:FileID -dlc -major (1st) -minor (2nd) -micro (3rd) -o anynamedlc.cia


Code:
Example:
_makerom -f cia -target t -content 00000000.app.out:0:0 -content 00000001.app.out:1:1 -dlc -major 0 -minor 0 -micro 0 -o fantasylifedlc.cia
(Thanks to Rurounik99 for this)



image.png


If done correctly you should have a Update or DLC cia which can be installed via DevMenu



Code:
Special thanks to Rurounik99 & cearp/liomajor of GBATemp

Download links:

Code:
http://www18.zippyshare.com/v/31118730/file.html
http://7j84rpx06o.1fichier.com/
https://mega.co.nz/#!q1Vj0AJQ!O0GVizZxePssIxQx_yBKncEUe_fSP4DniE5WzavbE9o
http://filecloud.io/s0bqhj7w
http://dl.free.fr/f4myeS4k1

The reason I made a pack and tutorial is that we need more people dumping different region items (especially Japanese updates)
biggrin.png
 
Someone know how does it work for themes? I tried to convert one like a dlc, but I got this after the installation :
1416236073-theme.png

you either didn't include the index app, so it doesn't have a library to select the banner/label/name from or you chose an invalid Theme ID, so it didn't have a banner/label/name file for it in the index app

10 DLC) Remember the version? This is where it's needed. You seperate the 3 numbers into major/minor/micro
The FileNumber depends on how many files you have, so for example we have 2 - first file number is 0 then we need to repeat the command for the next .outfile but with
1 as the FileNumber
FileID is the number of your file (ours is 00000001) so we have to convert that number from Hex to Decimal and enter it there

_makerom -f cia -target t -content ********.app.out:FileNumber:FileID -content ********.app.out:Filenumber:FileID -dlc -major (1st) -minor (2nd) -micro (3rd) -o anynamedlc.cia


Code:
Example:
_makerom -f cia -target t -content 00000000.app.out:0:0 -content 00000001.app.out:1:1 -dlc -major 0 -minor 0 -micro 0 -o fantasylifedlc.cia
(Thanks to Rurounik99 for this)
this is just outright incorrect, it does not depend on the number of files you have, it does depend on the actual ID, under that it is listed inside the Index app!
this applies to both normal DLC and to Themes, so for the sake of answering VerseHell's question we will call this the [Theme ID]
so for your theme you type "-content [App ID].app.out:[Theme ID]:[File ID]" ,
for example the EUR Theme "ACNL Jack" has the App ID "00000018" , the Theme ID 21 and the File ID "24" (App ID converted from HEX to DEC)
so for "-content [App ID].app.out:[Theme ID]:[File ID]" we now get "-content 00000018.app.out:21:24"


that number is NOT determined by the number of files we use to build the .cia, but by the ID, that it was given by Ninty for the Index App, so it can find the proper banner/label/name , so no matter, if you build 1 Theme into a .cia or 20, that Theme ID does not change, it has a fixed value for each Theme

  1. NES Jumping Mario  
  2. Completely Mario 
  3. Completely Luigi 
  4. Completely Peach 
  5. Completely Yoshi 
  6. Mighty Mushrooms 
  7. Zelda: Two Worlds 
  8. Hanafuda 
  9. Mario Characters (Branded Wood) 
  10. Mario Characters (Stamped Felt)
  11. Chess Board
  12. Stripes (Black & White)
  13. Polka Dots (Black & White)
  14. Polka Dots (Gold & White)
  15. Stars (Black & Gold)
  16. Spinner Mario
  17. Spinner Bowser
  18. Spinner Peach
  19. Spinner Rosalina
  20. Halloween: Spooky Black Cat
  21. ACNL Jack
  22. NES Halloween Link
  23. ACNL Isabelle in the Town Hall
  24. ACNL Mabel Able
  25. ACNL Sable Able
  26. ACNL Timmy & Tommy Nook
  27. ACNL Colourful Pattern
  28. ACNL Bulletin Board  
  29. Polka Dots (Yellow & Blue) 
  30. Dots & Stripes (Pink & Green)  
  31. Stars (Purple & Yellow)  
  32. Gingham (Aqua Blue) 
  33. Stripes (Pink & White)
  34. nintendogs + cats Shiba
  35. nintendogs + cats French Bulldog
  36. nintendogs + cats Toy Poodle
  37. nintendogs + cats Golden Retriever
  38. Super Smash Bros. Theme 1
  39. Super Smash Bros. Theme 2
  40. Super Smash Bros. Theme 3
  41. Super Smash Bros. Theme 4
  42. Shovel Knight Launch Promo
  43. Pokémon: ONEMURI Pikachu
  44. Pokémon: Primal Groudon/Primal Kyogre
  45. Sonic Boom™: Shattered Crystal
  46. Super Mario (Pastel Pink)
  47. Super Mario (Neon Green)
  48. Super Mario (Blue)
  49. Pikmin Working Together
  50. Pikmin and a Hungry Bulborb
  51. Spotlight: Shovel Knight
when you build a Theme or a Theme Pack, you always need to build in the Theme Index App and the actual Theme file(s)
current Themes are version 0.6.0 and the Index App for it has the App ID "0000002f"
The Index app always gets the Theme ID "0", but File ID still remains the HEX to DEC value of the App ID, so 2f (HEX) = 47 (DEC)!
when you dump your Themes, you can usually indentify your Index App by the file size, it will be the smallest .app file (If you haven't downloaded anything from Theme Shop recently, then you probably are still on Theme App Version number 0.5.0 and the App ID for that was "00000020")
so for example, this code was used to build the current release of the EUR Theme Pack V4
Code:
_makerom -f cia -target t -dlc -alignwr -major 0 -minor 6 -major 0 -content 0000002f.app.out:0:47 -content 00000001.app.out:1:1 -content 00000007.app.out:7:7 -content 00000008.app.out:8:8 -content 00000009.app.out:9:9 -content 00000017.app.out:20:23 -content 00000018.app.out:21:24 -content 00000019.app.out:22:25 -content 0000001a.app.out:23:26 -content 0000001b.app.out:24:27 -content 0000001d.app.out:26:29 -content 0000001f.app.out:28:31 -content 0000002a.app.out:38:42 -content 0000002d.app.out:41:45 -content 00000030.app.out:43:48 -content 00000031.app.out:44:49 -content 00000032.app.out:45:50 -o ThemePack_V4.cia
-major 0 -minor 6 -major 0 --> App Version 0.6.0
-content 0000002f.app.out:0:47 --> Current 0.6.0 Index App
and then the rest of the Theme files, easy peasy

it may help to use a list/spreadsheet to keep up with all those numbers, it is easy to get just 1 number wrong, when you create a wall of numbers, so I made a spreadsheet, which I use for myself to doublecheck the code
https://docs.google.com/spreadsheets/d/1b5rrZC3qRMzHJ3kvuIG70QFmguPPT7nrEoL6W62RGUM/edit?usp=sharing
This is for the [EUR] Themes ... [US] probably(?) is the same, but I think the japanese had a couple of Azure Striker themes, which we didn't have, so their list is probably different

gamesquest1 was a great help with this btw and I would like to thank him again ;-)
 
GorTesK Wait, what? It's in the theme index application? Didn't even realize... o_0

yes it is, just take the most recent Theme Index file 0000002f.app right now for 0.6.0 app version and the list of Theme IDs can be extracted from it

edit: I even dare to assume it can be extracted just the same way from DLC index files, but who would I be to actually post such a list? I guess, I would rather leave that to someone else, I already posted enough ;P *evilgrin*
 
  • Like
Reactions: Huntereb
Alright, I'm trying to dump the 1.0.4 patch from my US 3ds to install on my Japan 3ds. I got the two files (00000001.app and 00000006.app) and xored them with no issues. This is what I used to build the CIA:

Code:
make_cia -o a.cia --major=5 --minor=7 --micro=0 --content0=00000001.app.out --content1=00000006.app.out

Installed it using BigBlueMenu, game has no update. What did I do wrong?

Thanks!
 
I had a strange issue. I don't have my laptop in front of me but I had something about aes encryption and missing nnch bin error? Any idea what is causing this. I know it's vague but I can give more info later. Thanks.
 
Could anyone help me get a 00000001.cmd and 00000001.cmd.xorpad file ?, from subwars stelldriver folder 000d7e00

Sorry my own 3ds xl is on latest firmware .

So I need help and two from you're same system, the files should only be a few kb's each so easy to add in .zip and attach here .

I'll take care of rest myself .

Cheers guy, it will be helpful :)
 
So I have been trying to get the Mario Golf DLC (Flower Pack) converted to cia. Here is the command

makerom32>makerom -f cia -target t -dlc -alignwr -major 0 -minor 0 -major 0 -content 0000000
0.app.out:0:0 -content 0000002a.app.out:38:42 -content 0000002b.app.out:39:43 -
content 0000002c.app.out:40:44 -content 0000002d.app.out:41:45 -content 00000025
.app.out:33:37 -content 00000026.app.out:34:38 -content 00000029.app.out:37:41 -
content 00000030.app.out:43:48 -content 00000031.app.out:44:49 -o MarioGolfDLC.cia

It freezes the game when loaded up. Any ideas on where I screwed up?

Thanks
 
I just got a Gateway and with a lot of work have it updated, installed and running.

I want to dump DLC and been reading this. It isn't well written especially if you haven't kept up on the scene and are a n00b.

What's "load DevMenu"? Is that on the Gateway or third party?

I want to test this out and dump some games that aren't out yet but not an easy guide and lots of issues and problems from reading replies. If someone can help I do appreciate it.
 
I just got a Gateway and with a lot of work have it updated, installed and running.

I want to dump DLC and been reading this. It isn't well written especially if you haven't kept up on the scene and are a n00b.

What's "load DevMenu"? Is that on the Gateway or third party?

I want to test this out and dump some games that aren't out yet but not an easy guide and lots of issues and problems from reading replies. If someone can help I do appreciate it.
Devmenu is a tool with which you can install cia files to your 3ds. The latest version is released by Bigbluebox and can run on GW2.6
It comes with a .3ds and .cia version. You use the .3ds like any normal rom and can install .cia to your emunand with it.

This guide is meant for DLC, themes, and updates in particular and is not really suited for converting roms.
See this thread for 3DS to CIA conversion
http://gbatemp.net/threads/tutorial-converting-3ds-to-cia-for-dummies.373722/
 
Trying to dump my Fire Emblem Awakening DLC but I'm stuck on the last "part".

I got the .out files, but I don't really know how to get my version number for the game. Anone knows?
 
Trying to dump my Fire Emblem Awakening DLC but I'm stuck on the last "part".

I got the .out files, but I don't really know how to get my version number for the game. Anone knows?

I found it when hovering over it in devMenu.
 

Site & Scene News

Popular threads in this forum