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

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,737
Trophies
2
XP
8,570
Country
Tuvalu
There seems to be an issue with make_cdn_cia too. I tried creating cia's for the Themes and Theatrhythm Final Fantasy: Curtain Call dlc of which I own keys from.

It funkeycia downloads the content correctly but generates and 0byte cia file on both windows and mac. the title IDs are 0004008c000fd500 and 0004008c00008f00. they both have a lot of content files.

on my mac make_cnd_cia throws an "Floating point exception: 8" error.
yes, there is a newer version of makecdncai, i have a compiled build for mac i can share in 12 hours.
with lots of content files, the old makecdncia (the one i included) can go bad :)
don't worry about it
 

ballcity

Active Member
Newcomer
Joined
Apr 16, 2016
Messages
42
Trophies
0
Age
36
XP
268
Country
United States
Noice, finally got it to work! Was able to compile a "fixed" Decrypt9 based on the suggestions of others in this thread. I have successfully re-encrypted a title key, pass it through the tool, download/create the CIA, and install that CIA. Thank you so much for sharing this!
 
  • Like
Reactions: cearp

uherrera

Member
Newcomer
Joined
Nov 19, 2008
Messages
20
Trophies
0
XP
168
Country
United States
Noice, finally got it to work! Was able to compile a "fixed" Decrypt9 based on the suggestions of others in this thread. I have successfully re-encrypted a title key, pass it through the tool, download/create the CIA, and install that CIA. Thank you so much for sharing this!
I've had mixed results. It seems to be that games that I had already installed before using a "bad" cia are giving me cert errors, but games that I try for the first time work fine.

I tried the same cia on 2 different 3DSs and it worked on the 3ds that I had never installed the bad cia on.

Is there a way to unregister the bad cias from my title lists?

Edit: Confirmed this the was issue. Fixed it by deleting the ticket using the latest version of FBI as recommended by Drethin.
 
Last edited by uherrera,

Drethin

Member
Newcomer
Joined
Apr 15, 2016
Messages
12
Trophies
0
Age
32
XP
45
Country
Canada
This worked, I deleted the ticket and tried the CIA again. It installed correctly.

Did you "fix" Decrypt9 to get it to work? If so how do I compile it once I've downloaded the source and made the change? I've been poking around for a while and can't seem to figure it out.
 

Cindakil

Well-Known Member
Newcomer
Joined
Apr 14, 2014
Messages
92
Trophies
0
XP
140
Country
Serbia, Republic of
There's no need to decrypt the contents. DecTitleKey.bin from D9 already contains the decrypted contents from title.db. However the process of re-encrypting them is decrypting them a 2nd time, then encrypting the result, causing the issue.

Credit goes to @shinji257 for finding it.

Anyways the easiest way to fix it is to edit line 24 in titlekey.c and change AES_CNT_TITLEKEY_DECRYPT_MODE to AES_CNT_TITLEKEY_ENCRYPT_MODE

This however breaks the decryption function.


Thanks a lot for that solution.
Can someone upload a fixed version of Decrypt9WIP? I dont know how to compile it :(

And another question... Once we have the enctitlekeys? How can we see the Keys for each title id?

Thanks for all
 

uherrera

Member
Newcomer
Joined
Nov 19, 2008
Messages
20
Trophies
0
XP
168
Country
United States
Thanks a lot for that solution.
Can someone upload a fixed version of Decrypt9WIP? I dont know how to compile it :(

And another question... Once we have the enctitlekeys? How can we see the Keys for each title id?

Thanks for all
you can rename the encTitleKeys file to decTitleKeys and get the list using PlaiCDN's checkbin option.
 
Last edited by uherrera,

Cindakil

Well-Known Member
Newcomer
Joined
Apr 14, 2014
Messages
92
Trophies
0
XP
140
Country
Serbia, Republic of

makke007

Well-Known Member
Member
Joined
Mar 23, 2016
Messages
182
Trophies
0
Age
30
XP
216
Country
United States
So i got my encTitleKeys.bin
How do i get my Keys out of this now ? I don't find any Option for that in Decrypt9 any advice ?
 
D

Deleted User

Guest
So i got my encTitleKeys.bin
How do i get my Keys out of this now ? I don't find any Option for that in Decrypt9 any advice ?

Open a hex editor, search for the title ID.
The following 16 bytes are the title key.
And the Last question... If I install these New "legit" cias, we need al updates seeddb.bin or its unnecessary?

If you generate a CIA that required a seeddb.bin to decrypt, it will generate a CIA that requires you to visit the e-shop to fix as these are non-cryptofixed CIA's.
 

cearp

瓜老外
OP
Developer
Joined
May 26, 2008
Messages
8,737
Trophies
2
XP
8,570
Country
Tuvalu
I'm not using a ticketdb though i just have my encTitleKeys.bin file and it has multiple Titles in it
Ooh oh yeah, recommend to dump your ticket.db with decrypt9, if they are your keys. If not, wait for me or someone else to make a script to show them in plain text, or use the bin file in FunKeyCIA
 

Drethin

Member
Newcomer
Joined
Apr 15, 2016
Messages
12
Trophies
0
Age
32
XP
45
Country
Canada
Here's a script that should take an encTitleKey.bin show it in plain text, I don't really know python so good luck I guess? I think it needs python 3.
 

Attachments

  • enc2Text.zip
    361 bytes · Views: 144
  • Like
Reactions: cearp

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    +1
    Psionic Roshambo @ Psionic Roshambo: @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87... +1