ROM Hack Decrypt PS3 ISOs in batch

  • Thread starter Thread starter Lucas Rey
  • Start date Start date
  • Views Views 2,213
  • Replies Replies 1

Lucas Rey

Member
Newcomer
Joined
Jan 15, 2016
Messages
14
Reaction score
69
Trophies
0
Age
53
XP
218
Country
Italy
Hello everyone, I have hundreds of encrypted PS3 ISO files and I'm looking for an automated method to decrypt them using a CLI tool via script.

Currently I'm thinking to use PS3DEC via CLI, with a batch/powershell script that will cycle like this:

for %%f in (*.iso) do (
.\ps3dec.exe .....
)

The problem I'm facing now is that I'm not able to decrypt via ps3dec as I received the following error. I created the "keys" folder next to the ps3dec.exe, copied all dkeys got from there: https://github.com/aldostools/Resources/raw/main/REDUMP_DKEY.7z but still get Key not found:
.\ps3dec.exe -a -s --iso "C:\PS3\ENC\Afro Samurai (Europe) (En,Fr,Es,It).iso"
Key not found
2025-02-15T20:22:20.408456400+01:00 [WARN] - Key not found

Any clue please? According with ps3dec help, the -a or --auto should autodetect the right key for the iso based on its name

Usage: PS3DECREMAKE_CLI [OPTIONS] --iso <ISO>

Options:
-i, --iso <ISO>
The path to the PS3 ISO file to decrypt.

-d, --dk <DK>
The decryption key in Hexadecimal format of base-16.

-t, --tc <TC>
Thread count, be careful this might vary from computer to computer.

[default: 32]

-a, --auto
Autodetect the right key for the iso based on its name then decrypt

Thank you, Lucas
Post automatically merged:



EDIT: OPS! Got it, the problem is powershell who adds the .\ in front of ISO name so that PS3DEC doesn't match them. Running the following script in CMD window it will works perfect and decrypt all PS3 ISO in current directory:

Code:
@echo off
set path2ps3dec=C:\PS3\ps3dec.exe
set decryptedISOFolder=C:\PS3\DEC\

for %%f in (*.iso) do (
  echo Decrypting: %%f
  "%path2ps3dec%" --iso "%%f" --auto -s
)

Just remember to download the keys from previous post and place them in a directory called keys next to PS3DEC executable. And make sure the ISO name matches the dkey name.
 
Last edited by Lucas Rey,

Site & Scene News

Popular threads in this forum