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

  • Thread starter Thread starter d0k3
  • Start date Start date
  • Views Views 935,402
  • Replies Replies 4,476
  • Likes Likes 71
Question:
How to use Decrypt9 to unpack things?

NCCH padgen can't generate RomFS XORPAD which is required for unpacking .3DS.
NCCH Decrypter outputs only a single .3DS file which makes me unable to do anything further.
 
Last edited by MelonGx,
Question:
How to use Decrypt9 to unpack things?

NCCH padgen can't generate RomFS XORPAD which is required for unpacking .3DS.
NCCH Decrypter outputs only a single .3DS file which makes me unable to do anything further.
Umm D9 doesn't unpack anything. that is done on pc alone.
And to unpack games you have 2 options, directly decrypt the .3ds (or .cia) and then unpack it with ctrtool etc on pc. OR generate xorpads and do it that way on pc (which is the long way).
 
Umm D9 doesn't unpack anything. that is done on pc alone.
And to unpack games you have 2 options, directly decrypt the .3ds (or .cia) and then unpack it with ctrtool etc on pc. OR generate xorpads and do it that way on pc (which is the long way).
Decrypt9 cannot generate RomFS XORPAD but the old method's tool can (which requires SysNAND 4.X and very very easy to freeze)

Then the last hope is decrypted single .3DS file but how do I use it?
I tried using CTRTool to extract the RomFS and mounted it with OSFMount but it didn't work.
 
Last edited by MelonGx,
Decrypt9 cannot generate RomFS XORPAD but the old method's tool can (which requires SysNAND 4.X and very very easy to freeze)

Then the last hope is decrypted single .3DS file but how do I use it?
I tried using CTRTool to extract the RomFS and mounted it with OSFMount but it didn't work.
Yes it can. It can generate all xorpads if you give it a complete ncchinfo.bin.
And you don't mount the romfs with ofsmount, that won't get you anywhere. You have to extract (unpack) the romfs etc with ctrtool. Which I'm not going to get into here as there's already plenty of info here on the forums about doing all that already.
 
  • Like
Reactions: MelonGx
Yes it can. It can generate all xorpads if you give it a complete ncchinfo.bin.
And you don't mount the romfs with ofsmount, that won't get you anywhere. You have to extract (unpack) the romfs etc with ctrtool. Which I'm not going to get into here as there's already plenty of info here on the forums about doing all that already.
Finally I got it worked.
(1) NCCH Decrypter -> output a single decrypted .3DS
(2) Make a .bat with this
Code:
ctrtool.exe -p --romfs=romfs.bin *.3ds
ctrtool.exe -t romfs --romfsdir=* RomFS.bin
and execute it
 
Finally I got it worked.
(1) NCCH Decrypter -> output a single decrypted .3DS
(2) Make a .bat with this
Code:
ctrtool.exe -p --romfs=romfs.bin *.3ds
ctrtool.exe -t romfs --romfsdir=* RomFS.bin
and execute it
With that old XORpad method, you simply would have had to use the ncchinfo_gen.py to generate the ncchinfo.bin. That's basically how it always has been done.
 
  • Like
Reactions: MelonGx
The nand backup tester said me that my firm1 is corrupted (I have a9hl) What wrong it is? Because my new3ds work fine.

Enviado desde mi DROID4 mediante Tapatalk
Firm corruption (in one of the two, not both!) is completely normal with a9lh and is part of the exploit. That is also the reason why the NAND validator said it succeeded and did not fail.
 
@d0k3 BTW I like that "blue screen" because it decreases the boot failure rate on my New3DS (Menuhax 2.2 -> CTRBootManager -> HBL -> D9) :P
Unfortunately it has been removed from current version :(
 
Last edited by MelonGx,
What would happen if both got corrupted?
The validation would fail. Decrypt9 would also not let you restore that image anymore (unless you use 'forced').

@d0k3 BTW I like that "blue screen" because it decreases the boot failure rate on my New3DS (Menuhax 2.2 -> CTRBootManager -> HBL -> D9) :P
Unfortunately it has been removed from current version :(
The boot failure rate on N3DS with Brahma is an enigma we have not yet figured out. At times you get 10 succesful boots in sequence, thinking everything is fine now, and then you get 5 failures after each other.

If you really want to increase the bootrate via HBL, try the XML method with my Brahma2Loader:
https://gbatemp.net/threads/release-easily-load-payloads-in-hb-launcher-via-brahma-2-mod.402857/
... and experiment with different Voodoo parameters:
https://github.com/d0k3/BrahmaLoader/blob/loader2/resources/AppInfo
 
  • Like
Reactions: MelonGx
@d0k3
It's possible to add a shutdown script in the WIP version too, not only the UI?
I don't like force the power off by holding the power button, and reboot for then a proper power off take time...
 
  • Like
Reactions: pikatsu
I don't know, it's not written in the menu, there is only unmount and reboot

--------------------- MERGED ---------------------------

Or right, it work
Sorry ~
 
  • Like
Reactions: hobbledehoy899
Would it be possible to not have Decrypt9 turn the bottom-screen's back-light on, sort of like how you can turn the bottom screen off when using the RetroArch emulators?
 
@d0k3
  • You can now display a logo on the bottom screen - just put d9logo.bin into your SD root or into /Decrypt9
Real or just part of the April fools? If real how is this done?
 
Would it be possible to not have Decrypt9 turn the bottom-screen's back-light on, sort of like how you can turn the bottom screen off when using the RetroArch emulators?
Not possible in ARM9. Or I'd have to mess with I2C, which would mean danger.

@d0k3
  • You can now display a logo on the bottom screen - just put d9logo.bin into your SD root or into /Decrypt9
Real or just part of the April fools? If real how is this done?
In fact, the full April fools changelog was real. To get that logo, just do (with imagemagick installed):
Code:
convert yourlogo.png -rotate 90 d9logo.bgr
ren d9logo.bgr d9logo.bin
Or do it any other way. It's basically always the same rotated 24bit BGR format.
 
  • Like
Reactions: Xenosaiga
  • Like
Reactions: Deleted User

Site & Scene News

Popular threads in this forum