PS3:Decrypting PS3 ISOs: Difference between revisions

From ConsoleMods Wiki
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:PS3]]
[[Category:PS3]]
<!-- Acknowledgement: https://rpcs3.net/quickstart was used as a basis for the 3K3Y instructions -->
<!-- Acknowledgement: https://rpcs3.net/quickstart was used as a basis for the 3K3Y instructions -->
If a PS3 is not used to dump a PlayStation 3 disc, the resulting ISO file will be encrypted, resulting in an error when attempting to run the game, usually `80010017`. Dumping a disc as an encrypted ISO with [[PS3:ManaGunZ|ManaGunZ]] on a PS3 will also show the same error.
If standard disc ripping techniques are used to dump a PS3 disc, the resulting ISO file will be encrypted, resulting in an error when attempting to run the game, usually `80010017`. Dumping a disc as an encrypted ISO with [[PS3:ManaGunZ|ManaGunZ]] on a PS3 will also show the same error.


There are many methods of decrypting ISOs, and this page will show each method.
There are many methods of decrypting ISOs, and this page will show each method.


==PS3Dec Method==
== Evilnat CFW Method ==


=== Materials Needed ===
=== Materials Needed ===


* A Windows computer
* [[PS3:Getting Started|CFW compatible PS3]] installed with [[PS3:Firmwares#Evilnat|Evilnat 4.91 or newer]]
* [[:File:PS3DecR5.7z|PS3Dec]]
** If you wish to compile this app, [https://github.com/al3xtjames/PS3Dec the source code is found here].
** [[:File:PS3Dec Simple GUI 1.16.zip|A GUI Version of this tool is also available with decryption keys.]]
* A matching decryption key
* A matching decryption key
** Get the dkey for your game from [http://redump.org/discs/system/ps3/ Redump] or [https://ps3.aldostools.org/dkey.html aldostools' repository].  
**Get the .key or .dkey file for your game [http://wiki.redump.org/index.php?title=PlayStation_3_Dumping_Guide from your own dump], [http://redump.org/discs/system/ps3/ Redump], or [https://ps3.aldostools.org/dkey.html aldostools' repository].
** [http://redump.org/dkeys/ps3/ Redump also provides an up-to-date zip file of every key here]
**[http://redump.org/dkeys/ps3/ Redump also provides an up-to-date zip file of every key here]


=== Using the Command Line ===
=== Setting Up On-the-Fly Decryption ===


# Extract the contents of the PS3Dec zip file to its own folder on the computer.
# Transfer the decryption key of your ISO to the same location as the game ISO in `dev_hdd0/PS3ISO` or `dev_usb000/PS3ISO`.
# Open CMD or Terminal and drag PS3Dec.exe into the cmd window
# Make sure the decryption key and ISO files have the same file name.
# Type `d key [dkey here]` (When you paste the dkey, you might get an error, just press the up arrow and carry on)
# You are now ready to mount the game with a backup manager and play it. The Cobra plugin will automatically decrypt the game if you have the disc key.
# Drag the encrypted iso on to the Command Prompt and it will auto insert the location of the ISO
# Make a copy of the iso in a different folder (e.g. Decrypted Roms), and name the copy something that will remind you it is a decrypted iso
# Make a space after the speech mark for the input and then drag the copy onto Command Prompt, it will give you an error if you don't do this. Don't click 'Enter' yet
# Verify that the info entered is structured like this: `PS3Dec.exe d key (your dkey here) "(location of encrypted iso)" "(location of output iso)"`
# Once verified, press 'Enter'.
# Wait for the iso to decrypt
# Once decrypted, open the ISO in any zip extractor, and look for LICDIR in PS3_GAME, then extract LIC.DAT, if successfully decrypted then it should start with "PS3LICDA".
# However, not all games have LICDIR (e.g Wall.E) which means you have to extract the eboot.bin. When you open the eboot.bin (recommended to open in Notepad++), the eboot should start with SCE if decrypted successfully. (If in folder format, you can use RPCS3 to see if it opens as well)
# Once it is verified that it is decrypted, you are good to go.


=== Using the GUI Version ===
==PS3Dec Method==


# Extract the contents of the PS3Dec zip file to its own folder on the computer.
===Materials Needed===
# Run the `PS3Dec Simple GUI.exe` file and follow the on-screen instructions.


== PS3 Disc Dumper Method ==
*A Windows computer
*[[:File:PS3DecR5.7z|PS3Dec]]
**If you wish to compile this app, [https://github.com/al3xtjames/PS3Dec the source code is found here].
**[[:File:PS3Dec Simple GUI 1.16.zip|A GUI Version of this tool is also available with decryption keys.]]
*A matching decryption key
**Get the dkey for your game [http://wiki.redump.org/index.php?title=PlayStation_3_Dumping_Guide from your own dump], [http://redump.org/discs/system/ps3/ Redump], or [https://ps3.aldostools.org/dkey.html aldostools' repository].
**[http://redump.org/dkeys/ps3/ Redump also provides an up-to-date zip file of every key here]


=== Materials Needed ===
===Using the Command Line===
 
#Extract the contents of the PS3Dec zip file to its own folder on the computer.
#Open CMD or Terminal and drag PS3Dec.exe into the cmd window
#Type `d key [dkey here]` (When you paste the dkey, you might get an error, just press the up arrow and carry on)
#Drag the encrypted iso on to the Command Prompt and it will auto insert the location of the ISO
#Make a copy of the iso in a different folder (e.g. Decrypted Roms), and name the copy something that will remind you it is a decrypted iso
#Make a space after the speech mark for the input and then drag the copy onto Command Prompt, it will give you an error if you don't do this. Don't click 'Enter' yet
#Verify that the info entered is structured like this: `PS3Dec.exe d key (your dkey here) "(location of encrypted iso)" "(location of output iso)"`
#Once verified, press 'Enter'.
#Wait for the ISO to decrypt
#Once decrypted, open the ISO in any zip extractor, and look for LICDIR in PS3_GAME, then extract LIC.DAT, if successfully decrypted then it should start with "PS3LICDA".
#However, not all games have LICDIR (e.g Wall.E) which means you have to extract the eboot.bin. When you open the eboot.bin (recommended to open in Notepad++), the eboot should start with SCE if decrypted successfully. (If in folder format, you can use RPCS3 to see if it opens as well)
#Once it is verified that it is decrypted, you are good to go.
 
=== Using the GUI Version===
 
#Extract the contents of the PS3Dec Simple GUI zip file to its own folder on the computer.
#Run the `PS3Dec Simple GUI.exe` file and follow the on-screen instructions.
 
==PS3 Disc Dumper Method==
 
===Materials Needed===


* A Windows, Linux, or macOS computer
*A Windows, Linux, or macOS computer
* [https://github.com/13xforever/ps3-disc-dumper PS3 Disc Dumper]
*If duming the disc with a computer, [http://wiki.redump.org/index.php?title=Optical_Disc_Drive_Compatibility#PlayStation_3_.26_4 a compatible disc drive]
*[https://github.com/13xforever/ps3-disc-dumper PS3 Disc Dumper]


=== Usage ===
===Usage===


# Mount the desired ISO as a virtual disc.
#Insert the disc into your PC, or mount the desired ISO as a virtual disc
#* On Linux you may need to confirm auto-mount or to mount the ISO manually (either through file manager or via console command <code>$ mount</code>)
#*On Linux you may need to confirm auto-mount or to mount the ISO manually (either through file manager or via console command <code>$ mount</code>)
#* To manually mount an ISO on Windows, right click the file and click <code>Mount</code>
#*To manually mount an ISO on Windows, right click the file and click <code>Mount</code>
# Put the <code>ps3-disc-dumper</code> executable in any folder
# Put the <code>ps3-disc-dumper</code> executable in any folder
#* On Linux, make the file executable (via <code>Properties > Permissions</code> or via console command <code>$ chmod +x ./ps3-disc-dumper</code>)
#*On Linux, make the file executable (via <code>Properties > Permissions</code> or via console command <code>$ chmod +x ./ps3-disc-dumper</code>)
# Start the dumper
#Start the dumper
# Follow the on-screen instructions
#Follow the on-screen instructions  
#* By default, this program dump/convert the ISO into a folder. The folder format game can now be transferred to a PS3 inside the `/GAMES` folder.
#*By default, this program dump/convert the ISO into a folder. The folder format game can now be transferred to a PS3 inside the `/GAMES` folder.


==3k3y Method==
==3k3y Method==


=== Materials Needed===  
===Materials Needed===  
*A Windows computer
*A Windows computer
*a matching IRD file
*a matching IRD file
*[https://rpcs3.net/cdn/tools/patcher.zip PS3ISOPatcher] ([https://web.archive.org/web/20221217034857/https://rpcs3.net/cdn/tools/patcher.zip mirror])
*[https://rpcs3.net/cdn/tools/patcher.zip PS3ISOPatcher] ([[:File:PS3ISOPatcher.zip|mirror]])
*[https://rpcs3.net/cdn/tools/3k3y.zip 3K3Y] ([https://web.archive.org/web/20220921172137/https://rpcs3.net/cdn/tools/3k3y.zip mirror])
*[https://rpcs3.net/cdn/tools/3k3y.zip 3K3Y] ([[:File:3k3y.zip|mirror]])
*Optional: [[Media:3k3y_iso_tools_user_manual_v1.0.pdf]]
*Optional: [[Media:3k3y_iso_tools_user_manual_v1.0.pdf]]


===Finding a matching IRD file===
=== Finding a matching IRD file===  
#Find the TitleID of the ISO.
#Find the TitleID of the ISO.
#*This is required as a single game can have multiple releases over multiple regions.
#*This is required as a single game can have multiple releases over multiple regions.
#*If the titleID of a game is unknown, it can be found using the following method:
#*If the titleID of a game is unknown, it can be found using the following method:
##Drag and drop the ISO file into [https://mh-nexus.de/en/hxd/ HxD] or other similar hex editor program and find the titleID next to the "PlayStation3" text, OR
##Drag and drop the ISO file into [https://mh-nexus.de/en/hxd/ HxD] or other similar hex editor program and find the titleID next to the "PlayStation3" text, OR
##Mount the ISO or open it in a file explorer such as 7-zip or Winrar.
## Mount the ISO or open it in a file explorer such as 7-zip or Winrar.
##Locate either `PS3_DISC.SFB` or `PARAM.SFO` and open the file with a hex editor program.
##Locate either `PS3_DISC.SFB` or `PARAM.SFO` and open the file with a hex editor program.
##Inside the hex editor program, find the titleID, it will be in the form of `ABCD12345` or `ABCD-12345` e.g. "BCES00510".
## Inside the hex editor program, find the titleID, it will be in the form of `ABCD12345` or `ABCD-12345` e.g. "BCES00510".
#Open a web browser and navigate to [http://ps3.aldostools.org/ird.html Aldo's PS3 IRD database] or [http://ps3ird.free.fr alternate database].
#Open a web browser and navigate to [http://ps3.aldostools.org/ird.html Aldo's PS3 IRD database] or [http://ps3ird.free.fr alternate database].
#In the search bar, enter the titleID previously found, and download the corresponding IRD file.
#In the search bar, enter the titleID previously found, and download the corresponding IRD file.
Line 77: Line 93:


===Patching the ISO===
===Patching the ISO===
#Extract "patcher.zip".
# Extract "patcher.zip".
#Open `test_patcher.exe`, select the matching ISO and IRD files, and press "Patch" once ready.
# Open `test_patcher.exe`, select the matching ISO and IRD files, and press "Patch" once ready.


===Decrypting the ISO===
=== Decrypting the ISO===
#Extract "3k3y.zip".
#Extract "3k3y.zip".
#Open `IsoTools.exe`, and select "ISO Crypto"
#Open `IsoTools.exe`, and select "ISO Crypto"
#Navigate to and select the ISO and select "Open".
#Navigate to and select the ISO and select "Open".  
#*A file with the extension ".dec.iso" should be created in the same directory as the ISO.
#*A file with the extension ".dec.iso" should be created in the same directory as the ISO.
#*This decrypted ISO can now be transferred to a PS3 inside `/PS3ISO` and played without any extra steps. If you wish to have the game in folder format, follow the fourth step.
#*This decrypted ISO can now be transferred to a PS3 inside `/PS3ISO` and played without any extra steps. If you wish to have the game in folder format, follow the fourth step.
#Still in 3k3Y, select `Tools` > `ISO` > `Extract ISO`, open the ".dec.iso" file, and in the file explorer prompt, create a new directory for the extracted files to go into.
# Still in 3k3Y, select `Tools` > `ISO` > `Extract ISO`, open the ".dec.iso" file, and in the file explorer prompt, create a new directory for the extracted files to go into.
#*A new folder is created because that will be the folder transferred over to the PS3. The folder format game can now be transferred to a PS3 inside the `/GAMES` folder.
#* A new folder is created because that will be the folder transferred over to the PS3. The folder format game can now be transferred to a PS3 inside the `/GAMES` folder.

Latest revision as of 04:32, 4 November 2024

If standard disc ripping techniques are used to dump a PS3 disc, the resulting ISO file will be encrypted, resulting in an error when attempting to run the game, usually 80010017. Dumping a disc as an encrypted ISO with ManaGunZ on a PS3 will also show the same error.

There are many methods of decrypting ISOs, and this page will show each method.

Evilnat CFW Method

Materials Needed

Setting Up On-the-Fly Decryption

  1. Transfer the decryption key of your ISO to the same location as the game ISO in dev_hdd0/PS3ISO or dev_usb000/PS3ISO.
  2. Make sure the decryption key and ISO files have the same file name.
  3. You are now ready to mount the game with a backup manager and play it. The Cobra plugin will automatically decrypt the game if you have the disc key.

PS3Dec Method

Materials Needed

Using the Command Line

  1. Extract the contents of the PS3Dec zip file to its own folder on the computer.
  2. Open CMD or Terminal and drag PS3Dec.exe into the cmd window
  3. Type d key [dkey here] (When you paste the dkey, you might get an error, just press the up arrow and carry on)
  4. Drag the encrypted iso on to the Command Prompt and it will auto insert the location of the ISO
  5. Make a copy of the iso in a different folder (e.g. Decrypted Roms), and name the copy something that will remind you it is a decrypted iso
  6. Make a space after the speech mark for the input and then drag the copy onto Command Prompt, it will give you an error if you don't do this. Don't click 'Enter' yet
  7. Verify that the info entered is structured like this: PS3Dec.exe d key (your dkey here) "(location of encrypted iso)" "(location of output iso)"
  8. Once verified, press 'Enter'.
  9. Wait for the ISO to decrypt
  10. Once decrypted, open the ISO in any zip extractor, and look for LICDIR in PS3_GAME, then extract LIC.DAT, if successfully decrypted then it should start with "PS3LICDA".
  11. However, not all games have LICDIR (e.g Wall.E) which means you have to extract the eboot.bin. When you open the eboot.bin (recommended to open in Notepad++), the eboot should start with SCE if decrypted successfully. (If in folder format, you can use RPCS3 to see if it opens as well)
  12. Once it is verified that it is decrypted, you are good to go.

Using the GUI Version

  1. Extract the contents of the PS3Dec Simple GUI zip file to its own folder on the computer.
  2. Run the PS3Dec Simple GUI.exe file and follow the on-screen instructions.

PS3 Disc Dumper Method

Materials Needed

Usage

  1. Insert the disc into your PC, or mount the desired ISO as a virtual disc
    • On Linux you may need to confirm auto-mount or to mount the ISO manually (either through file manager or via console command $ mount)
    • To manually mount an ISO on Windows, right click the file and click Mount
  2. Put the ps3-disc-dumper executable in any folder
    • On Linux, make the file executable (via Properties > Permissions or via console command $ chmod +x ./ps3-disc-dumper)
  3. Start the dumper
  4. Follow the on-screen instructions
    • By default, this program dump/convert the ISO into a folder. The folder format game can now be transferred to a PS3 inside the /GAMES folder.

3k3y Method

Materials Needed

Finding a matching IRD file

  1. Find the TitleID of the ISO.
    • This is required as a single game can have multiple releases over multiple regions.
    • If the titleID of a game is unknown, it can be found using the following method:
    1. Drag and drop the ISO file into HxD or other similar hex editor program and find the titleID next to the "PlayStation3" text, OR
    2. Mount the ISO or open it in a file explorer such as 7-zip or Winrar.
    3. Locate either PS3_DISC.SFB or PARAM.SFO and open the file with a hex editor program.
    4. Inside the hex editor program, find the titleID, it will be in the form of ABCD12345 or ABCD-12345 e.g. "BCES00510".
  2. Open a web browser and navigate to Aldo's PS3 IRD database or alternate database.
  3. In the search bar, enter the titleID previously found, and download the corresponding IRD file.
    • If a matching IRD cannot be found, the ISO cannot be decrypted and will need to be dumped from a PS3 console instead of from a PC.

Patching the ISO

  1. Extract "patcher.zip".
  2. Open test_patcher.exe, select the matching ISO and IRD files, and press "Patch" once ready.

Decrypting the ISO

  1. Extract "3k3y.zip".
  2. Open IsoTools.exe, and select "ISO Crypto"
  3. Navigate to and select the ISO and select "Open".
    • A file with the extension ".dec.iso" should be created in the same directory as the ISO.
    • This decrypted ISO can now be transferred to a PS3 inside /PS3ISO and played without any extra steps. If you wish to have the game in folder format, follow the fourth step.
  4. Still in 3k3Y, select Tools > ISO > Extract ISO, open the ".dec.iso" file, and in the file explorer prompt, create a new directory for the extracted files to go into.
    • A new folder is created because that will be the folder transferred over to the PS3. The folder format game can now be transferred to a PS3 inside the /GAMES folder.