Talk:Eboot.PBP: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (→‎CONFIG: correct assumptions)
 
No edit summary
 
(103 intermediate revisions by 6 users not shown)
Line 1: Line 1:
=Structure folder/files around EBOOT.PBP=
= Structure folder/files around EBOOT.PBP =
(Not complete structure) Infos about NPDRM: [[http://www.ps3devwiki.com/wiki/Talk:NPDRM_Selfs]]
 
Note: might not be complete structure tree.


'''Dev_HDD0/game/NPXX.12345/'''
'''Dev_HDD0/game/NPXX.12345/'''


ICON0.PNG (ICON loaded on PS3 XMB)
|-ICON0.PNG (ICON on PS3 XMB)
|
|-PARAM.SFO (SFO used by PS3: [[PARAM.SFO#CATEGORY_For_HDD_contents|CATEGORY_For_HDD_contents]])
|
|-PIC0.PNG
|
|-PIC1.PNG
|
|-PIC2.PNG
|
|-PS3LOGO.DAT
|
|- USRDIR:
      |
      |-CONTENT (dir): (this folder is sent when using export)
      |    |
      |    |-DOCUMENT.DAT (software manual)
      |    |-EBOOT.PBP (more infos on main page)---SFO inside used by PSP
      |    |-PBOOT.PBP (udpate game. SFO category is PG, used with main SFO as PP)     
      |    |-KEYS.BIN (see above)
      |    |-other possible files related to the game when it s update PBOOT.PBP
      |
      |
      |- SAVEDATA (dir): [[Game_Saves#Game_Saves_Minis|about minis/ ps1 classic save]] and [[PlayStation_Card_Adapter|Memory card adapter]]
      |    |
      |    |-ICON0.PNG  (used for PSP save data)
      |    |-PARAM.SFO  (Category: MS, used for PSP save data)
      |    |-SCEVMC0.VMP (memory card save in PSP format for slot 1)
      |    |-SCEVMC1.VMP (memory card save in PSP format for slot 2)
      |    |-CONFIG.BIN  (probably generated by the PSP)
      |
      |-CONFIG (generated after first boot)
      |
      |-ISO.BIN.EDAT: [[ISO.BIN.EDAT]] (1Ko file when update PBOOT.PBP)
      |   
      |-MINIS.EDAT (used on MINIS game)
      |
      |-MINIS2.EDAT (used on PSP remaster)
      |
      |-load_tmp: (dir only on MINIS after first boot?)
      |      |
      |      |-ICON0.PNG
      |      |-PARAM.SFO (Category: MS)
      |      |-PIC1.PNG
      |      |-SECURE.BIN
      |      |-SND0.AT3
      |
      |-save.tmp (empty dir only on MINIS after first save?)


PARAM.SFO (this SFO is used by PS3 for classify the game category, generally)
= Files related to EBOOT.PBP =


PIC0.PNG
== PARAM.SFO attribute (PSP) ==


PIC1.PNG
'''By group content format:'''


PIC2.PNG
*{{icon content psp}} PSP™: X3, X5, X6, X7 (used also for unsupported/corrupted data like unknown folder on PS3, X1 can be also in this folder and it is a bit different issue, in 2 case at least)


PS3LOGO.DAT
*{{icon content pspminis}} minis: X1 (same on PS3)


USRDIR:
*{{icon content ps1}} Playstation® (for PS1 classic game): Don't have attributes


*CONTENT (dir): (this folder is sent when using export)
*{{icon content pcengine}} PCENGINE: X0 (same for PS3)
  DOCUMENT.DAT (software manual)
  EBOOT.PBP (more infos on page)---the SFO inside will be sent when using export and used by PSP


*{{icon content neogeo}} NEOGEO: X2 (it is X4 on PS3, NEOGEO games don't have export so that can be the reason why attributes are different)


*load_tmp: (dir only on MINIS after first boot?)
Only X3 seems missing, X5, X6, X7 might not be used yet.
**ICON0.PNG
**PARAM.SFO
**PIC1.PNG
**SECURE.BIN
**SND0.AT3
*save.tmp (empty dir only on MINIS after first save?)


*SAVEDATA (dir): More infos about minis/ ps1 classic save:[[http://www.ps3devwiki.com/wiki/Game_Saves#Minis_Saved_Games]] or here about card adapter for transfer[[http://www.ps3devwiki.com/wiki/PlayStation_Card_Adapter]]
== CONFIG ==
**ICON0.PNG
**PARAM.SFO
**SCEVMC0.VMP
**SCEVMC1.VMP


*CONFIG (generated after first boot)
Infos about [Emulation|PS1 Emulation]


*ISO.BIN.EDAT: More infos about EDAT files: [[http://www.ps3devwiki.com/wiki/Talk:EDAT_files]]
Size: 60 bytes, string in ASCII: "PS1EmuConfigFile", "disc_no"
*MINIS.EDAT (when it s a MINIS game)


=Files related to EBOOT.PBP=
Generated/overwrited at each boot of the game, configure the PS1 emulator for: ?


==DOCUMENT.DAT==
== KEYS.BIN ==
(will try to provide a bit more infos about relation between PARAM.SFO on ps3, DOCUMENT.DAT and if possible EBOOT.PBP)
Software manual
Same folder as EBOOT.PBP. This folder is copied straight (can have any other files) to PSP when using psp export function.


By pressing home button during the game, ICON of software manual will appear near the game icon to display within ".png viewer" of the ps3 (as option when it s PS1 classic)
16 bytes.


Can be replaced by other (similar type) DOCUMENT.DAT of other game.
If you have this file, you can put it into the folder CONTENT to make your PS1 classic game working after being exported.
It s the SFO (the first, not the SFO inside EBOOT.PBP) to summon this icon and name but it s the EBOOT.PBP giving the path(can be changed)to load it (?)


Probably can be considered (if it possible to use it under EBOOT.BIN or for ps3 homebrews) as CONTENT INFORMATION FILES [[http://www.ps3devwiki.com/wiki/Content_Information_Files]]
For export on PS3 3.55: XMB option


===DOCUMENT.DAT on PS3/PSP/PSVITA===
For export on PS3 4.xx+: PKG as bubble first. (note: install on PS3 also, the "fix" pkg can be use the regular install pkg)


When using PSP export function, DOCUMENT.DAT is also copied (can be other DOCUMENT.DAT than the original) to PSP and can be loaded from psp XMB (if from MINIS, not from PS1 classic) without having to boot the game or even working game.
For Minis and export, you can use the same tool linked on main page to make it as ISO running on your (CFW) PSP.


On PSVITA, it seems the document.dat isn t used anymore (?) and instead, directly as .png format (also when transfer MINIS games ps3 to psvita?)
== DOCUMENT.DAT ==
[http://www.vitadevwiki.com/index.php?title=Packages_(.PKG)]
Software manual of games (minis, PSP remaster and ps1 classic).


By pressing PS button during the game, ICON of software manual will appear near the game icon to of the PS3 (as option when it s PS1 classic).


Can be replaced by other DOCUMENT.DAT of others same game category (Minis and PSP remaster can be interchanged).


===Limitations and workaround===
By editing PARAM.SFO: on Disc Game:  The icon of software manual can appear on PS3 games but not loading the manual. (edited SFO category as MN instead of DG, the utility icon don t appear with HG)


*From PARAM.SFO:
3 different version supported? ( ps1 classic-MINIS-old format used on homebrew)


To identify if it was use on different category as MINIS/PS1 classic (on ps3 or psp side)and different DOCUMENT.DAT format (MINIS/PS1)
Can be loaded from PSP XMB (if it is from MINIS, not from PS1 classic) without having to boot the game or even a working game.


Probably better way to get the icon of software game appear from SFO (edited SFO category as MN under DG game with MultiMan, but not working yet from HG)
Create your homebrew manual or walktrough by using PSP DocMaker GUI:


For HG game (and so for homebrew) but if it s possible to have the software manual loading within DG, there are fews possibles tricks so should not be the first problem. (XI as memo but probably nothing related )
(http://forums.qj.net/psp-development-forum/88463-release-update-psp-docmaker-gui.html /  http://www.mediafire.com/?d2mobmwlrlw)


*PS3 DISC.SFB for DG game: [[http://www.ps3devwiki.com/index.php?title=PS3_DISC.SFB&oldid=9910]]
Others remarks:


Can be interesting to have a look even it s not suppose to be directly related.
Max 100 pages as display?


*From EBOOT:
= Misc: Digital Comic PSP =
To identify from .PBP to incorporate it on .BIN (if possible).
Not every eboot.PBP / .SFO has this XMB option (software manual after pressing triangle) on psp XMB but not only used for minis/ps1 classic (PSP game such EG category can have it also).


*Difference between DOCUMENT.DAT from MINIS and PS1 classic (not only a question of ID type?)
On PS3, digital comic can also be repacked and run as {{icon content pspremaster}} or {{icon content pspminis}}.


MINIS game and DOCUMENT.DAT from them are the most flexible for tests.
Customization might be extremely limited by size of image (around 2MB?)  per page/sum loaded although there are may be some possible setting (if not due to internal use) on emulation for PS3 and one SFO parameter on PSP. XML structure link seems also limited to only two xmlurl / action per page (left/right as backward/forward) .


*Others:
It is simple to manipulate and make your own .PNG (no need to be specific) slow slide show pack as PKG for your game column.
Max 100 pages as display?
 
Pages can be added by simply expand the structure inside USRDIR/packages/comic name/.
 
=== Structure tree ===
 
PSP_GAME/
    |
    |-SYSDIR/
    |
    |-USRDIR/
          |
          |-font/
          |  | 
          |  |-latin_22_serif_r.pgf files, latin_22_serif_i.pgf files,...
          |
          |-images/
          |  | 
          |  |-.bmp, .gim and .tga files used for GUI.
          |
          |-module/
          |  | 
          |  |-libfont.prx
          |  | 
          |  |-libmp3.prx
          |  | 
          |  |-libpsmfplayer.prx
          |  | 
          |  |-libsecure.prx
          |  |
          |  |-psmf.prx
          |  | 
          |  |-psnet_ap_dialog_dummy.prx
          |
          |-packages/
          |  |
          |  |-comic name dir/
          |  |  |
          |  |  |-templates/
          |  |  |  |
          |  |  |  |-page1layout.xml, page2layout.xml, ...
          |  |  |
          |  |  |-_default_white_bg.jpg
          |  |  |
          |  |  |-001.PNG, 002.PNG, ...
          |  |  |
          |  |  |-AppTemplate.xml
          |  |  |
          |  |  |-packageInfo.xml
          |  |  |
          |  |  |-page00000001.xml, page00000002.xml, ...
          |  |
          |  |-background.jpg
          |  |   
          |  |-home_page.xml
          |
          |-AppTemplate.xml
                |
                |-config.txt
                |
                |-NTemplateMain.xml
 
=== Notes ===
 
*AppTemplate.xml: Contains application name of the app, font (size, type, style ...), buttonMap (L2/R2 included and related status), ...
 
*config.txt: home page URL, umd and ms root directory, ...


better than using real MINIS or PS1 game:
*NTemplateMain.xml:
if it s possible to generate our own minis (or ps1) homebrews by a way (edat?) or other (patched pspemu/ps1emu such Cobra?) or even from hybrid monster EBOOT as cool homebrew (more realistic but not easy solution) to use the "pdf/png viewer" of the ps3 (not yet used?) or even more end user apps to patch theirs ps3 games to use theirs guide games (not saying it s possible)


Please correct, remove, delete infos if it s not appropriate page (Document.dat has fews infos such ID, and path? related to eboot.pbp)
===USRDIR===


It's possible to create your own DOCUMENT.DAT such as homebrew manual or walktrough by using PSP DocMaker GUI but not yet used in PS3 homebrew (limited to EBOOT.PBP type?)?
==== USRDIR/font ====


( http://forums.qj.net/psp-development-forum/88463-release-update-psp-docmaker-gui.html /  http://www.mediafire.com/?d2mobmwlrlw )
PGF is the font format used on the PSP.


For the same purpose of having easy own text or pictures, getting pictures (or PARAM.HIP) in games can provide the solution (fews test around unknown flags N7 and different category than game but nothing so far) or the line "comment" (within informations) on music or picture as possible solution (but not great) available in game ( more chars available than sub_title?).
[http://dl.qj.net/psp/tools-utilities-on-pc/ttf2pgf-font-converter.html]


==CONFIG==
==== USRDIR/images ====


Infos about PS1 emulation[[http://www.ps3devwiki.com/wiki/Emulation]]
Images in game used for GUI.


60 bytes
==== USRDIR/module ====


"Auto" generated and overwrite at each boot of the game, configure the PS1 emulator for : ?
libfont.prx, libmp3.prx, libsmfplayer.prx...


=Others: PARAM.SFO in different console=
==== USRDIR/packages ====


General infos:
*background.jpg


By pressing square, PS3 (or PSP) classify the games into different folder according (in general) to the SFO category (HG, 1P, MN mostly for HDD games).
*home_page.xml


Most of the game on HDD will go on Playstation 3, Playstation 1 or MINIS (there are others but you need one game and less or more specific SFO installed to have it visible)
===== USRDIR/packages/comic name/ =====


SFO inside EBOOT.PBP is not what is used by PS3 for folder classification (or may be only one specific case) but the SFO just after the game folder ID.
*_default_white_bg.jpg: used when the 0xx.PNG is not loaded properly (generic image used in other psp comic?)


When on PSP, this is the SFO used for classification (by format) on folder.
*001.PNG, 002.PNG, ...: are images specific to the comic book.  


On PSP (from FW 6.39) there are 4 visible folder (even with 0 title inside) when you classify by format under square:
*AppTemplate.xml: Contains application name of the comic, font (size, type, style ...), buttonMap (L2/R2 included and related status), ...


PSP™ (most of the game), Playstation® (for ps1 classic game)  , PCENGINE and NEOGEO (same as PS3).
*packageInfo.xml: Contains Application Id, Name,...and Package Id


By loading on PSP specific SFO (with X2 attribut inside the eboot.pbp, but not from export) it s going to NEOGEO folder when it was supposed to be X4.
*page00000001.xml, page00000002.xml, ... :


(i did fews tests with others category, from export or not, X0 as PCEngine seems fine, X4 NEOGEO from export not)
===== USRDIR/packages/comic name/template =====
{| class="wikitable sortable"
|-
! with Attribut as !! on PS3 FW 3.55 (not the one inside EBOOT.PBP) !! on PSP after export!! on PSP with edited SFO inside EBOOT.PBP
|-
| X0 || PCENGINE || || PCENGINE
|-
| X1, X3, X4, X5, X6, X7 || X4 is NEOGEO, others are - ) || || PSP™ (X1 don t have name on PS3 but it used on official MINIS SFO (inside EBOOT.PBP)
|-
| X2 ||  -  || || NEOGEO
|-
|}


I did fews test also with PSP export, games go to PSP™ (as supposed, SFO sent was X1, when SFO loaded by PS3 were different) but need to make more test (with the 2 SFO edited) to see if the column is really required (or also on PS3 with the 2 SFO edited)
*page1layout.xml, page2layout.xml, p3layout.xml ...: Contains buttons assigned
Most of theses informations can be resumed in fews words (can explain the different positions folders of X category or at least X2 as NEOGEO for PSP, need to check real examples and if NEOGEO can be officially exported) when it s become more clear.
----

Latest revision as of 01:44, 4 February 2022

Structure folder/files around EBOOT.PBP[edit source]

Note: might not be complete structure tree.

Dev_HDD0/game/NPXX.12345/

|-ICON0.PNG (ICON on PS3 XMB)
|
|-PARAM.SFO (SFO used by PS3: CATEGORY_For_HDD_contents)
|
|-PIC0.PNG
|
|-PIC1.PNG
|
|-PIC2.PNG
|
|-PS3LOGO.DAT 
|
|- USRDIR:
      |
      |-CONTENT (dir): (this folder is sent when using export)
      |     |
      |     |-DOCUMENT.DAT (software manual)
      |     |-EBOOT.PBP (more infos on main page)---SFO inside used by PSP
      |     |-PBOOT.PBP (udpate game. SFO category is PG, used with main SFO as PP)      
      |     |-KEYS.BIN (see above)
      |     |-other possible files related to the game when it s update PBOOT.PBP
      |
      |
      |- SAVEDATA (dir): about minis/ ps1 classic save and Memory card adapter
      |     | 
      |     |-ICON0.PNG   (used for PSP save data)
      |     |-PARAM.SFO   (Category: MS, used for PSP save data)
      |     |-SCEVMC0.VMP (memory card save in PSP format for slot 1)
      |     |-SCEVMC1.VMP (memory card save in PSP format for slot 2)
      |     |-CONFIG.BIN  (probably generated by the PSP)
      |
      |-CONFIG (generated after first boot)
      |
      |-ISO.BIN.EDAT: ISO.BIN.EDAT (1Ko file when update PBOOT.PBP)
      |    
      |-MINIS.EDAT (used on MINIS game)
      |
      |-MINIS2.EDAT (used on PSP remaster)
      |
      |-load_tmp: (dir only on MINIS after first boot?) 
      |      | 
      |      |-ICON0.PNG
      |      |-PARAM.SFO (Category: MS)
      |      |-PIC1.PNG
      |      |-SECURE.BIN
      |      |-SND0.AT3
      |
      |-save.tmp (empty dir only on MINIS after first save?)

Files related to EBOOT.PBP[edit source]

PARAM.SFO attribute (PSP)[edit source]

By group content format:

  • PSP icon PSP™: X3, X5, X6, X7 (used also for unsupported/corrupted data like unknown folder on PS3, X1 can be also in this folder and it is a bit different issue, in 2 case at least)
  • PSP Minis icon minis: X1 (same on PS3)
  • PS1 icon Playstation® (for PS1 classic game): Don't have attributes
  • PCEngine icon PCENGINE: X0 (same for PS3)
  • NeoGeo icon NEOGEO: X2 (it is X4 on PS3, NEOGEO games don't have export so that can be the reason why attributes are different)

Only X3 seems missing, X5, X6, X7 might not be used yet.

CONFIG[edit source]

Infos about [Emulation|PS1 Emulation]

Size: 60 bytes, string in ASCII: "PS1EmuConfigFile", "disc_no"

Generated/overwrited at each boot of the game, configure the PS1 emulator for: ?

KEYS.BIN[edit source]

16 bytes.

If you have this file, you can put it into the folder CONTENT to make your PS1 classic game working after being exported.

For export on PS3 3.55: XMB option

For export on PS3 4.xx+: PKG as bubble first. (note: install on PS3 also, the "fix" pkg can be use the regular install pkg)

For Minis and export, you can use the same tool linked on main page to make it as ISO running on your (CFW) PSP.

DOCUMENT.DAT[edit source]

Software manual of games (minis, PSP remaster and ps1 classic).

By pressing PS button during the game, ICON of software manual will appear near the game icon to of the PS3 (as option when it s PS1 classic).

Can be replaced by other DOCUMENT.DAT of others same game category (Minis and PSP remaster can be interchanged).

By editing PARAM.SFO: on Disc Game: The icon of software manual can appear on PS3 games but not loading the manual. (edited SFO category as MN instead of DG, the utility icon don t appear with HG)

3 different version supported? ( ps1 classic-MINIS-old format used on homebrew)

Can be loaded from PSP XMB (if it is from MINIS, not from PS1 classic) without having to boot the game or even a working game.

Create your homebrew manual or walktrough by using PSP DocMaker GUI:

(http://forums.qj.net/psp-development-forum/88463-release-update-psp-docmaker-gui.html / http://www.mediafire.com/?d2mobmwlrlw)

Others remarks:

Max 100 pages as display?

Misc: Digital Comic PSP[edit source]

On PS3, digital comic can also be repacked and run as PSP Remaster icon or PSP Minis icon.

Customization might be extremely limited by size of image (around 2MB?) per page/sum loaded although there are may be some possible setting (if not due to internal use) on emulation for PS3 and one SFO parameter on PSP. XML structure link seems also limited to only two xmlurl / action per page (left/right as backward/forward) .

It is simple to manipulate and make your own .PNG (no need to be specific) slow slide show pack as PKG for your game column.

Pages can be added by simply expand the structure inside USRDIR/packages/comic name/.

Structure tree[edit source]

PSP_GAME/
    |
    |-SYSDIR/
    |
    |-USRDIR/
          |
          |-font/
          |   |  
          |   |-latin_22_serif_r.pgf files, latin_22_serif_i.pgf files,...
          |
          |-images/
          |   |  
          |   |-.bmp, .gim and .tga files used for GUI.
          |
          |-module/
          |   |  
          |   |-libfont.prx
          |   |  
          |   |-libmp3.prx
          |   |  
          |   |-libpsmfplayer.prx
          |   |  
          |   |-libsecure.prx
          |   | 
          |   |-psmf.prx
          |   |  
          |   |-psnet_ap_dialog_dummy.prx
          |
          |-packages/
          |   |
          |   |-comic name dir/
          |   |   |
          |   |   |-templates/
          |   |   |   |
          |   |   |   |-page1layout.xml, page2layout.xml, ...
          |   |   |
          |   |   |-_default_white_bg.jpg
          |   |   |
          |   |   |-001.PNG, 002.PNG, ...
          |   |   |
          |   |   |-AppTemplate.xml
          |   |   |
          |   |   |-packageInfo.xml
          |   |   |
          |   |   |-page00000001.xml, page00000002.xml, ...
          |   |
          |   |-background.jpg
          |   |     
          |   |-home_page.xml
          |
          |-AppTemplate.xml
                |
                |-config.txt
                |
                |-NTemplateMain.xml

Notes[edit source]

  • AppTemplate.xml: Contains application name of the app, font (size, type, style ...), buttonMap (L2/R2 included and related status), ...
  • config.txt: home page URL, umd and ms root directory, ...
  • NTemplateMain.xml:

USRDIR[edit source]

USRDIR/font[edit source]

PGF is the font format used on the PSP.

[1]

USRDIR/images[edit source]

Images in game used for GUI.

USRDIR/module[edit source]

libfont.prx, libmp3.prx, libsmfplayer.prx...

USRDIR/packages[edit source]

  • background.jpg
  • home_page.xml
USRDIR/packages/comic name/[edit source]
  • _default_white_bg.jpg: used when the 0xx.PNG is not loaded properly (generic image used in other psp comic?)
  • 001.PNG, 002.PNG, ...: are images specific to the comic book.
  • AppTemplate.xml: Contains application name of the comic, font (size, type, style ...), buttonMap (L2/R2 included and related status), ...
  • packageInfo.xml: Contains Application Id, Name,...and Package Id
  • page00000001.xml, page00000002.xml, ... :
USRDIR/packages/comic name/template[edit source]
  • page1layout.xml, page2layout.xml, p3layout.xml ...: Contains buttons assigned