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
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,725
Trophies
2
XP
8,510
Country
Tuvalu
if anyone needs mac tools to do this just let me know :) (like 3dstmd, padxorer, makerom, extdata_tool)
(funny how i helped rurounik999 with this, and friendsxix helped me with this, i have to give him lots of credit since i didn't find out anything by myself!) it's just one big credit circle
 

drobb

Hunter
OP
Member
Joined
Dec 29, 2007
Messages
253
Trophies
0
XP
391
Country
United States
when i asked for permission to copy this i was reading cearp's thread about his updates and happen to see the guide on that other site and thought id ask for permission. i didnt even think that you, cearp, had helped with the guide or that tjexp/lostpants were one and the same and even on this site. should have figured. just wanted to help. oh well. :lol:
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,725
Trophies
2
XP
8,510
Country
Tuvalu
when i asked for permission to copy this i was reading cearp's thread about his updates and happen to see the guide on that other site and thought id ask for permission. i didnt even think that you, cearp, had helped with the guide or that tjexp/lostpants were one and the same and even on this site. should have figured. just wanted to help. oh well. :lol:

helped with the guide? i'm not sure which guide, or other site - i only do stuff on gbatemp, i'm just saying i shouldn't get credit, well, only for my time that i will spend dumping the updates :D
let's hope someone makes a nice gui wrapper for people :) i might make a mac version but when i start projects i always give them too much time
 

tjexp

Happy New Year!
Member
Joined
May 20, 2012
Messages
743
Trophies
1
Location
England
XP
409
Country
helped with the guide? i'm not sure which guide, or other site - i only do stuff on gbatemp, i'm just saying i shouldn't get credit, well, only for my time that i will spend dumping the updates :D
let's hope someone makes a nice gui wrapper for people :) i might make a mac version but when i start projects i always give them too much time
Well still I had to give credit since you helped me out :D
 
  • Like
Reactions: cearp

liomajor

Well-Known Member
Member
Joined
Jun 10, 2008
Messages
1,468
Trophies
0
XP
1,373
Country
United States
Hehe, with "_"makerom i did start a fire and its burning hot :)

Since the basics are from gbatemp, it just came home.
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,725
Trophies
2
XP
8,510
Country
Tuvalu
Give me a bit and I'll dump FlipNote Studio 3D Update.

i've dumped it already, read my post at the thread i made a bit ago, but it doesn't work (at least with the bbb rom) i think the update isn't a normal update, since it's an app and not a game, if you repack it right though nice, since i'm going to sleep now :)


-pack it as a game and not a patch i think, for the people who reaaaallly understand this stuff i guess they could take apart my cia file i uploaded and repack it to make it work for others
 

MelonGx

Well-Known Member
Member
Joined
Jan 8, 2009
Messages
1,653
Trophies
1
XP
915
Country
China
Bug report (about DLC packaging)

Code:
_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

This doesn't work for some Japanese DLCs packaged with makerom_x86.

Tested failed:
Fire Emblem Awakening (JPN) - all DLCs except SpotPass
Taiko no Tatsujin Don-chan no Jikuu Daibouken - all DLCs

Both CIAs are generated & installed successfully.
But all the contents are unable to be recognized in the game.

I'm doubting if it's a x86 makerom problem.
But I haven't had any x64 OS.
 

dplaktos

^ tri force heroes REALLY needs this emote
Member
Joined
Jul 8, 2014
Messages
558
Trophies
0
Location
uh'straya
XP
622
Country
I've tried to pack the Phoenix Wright AA: DD Special Episode DLC.

It generates and installs fine, but the game can't recognise it.
Do I need to include the .tmd and the .cmd as well? Or could it be some other issue?

I have 3 .app.out files and used those as per the guide. This was the command I used:

Code:
_makerom -f cia -target t -content 00000000.app.out:0:0 -content  00000005.app.out:1:5 -content 0000000d.app.out:2:13 -dlc -major 0 -minor 2 -micro 0 -o pwaadd_dlc.cia

DevMenu reported the version of the 'true' DLC as 0.2.0, and the same with the .cia I generated.

Any idea what I'm doing wrong? Are my FileNumber and FileID values incorrect? Thanks
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,725
Trophies
2
XP
8,510
Country
Tuvalu
Bug report (about DLC packaging)

Code:
_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

This doesn't work for some Japanese DLCs packaged with makerom_x86.

Tested failed:
Fire Emblem Awakening (JPN) - all DLCs except SpotPass
Taiko no Tatsujin Don-chan no Jikuu Daibouken - all DLCs

Both CIAs are generated & installed successfully.
But all the contents are unable to be recognized in the game.

I'm doubting if it's a x86 makerom problem.
But I haven't had any x64 OS.

after you install them, do they appear in devmenu as dlc, and removeable - or are they hidden? are they in the correct folder in your sd card after installing?
 

MelonGx

Well-Known Member
Member
Joined
Jan 8, 2009
Messages
1,653
Trophies
1
XP
915
Country
China
after you install them, do they appear in devmenu as dlc, and removeable - or are they hidden? are they in the correct folder in your sd card after installing?
BigBlueMenu - Recognized as DLC
Removable - Yes
Hidden - No
CorrectFolder - Yes. Completely (All the filenames are matched)

System Setting (GW3D 9.2.0-20J) - Data Management - DLC Management - No. It is recognized as a null content, with no name & 0 block
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,725
Trophies
2
XP
8,510
Country
Tuvalu
BigBlueMenu - Recognized as DLC
Removable - Yes
Hidden - No
CorrectFolder - Yes. Completely.

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...
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    HiradeGirl @ HiradeGirl: Have a nice day. Life. Week. Month. year.