Bluray disc

From PS3 Developer wiki
Revision as of 22:02, 26 January 2018 by Wtf42 (talk | contribs)
Jump to navigation Jump to search

Overview

  • UDF filesystem (a profile of ECMA-167) in cleartext
  • file entries are not encrypted, some files are not encrypted
  • some regions of the disc are encrypted (sector by sector)
  • One sector is 2048 bytes

Encryption

The first sector of the disc tells which parts of the disc are unencrypted and which one are encoded.

For exemple, this is the beginning of "The Last of Us" disc:

00000000: 0000 0003 0000 0000 0000 0000 0000 099f  ................
00000010: 00a2 6160 00ba 73ff 011d dda0 011f ddbf  ..a`..s.........
00000020: 0000 0000 0000 0000 0000 0000 0000 0000  ................
  • 0x00000003 is the number of unencrypted regions
  • The first unencrypted region is from sector 0x00000000 to sector 0x0000099f
  • The first encrypted region is from sector 0x0000099f to sector 0x00a26160
  • The second unencrypted region is from sector 0x00a26160 to sector 0x00ba73ff
  • The second encrypted region is from sector 0x00ba73ff to sector 0x011ddda0
  • The third unencrypted region is from sector 0x011ddda0 to sector 0x011fddbf
  • 0x011fddbf sectors is 38636746752 bytes whereas the file is 38636748800 bytes : the last sector is not included for some reason.

File system layout

  • PS3_DISC.SFB
  • PS3_GAME/ICON0.PNG
  • PS3_GAME/LICDIR/LIC.DAT
  • PS3_GAME/PARAM.SFO
  • PS3_GAME/PIC1.PNG
  • PS3_GAME/PS3LOGO.DAT
  • PS3_GAME/SND0.AT3
  • PS3_GAME/TROPDIR/
  • PS3_GAME/USRDIR/build/
  • PS3_GAME/USRDIR/data/
  • PS3_GAME/USRDIR/EBOOT.BIN
  • PS3_UPDATE/PS3UPDAT.PUP

References

  • 3k3y iIsoTools, this is a .NET program available in binary form. The ILspy decompiler produces a very treadable output.
  • PS3 ISO Patcher by BlackDaemon, is a .NET program available in source code