ROM Hack Citra dlc cia decrypting

madah123

New Member
OP
Newbie
Joined
Aug 3, 2009
Messages
4
Trophies
0
XP
138
Country
United States
Hello,

It seems citra now supports installing cia DLC, but is there any source of decrypted cia DLC? As I don't have a 3ds atm. I tried using ctrtool to decrypt the encrypted cia dlc files but I don't think it's working, though that might be due to my misuse I am not sure?
 

Subötaï

Well-Known Member
Member
Joined
Jul 13, 2016
Messages
141
Trophies
0
Age
34
XP
926
Country
CIA content decryption tool:
https://www.google.fr/search?q="decrypt_v2.zip"

How to rebuild the CIA file from extracted content files:
Code:
makerom -f cia -rsf rom.rsf -o Rebuilded-DLC.cia -ckeyid 0 -major 0 -minor 10 -micro 0 -DSaveSize=0 -dlc -i c.0000.0000005b:0x0000:0x0000005b -i c.0001.00000017:0x0001:0x00000017 -i c.0002.00000018:0x0002:0x00000018

Where c.0000.0000005b, c0001.00000017, c.0002.00000018 is extracted and decrypted content files

rom.rsf:
Code:
Option:
  MediaFootPadding: true
  EnableCrypt: false
SystemControlInfo:
  SaveDataSize: $(SaveSize)K
 
D

Deleted User

Guest
If it's Encrypted DLC in a CIA file, then I don't believe you'll be able to use HackingToolkit9DS to extract the contents, going by the README. I doubt that ctrtool is going to be of much help either.

Sorry to say, but you're going to need a 3DS with B9S and GodMode9 in order to decrypt the file at this point.
 

BlackSKirito

Well-Known Member
Newcomer
Joined
Apr 6, 2017
Messages
56
Trophies
0
Age
27
XP
197
Country
Yeah it sucks, you need a real 3DS to dump DLC now. DLC work with Citra now but require dump with Godmode9 + the latest fix in Citra PR. I posted a post to see if someone kind enough to dump DLCs but has been no luck for 1 day
 

Subötaï

Well-Known Member
Member
Joined
Jul 13, 2016
Messages
141
Trophies
0
Age
34
XP
926
Country
You doesn't need a real 3ds. All you need is download the DLC from nintendo CND, decrypt its content and rebuild the CIA file as a wrote earlier
 
Last edited by Subötaï,

BlackSKirito

Well-Known Member
Newcomer
Joined
Apr 6, 2017
Messages
56
Trophies
0
Age
27
XP
197
Country
You doesn't need a real 3ds. All you need is download the DLC from nintendo CND, decrypt its content and rebuild the CIA file as a wrote earlier

Well, many people in Citra 4rum said Citra can only read DLCs dumped by Godmode9 + the latest fixed link in the Citra PR so i guess real 3DS only.

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

You doesn't need a real 3ds. All you need is download the DLC from nintendo CND, decrypt its content and rebuild the CIA file as a wrote earlier
Here's the link : https://github.com/citra-emu/citra/pull/3917
 

Subötaï

Well-Known Member
Member
Joined
Jul 13, 2016
Messages
141
Trophies
0
Age
34
XP
926
Country
there is no difference between nintendo's cdn cia and godmode9 dumps, lol. the cia format is the same.

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

they are afraid of legal suits from nintendo, this is the only reason why are they says this
 

BlackSKirito

Well-Known Member
Newcomer
Joined
Apr 6, 2017
Messages
56
Trophies
0
Age
27
XP
197
Country
there is no difference between nintendo's cdn cia and godmode9 dumps, lol. the cia format is the same.
Don't know much about dumping so i guess i won't talk about it much. Just 1 more question, if they are the same then why their DLCs worked on Citra but the DLCs i got from other place didn't ?
 
D

Deleted User

Guest
I have no idea what encryption is ^^!! guess i will just wait and read some more
Rereading through the thread, what I believe he wants you to do is do a Google search for this decryption tool (as it probably can't be linked here), use it to decrypt the file and extract the contents, then use a tool called makerom to rebuild a decrypted CIA from the extracted file contents. Said decrypted CIA can then be installed with Citra.

Makerom requires an RSF file, which was also posted earlier in the thread.

Not sure what's the point in downloading the titles from the CDN is if you already have the encrypted files on you, though.
 
  • Like
Reactions: Subötaï

randomguy6197

Member
Newcomer
Joined
Dec 11, 2017
Messages
7
Trophies
0
Age
35
XP
56
Country
Canada
i have a 3ds with gm9, so if someone shows me how to decrypt titles and their dlc cia files and repack them into one i would be glad to post roms for citra
 
D

Deleted User

Guest
i have a 3ds with gm9, so if someone shows me how to decrypt titles and their dlc cia files and repack them into one i would be glad to post roms for citra
You can't post any ROMs here at all. It goes against the site rules.

That said, follow these instructions for dumping physical game carts, and follow these instructions for descrypting CIA files. Decrypting DLC files works the same as for any other title, though you may need to check the Title ID for the DLC you want to dump first.
 
  • Like
Reactions: Subötaï

SonsofOcelot

Shalashaska
Member
Joined
Aug 4, 2016
Messages
380
Trophies
0
Age
40
Location
Outer Haven
Website
www.youtube.com
XP
465
Country
United States
CIA content decryption tool:
https://www.google.fr/search?q="decrypt_v2.zip"

How to rebuild the CIA file from extracted content files:
Code:
makerom -f cia -rsf rom.rsf -o Rebuilded-DLC.cia -ckeyid 0 -major 0 -minor 10 -micro 0 -DSaveSize=0 -dlc -i c.0000.0000005b:0x0000:0x0000005b -i c.0001.00000017:0x0001:0x00000017 -i c.0002.00000018:0x0002:0x00000018

Where c.0000.0000005b, c0001.00000017, c.0002.00000018 is extracted and decrypted content files

rom.rsf:
Code:
Option:
  MediaFootPadding: true
  EnableCrypt: false
SystemControlInfo:
  SaveDataSize: $(SaveSize)K

Hey @Subötaï I can't seem to get the rebuild to work for my DLC and I'm certain it's because I'm screwing up somewhere. I only got decrypted .cxi files when I used the decrypt_v2 tool and I don't have anything resembling the decrypted content file examples you listed. Do I need to do something else with these cxi files?
 

Subötaï

Well-Known Member
Member
Joined
Jul 13, 2016
Messages
141
Trophies
0
Age
34
XP
926
Country
Code:
makerom -f cia -rsf rom.rsf -o NewDLC.cia -ckeyid 0 -major 0 -minor 12 -micro 0 -DSaveSize=0 -dlc -i 00000062.cxi:0x0000:0x00000062 -i 00000002.cxi:0x0002:0x00000002 -i 00000003.cxi:0x0003:0x00000003 -i 00000048.cxi:0x0009:0x00000048 -i 00000045.cxi:0x000a:0x00000045 -i 00000049.cxi:0x000b:0x00000049 -i 00000046.cxi:0x000c:0x00000046 -i 0000004b.cxi:0x000d:0x0000004b -i 0000003b.cxi:0x000e:0x0000003b -i 0000004d.cxi:0x000f:0x0000004d -i 0000004e.cxi:0x0010:0x0000004e -i 00000050.cxi:0x0027:0x00000050 -i 00000052.cxi:0x0028:0x00000052 -i 00000054.cxi:0x0031:0x00000054 -i 00000057.cxi:0x0032:0x00000057 -i 00000055.cxi:0x0033:0x00000055 -i 00000059.cxi:0x0035:0x00000059 -i 0000006b.cxi:0x0036:0x0000006b -i 0000006c.cxi:0x0037:0x0000006c -i 0000005c.cxi:0x0038:0x0000005c -i 0000005d.cxi:0x0039:0x0000005d -i 0000005e.cxi:0x003a:0x0000005e -i 00000063.cxi:0x003b:0x00000063 -i 00000064.cxi:0x003c:0x00000064 -i 00000065.cxi:0x003d:0x00000065
 
  • Like
Reactions: SonsofOcelot

SonsofOcelot

Shalashaska
Member
Joined
Aug 4, 2016
Messages
380
Trophies
0
Age
40
Location
Outer Haven
Website
www.youtube.com
XP
465
Country
United States
Code:
makerom -f cia -rsf rom.rsf -o NewDLC.cia -ckeyid 0 -major 0 -minor 12 -micro 0 -DSaveSize=0 -dlc -i 00000062.cxi:0x0000:0x00000062 -i 00000002.cxi:0x0002:0x00000002 -i 00000003.cxi:0x0003:0x00000003 -i 00000048.cxi:0x0009:0x00000048 -i 00000045.cxi:0x000a:0x00000045 -i 00000049.cxi:0x000b:0x00000049 -i 00000046.cxi:0x000c:0x00000046 -i 0000004b.cxi:0x000d:0x0000004b -i 0000003b.cxi:0x000e:0x0000003b -i 0000004d.cxi:0x000f:0x0000004d -i 0000004e.cxi:0x0010:0x0000004e -i 00000050.cxi:0x0027:0x00000050 -i 00000052.cxi:0x0028:0x00000052 -i 00000054.cxi:0x0031:0x00000054 -i 00000057.cxi:0x0032:0x00000057 -i 00000055.cxi:0x0033:0x00000055 -i 00000059.cxi:0x0035:0x00000059 -i 0000006b.cxi:0x0036:0x0000006b -i 0000006c.cxi:0x0037:0x0000006c -i 0000005c.cxi:0x0038:0x0000005c -i 0000005d.cxi:0x0039:0x0000005d -i 0000005e.cxi:0x003a:0x0000005e -i 00000063.cxi:0x003b:0x00000063 -i 00000064.cxi:0x003c:0x00000064 -i 00000065.cxi:0x003d:0x00000065

Ok so that's good to know I need the index and ID... But how does one go about getting those? I'd usually just use my o3ds for this but it's broken ATM and I'm clueless. Thanks for your help so far.

EDIT: Wait is the ID just the title ID of the dlc? Pretty sure it is but wanted to be clear.

EDIT: I seem to have gotten it to work by just setting the cmd as you listed and specifying the cxi's as

-i "file.cxi:0:0" -i "file.cxi:1:1" etc.

I'll start a new thread if I encounter any issues. Thank you!
 
Last edited by SonsofOcelot,
  • Like
Reactions: Subötaï

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: The candy man can