Editing PS3 DISC.SFB
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]] | |||
=Internal structure= | Main file of a PS3 game disc, used as a descriptor of the title and contents. | ||
The file has a lot of padding, probably to avoid forcing the laser lens to read a file | |||
The hybrid flags says to the PS3 to look for [[PARAM.SFO]]'s in specific folders, can be used several flags at the same time (but the order is not clear) | |||
---- | |||
==Internal structure== | |||
The file has a lot of padding, probably to avoid forcing the laser lens to read a "too tiny" file | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Offset | ! Offset !! Length !! Example !! Description | ||
|- | |- | ||
| 0x0 || 0x4 || | | 0x0 || 0x4 || .SFB || | ||
|- | |- | ||
| 0x4 || 0x4 || | | 0x4 || 0x4 || 00010000 || File version ? | ||
|- | |- | ||
| 0x8 || 0x18 || | | 0x8 || 0x18 || || Unknown (zeroes) | ||
|- | |- | ||
| 0x20 || | | 0x20 || 0xF || HYBRID_FLAG || Disc Content Name | ||
|- | |- | ||
| 0x30 || 0x4 || | | 0x30 || 0x4 || 00000200 || Disc Content Data Offset (0x200) | ||
|- | |- | ||
| 0x34 || 0x4 || | | 0x34 || 0x4 || 00000020 || Disc Content Data Length (0x20) | ||
|- | |- | ||
| 0x38 || 0x8 || | | 0x38 || 0x8 || TITLE_ID || Disc Title Name | ||
|- | |- | ||
| | | 0x50 || 0x4 || 00000220 || Disc Title Data Offset (0x220) | ||
|- | |- | ||
| | | 0x54 || 0x4 || 00000010 || Disc Title Data Length (0x10) | ||
|- | |- | ||
| | | 0x58 || 0x1A8 || || Unknown (zeroes) | ||
|- | |- | ||
| | | 0x200 || 0x20 || gVu || '''Disc Content''' (Hybrid Flags) | ||
|- | |- | ||
| | | 0x220 || 0x10 || ABCD-12345 || '''Disc Title''' | ||
|- | |- | ||
| | | 0x230 || 0x3D0 || || Unknown (zeroes) | ||
|- | |- | ||
|} | |} | ||
=Hybrid Flags= | ===Hybrid Flags=== | ||
The order of the flags its not clear (is not alphabetically) but there are | The order of the flags its not clear (is not alphabetically) but there are 16 bytes reserved for them, so probably any combination is valid | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Hex !! ASCII !! Description !! | ! Hex !! ASCII !! Description !! Path | ||
|- | |- | ||
| | | 54 || T || THEME || TITLE_ID\'''PS3_CONTENT'''\THEMEDIR\PARAM.SFO | ||
|- | |- | ||
| | | 56 || V || VIDEO || TITLE_ID\'''PS3_CONTENT'''\VIDEODIR\PARAM.SFO | ||
|- | |- | ||
| | | 67 || g || GAME/EXTRA || TITLE_ID\'''PS3_GAME'''\USRDIR\PARAM.SFO and/¿or? TITLE_ID\'''PS3_EXTRA'''\PARAM.SFO | ||
|- | |- | ||
| | | 75 || u || UPDATE || TITLE_ID\'''PS3_UPDATE'''\UPDATE.PUP | ||
|- | |- | ||
| 76 || v || BDMOVIE/BDAUDIO || TITLE_ID\BDMV\index.bdmv? or TITLE_ID\BDAV\? | |||
| 76 || v || | |||
|- | |- | ||
|} | |} | ||
*Notes | |||
The flag "'''g'''" activates two subfolders '''PS3_GAME''' (main game) and '''PS3_EXTRA''' (one of the 3 ways to include extras in a disc) | |||
Games are marked as "'''gu'''" (because there is always an UPDATE.PUP), if you want to remove the folder '''PS3_UPDATE''' is good to remove the flag "u" from here | |||
The flags "'''T'''" and "'''V'''" activates subfolders inside '''PS3_CONTENT''' (the second way to include extras in a disc) | |||
The third way to include extras in a disc depends of "'''g'''" but its needed to activate another different flag in TITLE_ID\'''PS3_GAME'''\[[PARAM.SFO]] (in his ATTRIBUTE parameter) | |||
==Untested/Not standard formats== | |||
4D == M -------> MUSIC -------------> (dev_bd\GAME-ID\PS3_CONTENT\MUSICDIR\PARAM.SFO) | |||
50 == P -------> PHOTO -------------> (dev_bd\GAME-ID\PS3_CONTENT\PHOTODIR\PARAM.SFO) | |||
BD-J <----- java ?... BDMV/JAR/00000.jar | |||
PS3_VPRM = Video P. R. M. |