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

  • Thread starter Thread starter d0k3
  • Start date Start date
  • Views Views 935,317
  • Replies Replies 4,476
  • Likes Likes 71
I think that problem should have to be in @Shadowtrances latest version, too, but not in @Archshifts. It seems to have to do with libkhax. Can anyone confirm this?
And, @Syphurith, can you try the latest release and see if the problem persists with that? Won't include the latest features, but that is just intended for testing.
Also, @Smyers75, that looks a lot like some problem in libkhax, which is strange. svcBackdoor is defined in 3ds.h, so it should be available in any case.
The MSET booting issue is solved. I cleaned the repo (except the .git folder), make release, and copy Decrypt9WIP, and the dat and bin to sd card. Now that boots.
@d0k3 I don't know if @Smyers75 have updated the library files, which includes the 'include','lib' and maybe 'tool'.
 
Last edited by Syphurith,
  • Like
Reactions: d0k3
Alright, here's a new release for everyone to test:
  • Improved working directory handling
  • Names of working directories are now shown in menu
  • Added Health & Safety dump and inject features for EmuNAND & SysNAND
  • Added SD folder structure decryptor
  • Added hidden PowerOff() function
  • Numerous bug fixes
  • Improved readability of source code

This is how the new working directory handling works:
  • Working directory is "/Decrypt9", it will only be used if it is available
  • Even if it is available, files will be searched in "/" if not found in work dir
  • The working directory is also an alternative to "/D9Game", if that does not exist
  • Note: "/D9decrypt" is now "/D9Game", which is more consistent with the names in the menu

For info about using the Healt & Safety Dumper / Injector, and also on how to create valid inject files, see here (or here to discuss). We're still trying to make generating inject files simpler (@Shadowtrance is working on a GUI), but for now this can be considered a safe solution. The injector itself (as well as all other file injector features) is designed so that it will never touch anything but the space of the file to inject. For Health & Safety, the worst that can happen (if you do something wrong) is that Health & Safety vanishes from your menu, and that is still totally fixable (most likely, even for people who are too lazy to do backups).

To use the SD decryptor, you need to manually copy the full folder structure from /Nintendo 3DS// to "/D9Game". Of course you need to copy only what you need decrypted. The hidden PowerOff() function is triggered via LEFT + START (instead of just START).

Have fun testing and give me feedback!
 
Last edited by d0k3,
  • Like
Reactions: Cha0s Em3rald
Alright, here's a new release for everyone to test:
  • Improved working directory handling
  • Names of working directories are now shown in menu
  • Added Health & Safety dump and inject features for EmuNAND & SysNAND
  • Added SD folder structure decryptor
  • Added hidden PowerOff() function
  • Numerous bug fixes
  • Improved readability of source code

This is how the new working directory handling works:
  • Working directory is "/Decrypt9", it will only be used if it is available
  • Even if it is available, files will be searched in "/" if not found in work dir
  • The working directory is also an alternative to "/D9Game", if that does not exist
  • Note: "/D9decrypt" is now "/D9Game", which is more consistent with the names in the menu

For info about using the Healt & Safety Dumper / Injector, and also on how to create valid inject files, see here (or here to discuss). We're still trying to make generating inject files simpler (@Shadowtrance is working on a GUI), but for now this can be considered a safe solution. The injector itself (as well as all other file injector features) is designed so that it will never touch anything but the space of the file to inject. For Health & Safety, the worst that can happen (if you do something wrong) is that Health & Safety vanishes from your menu, and that is still totally fixable.

To use the SD decryptor, you need to manually copy the full folder structure from /Nintendo 3DS// to "/D9Game". Of course you need to copy only what you need decrypted. The hidden PowerOff() function is triggered via LEFT + START (instead of just START).

Have fun testing and give me feedback!

I'm planning on porting that injection script over to linux and making a PR for it, 3ds is disassembled so I can't test the produced files though :P

EDIT: where do you get the mergeexheader tool from? Can't seem to find it...
 
Last edited by dark_samus3,
Last edited by d0k3,
  • Like
Reactions: dark_samus3
For use Decrypt9 with the Browser (o3ds), we need just Decrypt9WIP.dat at the root of our SD Card?
What's the URL?
 
One other question.

BrowserHax is 2.1 or 2.5?
I know Decrypt9 (with Brahma2) wok on Hax 2.1 (because it's what I'm using with ThemeHax 2.1), but what about Hax 2.5 ?

Will work on 2.5 and maybe higher?
 
No, you need to use the Launcher.dat version for old 3ds browser.

Decrypt9WIP.dat and (Decrypt9UI.dat in mine) are for MSET.
Seems you forgot man.. MSET versions work on browser.. You were the one who discovered it after I proposed having it lol
 
Seems you forgot man.. MSET versions work on browser.. You were the one who discovered it after I proposed having it lol
Probably plenty of things I've forgotten...so much info crammed into my brain it isn't funny. :P
The MSET versions are built on Cakehax though, i dunno if they work with the browser or not. I know they won't work with the gateway launcher because of the file name.
And sadly still no browser way to launch it on n3ds, must poke around the n3ds browserhax source at some point.
There's probably very few people who don't have access or some way to load homebrew launcher now anyway so not really an issue...
 
  • Like
Reactions: Madridi
Thanks, but renaming it would achieve similar results to deleting it correct? As in, the exploit will only launch whatever is named as launcher.dat .. So you can't have both?

If that's the case, any limitations why it's set up this way? Why not have it called decrypt9.dat and have a dedicated URL to launch it like the way rxTools, cakes, etc are set up?

I would love to play a bit with this tool if it was possible :)

Well what do you know, it turns out that it can be loaded like that. :)
The MSET version (cakehax) can be loaded via mset or from the browser (on old 3ds).
For example, loading my version would be
http://dukesrg.no-ip.org/3ds/cakes?Decrypt9UI.dat

Probably plenty of things I've forgotten...so much info crammed into my brain it isn't funny. :P
The MSET versions are built on Cakehax though, i dunno if they work with the browser or not. I know they won't work with the gateway launcher because of the file name.
And sadly still no browser way to launch it on n3ds, must poke around the n3ds browserhax source at some point.
There's probably very few people who don't have access or some way to load homebrew launcher now anyway so not really an issue...

lol here, remember this?

@Asia81 .. In case you want to load it this way
 
Thanks! Compiles and works great!
Tested it on my N3DS with a .3DS file that needed seeddb.bin and it worked fine.

Questions on the SD Decryptor:
Is this only for Updates and DLC ?
 
Can someone add a screenshot of the menu from the latest build?
Thanks :)
It's for add in my tutorial
 
  • Like
Reactions: d0k3

Site & Scene News

Popular threads in this forum