Eboot.PBP: Difference between revisions
m (→DATA.PSAR) |
m (→DATA.PSAR) |
||
Line 178: | Line 178: | ||
*Note: this "identifyer" seems to be separated in: 8 + 4 + 4 bytes: | *Note: this "identifyer" seems to be separated in: 8 + 4 + 4 bytes: | ||
For PS1 Classic the last 4 bytes give the size of the first part of the PSAR, | For PS1 Classic the last 4 bytes give the size of the first part of the PSAR, | ||
which also means it's the offset (DATA.PSAR file) for part 2 (string: STARTDAT) | which also means it's the offset (DATA.PSAR file) for part 2 (string as: STARTDAT) | ||
*STARTDAT (for PS1 classic) header contain the header size (50) and .png size (2FA5 for similar warning screen on MINIS). | |||
Last part is other .PGD section | |||
Line 206: | Line 209: | ||
More information about the PSAR: http://www.ps3devwiki.com/files/documents/-SONY%20PS3%20SDK%20Documentation/360.01/cell/en/html/file_access/PSARC-Users_Guide_e.htm | More information about the PSAR: http://www.ps3devwiki.com/files/documents/-SONY%20PS3%20SDK%20Documentation/360.01/cell/en/html/file_access/PSARC-Users_Guide_e.htm | ||
For structure (and history of research): http://lan.st/showthread.php?t=258 | |||
For files related to EBOOT.PBP (keys.bin, document.dat etc...), basic infos on the talk page also. | For files related to EBOOT.PBP (keys.bin, document.dat etc...), basic infos on the talk page also. | ||
For history of the page: original link for PBP structure) http://endlessparadigm.com/forum/showthread.php?tid=13 | For history of the page: original link for PBP structure) http://endlessparadigm.com/forum/showthread.php?tid=13 |
Revision as of 20:31, 20 September 2012
Eboot.PBP
Used on PSP (and PSN content:PS1 classic & Minis), to be loaded with build in pspemulator (and ps1emulator?) on PS3.
Used also for PSP FW from PS3 internet browser (http://www.jp.playstation.com/psp/update/ud_03.html) correct link if available in English) to transfer on PSP or external storage device.
RCO PNG used on PS3 when transfer eboot.pbp
Header and filetable
Offset | Purpose | Notes |
---|---|---|
0x00 | The PBP signature, always is 0x50425000 or the string "<null char>PBP" | |
0x04 | Unknown purpose, possibly the version number. Currently is always 0x00000100 or 0x01000100 | e.g.:0x01000100 on some MINIS (//around PSP fw 6.00, with new parameter on SFO and .pgd encryption?) |
0x08 | Offset of the file PARAM.SFO (this value should always be 0x28) | |
0x0C | Offset of the file ICON0.PNG | |
0x10 | Offset of the file ICON1.PMF or ICON1.PNG | |
0x14 | Offset of the file PIC0.PNG or UNKNOWN.PNG | Offset value can be same than ICON1 |
0x18 | Offset of the file PIC1.PNG or PICT1.PNG | |
0x1C | Offset of the file SND0.AT3 | |
0x20 | Offset of the file DATA.PSP | |
0x24 | Offset of the file DATA.PSAR |
Then the file PARAM.SFO starts (at 0x28)
PARAM.SFO
Basically the information file for the .PBP - has title, parental control level etc
SFO Attribute of MINIS used are for X1 category ATTRIBUTE_In_Bootable_content
Fews parameters inside various .pbp (for the external SFO, see the param.sfo page)
Key (Parameters) | Description | Format (DATA TYPE) | Max length | Value example | Used on | Note |
---|---|---|---|---|---|---|
APP_VER | Application or Patch Version | utf-8 | 8 | 1.00 | Template:Iconpsp | |
ATTRIBUTE | Various parameter | integer | 4 | 01 00 60 01 | Template:Iconpspminis Template:Iconpsp | PS1 classic don t have attribute. |
BOOTABLE | Is bootable or not | integer | 4 | 1 | Template:Iconpspminis Template:Iconps1 Template:Iconpsp | |
CATEGORY | Category of Content | utf-8 | 4 | -- | Template:Iconpspminis Template:Iconps1 Template:Iconpsp | |
DISC_ID | Equal to Game ID for PS3 | integer | 16 | NPXX12345 | Template:Iconpspminis Template:Iconps1 Template:Iconpsp | For PS1 classic: see DiscID |
DISC_NUMBER | -- | integer | 4 | 1 | Template:Iconpspminis Template:Iconpsp | |
DISC_TOTAL | -- | integer | 4 | 1 | Template:Iconpspminis Template:Iconpsp | |
DISC_VERSION | -- | utf-8 | 8 | 1.00 | Template:Iconpspminis Template:Iconps1 Template:Iconpsp | |
DRIVER_PATH | -- | utf-8 | 64 | -- | Template:Iconpsp | |
HRKGMP_VER | -- | integer | 4 | 0 | Template:Iconpsp | |
LICENSE | License information | utf-8 | 512 | -- | Template:Iconps1 | |
MEMSIZE | -- | integer | 4 | 1 | Template:Iconpsp | add extra RAM for eboot (Not for PSP-1000) |
PARENTAL_LEVEL | Parental Lock Level | integer | 4 | 3 | Template:Iconpspminis Template:Iconps1 Template:Iconpsp | E.G.:Set as 3 on ModNation Racers |
PBOOT_TITLE | -- | utf-8 | 128 | -- | Template:Iconpsp | Used on PBOOT.PBP (Update) |
PSP_SYSTEM_VER | -- | utf-8 | 8 | 6.35 | Template:Iconpspminis Template:Iconps1 Template:Iconpsp | |
REGION | -- | integer | 4 | 00 80 00 00 | Template:Iconpspminis Template:Iconps1 Template:Iconpsp | |
TITLE | Game Title (Default language) | utf-8 | 128 | -- | Template:Iconpspminis Template:Iconps1 Template:Iconpsp | |
TITLE_XX | Game Title | utf-8 | 128 | -- | Template:Iconpsp | |
USE_USB | -- | integer | 4 | 0 | Template:Iconpspminis Template:Iconpsp |
Category
- EG (for MINIS), MA (apps?), ME (for PS1 Classic), MG (for update FW :MSTKUPDATE) , UG (UMD Disc Game), PG (for PP)...
MEMSIZE:
First used on homebrew: snes TYL
Update for Game (PBOOT.PBP): some values
APP_VER: 1.01 or more
ATTRIBUTE: 01 00 00 00
CATEGORY: PG
PBOOT_TITLE
ICON0.PNG
The little icon in 32bit colour PNG format. Max resolution is 144x80.
Minis: 80x80
ICON1.PMF or ICON1.PNG
The little animated icon in PSMF format.
Minis & PS1 classic:ICON1.PNG (310x180)
PIC0.PNG
"Information" image in PNG format. Max resolution is 480x272.
PIC1.PNG or PICT1.PNG
The background image in 32bit colour PNG format. Max resolution is 480x272.
For MINIS & PS1 classic: PICT1.PNG (480x272)
SND0.AT3
The sound which is played when the icon is highlighted, in ATRAC3 format.
DATA.PSP
More information, except more targeted at the executable portion (contains info such as ELF size):
CONTENT ID
Boot & Warning image:
- For MINIS :
"minis"boot logo (visual content is similar than the file located on dev_flash/pspemu/flash0/logo/minis_logo/)
Display on Screen from PS3 side might be altered according to the FW.
PNG format (480x272)
Not all games have the second Warning logo
- For PS1 classic:
Other
- When the eboot is signed as free demo
DATA.PSAR
The bulk of the EBOOT, and the portion which contains the executable code.
Offset | Length | Name | Description |
---|---|---|---|
0x00 | 16 bytes (0x10) | magic |
For MINIS: NPUMDIMG (4E 50 55 4D 44 49 4D 47 03 00 00 01 10 00 00 00) For PS1 classic : PSISOIMG0000 (50 53 49 53 4F 49 4D 47 30 30 30 30 xx xx xx xx) See Iso.bin.edat_Disc_map (NPUMDIMG is not only use for MINIS type on PSP but also for PSP game) |
- Note: this "identifyer" seems to be separated in: 8 + 4 + 4 bytes:
For PS1 Classic the last 4 bytes give the size of the first part of the PSAR, which also means it's the offset (DATA.PSAR file) for part 2 (string as: STARTDAT)
- STARTDAT (for PS1 classic) header contain the header size (50) and .png size (2FA5 for similar warning screen on MINIS).
Last part is other .PGD section
- See also PSISOIMG0000
Offset | Length | Name | Description |
---|---|---|---|
0x400 | 4 bytes (0x4) | magic | PGD |
0x404 | 4 bytes (0x4) | unknown | 01 00 00 00 |
0x408 | 4 bytes (0x4) | unknown | 01 00 00 00 |
0x40C | 4 bytes (0x4) | unknown | 00 00 00 00 |
0x410 | unknown | encrypted |
For PGD on JPCSP: http://www.emunewz.net/forum/showthread.php?tid=3834
More information about the PSAR: http://www.ps3devwiki.com/files/documents/-SONY%20PS3%20SDK%20Documentation/360.01/cell/en/html/file_access/PSARC-Users_Guide_e.htm
For structure (and history of research): http://lan.st/showthread.php?t=258
For files related to EBOOT.PBP (keys.bin, document.dat etc...), basic infos on the talk page also.
For history of the page: original link for PBP structure) http://endlessparadigm.com/forum/showthread.php?tid=13