ROM Hack [Release] FunKeyCIA - make GOOD cias from eshop content, no tickets needed!

windwakr

Well-Known Member
Member
Joined
Sep 13, 2009
Messages
502
Trophies
1
Website
windwakr.github.io
XP
1,789
Country
United States
thanks but that won't be able to decrypt a normal encrytped cia, right?
Grab the latest source of ctrtool and compile it. Grab a seeddb.bin file either from here or wherever. Then you extract the contents of the CIA using
ctrtool --contents=whatever file.cia
Then you can run ctrtool on the files it spits out (make sure seeddb.bin is in the same folder)
ctrtool --seeddb=seeddb.bin --exheader=exheader.bin --exefsdir=exefs --romfsdir=romfs whatever.0000
 
Last edited by windwakr,
  • Like
Reactions: cearp

Ev1l0rd

(⌐◥▶◀◤) girl - noirscape
Member
Joined
Oct 26, 2015
Messages
2,004
Trophies
1
Location
Site 19
Website
catgirlsin.space
XP
3,441
Country
Netherlands
I do not know anything more that everybody since i have not used this tool yet. Packhack could do this i guess but we have to wait untill Asia81 updates his library
PackHack is nothing more than 3dstool and ctrtool combined with some preset extraction commands passed as a batch script. You can literally skip PackHack and just use ihaveamac's wiki instead. In fact, I recommend you do that, as as far as I'm aware, PackHack does not work with manuals and download play containers, whereas 3dstool does. In a similar fashion, PackHack has no protection against braindump dumps (which cannot be recompiled to CIA), whereas 3dstool requires you to extract said files.

Also, I'm pretty sure Asia81 is female.
 
  • Like
Reactions: Ryccardo and cearp

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,724
Trophies
2
XP
8,499
Country
Tuvalu
plus packhack is windows only, i think?
it is nice to have the base tools and run them on what os you want.

(although i understand having windows batch stuff can be useful for noobs)
 
  • Like
Reactions: Ev1l0rd

asper

Well-Known Member
Member
Joined
May 14, 2010
Messages
942
Trophies
1
XP
2,030
Country
United States
Grab the latest source of ctrtool and compile it. Grab a seeddb.bin file either from here or wherever. Then you extract the contents of the CIA using

Then you can run ctrtool on the files it spits out (make sure seeddb.bin is in the same folder)
I managed to get a game from wiiu usb helper, decrypt it and open it with citra, without any .3ds file or a 3ds console. Thank you for your hint about latest compiled ctrtool version !!
 

Ryccardo

Penguin accelerator
Member
Joined
Feb 13, 2015
Messages
7,689
Trophies
1
Age
28
Location
Imola
XP
6,903
Country
Italy

Attachments

  • pornazzi.zip
    313 KB · Views: 160
Last edited by Ryccardo,
  • Like
Reactions: demon77

redunka

Well-Known Member
Member
Joined
Nov 26, 2014
Messages
432
Trophies
0
Age
29
XP
2,548
Country
Russia
And in case anyone needs them, here are Windows x86 builds of both ctrtool and makerom.
I had to include a couple of DLLs, though. Otherwise ctrtool won't run on "clean" PC.
By the way, @Ryccardo, your ctrtool build does require some DLLs too (libgcc_s_seh-1.dll, libstdc++-6.dll and libwinpthread-1.dll).
Is that something with our mingw-w64 setups, or with the project itself?
 

Attachments

  • ctrtool+makerom.zip
    758.6 KB · Views: 238
  • Like
Reactions: Ryccardo

Ryccardo

Penguin accelerator
Member
Joined
Feb 13, 2015
Messages
7,689
Trophies
1
Age
28
Location
Imola
XP
6,903
Country
Italy
Is it better than Freeshop? Any chance of bricking with these .cias?
1- Zero difference (tickets are "invented" from titleid and titlekey only - well of course with this tool you get an actual BACKUP and you won't be crying when the servers close or you're simply offline and you won't be able to redownload your favorite games)

2- Zero difference (any titles that install to the SD still have a ticket to write to nand, and there is an extremely small but nonzero chance of that write causing the last remappable bad sector and forcing it into permanent write protection mode)
 

redunka

Well-Known Member
Member
Joined
Nov 26, 2014
Messages
432
Trophies
0
Age
29
XP
2,548
Country
Russia
Try adding -static to all gcc calls (ie in the per-file "$(CC) -o ..." macro at the end of the makefile)
Thank you, that did the trick. :)
I'll leave statically linked builds for win 32-bit here, for anyone who needs them.
 

Attachments

  • Project_CTR_e5b79bab_win32bit.zip
    412.8 KB · Views: 171
  • Like
Reactions: Ryccardo

demon77

Well-Known Member
Newcomer
Joined
May 4, 2015
Messages
62
Trophies
0
Age
54
XP
169
Country
Belgium

gengardenne

Well-Known Member
Member
Joined
Nov 14, 2016
Messages
356
Trophies
0
Age
28
XP
384
Country
Italy
Can I use FunkeyCIA to create a GOOD cia and then use it to follow the dsi ware 11.4 guide on 3ds guide?
Or a cia build in this way is invalid like the unofficial one?
I'm interested to this for a my friend :)
 

asper

Well-Known Member
Member
Joined
May 14, 2010
Messages
942
Trophies
1
XP
2,030
Country
United States
Grab the latest source of ctrtool and compile it. Grab a seeddb.bin file either from here or wherever. Then you extract the contents of the CIA using

Then you can run ctrtool on the files it spits out (make sure seeddb.bin is in the same folder)
Man I have a small new problem: even with latest ctrtool I am not able to decrypt .cia (encrypted) obtained form DSiWare games; I am only able to obtain contents.0000.00000000 but no way to extract it with the "usual" commands: is there a specific command/key to use with ctrtool to decrypt those DSiWare titles ?
 

redunka

Well-Known Member
Member
Joined
Nov 26, 2014
Messages
432
Trophies
0
Age
29
XP
2,548
Country
Russia
Man I have a small new problem: even with latest ctrtool I am not able to decrypt .cia (encrypted) obtained form DSiWare games; I am only able to obtain contents.0000.00000000 but no way to extract it with the "usual" commands: is there a specific command/key to use with ctrtool to decrypt those DSiWare titles ?
If it's DSiWare, there's nothing more to extract, that "contents.0000.00000000" file is everything you need.
 
  • Like
Reactions: Ryccardo

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Look at you holding tiny things