Sponsored Links

Sponsored Links

Results 1 to 3 of 3



  1. #1
    Registered User Xcellerator's Avatar
    Join Date
    Apr 2010
    Posts
    22
    Sponsored Links

    Post How to Modify Sony PS3 PKG Files Editing Guide

    Sponsored Links
    How to Modify Sony PS3 PKG Files
    Discovered and Written by Xcellerator

    Download a PDF Copy of this Tutorial with added screenshots: [Register or Login to view links]

    Contents

    {1} – How to unpack a PKG file
    {II} – How to modify the PARAM.SFO file (Changing the Game ID)
    {III} – How to write the configuration file in order to pack the PKG
    {IV} – How to pack a PKG file
    {V} – FAQ

    Please note: to use this guide you will need the following:

    • PS3 SDK (I used the 156mb one (v1.6))
    • PS3SFOEdit.exe (Or any other PS3 SFO Editor, I used this one)
    • Files from fraz422’s Game Save Modifying tutorial
    • Any Linux Distro (I used BackTrack 3 (Download Here))
    • A bit of common sense

    {I} – How to unpack a PKG File

    OK, let’s start off easy. This was already well known before I wrote this tutorial, but I’ll add it in as a reference. First you’ll need to start up BackTrack 3 (this step can be done in Windows, but I did it all in BackTrack). I’m sure you can work out how to load up BackTrack, if not Google it, because I won’t cover it in this guide. Now make sure you have your PS3 SDK and the PKG on the Desktop and open up a Terminal window (or use Yakuake), now from your terminal window browse to the following directory using the CD command. (Considering the SDK is indeed on your desktop).


    [Register or Login to view code]

    In this directory is the Linux version of the PS3 SDK and is where all the tools we need for modifying the PKGs even further than this article will show. The file we are going to use is called make_package_npdrm. To unpack the PKG we issue the following command.


    [Register or Login to view code]

    Example:


    [Register or Login to view code]

    Now from whatever directory you issued the command, (in our case it’s bin) will be a folder titled whatever the Game-ID of the PKG is. So for us, it will be LAUN12345. If we open that folder, we can see the following files.
    NOTE: You can only decrypt DEBUG PKG files as they are not signed by Sony. You can obtain Debug files from this link.

    Congratulations, you now have successfully unpacked a Sony PS3 PKG File

    {II} – How to modify the PARAM.SFO file

    OK, so by now, you should have extracted a PKG and have the contents on your Desktop in your chosen Linux Distro. This section will show you how to modify the PARAM.SFO file. It contains everything the PS3 needs to know about what the PKG contains and how to run and where to store its contents. I will be using a program called PS3SFOEdit.exe but any SFO Editor will do. (They’ve been out a while, so I’m sure you’ll find one with a quick Google search!) To start open up your SFO Editor and Load up the PARAM.SFO from the LAUN12345 folder.

    If look in the top-left you will see the setting for the Game-ID. As you can see I have already changed it to BLES00232 (SEGA Superstars Tennis). The only other setting you need to look for is the Data Type. I have it set to HG – Harddisk Game. I did not have to change it, but you may need to change it for various reasons, while experimenting. Once you have modified all the settings you need to, click save and you are finished.

    So, you’ve made it this far, have you? Done with the easy stuff! Most people knew all this before. Now comes the good stuff!

    {III} – How to write the configuration file in order to pack the PKG

    The configuration file is possibly the most important thing to get right while packing a PKG. It contains all the necessary information in order to pack your PKG with the correct settings. Below is an example of a configuration file.

    Content-ID = EP0001-BLES00232_00-XCELLERATORSTEAL >> Name given to PKG
    K_licensee = 0x00000000000000000000000000000000 >> License No. (unique)
    DRM_Type = Free >> Free or Local (Paid)
    Content_Type = GameExec >> PKG Content Type
    PackageVersion = 01.00 >> Package Version

    This is where I had to experiment a bit. In the SDK v1.92 Documentation, configuration files are slightly different. In the 1.92 version the Content_Type would be Game_Data, but in the 1.6 version, it’s GameExec. The Content-ID does not matter as long as it follows the following layout: XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX. DRM_Type specifies whether this PKG is Free (no activation needed) or Local (activation needed via PSN Store). Follow the above layout exactly as it is and make sure you customise it so it suits your needs. If you make any errors, you will not be able to form your PKG file. (Don’t worry, you’ll just have to come back and fix the file!)

    When you are finished, you can continue to the final stage: Packing Your First PKG File!

    {IV} – How to pack a PKG file

    So here we are, the final stage of the operation where we can form our very own PKG file and install it onto our PS3! In order to follow this section, you must be on your chosen Linux Distro, and have your configuration file, PKG contents and the PS3 SDK readily available. I am going to assume that all of those things are on your Desktop.

    + Desktop
    - config.txt
    + BLES00232
    - PARAM.SFO
    - ICON0.PNG
    + USRDIR
    - EBOOT.BIN
    + PS3 SDK

    Now open up a Terminal window and issue this commands:


    [Register or Login to view code]

    Here is the syntax for the command:


    [Register or Login to view code]

    Now, in whatever directory you ran the command from (in my example it’s the bin folder) will be your PKG file named as whatever the Content-ID was in your configuration file. Feel free to rename this to whatever you want and share with the community at Next Gen Update and PS3 News.

    {V} – FAQ

    Q: How do I edit the EBOOT.BIN file from the extracted PKG?
    A: Use the unfself and make_fself tools in the SDK.

    Q: How do I edit the patch_mp.ff file in the Call of Duty patches?
    A: We don’t know yet, so stop posting threads about how you think you know or asking how to do it, because no one knows yet.

    Q: Can I make a modded lobby with this guide?
    A: I believe that this is the way to modded lobbies, all we need to do is to edit the patch_mp.ff file successfully and we’ll have one.

    Q: My Linux Distro won’t recognise EBOOT.BIN and doesn’t include it when it packs the file!
    A: This happened to me, all I did was right-click on the directory it was in and then to the permissions tab and set it so that everyone can ‘Read and Modify’.

    Q: I get the error: EBOOT.BIN is an NPDRM SELF file with an unsupported extension.
    A: There is an issue with Content_Type setting in your configuration file, make sure you set it to GameExec.

    It took me a long time to work out and write down everything in this guide, so please give +REP and Thanks. I ask the Mods to sticky this article so everyone can do this and hopefully get us somewhere further than what I did.

    Discovered and Written by Xcellerator.

    If you found this guide anywhere other than the sites below, then it might not be authentic and could’ve had its contents tampered with.

    [Register or Login to view links]
    http://www.ps3news.com/forums
    [Register or Login to view links]

  2. #2
    Senior Member iCEQB's Avatar
    Join Date
    Jul 2007
    Posts
    88
    Sponsored Links
    Sponsored Links
    There seem to be some problems with your patched PKG... people say that with edited PARAM.SFO's the Backup Manager does not actually backup games anymore. So let's take a look inside the EBOOT.BIN

    [Register or Login to view code]

    and

    [Register or Login to view code]

    Patching these paths should do the job. I can't test it for myself as I still don't have a way to trigger the exploit
    So I hope it works out for you guys !

    Regards,
    iCEQB

  3. #3
    Registered User jamesb2147's Avatar
    Join Date
    Feb 2008
    Posts
    17
    Sponsored Links

    Thumbs Up

    Sponsored Links
    much thanks man. would not have otherwise figured out the GameExec vs. GameData issue. hope you're having a wonderful day

    +rep.

 

Sponsored Links
Advertising - Affiliates - Contact Us - PS3 Downloads - Privacy Statement - Site Rules - Top - © 2014 PlayStation 3 News