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,735
Trophies
2
XP
8,551
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,735
Trophies
2
XP
8,551
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
  • SylverReZ @ SylverReZ:
    Psi couldn't pay hospital bills lol.
  • Psionic Roshambo @ Psionic Roshambo:
    He found out how much the ambulance ride was going to cost lol
    +2
  • K3Nv2 @ K3Nv2:
    @BigOnYa, so one the salesman told him would get him bitches
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    In my experience women like a big shift stick with lots of power.
  • Psionic Roshambo @ Psionic Roshambo:
    Something that really burns rubbers
  • BigOnYa @ BigOnYa:
    Only thing a nice car will get you is a gold digger. What happened to falling in love, no matter if I'm on a bus, or driving a nice car. No offense tho, I do like nice cars.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Nothing like tearing ass up on a back road
  • Psionic Roshambo @ Psionic Roshambo:
    BigOnYa I think narcissism has all but killed love
    +2
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, I think I can agree on that.
    +1
  • K3Nv2 @ K3Nv2:
    People tend to think look at everything I have gains attention but ends up making them look worse for what it is
    +1
  • BigOnYa @ BigOnYa:
    It would be funny to pick up a girl in a real expensive car, then next date show up in a piece o shit car just to see her reaction. If she was real, it wouldn't matter.
  • Psionic Roshambo @ Psionic Roshambo:
    Everyone is disposable and replaceable, lies and deception are the coin of the realm. I have never felt so alone and so at odds with the world.
  • K3Nv2 @ K3Nv2:
    I don't think we should see others as disposable just if they can show any glimps of care about humanity should be forgiven
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, she would leave you inmediately
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    For a time I considered creating a new big bang. Wipe the slate clean and start from scratch....
  • K3Nv2 @ K3Nv2:
    Your closest friend probably talks negative about you the most
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I know I talk shit about that Ken guy constantly lol
    +1
  • K3Nv2 @ K3Nv2:
    Yeah I just had to consile it's a age thing and I can get erect
    +1
  • BigOnYa @ BigOnYa:
    Right.. Take a number
  • SylverReZ @ SylverReZ:
    @BigOnYa, Binkinator is still around you guys. I just saw him in one of the Discord servers that I'm in.
  • K3Nv2 @ K3Nv2:
    People get more mad when they learn you aren't as dimwitted as they think
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, that guy who was dissappeared?
    SylverReZ @ SylverReZ: @Xdqwerty, Yes.