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

justync7

Well-Known Member
OP
Member
Joined
Mar 23, 2013
Messages
203
Trophies
0
Age
33
XP
350
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,

BerserkLeon

Not-so-new member
Member
Joined
Mar 22, 2010
Messages
460
Trophies
1
Age
34
Location
Pennsylvania
XP
538
Country
United States
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... :\
 

justync7

Well-Known Member
OP
Member
Joined
Mar 23, 2013
Messages
203
Trophies
0
Age
33
XP
350
Country
United States
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.
 

BerserkLeon

Not-so-new member
Member
Joined
Mar 22, 2010
Messages
460
Trophies
1
Age
34
Location
Pennsylvania
XP
538
Country
United States
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.
 

justync7

Well-Known Member
OP
Member
Joined
Mar 23, 2013
Messages
203
Trophies
0
Age
33
XP
350
Country
United States
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.
 

cearp

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

justync7

Well-Known Member
OP
Member
Joined
Mar 23, 2013
Messages
203
Trophies
0
Age
33
XP
350
Country
United States
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

cearp

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

Xenon Hacks

Well-Known Member
Member
Joined
Nov 13, 2014
Messages
7,414
Trophies
1
Age
30
XP
4,687
Country
United States
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
 

justync7

Well-Known Member
OP
Member
Joined
Mar 23, 2013
Messages
203
Trophies
0
Age
33
XP
350
Country
United States
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.
 

justync7

Well-Known Member
OP
Member
Joined
Mar 23, 2013
Messages
203
Trophies
0
Age
33
XP
350
Country
United States
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.
 

liomajor

Well-Known Member
Member
Joined
Jun 10, 2008
Messages
1,468
Trophies
0
XP
1,373
Country
United States
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

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    It could get banned from PSN but you can change your ID I think?
  • Xdqwerty @ Xdqwerty:
    also gonna install twilight menu in my r4 flashcard
  • Psionic Roshambo @ Psionic Roshambo:
    One thing that just occurred to me.... The sound on the 2600 sucked less back then the harsh sound we hear now is from infinitely better speakers we have now, back when the 2600 was new speakers produced a almost muffled sound, like CRTs made old graphics look slightly better.
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder if I could recommend that to some emulation devs that perhaps the sound could use some smoothing out to simulate those old TVs
  • Psionic Roshambo @ Psionic Roshambo:
    I think a few of the early systems could benefit from that, at least up to the 8 bit generation, by the 16 bit generation I think TVs had gotten a lot better in almost every way
  • Xdqwerty @ Xdqwerty:
    i dont have an sd card adapter but I have an usb sd card adapter
  • K3Nv2 @ K3Nv2:
    Old people games
  • Xdqwerty @ Xdqwerty:
    its not the one that comes with the r4
  • Xdqwerty @ Xdqwerty:
    doesnt work (my flashcard is from r4isdhc.com)
  • Xdqwerty @ Xdqwerty:
    might install ysmenu first
  • Psionic Roshambo @ Psionic Roshambo:
    Try Wood firmware
  • Psionic Roshambo @ Psionic Roshambo:
    For your R4
  • Psionic Roshambo @ Psionic Roshambo:
    It's old but it's the best firmware out for DS stuff
  • Xdqwerty @ Xdqwerty:
    it says it only works for the original R4, R4i Gold (r4ids.cn), R4iDSN (r4idsn.com) and Acekard R.P.G.
  • Xdqwerty @ Xdqwerty:
    nvm it does support mine
  • Xdqwerty @ Xdqwerty:
    but why choose it over ysmenu @Psionic Roshambo?
  • Xdqwerty @ Xdqwerty:
    bc im stupid?
  • Xdqwerty @ Xdqwerty:
    yea ik im stupid
  • Xdqwerty @ Xdqwerty:
    good night
  • Psionic Roshambo @ Psionic Roshambo:
    Just give it a try, but honestly if you have a 3DS you can play DS games without a card just off the internal SD card
  • Psionic Roshambo @ Psionic Roshambo:
    Slightly slower loading but a bit more convenient
  • BakerMan @ BakerMan:
    guys, my fuckin headphones have an out of place speaker
  • K3Nv2 @ K3Nv2:
    Did you try wearing them?
    K3Nv2 @ K3Nv2: Did you try wearing them?