Talk:Eboot.PBP: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (clean up)
No edit summary
 
(96 intermediate revisions by 6 users not shown)
Line 1: Line 1:
=Structure folder/files around EBOOT.PBP=
= Structure folder/files around EBOOT.PBP =


Note: might not be complete structure tree.


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


  |-ICON0.PNG (ICON On PS3 XMB)
  |-ICON0.PNG (ICON on PS3 XMB)
  |
  |
  |-PARAM.SFO (this SFO is used by PS3 for classify the game: [http://www.ps3devwiki.com/wiki/PARAM.SFO#CATEGORY_For_HDD_contents CATEGORY_For_HDD_contents] in normal case, among others things)
  |-PARAM.SFO (SFO used by PS3: [[PARAM.SFO#CATEGORY_For_HDD_contents|CATEGORY_For_HDD_contents]])
  |
  |
  |-PIC0.PNG
  |-PIC0.PNG
Line 21: Line 22:
       |    |
       |    |
       |    |-DOCUMENT.DAT (software manual)
       |    |-DOCUMENT.DAT (software manual)
       |    |-EBOOT.PBP (more infos on main page)---the SFO inside will be sent when using export and used by PSP
       |    |-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)
       |    |-KEYS.BIN (see above)
       |  
       |     |-other possible files related to the game when it s update PBOOT.PBP
       |- SAVEDATA (dir): More infos :[http://www.ps3devwiki.com/wiki/Game_Saves#Game_Saves_Minis about minis/ ps1 classic save ] and [http://www.ps3devwiki.com/wiki/PlayStation_Card_Adapter Memory card adapter]
      |
      |
       |- 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)
       |    |-ICON0.PNG  (used for PSP save data)
Line 34: Line 38:
       |-CONFIG (generated after first boot)
       |-CONFIG (generated after first boot)
       |
       |
       |-ISO.BIN.EDAT: [http://www.ps3devwiki.com/wiki/Iso.bin.edat Iso.bin.edat] and [http://www.ps3devwiki.com/wiki/Talk:EDAT_files EDAT files]
       |-ISO.BIN.EDAT: [[ISO.BIN.EDAT]] (1Ko file when update PBOOT.PBP)
       |     
       |     
       |-MINIS.EDAT (when it s a MINIS game)
       |-MINIS.EDAT (used on MINIS game)
      |
      |-MINIS2.EDAT (used on PSP remaster)
       |
       |
       |-load_tmp: (dir only on MINIS after first boot?)  
       |-load_tmp: (dir only on MINIS after first boot?)  
Line 48: Line 54:
       |-save.tmp (empty dir only on MINIS after first save?)
       |-save.tmp (empty dir only on MINIS after first save?)


= Files related to EBOOT.PBP =
== PARAM.SFO attribute (PSP) ==
'''By group content format:'''


(Might not be complete structure tree)  
*{{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)


About [http://www.ps3devwiki.com/wiki/Talk:NPDRM_Selfs#Part_2_-_responce NPDRM and PSP]
*{{icon content pspminis}} minis: X1 (same on PS3)


=Files related to EBOOT.PBP=
*{{icon content ps1}} Playstation® (for PS1 classic game): Don't have attributes


==DOCUMENT.DAT==
*{{icon content pcengine}} PCENGINE: X0 (same for PS3)
Software manual of games (minis and ps1 classic) using a kind of the PS3 PNG viewer.


Same folder as EBOOT.PBP. This folder is copied straight to PSP when using psp export function .
*{{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)


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)
Only X3 seems missing, X5, X6, X7 might not be used yet.


Can be replaced by other (similar type) DOCUMENT.DAT of other game.
== CONFIG ==
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 (?)


Not related but more infos about files around the game [http://www.ps3devwiki.com/wiki/Content_Information_Files CONTENT INFORMATION FILES]
Infos about [Emulation|PS1 Emulation]


===DOCUMENT.DAT on PS3===
Size: 60 bytes, string in ASCII: "PS1EmuConfigFile", "disc_no"


(goal: have it on PS3 games/ homebrews, not only to MINIS/PS1 games)
Generated/overwrited at each boot of the game, configure the PS1 emulator for: ?
===Limitations and workaround===


*From PARAM.SFO:
== KEYS.BIN ==


  for DG game:  The icon of software game can appear on PS3 game
16 bytes.
(edited SFO category as MN under DG game with MultiMan, didn t try others backup manager and may not be really important
  but  MultiMan has somes functions related to fix weirdos SFO, but not working from HG)


Other topic (and to activate folder) can be interesting to have a look even it s not suppose to be directly related:
If you have this file, you can put it into the folder CONTENT to make your PS1 classic game working after being exported.
[http://www.ps3devwiki.com/index.php?title=PS3_DISC.SFB&oldid=9910 PS3 DISC.SFB]


  For HG game (and so for homebrew) : the trick with edited SFO don t work here
For export on PS3 3.55: XMB option
  but there are fews possibles others tricks so should not be the first problem.
  (XI as memo but probably nothing related)


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)


*From EBOOT:
For Minis and export, you can use the same tool linked on main page to make it as ISO running on your (CFW) 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).


*Others:
== DOCUMENT.DAT ==
   
   
To identify if it was use on different category as MINIS (MN) /PS1 classic (1P) (on ps3 or psp side) and the difference betwen DOCUMENT.DAT format (MINIS/PS1)
Software manual of games (minis, PSP remaster and ps1 classic).


Difference between DOCUMENT.DAT from MINIS and PS1 classic (not only a question of ID type?)
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).


MINIS game and DOCUMENT.DAT from them are the most flexible for tests.
Can be replaced by other DOCUMENT.DAT of others same game category (Minis and PSP remaster can be interchanged).


best will be to be able to generate custom eboot.pbp/patched eboot.bin
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)


For the same purpose of having easy custom text or pictures, getting pictures (or PARAM.HIP) in games can provide the solution 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?).
3 different version supported? ( ps1 classic-MINIS-old format used on homebrew)


===DOCUMENT.DAT on PSP===
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.


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:


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?)?
(http://forums.qj.net/psp-development-forum/88463-release-update-psp-docmaker-gui.html /  http://www.mediafire.com/?d2mobmwlrlw)


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


Others:
Max 100 pages as display?
Max 100 pages as display?


===DOCUMENT.DAT on PSVITA===
= Misc: Digital Comic PSP =
On PSVITA, it seems the document.dat is not used anymore (?) and instead, directly as .png format (also when transfer MINIS games ps3 to psvita?)
 
[http://www.vitadevwiki.com/index.php?title=Packages_(.PKG)]
On PS3, digital comic can also be repacked and run as {{icon content pspremaster}} or {{icon content pspminis}}.
 
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 ===
 
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, ...
 
*NTemplateMain.xml:
 
===USRDIR===
 
==== USRDIR/font ====


==CONFIG==
PGF is the font format used on the PSP.


Infos about [http://www.ps3devwiki.com/wiki/Emulation PS1 Emulation]
[http://dl.qj.net/psp/tools-utilities-on-pc/ttf2pgf-font-converter.html]


Size:60 bytes, string in ASCII: PS1EmuConfigFile, disc_no
==== USRDIR/images ====


"Auto" generated and overwrite at each boot of the game, configure the PS1 emulator for : ?
Images in game used for GUI.


==KEYS.BIN==
==== USRDIR/module ====
16 bytes, unique per game (at least).


PS1 game fixed with "NPDRM tool" don t have this file, <span style="text-decoration: line-through;">so it s not clear for me if this file is generated on PS3 side (and the tools can be missing this part and same for MINIS or it s not suppose to be create from free content?</span> : the only reason will because of export but most unlikely) or by the PSP side (and in this case, it s not generated because of the game is considered as free???).
libfont.prx, libmp3.prx, libsmfplayer.prx...
So...it s a bit trivial question since there are a lot of solutions for playing PS1 games on PSP but still.


If you have the appropriate file, you can put it into the folder CONTENT to make the game working also in PSP (required at least LCFW)
==== USRDIR/packages ====


On PSP scene: for the purpose of making ps1 cd format to eboot.pbp and using the PS1 emulator, it seems the need of this file was patched to an unique game (attached to "PSP.base").
*background.jpg


For MINIS and export?
*home_page.xml


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


General infos:
*_default_white_bg.jpg: used when the 0xx.PNG is not loaded properly (generic image used in other psp comic?)


By pressing square, PS3 (or PSP) classify the games into different folder according (in general) to the SFO category.
*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
|-
|}


fews test also with PSP export: games go to PSP™ (as supposed, SFO inside .pbp sent was X1) 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, <span style="text-decoration: line-through;">need to check real examples and if NEOGEO can be officially exported</span>) 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