Forum: PS3 Technical Development - Topics relating to Playstation 3 Technical development ONLY! Read and discuss the latest Cobra USB updates, tutorials and explanations or find out about bluray drive bypass firmwares plus much more.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: [TUTORIAL] Creating an installable package [SDK 1.92]
  

Results 1 to 2 of 2
  1. #1 [TUTORIAL] Creating an installable package [SDK 1.92] 
    stoker25 is offline IJDGAF
    Join Date
    Sep 2010
    Posts
    151
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    3
    Likes Received
    2
    Well, I haven't seen anything much about this around, so here's a little walkthrough

    What you need:
    • Compiled SELF file
    • 1.92 SDK (setup correctly, with PATH variable, see here ([TUTORIAL] Setting up SDK))
    • System File Utility (PS3GEN120.zip, not linking here)
    • 320x176 image (for XMB)


    Alright, let's get started

    First, choose a title ID for your executable, it must begin with 4 letters and end in 5 numbers, e.g. TEST01337.

    Make a folder somewhere called package and inside here make another folder called data, inside data create another folder called USRDIR.

    Inside the package folder create a file called make.bat, and put inside:
    Code:
    @echo off
    make_package_npdrm package.conf data
    pause
    After this create another file in the same folder called package.conf, inside here put the following:
    Code:
    Content-ID = UP0001-XXXXXXXXX_00-0000000000000001
    k_licensee = 0x00000000000000000000000000000000
    DRM_Type = Local
    Content_Type = Game_Exec
    PackageVersion = 00.01
    Content-ID is the ID of the package, and the resulting packages filename. you should replace the XXXXXXXXX part with the title ID you chose above.
    I'm not sure what k_licensee is, SDK documentation says to randomize this, leaving as all 00's is fine though.
    DRM_Type is Local since this isn't going on PSN.
    Content_Type is Game_Exec to tell the PS3 its an executable, I'll edit this post with more types later
    PackageVersion is the version of the package, you should increment this each time you compile, since the PS3 will uninstall the older version and replace with the newer.

    Now, open up the System File Utility and click on File -> New System File for HDD Game. Fill in the Title ID section with the one you chose above, and fill Title (default) with the title of your executable. The Version field should be kept the same as the PackageVersion from package.conf. Check all the checkboxes if you want so your executable can do loads of things.

    After you've filled it in, click on File -> Save As, navigate to your package data directory and save it as PARAM.SFO.

    Remember I said you needed an image above? Convert it to PNG if you need to, and copy it to the package data directory as ICON0.PNG.

    Finally, copy your compiled SELF file to the USRDIR directory, and rename it to EBOOT.BIN, run the make.bat we made earlier and you should get to watch as your package is created

    Notes:
    • USRDIR contains all the files your executable uses, so if its a game or something textures and stuff should go in there
    • If you can do this, you got the SDK, along with the documentation. Package creation is explained more thoroughly in there than in this post.
    • The System File Utility doesn't let you edit all the SFO values, but you can edit these with a hex editor, to for example remove the PS3 license text.
    • If you have anything to add, or i've forgotten something, please reply and tell me


    Thanks:
    person who leaked 1.92 sdk, you rock!
    PSIDPatch - http://bit.ly/psidpatch
    xRegistry Editor - http://bit.ly/xregistry
    Playstation 3 Update Repo - http://bit.ly/iR2iXh

    People, stop hating on Math & Co. If it wasn't for them we'd be nowhere, so what if they have their secrets? Remember, they could of just decided not to show anything
    Reply With Quote  

  2. #2  
    davedadon is offline Member
    Join Date
    Sep 2010
    Posts
    92
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    sweeetttt!!!
    def gone read this tmr
    p3free jailbreak review - http://psx-scene.com/forums/showthread.php?p=540476
    Reply With Quote  

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •