Eboot.PBP: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (→‎PARAM.SFO: category notes)
m (fixed "icon content" templates)
Line 49: Line 49:
! Key (Parameters) !! Description !! Format (DATA TYPE) !! Max length  !! Value example  !! Used on !! Note
! Key (Parameters) !! Description !! Format (DATA TYPE) !! Max length  !! Value example  !! Used on !! Note
|-
|-
| APP_VER  || Application or Patch Version || style="background-color:#DDDD00;" | utf-8  || 8 || 1.00      || {{iconpsp}} ||  
| APP_VER  || Application or Patch Version || style="background-color:#DDDD00;" | utf-8  || 8 || 1.00      || {{icon content psp}} ||  
|-
|-
| ATTRIBUTE  || Various parameter || style="background-color:#DD00DD;" | integer  || 4 || 01 00 60 01 || {{iconpspminis}} {{iconpsp}} || PS1 classic do not have attribute.
| ATTRIBUTE  || Various parameter || style="background-color:#DD00DD;" | integer  || 4 || 01 00 60 01 || {{icon content pspminis}} {{icon content psp}} || PS1 classic do not have attribute.
|-
|-
| BOOTABLE || Is bootable or not          || style="background-color:#DD00DD;" | integer || 4 || 1        || {{iconpspminis}} {{iconps1}} {{iconpsp}} ||  
| BOOTABLE || Is bootable or not          || style="background-color:#DD00DD;" | integer || 4 || 1        || {{icon content pspminis}} {{icon content ps1}} {{icon content psp}} ||  
|-
|-
| CATEGORY || Category of Content          || style="background-color:#DDDD00;" | utf-8  || 4 || --        || {{iconpspminis}} {{iconps1}} {{iconpsp}}||  
| CATEGORY || Category of Content          || style="background-color:#DDDD00;" | utf-8  || 4 || --        || {{icon content pspminis}} {{icon content ps1}} {{icon content psp}}||  
|-
|-
| DISC_ID  ||        Equal to Game ID for PS3                    || style="background-color:#DD00DD;" | integer || 16|| NPXX12345 || {{iconpspminis}} {{iconps1}} {{iconpsp}}|| For PS1 classic: see [[Emulation#DiscID_explained | DiscID]]
| DISC_ID  ||        Equal to Game ID for PS3                    || style="background-color:#DD00DD;" | integer || 16|| NPXX12345 || {{icon content pspminis}} {{icon content ps1}} {{icon content psp}}|| For PS1 classic: see [[Emulation#DiscID_explained | DiscID]]
|-
|-
| DISC_NUMBER  || --                      || style="background-color:#DD00DD;" | integer || 4 || 1        || {{iconpspminis}} {{iconpsp}} ||  
| DISC_NUMBER  || --                      || style="background-color:#DD00DD;" | integer || 4 || 1        || {{icon content pspminis}} {{icon content psp}} ||  
|-
|-
| DISC_TOTAL  || --                      || style="background-color:#DD00DD;" | integer || 4 || 1        || {{iconpspminis}} {{iconpsp}} ||  
| DISC_TOTAL  || --                      || style="background-color:#DD00DD;" | integer || 4 || 1        || {{icon content pspminis}} {{icon content psp}} ||  
|-
|-
| DISC_VERSION || --                      || style="background-color:#DDDD00;" | utf-8  || 8 || 1.00      || {{iconpspminis}} {{iconps1}} {{iconpsp}} ||  
| DISC_VERSION || --                      || style="background-color:#DDDD00;" | utf-8  || 8 || 1.00      || {{icon content pspminis}} {{icon content ps1}} {{icon content psp}} ||  
|-
|-
| DRIVER_PATH || --                      || style="background-color:#DDDD00;" | utf-8  || 64 || --    || {{iconpsp}} ||
| DRIVER_PATH || --                      || style="background-color:#DDDD00;" | utf-8  || 64 || --    || {{icon content psp}} ||
|-
|-
| HRKGMP_VER  || --                      || style="background-color:#DD00DD;" | integer || 4 || 0        || {{iconpsp}}  ||  
| HRKGMP_VER  || --                      || style="background-color:#DD00DD;" | integer || 4 || 0        || {{icon content psp}}  ||  
|-
|-
| LICENSE || License information        || style="background-color:#DDDD00;" | utf-8 || 512 || --        || {{iconps1}}  ||  
| LICENSE || License information        || style="background-color:#DDDD00;" | utf-8 || 512 || --        || {{icon content ps1}}  ||  
|-
|-
| MEMSIZE || --  || style="background-color:#DD00DD;" | integer || 4 || 1          || {{iconpsp}} || add extra RAM for eboot (Not for PSP-1000)
| MEMSIZE || --  || style="background-color:#DD00DD;" | integer || 4 || 1          || {{icon content psp}} || add extra RAM for eboot (Not for PSP-1000)
|-
|-
| PARENTAL_LEVEL || Parental Lock Level    || style="background-color:#DD00DD;" | integer || 4 || 3          || {{iconpspminis}} {{iconps1}} {{iconpsp}} || E.G.:Set as 3 on ModNation Racers  
| PARENTAL_LEVEL || Parental Lock Level    || style="background-color:#DD00DD;" | integer || 4 || 3          || {{icon content pspminis}} {{icon content ps1}} {{icon content psp}} || E.G.:Set as 3 on ModNation Racers  
|-
|-
| PBOOT_TITLE ||--                      || style="background-color:#DDDD00;" | utf-8  || 128 || --    ||  {{iconpsp}}  || Used on PBOOT.PBP (Update)
| PBOOT_TITLE ||--                      || style="background-color:#DDDD00;" | utf-8  || 128 || --    ||  {{icon content psp}}  || Used on PBOOT.PBP (Update)
|-
|-
| PSP_SYSTEM_VER || --                    || style="background-color:#DDDD00;" | utf-8  || 8 || 6.35      || {{iconpspminis}} {{iconps1}} {{iconpsp}}  ||
| PSP_SYSTEM_VER || --                    || style="background-color:#DDDD00;" | utf-8  || 8 || 6.35      || {{icon content pspminis}} {{icon content ps1}} {{icon content psp}}  ||
|-
|-
| REGION  || --                            || style="background-color:#DD00DD;" | integer || 4 || 00 80 00 00      || {{iconpspminis}} {{iconps1}} {{iconpsp}} ||  
| REGION  || --                            || style="background-color:#DD00DD;" | integer || 4 || 00 80 00 00      || {{icon content pspminis}} {{icon content ps1}} {{icon content psp}} ||  
|-
|-
| TITLE  || Game Title (Default language)  || style="background-color:#DDDD00;" | utf-8  ||128|| --        || {{iconpspminis}} {{iconps1}} {{iconpsp}} ||  
| TITLE  || Game Title (Default language)  || style="background-color:#DDDD00;" | utf-8  ||128|| --        || {{icon content pspminis}} {{icon content ps1}} {{icon content psp}} ||  
|-
|-
| TITLE_XX  || Game Title  || style="background-color:#DDDD00;" | utf-8  ||128|| --        ||  {{iconpsp}} ||  
| TITLE_XX  || Game Title  || style="background-color:#DDDD00;" | utf-8  ||128|| --        ||  {{icon content psp}} ||  
|-
|-
| USE_USB || --                            || style="background-color:#DD00DD;" | integer || 4 || 0        || {{iconpspminis}} {{iconpsp}} ||  
| USE_USB || --                            || style="background-color:#DD00DD;" | integer || 4 || 0        || {{icon content pspminis}} {{icon content psp}} ||  
|-
|-
|}
|}
Line 121: Line 121:
The little icon in 32bit colour PNG format.  Max resolution is 144x80.
The little icon in 32bit colour PNG format.  Max resolution is 144x80.


{{iconpspminis}}: 80x80
{{icon content pspminis}}: 80x80


{{iconps1}}: 80x80 (same used on savedata)
{{icon content ps1}}: 80x80 (same used on savedata)
   
   
{{iconpsp}}:
{{icon content psp}}:


===ICON1.PMF or ICON1.PNG===
===ICON1.PMF or ICON1.PNG===
The little animated icon in PSMF format or image in PNG.
The little animated icon in PSMF format or image in PNG.


{{iconpspminis}}:ICON1.PNG (310x180)
{{icon content pspminis}}:ICON1.PNG (310x180)


{{iconps1}}:ICON1.PNG (310x180)
{{icon content ps1}}:ICON1.PNG (310x180)


{{iconpsp}}:
{{icon content psp}}:


===PIC0.PNG===
===PIC0.PNG===
"Information" image in PNG format.  Max resolution is 480x272.
"Information" image in PNG format.  Max resolution is 480x272.


{{iconpspminis}}:
{{icon content pspminis}}:


{{iconps1}}:
{{icon content ps1}}:


{{iconpsp}}:
{{icon content psp}}:




Line 149: Line 149:
The background image in 32bit colour PNG format.  Max resolution is 480x272.
The background image in 32bit colour PNG format.  Max resolution is 480x272.


{{iconpspminis}}:PICT1.PNG (480x272)
{{icon content pspminis}}:PICT1.PNG (480x272)


{{iconps1}}:PICT1.PNG (480x272)
{{icon content ps1}}:PICT1.PNG (480x272)


{{iconpsp}}:
{{icon content psp}}:


===SND0.AT3===
===SND0.AT3===
The sound which is played when the icon is highlighted, in ATRAC3 format.
The sound which is played when the icon is highlighted, in ATRAC3 format.


{{iconpspminis}}:
{{icon content pspminis}}:


{{iconps1}}: not present.
{{icon content ps1}}: not present.


{{iconpsp}}:
{{icon content psp}}:


==DATA.PSP==
==DATA.PSP==
Line 171: Line 171:
<div style="float:right">[[File:Minis_boot_logo.png|200px|thumb|left|Logo screen from eboot.pbp ]]<br /></div>
<div style="float:right">[[File:Minis_boot_logo.png|200px|thumb|left|Logo screen from eboot.pbp ]]<br /></div>


*{{iconpspminis}}:  
*{{icon content pspminis}}:  


"minis"boot logo (visual content is similar than the file located on dev_flash/pspemu/flash0/logo/minis_logo/)
"minis"boot logo (visual content is similar than the file located on dev_flash/pspemu/flash0/logo/minis_logo/)
Line 181: Line 181:
Not all games have the second [http://www.ps3devwiki.com/wiki/File:Minis_Warning_logo.png Warning logo]
Not all games have the second [http://www.ps3devwiki.com/wiki/File:Minis_Warning_logo.png Warning logo]


*{{iconps1}}:
*{{icon content ps1}}:


{| class="wikitable sortable"
{| class="wikitable sortable"
Line 208: Line 208:
|-
|-
| 0x00 ||16 bytes (0x10) || magic ||
| 0x00 ||16 bytes (0x10) || magic ||
  {{iconpspminis}}: NPUMDIMG  
  {{icon content pspminis}}: NPUMDIMG  
  (4E 50 55 4D  44 49 4D 47  ''03 00 00 01''  '''10 00 00 00''')
  (4E 50 55 4D  44 49 4D 47  ''03 00 00 01''  '''10 00 00 00''')
  (use also on PSP game)
  (use also on PSP game)




  {{iconps1}}: PSISOIMG0000  
  {{icon content ps1}}: PSISOIMG0000  
  (50 53 49 53  4F 49 4D 47  ''30 30 30 30''  '''xx xx xx xx''')
  (50 53 49 53  4F 49 4D 47  ''30 30 30 30''  '''xx xx xx xx''')


Line 222: Line 222:
|}
|}


{{iconps1}}:
{{icon content ps1}}:


*Note: this "identifier" seems to be separated in: 8 + 4 + 4 bytes:
*Note: this "identifier" seems to be separated in: 8 + 4 + 4 bytes:

Revision as of 22:24, 12 November 2012


ICON0 eboot.pbp FW 6.60

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 other files
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

Fews parameters inside differents type of .pbp (psp game, minis, ps1 classic..)

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 PSP icon
ATTRIBUTE Various parameter integer 4 01 00 60 01 PSP Minis icon PSP icon PS1 classic do not have attribute.
BOOTABLE Is bootable or not integer 4 1 PSP Minis icon PS1 icon PSP icon
CATEGORY Category of Content utf-8 4 -- PSP Minis icon PS1 icon PSP icon
DISC_ID Equal to Game ID for PS3 integer 16 NPXX12345 PSP Minis icon PS1 icon PSP icon For PS1 classic: see DiscID
DISC_NUMBER -- integer 4 1 PSP Minis icon PSP icon
DISC_TOTAL -- integer 4 1 PSP Minis icon PSP icon
DISC_VERSION -- utf-8 8 1.00 PSP Minis icon PS1 icon PSP icon
DRIVER_PATH -- utf-8 64 -- PSP icon
HRKGMP_VER -- integer 4 0 PSP icon
LICENSE License information utf-8 512 -- PS1 icon
MEMSIZE -- integer 4 1 PSP icon add extra RAM for eboot (Not for PSP-1000)
PARENTAL_LEVEL Parental Lock Level integer 4 3 PSP Minis icon PS1 icon PSP icon E.G.:Set as 3 on ModNation Racers
PBOOT_TITLE -- utf-8 128 -- PSP icon Used on PBOOT.PBP (Update)
PSP_SYSTEM_VER -- utf-8 8 6.35 PSP Minis icon PS1 icon PSP icon
REGION -- integer 4 00 80 00 00 PSP Minis icon PS1 icon PSP icon
TITLE Game Title (Default language) utf-8 128 -- PSP Minis icon PS1 icon PSP icon
TITLE_XX Game Title utf-8 128 -- PSP icon
USE_USB -- integer 4 0 PSP Minis icon PSP icon


Attribute

Category

  • EG (for MINIS), MA (Apps?), ME (for PS1 Classic), MG (for update FW :MSTKUPDATE) , MS for game&apps save, 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

Content Information Files

For PS3:Content_Information_Files

ICON0.PNG

The little icon in 32bit colour PNG format. Max resolution is 144x80.

PSP Minis icon: 80x80

PS1 icon: 80x80 (same used on savedata)

PSP icon:

ICON1.PMF or ICON1.PNG

The little animated icon in PSMF format or image in PNG.

PSP Minis icon:ICON1.PNG (310x180)

PS1 icon:ICON1.PNG (310x180)

PSP icon:

PIC0.PNG

"Information" image in PNG format. Max resolution is 480x272.

PSP Minis icon:

PS1 icon:

PSP icon:


PIC1.PNG or PICT1.PNG

The background image in 32bit colour PNG format. Max resolution is 480x272.

PSP Minis icon:PICT1.PNG (480x272)

PS1 icon:PICT1.PNG (480x272)

PSP icon:

SND0.AT3

The sound which is played when the icon is highlighted, in ATRAC3 format.

PSP Minis icon:

PS1 icon: not present.

PSP icon:

DATA.PSP

More information, except more targeted at the executable portion (contains info such as ELF size):

Boot & Warning image:

Logo screen from eboot.pbp

  • PSP Minis icon:

"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

  • PS1 icon:
Offset Length Name Description
0x00 16 - ~PSP (7E 50 53 50 00 02 01 00 01 01 20)
...
0x2C - Size Length first part / offset second part (40 25)

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
PSP Minis icon: NPUMDIMG 
(4E 50 55 4D  44 49 4D 47  03 00 00 01  10 00 00 00)
(use also on PSP game)


PS1 icon: PSISOIMG0000 
(50 53 49 53  4F 49 4D 47  30 30 30 30  xx xx xx xx)

See PSISOIMG0000

See Iso.bin.edat_Disc_map

PS1 icon:

  • Note: this "identifier" 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)

  • PSTITLEIMG000000: Not present on all PS1 Classic and followed also by 4 bytes giving length of first part. After one .pgd part and padding, "PSISOIMG0000" + 4bytes as 00.


  • PGD:


For PGD on JPCSP: http://www.emunewz.net/forum/showthread.php?tid=3834

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
  • STARTDAT (for PS1 classic) header contain the header size (50) and .png size ("A5 2F" when similar MINIS Warning logo.

Last part is other .PGD section


Links

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