[Guide] Backing up PS3 beta discs via PC

Discussion in 'Sony Programming and Development' started by PixelButts, Dec 8, 2015.

?

Was this informative?

  1. Yes

    21 vote(s)
    100.0%
  2. No

    0 vote(s)
    0.0%
  3. Somewhat (share what could be expanded upon in a post)

    0 vote(s)
    0.0%
  1. PixelButts

    PixelButts Site Soldier

    Joined:
    Aug 19, 2014
    Messages:
    2,718
    Likes Received:
    2,015
    This thread is dedicated to
    -ripping PS3 betas/protos via a PC Bluray drive
    -ripping PS3 betas/protos via a PS3 (OFW, CFW, DEX, TOOL)
    -ripping PS3 betas/protos from a PS3 HDD

    This is meant to educate for preservation of PS3 game builds if one does not have a modded PS3 or a DEX PS3. Credits to bdawg for bringing PS3Gen Tools to my attention and allowing this to be possible.
    NOTE - PS3GEN TOOLS WILL NOT WORK WITH RETAIL GAMES, DONT BOTHER (Packaging to .pkg can)
    Now let's get started

    --Prerequisites--
    1) A PC
    2) A Bluray Drive
    3) A pre-final PS3 game
    4) PS3 ISO tools
    --Optional Tools--
    5) Imgburn
    6) Trueancestor's resigner
    7) PS3 SDK (for fself eboot decrypting)
    8) A PS3
    8.1) PS3 CEX2DEX converted
    8.2) PS3 DEX OFW
    8.3) PS3 CEX/DEX CFW
    9) Packaging tools: https://www.mediafire.com/?v4p39zowmo1t1az

    Table of contents
    1) PS3 Generator Toolset
    1.1) What are the tools?
    1.2) What can they do?
    1.3) Where can I get them?
    1.4) Can you show how it works?

    2) Ripping the disc (the good stuff)
    2.1) Imgburn/PS3 Generator rip
    2.2) ISO decryption/extracting
    2.3) Rebuilding extracted ISO contents
    2.4) Repackaging for non DEX systems


    2 ALT) PS3 ripping methods
    2 ALT Option 1) OFW DEX ripping
    2 ALT Option 2) CFW ripping


    3) Extracting from HDD

    4) Packaging as .pkg


    1) PS3 Generator Toolset

    1.1) Q: What are these tools?

    A: These tools are made by SCE (Sony Computer Entertainment) for the PS3 disc mastering process. They were made to build, burn, and view PS3 disc image data as well as author the disc

    for developers when it was ready to be sent off to Sony for production.

    1.2) Q: What can they do?

    A: With these tools, you can use a PC Bluray drive to rip the contents of a PS3 game and decrypt the newly made ISO file. The encrypting happens when the disc is read from a non-PS3 drive, making the new ISO file completely useless.

    1.3) Q: Where can I get them?
    A: Sadly due to them being leaked files from SCE, I cannot directly link them. On Google, do a search for "PS3 Generator Tools 3.12"

    1.4) Q: Can you show how it works?
    A: Yes I can show, that's why this thread is being made. As for explaining the deep down things, I can't say much. As for tool operation, you got it.


    2) Ripping the disc (the good stuff)

    So you have yourself a build of a game before the final release? Good. We're gonna take that disc and load it into our PC's Bluray drive.

    2.1) Imgburn/PS3 Generator rip

    So you've got your disc in the PC drive, so now what? Well you have 2 options; Use Imgburn to rip or use the tool supplied in the PS3 Generator tools.
    [​IMG]

    --Imgburn--
    1) Load up Imgburn, and select option 2 - create image from disc
    2) Choose your PC drive and try to save the ISO somewhere nice and accessible.
    3) Volume label (filename) can be PS3VOLUME if you desire, but if it's a pre-final game I suggest you name it based on what game you're ripping ([Game][Region][Build-Type][Date] for example)
    4) Once you've began the process feel free to do something to pass time as it may take a little bit.
    5) Once complete, remove your disc and close Imgburn - we're done with this part.

    [​IMG]
    [​IMG]


    --PS3 Generator Tool--
    1) In your folder there's a program called "ps3gen.exe". Open that up.
    2) In the top right corner you'll see 3 icons. Pick the one in the middle with the magnifying glass labeled "Show".
    3) A new window will pop up. Look near the top and you'll see 2 long drop down bars and 2 bubbles. Click the bubble with "Disc Drive" and select the drive your disc is in.
    Make sure nothing is open leading to the disc (like a file browser) as it will refuse to show any data.
    4) When you see information of the disc show up, look for the button saying "Decrypt". Click that and you'll have a new box show up.
    5) In this new window, you'll see a checkbox saying "Select all files and directories". Click that checkbox and select a folder on your desktop to extract the files.
    6) It will take a lot of time and cpu power so just give it a bit of time.
    7) Once done, feel free to close the tool.

    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]

    2.2) ISO decryption

    If you followed the method with PS3 Generator Tools you can skip this part.
    For those that used Imgburn, read.

    1) With your newly made encrypted ISO, open up "ps3chk.exe"
    2) Choose your ISO image from the drop down (wherever you've saved it).
    3) Click the decrypt button.
    4) In the new window, choose a folder where the contents of the ISO will be extracted to and check the box saying "Select all files and directories".
    5) Begin the decrypting and wait as it will take a lot of time. Once done, close the tool
    [​IMG]
    [​IMG]

    2.3) Rebuilding extracted ISO contents

    So now you have the PS3 game build extracted AND decrypted. Good work. Now we're going to rebuild the ISO

    1) Open up PS3 ISO Tools (v2.1 is what I use, v2.2 may be better)
    2) Create a new ISO for PS3 ODE Firmware version 3.55 (should be selected before you choose what to do)
    3) When selecting how the ISO is made, make sure NO BOXES are checked. We want to preserve it all and not patch anything (vanilla).
    4) Select your directory for the extracted files. It will ask where the saved ISO will go. Choose wherever works for you.
    5) Rebuild and wait for it to finish.
    [​IMG]
    [​IMG]

    2.4) Repackaging for non-DEX systems

    So you're running a non DEX Firmware, huh? No worries, we can fix this.

    1) Grab the eboot.bin from the extracted files. Make a copy of it and place it in the PS3 SDK installation files.
    2) Load up unfself.exe in a command prompt window (shift, right click, command prompt window) and type the following command "unfself EBOOT.BIN EBOOT.ELF" and hit enter
    3) Take your newly decrypted eboot.elf and place it into truancestor's resigner root directory.
    4) Load up the resigner, turn of compression (if needed, as some need this uncompressed), and resign to NON-DRM for CFW.
    5) Take your new EBOOT.BIN file and replace your rip's one (Back it up in case issues happen).
    6) Go back to 2.3 and change settings as you feel fit to work on your CFW machine.
    [​IMG]
    [​IMG]
    [​IMG]

    2 ALT) PS3 ripping methods

    So lets say you don't have a bluray drive in your PC but you have a modded PS3 or DEX PS3 (DECHA00A model tested. DECR models need testing). If you have one no problem.

    I DO NOT RECOMMEND CEX2DEX CONVERTED MACHINES DUE TO THERE BEING A GREAT ISSUE WITH THEM RIPPING PROPERLY BUT YOU ARE WELCOME TO TRY

    2 ALT Option 1) OFW DEX Systems (Also works with BDEMU games)
    1) If you have a DEX OFW system then you're going to need the PS3 SDK. We're going to be installing and using Target Manager (also known as TM). Once TM is installed you will want to wire the PS3 to your PC running it via an Ethernet cable. I can't briefly type up how to do this as there are many guides to do so - remember, Google is your friend.
    2) From TM you can see a menu of items in the menu section of what you'd like to do. We're going to pick "File Explorer" and from there if connected we should see the PS3 files. Go ahead and pick the directory labeled "bdvd". Once in that directory you can select all files and folders and at the top of the window hit an icon with a green arrow on a paper to begin downloading to local machine. Choose an output directory and it will be placed on your desktop/laptop/wherever you sent the files to.

    2 ALT Option 2) CFW Systems
    1) If you have CFW then you're likely familiar with common methods of ripping. If not, install one of the managers out there (Multiman, Irisman, IrisMod, etc). In your manager of choice (I prefer Multiman or IrsisMod if Multiman fails) navigate to where your disc is showing up (should be pretty obvious). You're going to copy it to the hard drive (not as an ISO if you plan to use a flash drive for transferring)
    2) If you plan to FTP it over you can use TM or FileZilla on the files like DEX OFW (could be ISO or just the extracted data). If you plan to use a flash drive, do know there is a 4gb filesize limit so exceedingly large files will give you trouble. What you would do is copy the extracted data over to your flash drive (should be simple with Multiman, Irisman may be less intuitive). If you're lucky Multiman may also break up the ISO into parts to allow flash drive copying, but you will have to relink the part files using PS3ISOTOOLS.
    3) If you got lost on that part, just know that you can rip to the internal PS3 HDD or a Flash drive in extracted form or ISO form but limitations on filesystems may give issues if it's a large game.

    3 Extracting from HDD
    This is fairly straightforward, and I felt to add this since there was a spike in builds contained on the hard drives of DECR systems.
    1) Install ProDG Target Manager (Windows only as far as I know. Version 4.20 is what I use, others work as well)
    2) Add your system (target) accordingly (lan is preferable as wifi is unreliable)
    3) Once added, connect to your PS3
    4) Click on the little arrow next to your target for more options, and select "File Explorer"
    5) On the PS3, navigate to your game in question in the XMB, hit Triangle, then select the Check function (bottom of the list of options) to locate where the game is stored and the TitleID
    5) In Target Manager navigate to "/dev_hdd0/game/" and find the TitleID of the build in question (if it is a non-BDEMU game build it will be stored here)
    *If the game is on the BDEMU then you may need to PM me to figure out proper dumping*
    6) Right click on the folder with the corresponding TitleID and click the "Download" option and choose a destination directory (Desktop for easy access)
    7) This game would be NOT be packaged as an ISO file, so do not pack it as such. For now, just zip it unless you want to make an installable package
    *If a file failed to transfer you should PM me and I will help figure out what do to - FTP via Multiman (DEX) usually works if some files fail*

    4) Packaging as .pkg
    This is a little tough so I supplied files that you can grab and mess with (right click and edit the b.bat file to fix the TitleID from TEST12345 to whatever you use. Edit package.conf to contain the ContentID you chose when resigning the eboot)
    1) Take your game's Eboot.bin, open it with Trueancestor's resigner and select the Decrypt option (you will now have Eboot.elf)
    2) Resign your Eboot.elf as NPDRM
    3) Select a Content ID for your Eboot/game package (example: UP9000-TEST12345_00-0000000000000000 (yes that's 16 zeros))
    4) Open your param.sfo in a param.sfo editor (not supplied) and change the TitleID game type from Disc Game to HDD Game. Change the TitleID to whatever you are using. Save changes
    5) Create a folder with the TitleID you wish to use to build your game (example: TEST12345) and place all applicable folders and files into it (TRPDIR, LICDIR, DRMDIR, and USRDIR folders, also add ICON0.PNG, PIC1.PNG, PS3LOGO.DAT, and PARAM.SFO files).
    [​IMG]
    6) Double check everything - Eboot is signed to NPDRM, and you have the folder laid out like above, edit b.bat to have the folder's name, edit package.conf to have the ContentID you chose, place the folder in the same directory as b.bat and b.exe
    7) Hold Shift and right-click then open a new command window (in case something returns an error it will tell you) and type "b.bat" and press enter
    8) If all went well it will build the .pkg
    9) Once done building (can take a long time if over a gigabyte) you can then install the game to the PS3 via Package Installer (if it gives an error on booting the game, change it to HDD boot in debug settings instead of PARAM.SFO or DIsc Game)


    I hope that this was acceptable enough for a guide and I hope that this allows more beta/prototype builds to show up/
    Cheers!
     
    Last edited: Dec 6, 2016
    AntDRAG, oafan, port187 and 9 others like this.
  2. bdawg

    bdawg Rising Member

    Joined:
    Mar 31, 2013
    Messages:
    58
    Likes Received:
    10
    Some credit would have been nice... haha.
     
    PixelButts likes this.
  3. SILENT_Pavel

    SILENT_Pavel Gutsy Member

    Joined:
    Jun 23, 2012
    Messages:
    421
    Likes Received:
    169
    Just to clarify the situation: this step will not work at all with retail EBOOT. Maybe will not work with review/preview EBOOT that builded as retail. So this is only for completely non retail EBOOTs. This suggestion based on my tests. BTW all other steps works fine with retail.
     
  4. PixelButts

    PixelButts Site Soldier

    Joined:
    Aug 19, 2014
    Messages:
    2,718
    Likes Received:
    2,015
    Edited.

    The tools will refuse to handle retail games. It's good in this case as it prevents piracy a little more.
    You wouldn't be able to get to the eboot at all because it would be stopped immediately by the tool.
     
  5. PixelButts

    PixelButts Site Soldier

    Joined:
    Aug 19, 2014
    Messages:
    2,718
    Likes Received:
    2,015
    I have updated this to include a small section for those who do not have a PC bluray drive but do have a DEX or Modded PS3

    (was per request as I'm sure people want to do this without upgrading hardware)
     
    Charels likes this.
  6. PixelButts

    PixelButts Site Soldier

    Joined:
    Aug 19, 2014
    Messages:
    2,718
    Likes Received:
    2,015
    Added a small section for HDD related dumping.

    Planned
    -package HDD prototypes
    -data recovery (i hope)
     
  7. Jackhead

    Jackhead Site Soldier

    Joined:
    Apr 3, 2008
    Messages:
    2,445
    Likes Received:
    628
    i moved that thread to the Sony Dev section and made it sticky, many thanks for this guide, great work!
     
  8. PixelButts

    PixelButts Site Soldier

    Joined:
    Aug 19, 2014
    Messages:
    2,718
    Likes Received:
    2,015
    Thanks.

    I'm understanding creating PKGs a little more so that's going to be next.
     
  9. PixelButts

    PixelButts Site Soldier

    Joined:
    Aug 19, 2014
    Messages:
    2,718
    Likes Received:
    2,015
    Added the packaging to .pkg section section
     
  10. PixelButts

    PixelButts Site Soldier

    Joined:
    Aug 19, 2014
    Messages:
    2,718
    Likes Received:
    2,015
    Have gotten confirmation that DECR BDEMU HDDs do dump via Target Manager using Section 2 ALT Option 1

    I have encountered an issue however with DECR units ripping LIC.DAT from DRMDIR from HDD games and am looking for a better solution.

    EDIT: LIC.DAT and DRMDIR are entirely optional files generated at game's runtime. These files folders can be ignored.
     
    Last edited: Dec 6, 2016
  11. VerticalE

    VerticalE Robust Member

    Joined:
    Feb 28, 2012
    Messages:
    290
    Likes Received:
    177
    Short story; files copied from bluray disc to HDD, disc is now gone. Made ISO with PowerISO then followed your guide as if I had dumped the disc straight to ISO. Copied with FTP over to PS3ISO folder on a DECHA running Rebug CFW 4.81 debug version. Tried to mount it using MultiMan and got the following:

    This operation is not allowed.

    ISO TYPE: 32
    ISO PATH (I): [/dev_hdd0/PS3ISO/RE Decrypt.iso]
    ISO PATH (O): [/dev_hdd0/PS3ISO/RE Decrypt.iso]
    ISO SETS: 1

    ERROR: ENCRYPTED/INVALID ISO
     
    PixelButts likes this.
  12. PixelButts

    PixelButts Site Soldier

    Joined:
    Aug 19, 2014
    Messages:
    2,718
    Likes Received:
    2,015
    post a picture of the eboot in a hex editor
    chances are it didn't decrypt right
     

Share This Page