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
 
i'm sorry... maybe some dlc just cannot be repacked properly yet by the tools, or, there is some underlying ap that GW need to patch out... not sure. all i know is i managed to get fantasy life dlc working for someone.. but that's the only one i tried...
Does that Fantasy Life DLC need to be purchased?
I found that all the failed packing DLCs were purchased ones.
 
Then that's weird.
The only working FE:A (JPN) DLC is a free content named SpotPass, which can be downloaded directly & outside the DLC shop.
I think you might be onto something, about how them being paid has something to do with them not working. Something I noticed in the DLC that I dumped and reinstalled onto the same 3DS (it isn't recognised in-game), is that the .cmd and .tmd files are different, while the .app files are the same. There could be some ticket authentication or something of that nature that isn't applied in .cia installation, but is applied when bought & downloaded.

edit: actually, that is VERY likely.
 
I think you might be onto something, about how them being paid has something to do with them not working. Something I noticed in the DLC that I dumped and reinstalled onto the same 3DS (it isn't recognised in-game), is that the .cmd and .tmd files are different, while the .app files are the same. There could be some ticket authentication or something of that nature that isn't applied in .cia installation, but is applied when bought & downloaded.

edit: actually, that is VERY likely.
makerom does have some issues (from 3dsbrew) - i'm sure sure if these are the problem.
Proper ticket index generation isn't complete (CIA tickets are valid for only one content)
RomFS hasn't been completely implemented (but valid pre-built RomFS can be used as substitute)

with the fantasy life dlc, i heard that when you go to the dlc menu in the game, it gets removed. - but the dlc does work in game. but if you go to the menu to buy it, yeah you see that nintendo loading screen with the progress bar and i'm sure it checks all your content and removes what is incorrect. with the dumped mario theme, shown on 3ds.essh.co, yes it installs and works, but if you try and go to the theme store it will get removed (or there will be an error, maybe both). i think i had to delete it with devmenu to be able to redownload the themes that i actually bought.

 
makerom does have some issues (from 3dsbrew) - i'm sure sure if these are the problem.
Proper ticket index generation isn't complete (CIA tickets are valid for only one content)
RomFS hasn't been completely implemented (but valid pre-built RomFS can be used as substitute)

with the fantasy life dlc, i heard that when you go to the dlc menu in the game, it gets removed. - but the dlc does work in game. but if you go to the menu to buy it, yeah you see that nintendo loading screen with the progress bar and i'm sure it checks all your content and removes what is incorrect. with the dumped mario theme, shown on 3ds.essh.co, yes it installs and works, but if you try and go to the theme store it will get removed (or there will be an error, maybe both). i think i had to delete it with devmenu to be able to redownload the themes that i actually bought.
I suspect it might be related to the title.db file in /dbs/title.db

Does anyone know how to read it? Or does modification have to be done through a Hex editor?
 
I suspect it might be related to the title.db file in /dbs/title.db

Does anyone know how to read it? Or does modification have to be done through a Hex editor?

yes, simply decrypt it like using sd decrypter.
you can use extdata_tool to read the title.db, if you are on osx i can send you my build but i guess there is a windows exe out there too
but - that's just reading, i'm not sure if we can edit it and put it back together again.
but i think the things you install via devmenu get entries in the title.db anyway... i think...
 
Then that's weird.
The only working FE:A (JPN) DLC is a free content named SpotPass, which can be downloaded directly & outside the DLC shop.

wild theory, maybe fantasy life works because it is disk locked content (not true additional data dlc) ... but i don't know about the other games...
 
Why "CXI decryption failed (Check CXI Key)" is ignored?

(Edit: This CXI decryption failure doesn't affect the CIA Patches' working. But it's confusing newcomers.)
Ah sorry, forgot to mention that sorry. Just ignore those errors :D

Problem:

View attachment 11815

???
Same problem making it in root
Why?
Pyton installed and correct firstID & secondID.

Trying copying the nintendo 3ds folder to your desktop and try it from there
 
Ah sorry, forgot to mention that sorry. Just ignore those errors :D

maybe these errors are the reason, or part of the reason the dlc not working. i can confirm i could not get ace attorney dlc to work...
 
a good question is, what dlc have people gotten to work? (even reinstalling on the same console)
 
Hello everyone !

I can get .out file.
I want open this .out file for get BGM.
But, I don't know this way.
Do you know this way?
 
  • Like
Reactions: cearp
maybe these errors are the reason, or part of the reason the dlc not working. i can confirm i could not get ace attorney dlc to work...
Packing DLC doesn't show CXI decryption errors.
It shows another two errors.
If using make_cia to pack DLC then all the error messages are disappeared. But the packed CIA doesn't work either.
 
Packing DLC doesn't show CXI decryption errors.
It shows another two errors.
If using make_cia to pack DLC then all the error messages are disappeared. But the packed CIA doesn't work either.

yeah maybe the same 'errors' are there, just not displayed, or just ignored...
 
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
 

Site & Scene News

Popular threads in this forum