Editing Project Database (PDB)
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
PDB (Package Database?) files are used by the PS3 to specify tasks for the XMB to do. They are stored in /dev_hdd0/vsh/task/ in 4 byte hex directories (e.g. 00000001/, 001ABCD0/) | |||
Each directory represents | Each directory represents a task and each task is defined by a couple of .pdb files. I believe pdb means package database, since the only place where these files appear is in /dev_hdd0/vsh/task and they seem to represent a .pkg download. | ||
There will always be a 00000001/ directory with no .pkg file in it. I suppose it's there to represent another task the PS3 has to do (maybe the 'check for push downloads' for PSN+ users?), and I suggest never to mess with it. | There will always be a 00000001/ directory with no .pkg file in it. I suppose it's there to represent another task the PS3 has to do (maybe the 'check for push downloads' for PSN+ users?), and I suggest never to mess with it. | ||
Line 7: | Line 7: | ||
Every other directory seems to represent a .pkg file that is being downloaded or has been downloaded (but not installed) through PSN. In each directory you should find the .pkg, a PNG image to show (filename ICON_FILE), and two or three .pdb files (d0.pdb and d1.pdb and an empty f0.pdb, which may or may not be there). | Every other directory seems to represent a .pkg file that is being downloaded or has been downloaded (but not installed) through PSN. In each directory you should find the .pkg, a PNG image to show (filename ICON_FILE), and two or three .pdb files (d0.pdb and d1.pdb and an empty f0.pdb, which may or may not be there). | ||
=== Header === | === Header === | ||
Line 14: | Line 13: | ||
=== Data Entries === | === Data Entries === | ||
{| | {| border="1" | ||
!Offset | !Offset | ||
!Length | !Length | ||
Line 43: | Line 42: | ||
=== Entry IDs === | === Entry IDs === | ||
{| | {| border="1" | ||
!File Entry ID | !File Entry ID | ||
!Filename | !Filename | ||
|- | |- | ||
|0x69 | |0x69 | ||
|Package Name | |Package Name | ||
|- | |- | ||
|0x6A | |0x6A | ||
|Icon | |Icon Patch | ||
|- | |- | ||
|0xCA | |0xCA | ||
|Server URL | |Server URL | ||
|- | |- | ||
|0xCB | |0xCB | ||
Line 84: | Line 59: | ||
|- | |- | ||
|0xCC | |0xCC | ||
|Package | |Package Creation Date | ||
|- | |- | ||
|0xCE | |0xCE | ||
|Package File Size | |Package File Size | ||
|- | |- | ||
|0xD0 | |0xD0 | ||
|Downloaded Size | |Downloaded Size | ||
|- | |- | ||
|0xD9 | |0xD9 | ||
Line 123: | Line 71: | ||
|- | |- | ||
|0xDA | |0xDA | ||
|Download Completed | |Download Completed | ||
|- | |- | ||
|} | |} | ||
Line 206: | Line 79: | ||
{| | {| border="1" | ||
!ID | !ID | ||
!Length | !Length | ||
Line 256: | Line 129: | ||
Here are the values seen in a game task : | Here are the values seen in a game task : | ||
{| | {| border="1" | ||
!Type | !Type | ||
Line 303: | Line 176: | ||
{| | {| border="1" | ||
!Type | !Type | ||
!Length | !Length | ||
Line 310: | Line 183: | ||
|- | |- | ||
|0x000000D0 | |0x000000D0 |8 |64bit value |current file size or total file size of .pkg in Big Endian | ||
|8 | |||
|64bit value | |||
|current file size or total file size of .pkg in Big Endian | |||
|0x000000CE | |0x000000CE |8 |64bit value |current file size or total file size of .pkg in Big Endian | ||
|8 | |||
|64bit value | |||
|current file size or total file size of .pkg in Big Endian | |||
(same value as D0 for a fully downloaded title, need partial downloads to determine which key represents what) | (same value as D0 for a fully downloaded title, need partial downloads to determine which key represents what) | ||
|0x000000CC | |0x000000CC |variable |"Thu, 02 Sep 2010 02:05:50 GMT" (qore) |Date of when the .pkg was created (apparently since it's almost 1 week before it appeared on PSN) | ||
|variable | |||
|"Thu, 02 Sep 2010 02:05:50 GMT" (qore) | |||
|Date of when the .pkg was created (apparently since it's almost 1 week before it appeared on PSN) | |||
|0x0000006A | |0x0000006A | ||
Line 376: | Line 237: | ||
|} | |} | ||
This is all the information we have so far.. unfortunately, since Sony decided to block access to PSN, we can't test more downloading, so it's hard to get new .pdb files, and so it's hard to extrapolate more. | |||
=== Tools === | |||
PS3Utils - by KaKaRoTo | |||
=== Files === | |||
Heavy Rain Episode 1: d0 d1 ICON_FILE |