Help:Dumping PlayStation 3 games: Difference between revisions

Help page
Line 38: Line 38:
Dumping digital PSN games is a little bit different. There are two files needed to play a PSN game. The first is the actual game file that comes in a '''.pkg''' format and the second is the license file that is used to activate the game which needs to be in a '''.rap''' format. As mentioned in the overview, you need a CFW PS3 or OFW PS3 to extract the license file of your game. The actual game file can be downloaded directly from your PC. It's also important to note that some games do not have or need a license file (mostly free games and DLCs).
Dumping digital PSN games is a little bit different. There are two files needed to play a PSN game. The first is the actual game file that comes in a '''.pkg''' format and the second is the license file that is used to activate the game which needs to be in a '''.rap''' format. As mentioned in the overview, you need a CFW PS3 or OFW PS3 to extract the license file of your game. The actual game file can be downloaded directly from your PC. It's also important to note that some games do not have or need a license file (mostly free games and DLCs).


There are 2 tools that can be used to download the game files. Both work equally well and boil down to a matter of preference. The first method gives the final output as a text file in the JSON format whereas the second method gives the final output as a table in the CSV format.
As of March 29, 2021 you can no longer access entitlement information from PC. The only viable way left is to dump all content using your PS3.


=== Obtaining game data information in JSON format ===
=== Obtaining content and license files ===
The first tool uses a straightforward approach:
This process involves using file managers to copy files from your PS3. This can be done with CFW PS3s or PS3s with HEN enabled. The steps involved to install CFW or HEN to your PS3 are well outside the scope of this guide and will not be covered here. Users are requested to refer to [https://old.reddit.com/r/ps3homebrew/wiki/index r/ps3homebrew's wiki] or Google for more information.
# Go to [https://store.playstation.com/en-us/home/games?scope=sceapp&smcid=psapp PlayStation Store] and log in to your account.
# Open your [https://store.playstation.com/kamaji/api/chihiro/00_09_000/gateway/store/v1/users/me/internal_entitlements?start=0&size=9999&fields=game_meta%2Cdrm_def entitlements information] and save it to your PC.
# Use any text editor to search for the game or DLC you want to download.
# Look for the download link ('''contentUrl''') inside the particular game or DLC's content node and download as required.


=== Obtaining game data information in CSV format ===
To obtain the game content files:
For users who wish to avoid using text editors and prefer a GUI interface, there's also an open-source browser extension called [https://repod.github.io/psdle/ PSDLE] that can be used:
# Download and install games and DLCs you're interested in
# Install PSDLE to your browser.
## If you queue content download into background, the associated .pkg file will be saved inside <code>/dev_hdd0/vsh/task/XXXXXXXX</code> folders until you manually install it through XMB action
# Go to [https://store.playstation.com/en-us/home/games?scope=sceapp&smcid=psapp PlayStation Store] and log in to your account.
# Copy associated game folders from <code>/dev_hdd0/game/</code>
# Activate the extension and press '''Start'''.
# Once you see a table of all your games, click '''Export View'''.
# Press '''Import''' on the popup window and enter the following: <br><code>[{"property":"platform","title":"Platform"},{"property":"name","title":"Name"},{"property":"pkg","title":"PKG Direct Link"},{"property":"id","title":"Content ID"},{"property":"prettySize","title":"File Size"}]</code>
# Press '''Ok''' and then click the '''CSV''' button to export the file to your PC.
# Now open the file with any spreadsheet application (e.g. MS Excel, LibreOffice Calc, Google Sheets).
# Download the game or DLC as required.
 
=== Obtaining license files ===
That takes care of the game files but we also require the license file to run the game. Unfortunately, this step mandatorily requires a PS3. This process also involves using file managers to copy files from your PS3. This can be done with CFW PS3s or PS3s with HEN enabled. The steps involved to install CFW or HEN to your PS3 are well outside the scope of this guide and will not be covered here. Users are requested to refer to [https://old.reddit.com/r/ps3homebrew/wiki/index r/ps3homebrew's wiki] or Google for more information.


To obtain the license files for your games:
To obtain the license files for your games:
Line 65: Line 52:
# Navigate to the [https://store.playstation.com/en-in/download/list Download list] page and queue downloads of the required files to your PS3.
# Navigate to the [https://store.playstation.com/en-in/download/list Download list] page and queue downloads of the required files to your PS3.
# Boot your PS3 and let the queued downloads begin. You can pause and cancel the downloads immediately after it begins to prevent the game files from being downloaded to your PS3 unnecessarily. The license files are downloaded prior to the game files and will remain even if the download is cancelled.
# Boot your PS3 and let the queued downloads begin. You can pause and cancel the downloads immediately after it begins to prevent the game files from being downloaded to your PS3 unnecessarily. The license files are downloaded prior to the game files and will remain even if the download is cancelled.
# Next we need to retrieve 3 types of files:
# Next, we need to retrieve 3 types of files:
#* First up is the '''.rif''' files which are the encrypted license files. Every game and DLC should have its own unique rif file. These files are located in <code>\dev_hdd0\home\000000XX\exdata\</code> where <code>XX</code> is the user ID number. Using the file manager of your choice, copy all the files to an external USB drive, external HDD or use FTP to directly send these files to your PC.
#* First up is the '''.rif''' files which are the encrypted license files. Every game and DLC should have its own unique rif file. These files are located in <code>/dev_hdd0/home/000000XX/exdata/</code> where <code>XX</code> is the user ID number. Using the file manager of your choice, copy all the files to an external USB drive, external HDD or use FTP to directly send these files to your PC.
#* Next, copy over the '''act.dat''' file which is present in the same location as the rif files. Each user account will have a unique act.dat and you are required to copy the act.dat of the user account used to connect to PSN.
#* Next, copy over the '''act.dat''' file which is present in the same location as the rif files. Each user account will have a unique act.dat and you are required to copy the act.dat of the user account used to connect to PSN.
#* Finally, we need to find the '''IDPS'''. This is not a file but rather a 32 character hex string. There are multiple ways to view a console's IDPS and file managers such as multiMAN and webMAN will also display this under ''System Information''. Once you find this number, note it down so that it can be used at a later point.
#* Finally, we need to find the '''IDPS'''. This is not a file but a 32-character hex string. There are multiple ways to view a console's IDPS and file managers such as multiMAN and webMAN will also display this under ''System Information''. Once you find this number, note it down so that it can be used at a later point.
# On your PC, download [https://mega.nz/#!NP5WTayL!Grzqe_BQlrmK4_ofCGGVNZX4WkBSN54BDel399aWsMI RifConv] and [https://mh-nexus.de/en/hxd/ HxD Hex Editor] (or any other hex editor).
# On your PC, download [https://mega.nz/#!NP5WTayL!Grzqe_BQlrmK4_ofCGGVNZX4WkBSN54BDel399aWsMI RifConv] and [https://mh-nexus.de/en/hxd/ HxD Hex Editor] (or any other hex editor).
# Create a new file and name it '''idps.hex'''. Open idps.hex with the hex editor and type in the IDPS number you noted down from your PS3. Hit save and close the file.
# Create a new file and name it '''idps.hex'''. Open idps.hex with the hex editor and type in the IDPS number you noted down from your PS3. Hit save and close the file.

Revision as of 09:54, 29 March 2021

This guide explains how to rip your PlayStation 3 (PS3) games and use such backups with RPCS3. This process is colloquially referred to as dumping and entails different processes depending on the format in which your game is present. PS3 games are available in two formats: physical Blu-ray discs and digital PSN packages. For Blu-ray discs, dumping refers to decrypting the Blu-ray image and extracting all the files within whereas for PSN packages, it involves downloading the original game (.pkg) file and creating the necessary license (.rap) file.

Overview

Before we begin, please read the Quickstart guide to familiarise yourself with how PS3 games are to be handled. Most of the tools and information covered here are already present there. This guide aims to elaborate on what is present in the Quickstart guide and help users avoid common pitfalls. If you have queries after reading this guide, don't hesitate to come over to our Discord server and interact with the community members to resolve the same.

Broadly, there are two methods of dumping game files for each format. To dump disc games, you can use either a Custom Firmware (CFW) PS3 or a compatible Blu-ray drive with PC. For PSN games, you need a CFW PS3 or Original Firmware (OFW) PS3 to extract the license files. In both cases, using a CFW PS3 is the superior method. Users who wish to use a CFW PS3 should go through r/ps3homebrew's wiki for many CFW related tutorials that are generally updated with accurate information.

Software Distribution laws in your country

When dumping video game software, users are subject to country-specific software distribution laws. RPCS3 is not designed to enable illegal activity. We do not promote piracy nor do we allow it under any circumstances. Please take the time to review copyright and video game software dumping laws and/or policies for your country before proceeding.

By following these instructions, you will do so at your own discretion. Should you follow these instructions against your local law, we shall not be held responsible for your actions.

Dumping Blu-ray disc games

As mentioned above, you can dump your disc games using either a CFW PS3 or with a compatible blu-ray drive with a PC. Let's look at each option one by one.

Using CFW PS3 to dump disc games

This method is the more reliable method of dumping disc games as it is guaranteed to work with every PS3 game disc in existence, something which the second method cannot do. However, during the dumping process, you will be limited to the PS3 Blu-ray reader's transfer speeds so the process may take longer than doing the same through a PC. If you have doubts on installing or using any of the tools mentioned below, please read r/ps3homebrew's wiki.

  1. Install multiMAN file manager.
  2. Insert your disc into the PS3.
  3. Highlight the game disc in multiMAN and press Triangle and select Copy.
    You can create an ISO or folder layout format of your game files. It is recommended to create a folder layout version of your game instead of an ISO for a smaller file size, due to ISOs copying the entire disc which is either 4.7 GB, 8.5 GB, 25GB, or 50GB.
  4. Choose the location to save your dump. It can be your PS3's internal HDD, an external HDD or even set up an FTP connection between your PlayStation 3 and PC.
    Overall, the FTP method will be the fastest option. If using FTP, make sure to set Transfer Type to Binary, otherwise your dumps may get corrupted.
Note: The PlayStation 3 has a maximum file size of 4GB. When dumping games which contain files bigger than 4GB, multiMAN will automatically split those files. When you copy your dump over to your PC, remember to rejoin the split files back together with tools such as ps3merge, otherwise the dump won't work.

Using a compatible Blu-ray drive with PC to dump disc games

This is the second method to dump disc games and will prove useful for people who do not have a CFW PS3 available. However, please note that this method has the following requirements to work:

  1. A compatible Blu-ray drive is mandatory. This means not every Blu-ray drive can be used but only those that are specifically capable of reading PS3 discs. A list of compatible drives are available on our Quickstart guide. Please note that this is not an exhaustive list but rather a list of drives that are known to work. Drives not present in this list might work if they have a Mediatek chipset and a +6 read offset.
  2. This method requires an external key for the decryption of the disc. This is only possible if your game has:
    • an .ird file available at the Jonny's IRD library that matches your game's title ID.
    • a decryption key obtained from Redump. These keys are currently not public but can still be used with out One-click dumper as mentioned below.

If you confirm that you indeed have a compatible Blu-ray drive, you have 3 tools available to dump your disc:

  1. The first and recommended method is to use 13xforever's One-click PS3 Disc Dumper. As the name suggests, it's the easiest tool to use and is currently the only tool that can take advantage of the decryption keys from Redump. Click here for instructions on its use.
  2. The second tool is a command-line tool for Linux users called LibRay. It cannot take advantage of Redump's decryption keys, but for any disc that has an .ird file available, it should work without any issues. Click here for instructions on its use.
  3. The final tool is a legacy method that was used before the above tools existed and should never be used. But if you're not the type that takes orders from a wiki, click here for instructions on its use.

Dumping PSN games

Dumping digital PSN games is a little bit different. There are two files needed to play a PSN game. The first is the actual game file that comes in a .pkg format and the second is the license file that is used to activate the game which needs to be in a .rap format. As mentioned in the overview, you need a CFW PS3 or OFW PS3 to extract the license file of your game. The actual game file can be downloaded directly from your PC. It's also important to note that some games do not have or need a license file (mostly free games and DLCs).

As of March 29, 2021 you can no longer access entitlement information from PC. The only viable way left is to dump all content using your PS3.

Obtaining content and license files

This process involves using file managers to copy files from your PS3. This can be done with CFW PS3s or PS3s with HEN enabled. The steps involved to install CFW or HEN to your PS3 are well outside the scope of this guide and will not be covered here. Users are requested to refer to r/ps3homebrew's wiki or Google for more information.

To obtain the game content files:

  1. Download and install games and DLCs you're interested in
    1. If you queue content download into background, the associated .pkg file will be saved inside /dev_hdd0/vsh/task/XXXXXXXX folders until you manually install it through XMB action
  2. Copy associated game folders from /dev_hdd0/game/

To obtain the license files for your games:

  1. On your PC, go to PlayStation Store and log in to your account.
  2. Navigate to the Download list page and queue downloads of the required files to your PS3.
  3. Boot your PS3 and let the queued downloads begin. You can pause and cancel the downloads immediately after it begins to prevent the game files from being downloaded to your PS3 unnecessarily. The license files are downloaded prior to the game files and will remain even if the download is cancelled.
  4. Next, we need to retrieve 3 types of files:
    • First up is the .rif files which are the encrypted license files. Every game and DLC should have its own unique rif file. These files are located in /dev_hdd0/home/000000XX/exdata/ where XX is the user ID number. Using the file manager of your choice, copy all the files to an external USB drive, external HDD or use FTP to directly send these files to your PC.
    • Next, copy over the act.dat file which is present in the same location as the rif files. Each user account will have a unique act.dat and you are required to copy the act.dat of the user account used to connect to PSN.
    • Finally, we need to find the IDPS. This is not a file but a 32-character hex string. There are multiple ways to view a console's IDPS and file managers such as multiMAN and webMAN will also display this under System Information. Once you find this number, note it down so that it can be used at a later point.
  5. On your PC, download RifConv and HxD Hex Editor (or any other hex editor).
  6. Create a new file and name it idps.hex. Open idps.hex with the hex editor and type in the IDPS number you noted down from your PS3. Hit save and close the file.
  7. Launch RifConv and ensure you're on the Rif2Rap tab. Add the idps.hex, act.dat and folder containing all .rif files in their respective fields.
  8. Hit Create and a new folder called created_raps should appear. This folder will contain the decrypted license files in the .rap format that can be used in RPCS3.

What's next?

If you've done everything correctly, you will have a successful dump of your game. Congrats!

To check if your Blu-ray disc or PSN package was dumped correctly, click here.

For instructions on how to use the dump in RPCS3, refer to the installation instructions in the Quickstart guide.