Talk:Eboot.PBP: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(Added PBP Unpacker)
No edit summary
 
(86 intermediate revisions by 4 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/'''
Line 6: Line 7:
  |-ICON0.PNG (ICON on PS3 XMB)
  |-ICON0.PNG (ICON on PS3 XMB)
  |
  |
  |-PARAM.SFO (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)
  |-PARAM.SFO (SFO used by PS3: [[PARAM.SFO#CATEGORY_For_HDD_contents|CATEGORY_For_HDD_contents]])
  |
  |
  |-PIC0.PNG
  |-PIC0.PNG
Line 22: Line 23:
       |    |-DOCUMENT.DAT (software manual)
       |    |-DOCUMENT.DAT (software manual)
       |    |-EBOOT.PBP (more infos on main page)---SFO inside used by PSP
       |    |-EBOOT.PBP (more infos on main page)---SFO inside used by PSP
       |    |-PBOOT.PBP (udpate. SFO category is PG, used with main SFO as PP)       
       |    |-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
       |    |-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 37: 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] (1Ko file when update PBOOT.PBP) see also [http://www.ps3devwiki.com/wiki/Talk:EDAT_files EDAT files]
       |-ISO.BIN.EDAT: [[ISO.BIN.EDAT]] (1Ko file when update PBOOT.PBP)
       |     
       |     
       |-MINIS.EDAT (used on MINIS game)
       |-MINIS.EDAT (used on MINIS game)
Line 53: 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:'''
*{{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)
*{{icon content pspminis}} minis: X1 (same on PS3)


(Might not be complete structure tree/)  
*{{icon content ps1}} Playstation® (for PS1 classic game): Don't have attributes


About [http://www.ps3devwiki.com/wiki/Talk:NPDRM_Selfs#Part_2_-_responce NPDRM and PSP]
*{{icon content pcengine}} PCENGINE: X0 (same for PS3)


=Files related to EBOOT.PBP=
*{{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)


==DOCUMENT.DAT==
Only X3 seems missing, X5, X6, X7 might not be used yet.
 
Software manual of games (minis and ps1 classic) using a kind of the PS3 PDF/PNG viewer or by the PSP (with export).
== CONFIG ==
 
Infos about [Emulation|PS1 Emulation]


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)
Size: 60 bytes, string in ASCII: "PS1EmuConfigFile", "disc_no"


Can be swap by other DOCUMENT.DAT of others same game category (for MINIS at least so no ID game check).
Generated/overwrited at each boot of the game, configure the PS1 emulator for: ?
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 (?)


===DOCUMENT.DAT on PS3===
== KEYS.BIN ==


(goal: have it on PS3 games/ homebrews, not only MINIS/PS1 games)
16 bytes.
===Limitations and workaround===


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


  for DG game:  The icon of software game can appear on PS3 games (at least the one tested was fine) but
For export on PS3 3.55: XMB option
  not loading the manual (MINIS/PS1 classic .dat tested)
(edited SFO category as MN instead ) 


  For HG game (and so for homebrew) : the trick with edited SFO don t work here
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)
  (there are fews possibles others easy tricks to test)


*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 ( used for minis, ps1 classic and EG games) or from .SPRX


*Others:
== DOCUMENT.DAT ==
   
   
Difference between DOCUMENT.DAT from MINIS and PS1 classic.
Software manual of games (minis, PSP remaster and ps1 classic).


MINIS game and DOCUMENT.DAT from them are the most flexible for tests.
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).


For the same purpose of having easy custom text or pictures, getting pictures (or PARAM.HIP) XMB in games (available when it s XMB in music) can be also nice.
Can be replaced by other DOCUMENT.DAT of others same game category (Minis and PSP remaster can be interchanged).


===DOCUMENT.DAT on PSP===
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 differents type supported? ( ps1 classic-MINIS-old format used on homebrew)
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.


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?)?
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.


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


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.  


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


Other/new way for manual game on PS3/PSP/PSVITA
=== Structure tree ===


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


Infos about [http://www.ps3devwiki.com/wiki/Emulation PS1 Emulation]
=== Notes ===


Size:60 bytes, string in ASCII: PS1EmuConfigFile, disc_no
*AppTemplate.xml: Contains application name of the app, font (size, type, style ...), buttonMap (L2/R2 included and related status), ...


"Auto" generated and overwrite at each boot of the game, configure the PS1 emulator for : ?
*config.txt: home page URL, umd and ms root directory, ...


==KEYS.BIN==
*NTemplateMain.xml:
16 bytes, unique per game and user account.


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???).
===USRDIR===
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/font ====


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").
PGF is the font format used on the PSP.


For MINIS and export?
[http://dl.qj.net/psp/tools-utilities-on-pc/ttf2pgf-font-converter.html]


=Others: PARAM.SFO attribut (PSP)=
==== USRDIR/images ====


'''By group content format:'''
Images in game used for GUI.
 
==== USRDIR/module ====


PSP™: X3,X5,X6,X7 (per default, used 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, but no matter)
libfont.prx, libmp3.prx, libsmfplayer.prx...


minis: X1 (same on PS3)
==== USRDIR/packages ====


Playstation® (for ps1 classic game) : Don t have attributes
*background.jpg


PCENGINE : X0 (same for PS3)
*home_page.xml


NEOGEO : X2 (it s X4 on PS3, NEOGEO game don t have export so that can be the reason why Attribut are different)
===== USRDIR/packages/comic name/ =====


Only X3 is really missing, X5,X6,X7 might not be used yet.
*_default_white_bg.jpg: used when the 0xx.PNG is not loaded properly (generic image used in other psp comic?)


== Decrypting Tools ==
*001.PNG, 002.PNG, ...: are images specific to the comic book.


*PSARdumper
*AppTemplate.xml: Contains application name of the comic, font (size, type, style ...), buttonMap (L2/R2 included and related status), ...
http://dl.qj.net/psp/homebrew-applications/psardumper-for-ofw-660.html


Note: This PSAR dumper is for firmware packages
*packageInfo.xml: Contains Application Id, Name,...and Package Id


*PRXdecrypter
*page00000001.xml, page00000002.xml, ... :
http://dl.qj.net/psp/homebrew-applications/prxdecrypter-v26b.html


Is a modification of psardumper that can decrypt other files as MODULES.PRX or EBOOT.BIN
===== USRDIR/packages/comic name/template =====


*PBP Unpacker
*page1layout.xml, page2layout.xml, p3layout.xml ...: Contains buttons assigned
http://dl.qj.net/psp/tools-utilities-on-pc/pbp-unpacker-v094.html
----

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