Talk:LIC.DAT

From PS3 Developer wiki
Revision as of 23:00, 28 August 2015 by Sandungas (talk | contribs)
Jump to: navigation, search


Multiboot PS3 Game Discs

There is an special type of PS3 game disc that contains several EBOOT.BIN with several LIC.DAT. These LIC.DAT files are a bit special because contains the TITLE_ID of all the EBOOT.BIN. The first game found using this disc structure was: Metal Gear Solid The Legacy Collection (BLJM-91001 on PS3_DISC.SFB), and the second one: Fighting edition (BLES-02129 on PS3_DISC.SFB)

Total size of the file is always 0x10000, license "slots" starts at 0x800 so... 0x10000 - 0x800 = 0xF800 (available size) and 0xF800 / 0x100 = 0xF8 (available license slots). So the maximun number of bootable contents in a "multiboot disc" is limited to 248 Wrong, the path PS3_GM01, PS3_GM02, etc... only allows for 2 digits... so up to 99 + main bootable content in PS3_GAME makes a total of 100

Metal Gear Solid The Legacy Collection (BLJM-91001)

Dual boot disc structure, using folders PS3_GAME, and PS3_GM01

  • dev_bdvd/PS3_GAME/LICDIR/LIC.DAT
    • Header
      • Magic: "PS3LICDA"
      • Version: 1
      • Flag: 0x80000000 (retail)
      • licenses ending: 0x0A00
      • beginning of licenses: 0x0800
      • license size (static): 0x0100
      • license amounts: 2
      • CRC32: 01 0F 95 0E
    • Licenses
      • First license, type 0x01 = BLJM61001 @ offset 0x800 (for EBOOT.BIN under directory PS3_GAME)
      • Second license, type 0x01 = BLJM60351 @ offset 0x900 (for EBOOT.BIN under directory PS3_GM01)



00000000  50 53 33 4C 49 43 44 41 00 00 00 01 80 00 00 00  PS3LICDA....€...
00000010  00 00 0A 00 00 00 08 00 00 00 01 00 00 00 00 02  ................
00000020  01 0F 95 0E 00 00 00 00 00 00 00 00 00 00 00 00  ..•.............
...
00000800  01 42 4C 4A 4D 36 31 30 30 31 00 00 00 00 00 00  .BLJM61001......
...
00000900  01 42 4C 4A 4D 36 30 33 35 31 00 00 00 00 00 00  .BLJM60351......
...
0000FFF0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  • dev_bdvd/PS3_GM01/LICDIR/LIC.DAT:
    • The file is the same, only is changed the flag to debug = 0x00000000 (and the crc32 because the flag is included before hash is calculated)
    • This means the file LIC.DAT under directory PS3_GAME is different than any of the others under paths PS3_GM01, PS3_GM_02, etc... (because the flag in main is retail and in the others is debug). But all the others are exactlly the same file because all them have the flag debug

Fighting edition (BLES-02129)

Triple boot disc structure, using folders PS3_GAME, PS3_GM01, and PS3_GM02