ROM Hack [Release] D.T.K: TitleKey.bin viewer and CDN downloader

  • Thread starter Thread starter justync7
  • Start date Start date
  • Views Views 31,189
  • Replies Replies 114
  • Likes Likes 10

justync7

Well-Known Member
Member
Joined
Mar 23, 2013
Messages
203
Solutions
1
Reaction score
166
Trophies
0
Age
35
XP
371
Country
United States
PSA: DTK is no longer in development and I would recommend using CDN-FX or Shameless instead.
D.T.K. - D.T.K. Takes Keys
TitleKey.bin viewer and CDN downloader

Dependencies:
Latest .NET Framework (Windows) or Mono (Linux)
Python 2.7

Image:
ItGCzgr.png
Short YouTube video:

Setup (Windows):
1. Download release and extract it
2. Run DTK.exe and wait for it to download the needed files (this can take a while)
3. Close DTK
4. Open config.xml in your favorite text editor
5. Modify the config to your liking


Setup (Linux):
1. Download release and extract it
2. Run "mono DTK.exe" in your terminal and wait for it to download the needed files (this can take a while)
3. Close DTK
4. Open config.xml in your favorite text editor
5. Modify the config to your liking

How to use "that key site":
1. Open config.xml in your favorite text editor
2. Replace the "undefined" on KeyDBUrl with the encTitleKeys download link from "that key site"
3. Replace the "false" on AutoLoad with "true"
4. Run DTK.exe and it will download the DB automatically

How to download from the CDN using FunKeyCIA:
1. Find the title you wish to download in DTK
2. Highlight it and double click to open a command window for FunKeyCIA
3. Your download will automatically begin

Downloads:
https://github.com/justync7/DTK/releases/

Credits:

  • cearp - For FunKeyCIA
  • Ptrk25 - For the GroovyCIA/CDN-FX database
Alternatives:
  • CDN-FX/GroovyCIA (For a more advanced and detailed viewer, but im a minimalist)
 
Last edited by justync7,
Why does it need to be an encTitleKeys.bin?
If following the conversion process for the decrypted DB from that site, don't you end up with 2?
and I don't think you can just concatenate the files together...
So, I deleted them after using ptrk's tool to throw both bins keys into a text file... :\
 
Why does it need to be an encTitleKeys.bin?
If following the conversion process for the decrypted DB from that site, don't you end up with 2?
and I don't think you can just concatenate the files together...
So, I deleted them after using ptrk's tool to throw both bins keys into a text file... :\
It has to be encrypted if you wish to download from the CDN. You can view decTitleKeys.bin files but CDN downloading will not work.
You can concatenate the files aswell.
 
It has to be encrypted if you wish to download from the CDN. You can view decTitleKeys.bin files but CDN downloading will not work.
You can concatenate the files aswell.
ah, ok. I just figured since the top of the file lists how many entries are in it, a glued tothether file from 2 separate ones would break formatting,
But if it works, eh. I'll go reconvert.
 
ah, ok. I just figured since the top of the file lists how many entries are in it, a glued tothether file from 2 separate ones would break formatting,
But if it works, eh. I'll go reconvert.
I just tested it and it does indeed work. Albeit, the title count didn't go up but I am fairly certain that is because the second file contained titles that aren't on 3dsdb or are already contained in the file.
 
ouch you took python code and made it windows dependant? :D
anyway, nice to add a gui! but i think GroovyCIA will add the title key function, in a while, in java.
It has to be encrypted if you wish to download from the CDN.
ooh, you don't need any key to download, the 3ds just needs the key to decrypt when installing :)
good luck

--------------------- MERGED ---------------------------

OP, that's a lot of keys you seem to have there. you must have a big collection that you want to backup!
i only tested my tool with 1 key/1 game :D
 
ouch you took python code and made it windows dependant? :D
anyway, nice to add a gui! but i think GroovyCIA will add the title key function, in a while, in java.

ooh, you don't need any key to download, the 3ds just needs the key to decrypt when installing :)
good luck

--------------------- MERGED ---------------------------

OP, that's a lot of keys you seem to have there. you must have a big collection that you want to backup!
i only tested my tool with 1 key/1 game :D

Sadly yes it is windows dependent.
I could recreate it in C++ or Java and make it work on other platforms, but I did this whole project in a day and a half while sick, so I am suprised it works at all!

And yes I do have quite a bit of keys!
 
  • Like
Reactions: cearp
Sadly yes it is windows dependent.
I could recreate it in C++ or Java and make it work on other platforms, but I did this whole project in a day and a half while sick, so I am suprised it works at all!

And yes I do have quite a bit of keys!
yeah making Funky/FunKeyCIA in c++ would have been the best but it would have taken my 2, 3, 4 times the work :)
 
File "FunKeyCIA.py", line 17
print '*****\n!!!!!Warning - Only tested with Python 2.7!!!!!\n*****\n'
^
SyntaxError: Missing parentheses in call to 'print'

C:\Users\??????\Downloads\FunKeyCIA>

I have python 2.7.11
 
File "FunKeyCIA.py", line 17
print '*****\n!!!!!Warning - Only tested with Python 2.7!!!!!\n*****\n'
^
SyntaxError: Missing parentheses in call to 'print'

C:\Users\??????\Downloads\FunKeyCIA>

I have python 2.7.11
Its most likely because you also have another installation of python that is taking over the default "python" command. Try uninstalling any other python installations and make sure you only have 2.7 installed.
This will be easier to fix in the next update as it will have a config so you can choose which python to use without having to uninstall others.
 
Nice work, could you add support for having FunKeyCia as exe file? (same arguments)

There are two bugs, 1st search doesn't work properly, 2nd it doesn't display all titlekeys from encTitleKeys.bin.
I'll have custom arguments from a config in the next update allowing you to use FunKeyCIA as an exe, or using a different python than default.

Search is being worked on, but it's hard due to the way .NET ListViews are.

If it doesn't show all the titlekeys, thats because 3dsdb has no info on that title.
 
I'll have custom arguments from a config in the next update allowing you to use FunKeyCIA as an exe, or using a different python than default.

Search is being worked on, but it's hard due to the way .NET ListViews are.

If it doesn't show all the titlekeys, thats because 3dsdb has no info on that title.

Thx ^^

Btw, 3dsdb only got a very small part of what is available, i'm missing about 400 Titles ^^'''
 
  • Like
Reactions: Xenon Hacks
Thx ^^

Btw, 3dsdb only got a very small part of what is available, i'm missing about 400 Titles ^^'''
Ya that site is fairly useless. Never has what ur looking for. Maybe the xml file from groovy CIA would work better as there is a ton in it iirc
 
  • Like
Reactions: justync7

Site & Scene News

Popular threads in this forum