Lol that's the exact same thing I'm trying to add to GroovyCIA2The author checks other databases first because the CDN is slow, but if it's not found on either then he uses the icon bin.
Lol that's the exact same thing I'm trying to add to GroovyCIA2The author checks other databases first because the CDN is slow, but if it's not found on either then he uses the icon bin.
Lol that's the exact same thing I'm trying to add to GroovyCIA2
I already ported the code (from the sdk leak). So no need for that.Since C# and Java are similar, his code may be useful as a reference then.
Does the icon bin have info about the Crypto Seed or is that only the ninja XML?Also take a look at this: https://github.com/HouseBreaker/NintendoCDN-TicketParser
Does the icon bin have info about the Crypto Seed or is that only the ninja XML?
Uh, yeah. It's supposed to. You have to actually supply a key and ID for it to do anything.Every single time I try to run either the .exe or .py (I got python 3 installed), it automatically closes.
![]()
No error whatsoever.
Well I do have a decTitleKeys.binUh, yeah. It's supposed to. You have to actually supply a key and ID for it to do anything.
Ok? Double clicking the script or EXE isn't going to do anything other than display the usage of the script. It's essentially saying "hey asshole, you have to supply something to me for me to work". I take it you're not very familiar with CLI programs.Well I do have a decTitleKeys.bin
python3 plaicdn.py -deckey decTitleKeys.bin
nice to see that makerom got a little better - but for eshop content i can only recommend makecdncia, it just works for everythingGood news about DSiWare: latest makerom compiled from source actually can build DSiWare CIA's.
I'm glad I was wrong and it has been fixed. Latest makerom can be found somewhere in AuReiNand thread.
Well, PlaiCDN script doesn't support DSiWare CIA packing yet, but I believe it can be easily fixed. ^^
Here's how you can create DSiWare cia manually:
As always, feed PlaiCDN titleID and title key of DSiWare,
let it download and decrypt content then use makerom to build cia.
Example for Zelda 4 Swords EUR:
makerom -f cia -srl 00000001.dec -major 0 -minor 1 -micro 0 -o 000480044b513956.cia
Most of DSiWare's probably won't require major/minor/micro option.
Also, there's a problem with "3DS exclusive" DSiWare's (Advance Wars and WarioWare), unlike regular DSiWare
they contain both SRL and NCCH (manual). Makerom can build them only with manual excluded.
Yeah, it was possible to pack dsi srl's into cia with make_cia tool.nice to see that makerom got a little better - but for eshop content i can only recommend makecdncia, it just works for everything
and, people were making dsiware cias from old dsiware dumped from their actual dsi before this update to makerom, so, i guess it you could do what they were doing.
but yeah you guys who like makerom don't need another tool!![]()
Alright, here we go. I'm not forking this on Github because it's literally thrown together from bits and pieces and heavy deletions from the original PlaiCDN script. There's probably a lot of cleanup to be done but I wanted to put this out there so people could use it.
validate_keys.py
Usage: validate_keys <options>
No Options : parses decTitleKeys.bin for valid title keys and outputs encrypted keys to screen
-checkall : adds system titles to the output
-csv : generates a titles.csv file in same directory
-help : displays this text
If you'd like to save the screen output to a file then add " > file.txt" to the end of the command like this:
validate_keys.py -csv > titles.txt
The CSV file may be imported into Excel or Google Spreadsheet (does not work well in Numbers)
Requirements: Similar to PlaiCDN, you need Python3, PyCrypto, ctr-common-1.crt, ctr-common-1.key and you also need BOTH decTitleKeys.bin and encTitleKeys.bin. You can dump them both from the latest compile of Decrypt9 or if you have one you can also generate the other with Decrypt9.
@cearp I found the Region detection by product code, however I can't get rid of the for loop that checks all the ninja servers since additional information comes from there such as publisher, version, file size and the product code itself. I still implemented a new region detector that helps properly identify region-free games that were identifying as EUR for some reason.
Your ctr-common-1.crt file has a .txt extension on it that's hidden. Try re-downloading it or show file extensions and remove the .txt or run this from command prompt: REN crt-common-1.crt.txt crt-common-1.crtI have downloaded ctr-common-1.crt, ctr-common-1.key from PlaiCDN github, installed Python3, PyCrypto and have both decTitleKeys.bin and encTitleKeys.bin from that key database but the script shows no result. Any idea?
Rather than downloading the encTitleKey.bin file from that site, instead download only the split encTitleKeys.bin's and convert it yourself on Decrypt9 to get the missing keys. Then you may use the script quoted above or PlaiCDN to get all the info. (hint, if you use PlaiCDN's -deckey option with an encTitleKeys.bin file that's been renamed to decTitleKeys.bin, it will still output the TitleID and Encrypted Key)If you go to "that key database" site, you can see several USA entries that have a decrypted title key, but the encrypted title key is blank. Which is strange if you can trivially get the encrypted title key from the decrypted one. Is there a better tool out (that will show you the key in text)?
Your ctr-common-1.crt file has a .txt extension on it that's hidden. Try re-downloading it or show file extensions and remove the .txt or run this from command prompt: REN crt-common-1.crt.txt crt-common-1.crt
Also, this release is a little old. What function interests you the most, as there may be a better tool out now for it.
Since C# and Java are similar, his code may be useful as a reference then.