Hacking How to extract theme .cia?

  • Thread starter Thread starter Isle41
  • Start date Start date
  • Views Views 5,614
  • Replies Replies 19
Code:
ctrtool --contents=out file.cia

You'll get two NCCH files. The larger one has the theme files. Extract the RomFS from it with:
Code:
ctrtool -p --romfs=romfs.bin file.whatever

Generate an xorpad for it and xor it. Then you can extract the files from it with:
Code:
ctrtool -t romfs --romfsdir=romfs romfs.bin.out
 
  • Like
Reactions: astronautlevel
Generate an xorpad for it and xor it.

So... how did someone manage to extract mk7 without xoring?

Code:
[USER=325063]Echo[/USER] OFF
ctrtool --contents=mk7 game.cia > nul
ren mk7.0000.786d264e mk7_app.cxi
ren mk7.0001.13945090 mk7_manual.cfa
mkdir ncch
move mk7_app.cxi ncch > nul
move mk7_manual.cfa ncch > nul
mkdir exe
ctrtool --exefsdir=exe --exheader=exe\exhdr.bin --romfs=romfs.bin ncch\mk7_app.cxi > nul
ctrtool --romfsdir=romfs romfs.bin > nul
del romfs.bin

why are you using crtrtool? :)

-ah, extract, sure, i understand :)

I sure don't understand. 3DStool doesn't seem to want to open it and I'm unaware of any other options.
 
  • Like
Reactions: Margen67
i thought you wanted to make a theme you have, into a cia.
but, i think you just want to extract a theme you have (in cia format for some reason), so you can look inside.
yes, i think you should need to XOR it
 
How are you guys making your xorpads for themes? SD padgen doesn't seem to be getting me functional ones.
 
can you get encrypted cia themes? i havent seen any of them on the web

i use FunkyCIA, and that doesn't need you to decrypt anything, so themes (or anything you make) will be encrypted.
if you see a cia online, 99% of people are not going to say if the contents are decrypted or not, they just want it to work :)
 
i use FunkyCIA, and that doesn't need you to decrypt anything, so themes (or anything you make) will be encrypted.
if you see a cia online, 99% of people are not going to say if the contents are decrypted or not, they just want it to work :)

ohhh thats very interesting to know very very interesting, what are the benefits of having it encrypted?

In some ISO site you can find "Theme Pack" in cia with all Nintendo themes
yes and this should work with them , because those packs were decrypted before created
 
  • Like
Reactions: Rusb
So this is not possible to use using gateway running 9.2 sysnand. 9.5 emu? since launcher.dat (for gw) is needed to execute the exploit then to convert cia themes to chmm capable themes we need to put launcher.dat (included in your tutorial)?
There is a launcher for 9.2 that I did not include because I never knew of its existence jeje, just use the 9.. 2 launcher and you are good
 
check in that iso site, there is an updated script, I don't have it with me atm, so check there, its pretty automatic, and please check the python version
 

Site & Scene News

Popular threads in this forum