Talk:Eboot.PBP: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (→‎DOCUMENT.DAT: re ordered only)
No edit summary
 
(101 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 probably missing infos about [http://www.ps3devwiki.com/wiki/Talk:NPDRM_Selfs 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?)
 
= Files related to EBOOT.PBP =
 
== PARAM.SFO attribute (PSP) ==
 
'''By group content format:'''


PARAM.SFO (this SFO is used by PS3 for classify the game category, generally)
*{{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)


PIC0.PNG
*{{icon content pspminis}} minis: X1 (same on PS3)


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


PIC2.PNG
*{{icon content pcengine}} PCENGINE: X0 (same for PS3)


PS3LOGO.DAT
*{{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)


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


*CONTENT (dir): (this folder is sent when using export)
== CONFIG ==
  DOCUMENT.DAT (software manual)
  EBOOT.PBP (more infos on page)---the SFO inside will be sent when using export and used by PSP


Infos about [Emulation|PS1 Emulation]


*load_tmp: (dir only on MINIS after first boot?)
Size: 60 bytes, string in ASCII: "PS1EmuConfigFile", "disc_no"
**ICON0.PNG
**PARAM.SFO
**PIC1.PNG
**SECURE.BIN
**SND0.AT3
*save.tmp (empty dir only on MINIS after first save?)


*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]
Generated/overwrited at each boot of the game, configure the PS1 emulator for: ?
**ICON0.PNG
**PARAM.SFO
**SCEVMC0.VMP
**SCEVMC1.VMP


*CONFIG (generated after first boot)
== KEYS.BIN ==


*ISO.BIN.EDAT: More infos: [http://www.ps3devwiki.com/wiki/Talk:EDAT_files EDAT files]
16 bytes.
*MINIS.EDAT (when it s a MINIS game)


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


==DOCUMENT.DAT==
For export on PS3 3.55: XMB option


Software manual
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)


Same folder as EBOOT.PBP. This folder is copied straight to PSP when using psp export function .
For Minis and export, you can use the same tool linked on main page to make it as ISO running on your (CFW) PSP.


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)
== DOCUMENT.DAT ==
Software manual of games (minis, PSP remaster and ps1 classic).


Can be replaced by other (similar type) DOCUMENT.DAT of other game.
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).
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]
Can be replaced by other DOCUMENT.DAT of others same game category (Minis and PSP remaster can be interchanged).


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


(goal: have it on PS3 games/ homebrews, not only to MINIS/PS1 games)
3 different version supported? ( ps1 classic-MINIS-old format used on homebrew)
===Limitations and workaround===


*From PARAM.SFO:
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.


  for DG game: The icon of software game can appear on PS3 game
Create your homebrew manual or walktrough by using PSP DocMaker GUI:
(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:
(http://forums.qj.net/psp-development-forum/88463-release-update-psp-docmaker-gui.html /  http://www.mediafire.com/?d2mobmwlrlw)
[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
Others remarks:
  but there are fews possibles others tricks so should not be the first problem.
  (XI as memo but probably nothing 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).


*Others:
On PS3, digital comic can also be repacked and run as {{icon content pspremaster}} or {{icon content pspminis}}.
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)


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


MINIS game and DOCUMENT.DAT from them are the most flexible for tests.
Pages can be added by simply expand the structure inside USRDIR/packages/comic name/.


better than using real MINIS or PS1 game:
=== Structure tree ===
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)
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 ===


For the same purpose of having easy custom 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?).
*AppTemplate.xml: Contains application name of the app, font (size, type, style ...), buttonMap (L2/R2 included and related status), ...


===DOCUMENT.DAT on PSP===
*config.txt: home page URL, umd and ms root directory, ...


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.
*NTemplateMain.xml:


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===


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


Others:
PGF is the font format used on the PSP.
Max 100 pages as display?


===DOCUMENT.DAT on PSVITA===
[http://dl.qj.net/psp/tools-utilities-on-pc/ttf2pgf-font-converter.html]
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)]


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


Infos about [http://www.ps3devwiki.com/wiki/Emulation PS1 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