Editing Eboot.PBP
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: | ||
[[Category:Software]] | |||
<div style="float:right">[[File:PSP_eboot_update_logo.png|200px|thumb|left|ICON0 eboot.pbp FW 6.60]]<br /></div> | <div style="float:right">[[File:PSP_eboot_update_logo.png|200px|thumb|left|ICON0 eboot.pbp FW 6.60]]<br /></div> | ||
= Eboot.PBP = | = Eboot.PBP = | ||
[[File: | <div style="float:right">[[File:PSP_Remaster_Menu_image.bin.png|50px|thumb|left|Menu screen bin for PSP Remaster located in PSP_EMU]]<br /></div> | ||
Used on PSP (PSP remaster and PSN content:PS1 classic | Used on PSP (PSP remaster and PSN content:PS1 classic & Minis), to be loaded with build in pspemulator on PS3. [[Emulation | See: Emulation page]] | ||
When an PSP remaster game is started, you can select either the game or launching the NPJA0040/USRDIR/EBOOT.BIN (original :Ad-Hoc Party folder). An ICON of the game is also loaded on the top left corner during the menu. | |||
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. | 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. | ||
[http://www.ps3devwiki.com/wiki/File:Psp_update_thumbnail.png RCO PNG used on PS3 for | [http://www.ps3devwiki.com/wiki/File:Psp_update_thumbnail.png RCO PNG used on PS3 for eboot.pbp] | ||
== Header and filetable== | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Offset !! Purpose | ! Offset !! Purpose !! Notes | ||
|- | |- | ||
| 0x00 || The PBP signature, always is | | 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 | | 0x04 || Unknown purpose, possibly the version number. Currently is always 0x00000100 or 0x01000100 || e.g.:0x01000100 on some MINIS (PSP fw 6.00, with new SFO parameter and .pgd encryption?) and PSP remaster and PSP PlayView | ||
|- | |- | ||
| 0x08 || Offset of the file PARAM.SFO ( | | 0x08 || Offset of the file PARAM.SFO (this value should always be 0x28) || | ||
|- | |- | ||
| 0x0C || Offset of the file ICON0.PNG | | 0x0C || Offset of the file ICON0.PNG || | ||
|- | |- | ||
| 0x10 || Offset of the file ICON1.PMF or ICON1.PNG | | 0x10 || Offset of the file ICON1.PMF or ICON1.PNG || | ||
|- | |- | ||
| 0x14 || Offset of the file PIC0.PNG or UNKNOWN.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 | | 0x18 || Offset of the file PIC1.PNG or PICT1.PNG || | ||
|- | |- | ||
| 0x1C || Offset of the file SND0.AT3 | | 0x1C || Offset of the file SND0.AT3 || | ||
|- | |- | ||
| 0x20 || Offset of the file DATA.PSP | | 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 | |||
== PARAM.SFO == | |||
Basically the information file for the .PBP - has title, parental control level etc | |||
Fews parameters inside different type of .pbp (psp remaster, psp game, minis, ps1 classic..) | Fews parameters inside different type of .pbp (psp remaster, psp game, minis, ps1 classic..) | ||
For the external PS3 SFO, see [[PARAM.SFO | For the external PS3 SFO, see the [[PARAM.SFO | param.sfo page]]) | ||
(e.g.: Title of the game should start at offset 0x358 | For PS1 classic, offset should not be variable on eboot.pbp. | ||
(e.g.: Title of the game should start at offset 0x358) | |||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
! 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 || {{icon content pspremaster}} {{icon content psp}}|| PS1 classic should not have this parameter. | | APP_VER || Application or Patch Version || style="background-color:#DDDD00;" | utf-8 || 8 || 1.00 || {{icon content pspremaster}} {{icon content psp}}|| PS1 classic should not have this parameter. | ||
Line 64: | Line 63: | ||
| BOOTABLE || Is bootable or not || style="background-color:#DD00DD;" | integer || 4 || 01 00 00 00 || {{icon content pspremaster}} {{icon content pspminis}} {{icon content ps1}} {{icon content psp}} || Parameters PS1 classic should start from here. | | BOOTABLE || Is bootable or not || style="background-color:#DD00DD;" | integer || 4 || 01 00 00 00 || {{icon content pspremaster}} {{icon content pspminis}} {{icon content ps1}} {{icon content psp}} || Parameters PS1 classic should start from here. | ||
|- | |- | ||
| CATEGORY || Category of Content || style="background-color:#DDDD00;" | utf-8 || 4 || -- || {{icon content pspremaster}} {{icon content pspminis}} {{icon content ps1}} {{icon content psp}}|| | | CATEGORY || Category of Content || style="background-color:#DDDD00;" | utf-8 || 4 || -- || {{icon content pspremaster}} {{icon content pspminis}} {{icon content ps1}} {{icon content psp}}|| | ||
|- | |- | ||
| DISC_ID || | | DISC_ID || Equal to Game ID for PS3 || style="background-color:#DD00DD;" | integer || 16 (0X10)|| NPXX12345 || {{icon content pspremaster}} {{icon content pspminis}} {{icon content ps1}} {{icon content psp}}|| See [[Emulation#DiscID_explained | DiscID]] | ||
|- | |- | ||
| DISC_NUMBER || -- || style="background-color:#DD00DD;" | integer || 4 || 1 || {{icon content pspremaster}} {{icon content pspminis}} {{icon content psp}} || | | DISC_NUMBER || -- || style="background-color:#DD00DD;" | integer || 4 || 1 || {{icon content pspremaster}} {{icon content pspminis}} {{icon content psp}} || | ||
|- | |- | ||
| DISC_TOTAL || -- || style="background-color:#DD00DD;" | integer || 4 || 1 || {{icon content pspremaster}} {{icon content pspminis}} {{icon content psp}} || | | DISC_TOTAL || -- || style="background-color:#DD00DD;" | integer || 4 || 1 || {{icon content pspremaster}} {{icon content pspminis}} {{icon content psp}} || | ||
|- | |- | ||
| DISC_VERSION || -- || style="background-color:#DDDD00;" | utf-8 || 8 || 1.00 || {{icon content pspremaster}} {{icon content pspminis}} {{icon content ps1}} {{icon content psp}} || | | DISC_VERSION || -- || style="background-color:#DDDD00;" | utf-8 || 8 || 1.00 || {{icon content pspremaster}} {{icon content pspminis}} {{icon content ps1}} {{icon content psp}} || | ||
|- | |- | ||
| DRIVER_PATH || -- || style="background-color:#DDDD00;" | utf-8 || 64 (0x40) || -- || {{icon content psp}} || | | DRIVER_PATH || -- || style="background-color:#DDDD00;" | utf-8 || 64 (0x40) || -- || {{icon content psp}} || | ||
Line 82: | Line 81: | ||
| MEMSIZE || -- || style="background-color:#DD00DD;" | integer || 4 || 1 || {{icon content psp}} || add extra RAM for eboot (Not for PSP-1000), first used on homebrew: snes TYL | | MEMSIZE || -- || style="background-color:#DD00DD;" | integer || 4 || 1 || {{icon content psp}} || add extra RAM for eboot (Not for PSP-1000), first used on homebrew: snes TYL | ||
|- | |- | ||
| PARENTAL_LEVEL || Parental Lock Level || style="background-color:#DD00DD;" | integer || 4 || | | PARENTAL_LEVEL || Parental Lock Level || style="background-color:#DD00DD;" | integer || 4 || 3 || {{icon content pspremaster}} {{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 (0x80) || -- || {{icon content psp}} || Used on PBOOT.PBP (Update) | | PBOOT_TITLE ||-- || style="background-color:#DDDD00;" | utf-8 || 128 (0x80) || -- || {{icon content psp}} || Used on PBOOT.PBP (Update) | ||
|- | |- | ||
| PSP_SYSTEM_VER || -- || style="background-color:#DDDD00;" | utf-8 || 8 || 6.35 || {{icon content pspremaster}} {{icon content pspminis}} {{icon content ps1}} {{icon content psp}} || | | PSP_SYSTEM_VER || -- || style="background-color:#DDDD00;" | utf-8 || 8 || 6.35 || {{icon content pspremaster}} {{icon content pspminis}} {{icon content ps1}} {{icon content psp}} || | ||
|- | |- | ||
| REGION || -- || style="background-color:#DD00DD;" | integer || 4 || 00 80 00 00 || {{icon content pspremaster}} {{icon content pspminis}} {{icon content ps1}} {{icon content psp}} || | | REGION || -- || style="background-color:#DD00DD;" | integer || 4 || 00 80 00 00 || {{icon content pspremaster}} {{icon content pspminis}} {{icon content ps1}} {{icon content psp}} || | ||
|- | |- | ||
| TITLE || Game Title (Default language) || style="background-color:#DDDD00;" | utf-8 ||128 | | TITLE || Game Title (Default language) || style="background-color:#DDDD00;" | utf-8 ||128|| -- || {{icon content pspremaster}} {{icon content pspminis}} {{icon content ps1}} {{icon content psp}} || | ||
|- | |- | ||
| TITLE_XX || Game Title || style="background-color:#DDDD00;" | utf-8 ||128 (0x80)|| -- || {{icon content psp}} || | | TITLE_XX || Game Title || style="background-color:#DDDD00;" | utf-8 ||128 (0x80)|| -- || {{icon content psp}} || See [http://www.ps3devwiki.com/wiki/Content_Information_Files#Languages Languages] | ||
|- | |- | ||
| | | USE_USB || -- || style="background-color:#DD00DD;" | integer || 4 || 0 || {{icon content pspremaster}} {{icon content pspminis}} {{icon content psp}} || | ||
|- | |- | ||
|} | |} | ||
'''Attribute''' | '''Attribute''' | ||
Line 111: | Line 108: | ||
! PSP !! PS3 SFO related !! Note | ! PSP !! PS3 SFO related !! Note | ||
|- | |- | ||
| EG || MN || | | EG || MN || Minis | ||
|- | |- | ||
| EG || PE || PSP remaster | | EG || PE || PSP remaster | ||
|- | |- | ||
| EG || PP || Not bootable on PS3 | | EG || PP || Not bootable on PS3 | ||
Line 121: | Line 118: | ||
| ME || 1P || PS1 Classic | | ME || 1P || PS1 Classic | ||
|- | |- | ||
| MG || {{No}} || | | MG || {{No}} || For update FW :MSTKUPDATE, Apps game and Game data (for param.pbp / not as save data). PP on PS3 is possible. | ||
|- | |- | ||
| MS || {{No}} || | | MS || {{No}} || Save for Game&apps (PSP remaster also) | ||
|- | |- | ||
| UG || {{No}} || UMD Disc Game | | UG || {{No}} || UMD Disc Game | ||
Line 130: | Line 127: | ||
|- | |- | ||
|} | |} | ||
'''DISC_ID''' (or TITLE_ID ?) | '''DISC_ID''' (or TITLE_ID ?) | ||
Some special titles from | Some special titles from sony utility apps: | ||
*NPIA00013 (SensMe) http://www.playstation.com/psp-app/sensme/en/download_pc.html | *NPIA00013 (SensMe) http://www.playstation.com/psp-app/sensme/en/download_pc.html | ||
'''Update for Game (PBOOT.PBP): '''some values | '''Update for Game (PBOOT.PBP): '''some values | ||
Line 147: | Line 146: | ||
PBOOT_TITLE | PBOOT_TITLE | ||
'''Game Data (PARAM.PBP): '''some values | |||
BOOTABLE: 00 00 00 00 | |||
CATEGORY: MG | |||
PSP_SYSTEM_VER: 1.00 | |||
==Content Information Files== | |||
For PS3:[[Content_Information_Files]] | |||
The little icon in 32bit colour PNG format. Max resolution is 144x80. | ===ICON0.PNG=== | ||
The little icon in 32bit colour PNG format. Max resolution is 144x80. | |||
{{icon content pspminis}}: 80x80 | {{icon content pspminis}}: 80x80 | ||
Line 163: | Line 170: | ||
{{icon content pspremaster}}: 144x80 | {{icon content pspremaster}}: 144x80 | ||
===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. | ||
{{icon content pspminis}}:ICON1.PNG | {{icon content pspminis}}:ICON1.PNG (310x180) | ||
{{icon content ps1}}:ICON1.PNG | {{icon content ps1}}:ICON1.PNG (310x180) | ||
{{icon content psp}}: | {{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. | ||
Line 183: | Line 189: | ||
{{icon content psp}}: | {{icon content psp}}: | ||
=== PIC1.PNG or PICT1.PNG === | ===PIC1.PNG or PICT1.PNG=== | ||
The background image in 32bit colour PNG format. Max resolution is 480x272. | The background image in 32bit colour PNG format. Max resolution is 480x272. | ||
Line 195: | Line 200: | ||
{{icon content pspremaster}}: PIC1.PNG (480x272) | {{icon content pspremaster}}: PIC1.PNG (480x272) | ||
=== 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. | ||
Line 207: | Line 211: | ||
{{icon content pspremaster}}: not present. | {{icon content pspremaster}}: not present. | ||
== DATA.PSP == | ==DATA.PSP== | ||
More information, except more targeted at the executable portion (contains info such as ELF size): | More information, except more targeted at the executable portion (contains info such as ELF size): | ||
=== Boot | ===Boot & Warning image:=== | ||
<div style="float:right">[[File:Minis_boot_logo.png|200px|thumb|left|Logo screen from eboot.pbp]]<br /> | <div style="float:right">[[File:Minis_boot_logo.png|200px|thumb|left|Logo screen from eboot.pbp ]]<br /></div> | ||
*{{icon content pspminis}}: | *{{icon content pspminis}}: | ||
Line 223: | Line 226: | ||
PNG format (480x272) | PNG format (480x272) | ||
Not all | Not all games have the second [http://www.ps3devwiki.com/wiki/File:Minis_Warning_logo.png Warning logo] | ||
*{{icon content ps1}}: | *{{icon content ps1}}: | ||
Line 236: | Line 239: | ||
|- | |- | ||
| 0x2C || - || Size || Length first part / offset second part (40 25) | | 0x2C || - || Size || Length first part / offset second part (40 25) | ||
|- | |||
|} | |} | ||
===Other=== | |||
=== Other === | |||
* When the eboot is signed as free demo (PSP 6.60 OFW might block it, 6.39 | *When the eboot is signed as free demo (PSP 6.60 OFW might block it, 6.39 no) | ||
The bulk of the EBOOT | ==DATA.PSAR== | ||
The bulk of the EBOOT, and the portion which contains the executable code. | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 264: | Line 258: | ||
(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''') | ||
(used also on PSP game) | (used also on PSP game) | ||
{{icon content ps1}}: 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''') | ||
See [[PSISOIMG0000|PSISOIMG0000]] | See [[PSISOIMG0000 | PSISOIMG0000 ]] | ||
See [[Iso.bin.edat#iso.bin_Disc_map|Iso.bin.edat_Disc_map]] | See [[Iso.bin.edat#iso.bin_Disc_map | Iso.bin.edat_Disc_map]] | ||
|- | |||
|} | |} | ||
Line 281: | Line 277: | ||
*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. | *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 | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Offset !! Length !! | !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 :header contain the header size (50) and .png size (e,g,:"A5 2F" when similar [http://www.ps3devwiki.com/wiki/File:Minis_Warning_logo.png MINIS Warning logo] or 06 26 for PSP remaster). | |||
Last part is other .PGD section | |||
=Links & Tools= | |||
* | *PSARdumper | ||
http://dl.qj.net/psp/homebrew-applications/psardumper-for-ofw-660.html | |||
Note: This PSAR dumper is for firmware packages | |||
* | *PRXdecrypter | ||
http://dl.qj.net/psp/homebrew-applications/prxdecrypter-v26b.html | |||
Note: Is a modification of psardumper that can decrypt other files as MODULES.PRX or EBOOT.BIN | |||
* | *PBP Unpacker | ||
http://dl.qj.net/psp/tools-utilities-on-pc/pbp-unpacker-v094.html | |||
* | *PKG & KEYS.BIN | ||
https://sites.google.com/site/theleecherman/psnpkgdecryptor-extractor | |||
Note: Some feature (KEYS.BIN is used by PS1 classic on PSP): | |||
Extract & Decrypt & Dump all PSP PKG files ( Games & Minis, DLCs & Addons, NeoGeo, PC Engine, PSOne Classic Games, Games Updates ) | Extract & Decrypt & Dump all PSP PKG files ( Games & Minis, DLCs & Addons, NeoGeo, PC Engine, PSOne Classic Games, Games Updates ) | ||
ISO, EBOOT, EDAT/PGD files to Decrypt (Version 1.3), Dump, Verify ISO | ISO, EBOOT, EDAT/PGD files to Decrypt (Version 1.3), Dump, Verify ISO | ||
Line 367: | Line 325: | ||
... | ... | ||
<!--//links not working anymore or for history | |||
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 | |||
//--> |