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

  • Thread starter Thread starter d0k3
  • Start date Start date
  • Views Views 935,395
  • Replies Replies 4,476
  • Likes Likes 71
!!! The .sh CIA converter code isn't from 100pcrack but looks to be from @Februarysn0w !!!
(and you're using “” instead of "" in the Bash script)
Yeah I think I got it from there, but it's heavily modified to work with Mac/Linux I could do with someone testing it on Linux though but it should work. I will add some credits later. Thanking where I got all my stuff from.
 
Yeah I think I got it from there, but it's heavily modified to work with Mac/Linux I could do with someone testing it on Linux though but it should work. I will add some credits later. Thanking where I got all my stuff from.
Not heavily modified at all.
 
Not heavily modified at all.
His/Her script
Code:
@echo off
title ELF to CIA Convertor
@echo ------------------------------------------
@echo          ELF to CIA Convertor
@echo -Special Thanks to 1000pcrack provide some code-
@echo   Icon Image name must be "icon.png"
@echo   Banner Image name must be "bannner.png"
@echo   Wave faile name must be "audio.wav"
@echo ------------------------------------------
@echo Press any key to start.
pause>nul
if not exist banner.png goto error1
if not exist icon.png goto error2
if not exist *.rsf goto error3
if not exist audio.wav goto error4
@echo Create benner.bnr for cia
bannertool.exe makebanner -i banner.png -a audio.wav -o banner.bnr
pause>nul
@echo Create icon.ico for cia
@echo type app title whatever you like.
set /p title=Introduce app title:
@echo type deveploper Name.
set /p author=Introduce app author:
bannertool.exe makesmdh -s "%title%" -l "%title%" -p "%author%" -i icon.png  -o icon.icn
@echo finished Press any key!
pause>nul
@echo Building CIA
makerom -f cia -o install-me.cia -DAPP_ENCRYPTED=false -rsf AppInfo.rsf -target t -exefslogo -elf *.elf -icon icon.icn -banner banner.bnr
@echo Finished!
ping 127.0.0.1 -n 10 > nul
exit

:error1
cls
@echo banner.png does not exist or maybe the file name incorrect.
ping 127.0.0.1 -n 5 > nul
exit

:erorr2
cls
@echo icon.png does not exist or maybe the file name incorrect.
ping 127.0.0.1 -n 5 > nul
exit

:error3
cls
@echo.rsf does not exist.
ping 127.0.0.1 -n 5 > nul
exit

:error4
cls
@echo audio.wav does not exist or maybe the file name incorrect.
@echo.rsf does not exist.
ping 127.0.0.1 -n 5 > nul
exit

My script

Code:
echo off
title ELF to CIA Convertor
echo ------------------------------------------
echo          ELF to CIA Convertor
echo -Special Thanks to 1000pcrack provide some code-
echo   Icon Image name must be "icon.png"
echo   Banner Image name must be "bannner.png"
echo   WAV audio name must be "audio.wav"
echo ------------------------------------------
read -n1 -r -p "Press any key to continue..."
./bannertool makebanner -i banner.png -a audio.wav -o banner.bnr
echo Banner Made Succesfully!
read -n1 -r -p
echo  Create icon.ico for cia
./bannertool makesmdh -s “Decrypt9WIP” -l "Decrypt9WIP" -p "Archshift, d0k3, Shadowtrance & others" -i icon.png  -o icon.icn
echo Icon made Succefully!
read -n1 -r -p
echo Building CIA
./makerom -f cia -o Decrypt9WIP-CIA.cia -DAPP_ENCRYPTED=false -rsf AppInfo.rsf -target t -exefslogo -elf *.elf -icon icon.icn -banner banner.bnr
echo CIA Made succesfully!
echo Install Decrypt9WIP-CIA.cia
read -n1 -r -p "Press any key to exit..."

I've just shortened it and fixed any compatibility issues between Windows and Unix/Linux Environments

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

The .bat script is the only one not modified at all because I've tested it and it works on Windows 10
 
His/Her script
Code:
@echo off
title ELF to CIA Convertor
@echo ------------------------------------------
@echo          ELF to CIA Convertor
@echo -Special Thanks to 1000pcrack provide some code-
@echo   Icon Image name must be "icon.png"
@echo   Banner Image name must be "bannner.png"
@echo   Wave faile name must be "audio.wav"
@echo ------------------------------------------
@echo Press any key to start.
pause>nul
if not exist banner.png goto error1
if not exist icon.png goto error2
if not exist *.rsf goto error3
if not exist audio.wav goto error4
@echo Create benner.bnr for cia
bannertool.exe makebanner -i banner.png -a audio.wav -o banner.bnr
pause>nul
@echo Create icon.ico for cia
@echo type app title whatever you like.
set /p title=Introduce app title:
@echo type deveploper Name.
set /p author=Introduce app author:
bannertool.exe makesmdh -s "%title%" -l "%title%" -p "%author%" -i icon.png  -o icon.icn
@echo finished Press any key!
pause>nul
@echo Building CIA
makerom -f cia -o install-me.cia -DAPP_ENCRYPTED=false -rsf AppInfo.rsf -target t -exefslogo -elf *.elf -icon icon.icn -banner banner.bnr
@echo Finished!
ping 127.0.0.1 -n 10 > nul
exit

:error1
cls
@echo banner.png does not exist or maybe the file name incorrect.
ping 127.0.0.1 -n 5 > nul
exit

:erorr2
cls
@echo icon.png does not exist or maybe the file name incorrect.
ping 127.0.0.1 -n 5 > nul
exit

:error3
cls
@echo.rsf does not exist.
ping 127.0.0.1 -n 5 > nul
exit

:error4
cls
@echo audio.wav does not exist or maybe the file name incorrect.
@echo.rsf does not exist.
ping 127.0.0.1 -n 5 > nul
exit

My script

Code:
echo off
title ELF to CIA Convertor
echo ------------------------------------------
echo          ELF to CIA Convertor
echo -Special Thanks to 1000pcrack provide some code-
echo   Icon Image name must be "icon.png"
echo   Banner Image name must be "bannner.png"
echo   WAV audio name must be "audio.wav"
echo ------------------------------------------
read -n1 -r -p "Press any key to continue..."
./bannertool makebanner -i banner.png -a audio.wav -o banner.bnr
echo Banner Made Succesfully!
read -n1 -r -p
echo  Create icon.ico for cia
./bannertool makesmdh -s “Decrypt9WIP” -l "Decrypt9WIP" -p "Archshift, d0k3, Shadowtrance & others" -i icon.png  -o icon.icn
echo Icon made Succefully!
read -n1 -r -p
echo Building CIA
./makerom -f cia -o Decrypt9WIP-CIA.cia -DAPP_ENCRYPTED=false -rsf AppInfo.rsf -target t -exefslogo -elf *.elf -icon icon.icn -banner banner.bnr
echo CIA Made succesfully!
echo Install Decrypt9WIP-CIA.cia
read -n1 -r -p "Press any key to exit..."

I've just shortened it and fixed any compatibility issues between Windows and Unix/Linux Environments

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

The .bat script is the only one not modified at all because I've tested it and it works on Windows 10
Uh... the first isn't his/her script.
 
I did a repack of the CIA with a new banner and prebuilt icon:

Decrypt9WIPCIA_NAND.rar

It also installs to NAND as a system title. (Remember to retail encrypt any new CIAs of this you make. The included CIA is already encrypted correctly)
 
I don't know if you tested it, but I doubt it'll work, as you aren't setting Voodoo to 0xF and PAYLOAD_MEM to 1.
And the Makefile isn't building any CIA.
Both are not required... Voodoo only improves the boot rate and PAYLOAD_MEM is only required for certain loading methods.

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

I did a repack of the CIA with a new banner and prebuilt icon:

Decrypt9WIPCIA_NAND.rar

It also installs to NAND as a system title. (Remember to retail encrypt any new CIAs of this you make. The included CIA is already encrypted correctly)
Are there any advantages from making this a system CIA?
 
  • Like
Reactions: Mrrraou
Both are not required... Voodoo only improves the boot rate and PAYLOAD_MEM is only required for certain loading methods.
It's not loading the payload from SD either, so...

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

Are there any advantages from making this a system CIA?
To use with arm9loaderhax, yes.
 
You need to use power button to close Home Menu then hit Home Menu button to go back. Installing new system apps requires that you do that after installing them for them to show up. (that or just reboot the console. That works too)
 
I prefer not to connect to the Internet with SysNAND if I don't have to, so I tried to use the included ROP installer to launch the included Launcher.dat, but I get that an error occured. I'm on o3DS with 4.1.0-8U SysNAND. The cakes rop installer (4.x) runs successfully. Any idea what can be wrong?
 
I prefer not to connect to the Internet with SysNAND if I don't have to, so I tried to use the included ROP installer to launch the included Launcher.dat, but I get that an error occured. I'm on o3DS with 4.1.0-8U SysNAND. The cakes rop installer (4.x) runs successfully. Any idea what can be wrong?
The included ROP installer doesn't boot on Launcher.dat but on Decrypt9WIP.dat or Decrypt9WIP.bin.
 
  • Like
Reactions: SirByte
The included ROP installer doesn't boot on Launcher.dat but on Decrypt9WIP.dat or Decrypt9WIP.bin.

Perfect, it's the .dat and worked flawlessly. The reason I am asking is to find an easier way to downgrade to 2.1 when you are on 4.x instead of 9.2 and this is a perfect way to launch Decrypt9WIP.
 
I did a repack of the CIA with a new banner and prebuilt icon:

Decrypt9WIPCIA_NAND.rar

It also installs to NAND as a system title. (Remember to retail encrypt any new CIAs of this you make. The included CIA is already encrypted correctly)

Do I need anything aside from the CIA and booting into A9LH 9.0 FIRM sysNAND mode to launch this? I just get an instant black screen with the generic "An error has occurred. Turn off the power and try again" error.
 
Do I need anything aside from the CIA and booting into A9LH 9.0 FIRM sysNAND mode to launch this? I just get an instant black screen with the generic "An error has occurred. Turn off the power and try again" error.
Yoiu need to run in rxTools' pasta mode.
 

Site & Scene News

Popular threads in this forum