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,792
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,728
Trophies
2
XP
8,533
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,696
Trophies
1
Age
28
Location
Imola
XP
6,919
Country
Italy

Attachments

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

redunka

Well-Known Member
Member
Joined
Nov 26, 2014
Messages
436
Trophies
0
Age
29
XP
2,566
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: 240
  • Like
Reactions: Ryccardo

Ryccardo

Penguin accelerator
Member
Joined
Feb 13, 2015
Messages
7,696
Trophies
1
Age
28
Location
Imola
XP
6,919
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
436
Trophies
0
Age
29
XP
2,566
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: 172
  • 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
436
Trophies
0
Age
29
XP
2,566
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
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
  • BigOnYa @ BigOnYa:
    I don't trust the free ones, but ipvanish I've used for couple years now, n like
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder if they could get CPUs to run that hot then use the heat to power a steam turbine to power the CPUs....
  • BigOnYa @ BigOnYa:
    Good idea, or at least power the GPU
  • Psionic Roshambo @ Psionic Roshambo:
    It's not the movies or games downloads that I would worry about, like breaking into networks, downloading encrypted things, spying on network traffic. I have seen so many "Top Secret" seals on files when I was a kid
  • Psionic Roshambo @ Psionic Roshambo:
    I was obsessed with finding UFOs, a surprising amount of US files where stashed on computers in other countries, China back in the early 90s omg sooo much
  • BigOnYa @ BigOnYa:
    Yea that crazy, I've never tried hack into anything, I just pirate, and my ISP have send me 3-4 letters, so had to VPN it
  • Psionic Roshambo @ Psionic Roshambo:
    Ship to ship communication software for the Navy although without access to the encrypting chips it was mostly useless
  • Psionic Roshambo @ Psionic Roshambo:
    I bet now a 4090 could probably crack it? Hmmm maybe not even back then I'm pretty sure they where using like 1024 bit encryption
  • Psionic Roshambo @ Psionic Roshambo:
    Yayyy the one set finished 324GBs lol
  • Psionic Roshambo @ Psionic Roshambo:
    Compressed....
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder how many years that would have taken on a 56K modem lol
  • Psionic Roshambo @ Psionic Roshambo:
    18000 hours lol
  • Psionic Roshambo @ Psionic Roshambo:
    750 days lol
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    So Internet is very much faster now lol
  • BigOnYa @ BigOnYa:
    "Time Remaining- 2 years, 9 girlfriends, 6 hairstyles, please standby..."
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I remember one time I downloaded like a 500MB ISO file on 56K and that literally took like 2 days
  • Psionic Roshambo @ Psionic Roshambo:
    I had some sort of resume thing, I remember the software had chains
  • Psionic Roshambo @ Psionic Roshambo:
    Damned if I can't remember.the name though
  • Psionic Roshambo @ Psionic Roshambo:
    Some sort of download management app
  • BigOnYa @ BigOnYa:
    Ok good chatting, I'm off to the bar, to shoot some pool, nighty night.
    +1
  • BakerMan @ BakerMan:
    hey psi
  • BakerMan @ BakerMan:
    i call your girl lyndon the way she b on my johnson
    BakerMan @ BakerMan: i call your girl lyndon the way she b on my johnson