Hacking How to extract theme .cia?

windwakr

Well-Known Member
Member
Joined
Sep 13, 2009
Messages
502
Trophies
1
Website
windwakr.github.io
XP
1,789
Country
United States
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

Isle41

Well-Known Member
OP
Member
Joined
Nov 24, 2011
Messages
207
Trophies
0
XP
305
Country
Gambia, The
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

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,724
Trophies
2
XP
8,499
Country
Tuvalu
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
 

descac

Well-Known Member
Newcomer
Joined
Oct 7, 2014
Messages
88
Trophies
0
XP
114
Country
United States
How are you guys making your xorpads for themes? SD padgen doesn't seem to be getting me functional ones.
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,724
Trophies
2
XP
8,499
Country
Tuvalu
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 :)
 

kamesenin888

Well-Known Member
Member
Joined
Oct 20, 2007
Messages
1,433
Trophies
1
XP
2,060
Country
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

heroarc8

Well-Known Member
Newcomer
Joined
Dec 19, 2014
Messages
57
Trophies
0
XP
180
Country
United States

kamesenin888

Well-Known Member
Member
Joined
Oct 20, 2007
Messages
1,433
Trophies
1
XP
2,060
Country
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
 

lmanstl

New Member
Newbie
Joined
Apr 13, 2015
Messages
1
Trophies
0
Age
37
Location
St. Louis
XP
52
Country
United States

kamesenin888

Well-Known Member
Member
Joined
Oct 20, 2007
Messages
1,433
Trophies
1
XP
2,060
Country
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

General chit-chat
Help Users
    Veho @ Veho: Musk sues Hyundai in 3... 2... 1...