[TUTORIAL] Creating an installable package [SDK 1.92] –
10-05-2010,07:20 PM
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