PS3 DISC.SFB

From PS3 Developer wiki
Jump to navigation Jump to search


Main file of a PS3 disc, used as a descriptor of the title and contents.

The hybrid flags says to the PS3 to look for PARAM.SFO's in specific folders, several flags can be used at the same time


Internal structure

The file has a lot of padding, probably to avoid forcing the laser lens to read a "too tiny" file

Offset Length Example Description
0x0 0x4 .SFB
0x4 0x4 00010000 File version ?
0x8 0x18 Unknown (zeroes)
0x20 0xF HYBRID_FLAG Disc Content Name
0x30 0x4 00000200 Disc Content Data Offset (0x200)
0x34 0x4 00000020 Disc Content Data Length (0x20)
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

The order of the flags its not clear (is not alphabetically) but there are 32 bytes reserved for them, so probably any combination is valid

Hex ASCII Description Path
53 S Unknown TITLE_ID\PS3_GAME\PKGDIR\PARAM.SFO?
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 & TITLE_ID\PS3_EXTRA\PARAM.SFO
75 u UPDATE TITLE_ID\PS3_UPDATE\UPDATE.PUP
76 v BDMOVIE TITLE_ID\PS3_VPRM\PARAM.SFO
  • 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)

The flag "S" appear with Cross Buy games (FW 4.20?). Order is : "gSu". In one example, the game structure is also with PKGDIR and the title id at 0x220 is the same title id than the param.sfo (DP).

Other flags ?: See talk page.