Today PlayStation 3 developer CaptainCPS-X has released a PS3 application called GamePKG v1.0 CEX (20121220) complete with source code and details below.
Download: PS3 GamePKG v1.0 CEX (20121220) / PS3 GamePKG v1.0 CEX (20121220) / PS3 GamePKG v1.0 CEX (20121220) / https://github.com/CaptainCPS/gamePKG/archive/master.zip / https://github.com/CaptainCPS/gamePKG/
To quote: Hiyas everyone! Been working on gamePKG for some days on my free time, please check it out and let me know if it works for you, thanks. gamePKG is an application for the PS3 that allows the user to queue PKG files for later installation from the XMB "without restarting the PS3 at all".
NOTE: Source Code will be released very soon after I finish cleaning it up, etc. Maybe @deank can implement my application method of queuing PKG files into multiMAN.MS Visual Studio (C++) project / solution will be posted there later as well.
Finally, from the ReadMe File:
gamePKG [by CaptainCPS-X, 2012]
Information:
gamePKG is an application for the PS3 that allows the user to queue PKG files for later installation from the XMB "without restarting the PS3 at all".
Main objective of this application is to help users on Rogero CFW 4.30 (v2.03) to install PKGs without wasting much time.
NOTE: Source Code will be released very soon after I finish cleaning it up, etc.
Technical Info:
Tested on Rogero CFW 4.30 (v2.03)
Should work on 3.40+ CFW
The application will scan the following directories for PKG files:NOTES:
- /dev_hdd0/pkg/
- /dev_hdd0/package/
- /dev_usb000/pkg/
- /dev_usb000/package/
- /dev_usb001/pkg/
- /dev_usb001/package/
- /dev_usb002/pkg/
- /dev_usb002/package/
- /dev_usb003/pkg/
- /dev_usb003/package/
The application handles big PKG files without problem, remember that these take some time to copy, make sure to have at least double the space on the HDD.Usage:
- The application doesn't support re-scaning devices for new PKG files (for now)
- The application doesn't verify HDD for previously queued files (for now)
- The application doesn't display a Progress bar (for now)
- The application doesn't support split PKG files (for now)
- The application doesn't support removing Queued PKG (for now)
- The application doesn't have any special GUI (don't know how to, sorry lol)
Changelog
- Use UP and DOWN to select PKGs
- Press (X) to Queue the selected PKG
- Press (O) to Quit and return to XMB
1.0Thanks to
- Initial "Test" Release
Thanks to anyone else I forgot that in some way contributed to the PS3 scene and as a result I was able to do this homebrew application.
- aldostools - your ps3tools for windows are the best
- deank - multiMAN helped me research / debug my application
- fail0verfl0w, GeoHot, etc - for all you have done for the PS3 scene
- Anonymous - for releasing Sony SDKs
Note for devs with the SDK ready to go, I forgot to mention that if you want to compile this use:
After that I just use aldostools ps3tools shell extension "Convert to NPDRM" on "release/PS3_GAME/USRDIR/EBOOT.BIN"Code:make gamePKG
I got tired of trying to implement the NPDRM conversion on the Makefile, so I just do it like that lol.
Then to create the PKG just use:
More updates will keep coming as I get more free time, so stay tuned to the repository and this thread for updatesCode:make pkg
From deank: I just checked your git page and I can see that you don't fully understand the format of the .pdb files. Check my previous post with the source (I skinned it down only to the mandatory data).
Here is what I've learned so far: After the 4 byte initial header (zeroes) you have function blocks. Function number, length, length, data. You can see below. The only required functions are the following eight: 0x65, 0x68, 0x69, 0x6B, 0xCA, 0xCB, 0xCE and 0xD0.
In 0xCE and 0xD0 we use the same file-size so that it makes the file look as completely downloaded. Some other functions indicate the type of file (like PS3 pkg or additional content, etc, etc) but this is the required minimum to have the bubble appear.
I hope this will help you with your gamePKG application.Code:00 00 00 00 - Header 00 00 00 65 - Function 00 00 00 04 - Data Length 00 00 00 04 - Data Length 00 00 00 00 - Data 00 00 00 6B - Function (Bit flag for other fields) 00 00 00 04 - Data Length 00 00 00 04 - Data Length 00 00 00 03 - Data 00 00 00 68 - Function (Status of download?) 00 00 00 04 - Data Length 00 00 00 04 - Data Length 00 00 00 00 - Data 00 00 00 D0 - Function (Size of the download so far) 00 00 00 08 - Data Length (8 bytes / 64bit) 00 00 00 08 - Data Length 00 00 00 00 - Data 01 CE 5E C0 - Data -> 0x0000000001CE5EC0 = 30301888 bytes = ~29MB 00 00 00 CE - Function (Total Size Expected) 00 00 00 08 - Data Length (8 bytes / 64bit) 00 00 00 08 - Data Length 00 00 00 00 - Data 01 CE 5E C0 - Data -> 0x0000000001CE5EC0 = 30301888 bytes = ~29MB 00 00 00 69 - Function (Title to display) 00 00 00 3C - Data Length (lenght of title) 00 00 00 3C - Data Length (lenght of title) E2 98 85 20 49 6E 73 74 61 6C 6C 20 22 6D 75 6C | * Install "mul 74 69 4D 41 4E 20 76 65 72 20 30 34 2E 31 37 2E | tiMAN ver 04.17. 30 30 20 42 41 53 45 20 43 45 58 20 28 32 30 31 | 00 BASE CEX (201 32 31 32 32 30 29 2E 70 6B 67 22 00 | 21220).pkg" 00 00 00 CB - Function (Name of PKG File) 00 00 00 2E - Data Length (lenght of file name) 00 00 00 2E - Data Length (lenght of file name) 6D 75 6C 74 69 4D 41 4E 20 76 65 72 20 30 34 2E | multiMAN ver 04. 31 37 2E 30 30 20 42 41 53 45 20 43 45 58 20 28 | 17.00 BASE CEX ( 32 30 31 32 31 32 32 30 29 2E 70 6B 67 00 | 20121220).pkg 00 00 00 6A - Function (Full path of ICON_FILE) 00 00 00 2A - Data Length (length of path) 00 00 00 2A - Data Length (length of path) 2F 64 65 76 5F 68 64 64 30 2F 76 73 68 2F 67 61 | /dev_hdd0/vsh/ga 6D 65 5F 70 6B 67 2F 38 30 30 30 30 30 30 30 2F | me_pkg/80000000/ 49 43 4F 4E 5F 46 49 4C 45 00 | ICON_FILE
v1.1 Changelog:
- Improved application performance by cleaning up, organizing and simplifying lot of code.
- Added scan of PKG files on root of USB devices as well (from "/dev_usb000/" to "/dev_usb003/")
- Copy of PKG files is faster now.
- Rewrote module to write the PDB & Icon files.
- Other source code improvements.
More PlayStation 3 News...
13250 HeyManHRU
13207 PS3 News
11287 elser1
11119 oVERSoLDiER
9248 GrandpaHomer
8578 Tidusnake666
7968 saviour07
7340 condorstrike
7258 deank
6858 OGroteKoning
24951 PS3 News
5279 Starlight
2965 HeyManHRU
2173 CJPC
2123 elser1
1818 cfwprophet
1756 her0
1570 oVERSoLDiER
1291 GrandpaHomer
1080 barrybarryk








