Homebrew Official [Download] Decrypt9 - Open Source Decryption Tools (WIP)

  • Thread starter Thread starter d0k3
  • Start date Start date
  • Views Views 935,297
  • Replies Replies 4,476
  • Likes Likes 71
the option to decrypt dbt, tittle and Exdata movible.bin sd using it for? I thought that I could use to pass data sd from one console to another, but it is not so
Well, that's what I thought, too. In theory, putting another 3DS movable.sed to the SD card root should enable you to decrypt the SD card contents of that another 3DS.
 
snap004.png


@Everyone, there is a new release, with these changes:
  • Encrypting CIA files (shallow only for now)
  • Encrypting NCCH/NCSD files
  • Decrypting (&Encrypting) homebrew apps (using FixedKey)
  • More thorough checking to the SeedDB Updater (in some rare cases, seeds were missed previously)
  • Decrypt9 now writes a log ("Decrypt9.log")
  • Includes a hidden screenshot function (press X in menu)
  • Some fixes and cosmetic improvements
I guess @Asia81 will be pretty happy to hear that he can do screenshots for his tutorials now on his own - keep in mind it only works in menu, though. BTW, a lot of the stuff you did tutorials for in the past now works a lot easier thanks to Decrypt9 ;).

Everything that is new needs to be tested, and testing old stuff makes sense, too. For this release, I especially ask the GW users, @Cenk Akbaba, @Jow Banks, @Smyers75, @Dean_ .

This is what needs to be tested:
  1. Decrypt a commercial .3DS rom (something fairly new, needs to have 7x crypto) using the NCCH/NCSD Decryptor. Does it work in GW?
  2. Now, encrypt the .3DS rom you decrypted in step 1. using the NCCH/NCSD Encryptor. Does it work in GW?
  3. Decrypt a legit CIA (you know where to get these) using the CIA Deep Decryptor. Can you install it in GW?
  4. Now, encrypt the CIA you decrypted in step 3. using the CIA Shallow Encryptor. Can you install it now?
  5. Now, repeat steps 3. and 4. with a CIA you could normally install but not play (seed encrypted, f.e., but keep in mind that for decryption you need the seed in your seeddb.bin file).
If you can only help with part of it, no problem. Just let me know how it works for you!

BTW, I've been thinking about moving the menu to the bottom. This would look something like the thing in the spoiler, and maybe, possibly, there would be more useful info to display on top later. Or I'd use the bottom screen for useful information. I'll have to see...
snap001.png
 
Last edited by d0k3,
  • Like
Reactions: Cha0s Em3rald
I haven't tested the other stuff, but I've tried the screenshot function and it works great (on both your version and mine), i added it to my local copies the other day :)
Pity the screenshots don't go into their own sub folder but that's ok i guess :)
 
  • Like
Reactions: d0k3
If you have a version like in the screenshot, I'd like to have it. I have a shattered top screen. It's kinda hard using the source code to navigate the menu...
 
If you have a version like in the screenshot, I'd like to have it. I have a shattered top screen. It's kinda hard using the source code to navigate the menu...
Compile it yourself. You only need one small change at the top of menu.c (change USE_TOP_SCREEN to false).
 
Compile it yourself. You only need one small change at the top of menu.c (change USE_TOP_SCREEN to false).

Why not add an option to set or unset the variable? Then press L or something and it'll toggle the variable from true to false and vice versa... Gives a user more choice :)
 
So, with some upcoming eShop titles I want to dump I've started to look into the seedDB again. I downloaded a few recent demos from the JP eShop and while I can dump the tickets just fine, the generated seeddb.bin (by "Update seeddb") is always empty. Same when I dump seedsave.bin and run it through seedconv.exe ("No seeds found"). Does that simply mean that title seeds are only written to the file if a title requires it (and thus the demos I downloaded didn't)? Or am I doing something wrong?
 
So, with some upcoming eShop titles I want to dump I've started to look into the seedDB again. I downloaded a few recent demos from the JP eShop and while I can dump the tickets just fine, the generated seeddb.bin (by "Update seeddb") is always empty. Same when I dump seedsave.bin and run it through seedconv.exe ("No seeds found"). Does that simply mean that title seeds are only written to the file if a title requires it (and thus the demos I downloaded didn't)? Or am I doing something wrong?
I'm pretty sure that's how it works, if they don't require it then it won't be in the seeddb. Although @d0k3 probably knows more about it than i do.
I'm assuming you're running update seeddb/seedsave on an OLD 3ds right? If not, then you're out of luck. Damn nintendo and their extra encryption on n3ds! lol
There's also this... http://tinivi.net/seeddb/ so you don't really need to get your own seeds anymore. :)
 
Last edited by Shadowtrance,
I'm pretty sure that's how it works, if they don't require it then it won't be in the seeddb. Although @d0k3 probably knows more about it than i do.
I'm assuming you're running update seeddb/seedsave on an OLD 3ds right? If not, then you're out of luck. Damn nintendo and their extra encryption on n3ds! lol
Yep, O3DS 4.x. Oldschool :P
Thanks for the clarification, that makes sense. Just wanted to test the cryptofixing routine because I'm pretty sure MHX will require it.
 
Yep, O3DS 4.x. Oldschool :P
Thanks for the clarification, that makes sense. Just wanted to test the cryptofixing routine because I'm pretty sure MHX will require it.
Yeah any new eshop games (All?) will have seed crypto i think...
See the link in post above though (edited while you replied)...
 
Yeah any new eshop games (All?) will have seed crypto i think...
See the link in post above though (edited while you replied)...
I'm aware of the seeddb site, I just don't know how regularly it is updated. And thanks to Decrypt9 getting an own SeedDB really is just a matter of seconds, so it's not an inconvenience at all :)
 
I'm aware of the seeddb site, I just don't know how regularly it is updated. And thanks to Decrypt9 getting an own SeedDB really is just a matter of seconds, so it's not an inconvenience at all :)
Fair enough, think everyone knows about it now. haha but you never know. :)
Seems to be updated pretty regularly.
 
I'm pretty sure that's how it works, if they don't require it then it won't be in the seeddb. Although @d0k3 probably knows more about it than i do.
I'm assuming you're running update seeddb/seedsave on an OLD 3ds right? If not, then you're out of luck. Damn nintendo and their extra encryption on n3ds! lol
There's also this... http://tinivi.net/seeddb/ so you don't really need to get your own seeds anymore. :)

They also seem to be keeping the pastebin current with what's in the seeddb.db from there.
http://pastebin.com/zNM8zYwa

I just checked and it shows what was added yesterday (Nov 10)
 
Why not add an option to set or unset the variable? Then press L or something and it'll toggle the variable from true to false and vice versa... Gives a user more choice :)
Not a good idea. It's hard enough to have one good, working user interface (I think by now Decrypt9WIP has half of it), and it would be even more difficult to have too. For special cases like the broken top screen I can still make it easy to switch via a small source code change. Also, this is not a variable, it is a #define.

So, with some upcoming eShop titles I want to dump I've started to look into the seedDB again. I downloaded a few recent demos from the JP eShop and while I can dump the tickets just fine, the generated seeddb.bin (by "Update seeddb") is always empty. Same when I dump seedsave.bin and run it through seedconv.exe ("No seeds found"). Does that simply mean that title seeds are only written to the file if a title requires it (and thus the demos I downloaded didn't)? Or am I doing something wrong?
I'm pretty sure that's how it works, if they don't require it then it won't be in the seeddb. Although @d0k3 probably knows more about it than i do.
I'm assuming you're running update seeddb/seedsave on an OLD 3ds right? If not, then you're out of luck. Damn nintendo and their extra encryption on n3ds! lol
Well, to be able to run Decrypt9 AND have an EmuNAND equal or above 9.6 (ie. to able to run the two features) you absolutely need to have a 3DS. Make sure you download and use the most recent versions of Decrypt9WIP and SEEDconv. I recently fixed something in both. If it still does not work, it is most likely these title actually don't have seed crypto. You can also test, though, if you decrypt them from the SD card and run them through the NCCH/NCSD Decryptor.
 
@d0k3 i think there way be a issue with your menu.... the last option, "Game Decryptor Options" shows as NULL for me with my local version of yours.
Only differences is i enabled experimental and added a text line for screenshot button under START, other than it's identical to your current source.
 
@d0k3 i think there way be a issue with your menu.... the last option, "Game Decryptor Options" shows as NULL for me with my local version of yours.
Only differences is i enabled experimental and added a text line for screenshot button under START, other than it's identical to your current source.
I'll take a look later. And hey @GW_users, I need testers :P.
 
View attachment 29597

@Everyone, there is a new release, with these changes:
  • Encrypting CIA files (shallow only for now)
  • Encrypting NCCH/NCSD files
  • Decrypting (&Encrypting) homebrew apps (using FixedKey)
  • More thorough checking to the SeedDB Updater (in some rare cases, seeds were missed previously)
  • Decrypt9 now writes a log ("Decrypt9.log")
  • Includes a hidden screenshot function (press X in menu)
  • Some fixes and cosmetic improvements
I guess @Asia81 will be pretty happy to hear that he can do screenshots for his tutorials now on his own - keep in mind it only works in menu, though. BTW, a lot of the stuff you did tutorials for in the past now works a lot easier thanks to Decrypt9 ;).

Everything that is new needs to be tested, and testing old stuff makes sense, too. For this release, I especially ask the GW users, @Cenk Akbaba, @Jow Banks, @Smyers75, @Dean_ .

This is what needs to be tested:
  1. Decrypt a commercial .3DS rom (something fairly new, needs to have 7x crypto) using the NCCH/NCSD Decryptor. Does it work in GW?
  2. Now, encrypt the .3DS rom you decrypted in step 1. using the NCCH/NCSD Encryptor. Does it work in GW?
  3. Decrypt a legit CIA (you know where to get these) using the CIA Deep Decryptor. Can you install it in GW?
  4. Now, encrypt the CIA you decrypted in step 3. using the CIA Shallow Encryptor. Can you install it now?
  5. Now, repeat steps 3. and 4. with a CIA you could normally install but not play (seed encrypted, f.e., but keep in mind that for decryption you need the seed in your seeddb.bin file).
If you can only help with part of it, no problem. Just let me know how it works for you!

BTW, I've been thinking about moving the menu to the bottom. This would look something like the thing in the spoiler, and maybe, possibly, there would be more useful info to display on top later. Or I'd use the bottom screen for useful information. I'll have to see...
Why encrypt it tho.
 
Not a good idea. It's hard enough to have one good, working user interface (I think by now Decrypt9WIP has half of it), and it would be even more difficult to have too. For special cases like the broken top screen I can still make it easy to switch via a small source code change. Also, this is not a variable, it is a #define.

Yeah I saw the #define and was like "guess that won't happen easily"
 
Last edited by dark_samus3,
Why encrypt it tho.
GW compatibility. The GW doesn't manage to install the fully decrypted (ie. deep decrypted CIAs), CFWs do. I don't know the cause, but that is one way to find out if missing encryption has anything to do with it. The GW won't load fully unencrypted .3DS either, btw, that is the whole reason why anyone is interested in zero key encryption, and why homebrew is usually zero key encrypted when compiled as .3DS.
 

Site & Scene News

Popular threads in this forum