Difference between revisions of "Talk:LIC.DAT"

From PS3 Developer wiki
Jump to: navigation, search
m (not verifyed with more than 2 bootable contents)
m
Line 9: Line 9:
 
Dual boot disc structure, using folders '''PS3_GAME''', and '''PS3_GM01'''
 
Dual boot disc structure, using folders '''PS3_GAME''', and '''PS3_GM01'''
  
*dev_bdvd/PS3_GAME/LICDIR/LIC.DAT:
+
*dev_bdvd/PS3_GAME/LICDIR/LIC.DAT
**<span style="background:#4C4943;">Magic:</span> "PS3LICDA"
+
**Header
**<span style="background:#766572;">Version:</span> 1
+
***<span style="background:#4C4943;">Magic:</span> "PS3LICDA"
**<span style="background:#66ff66;">Flag:</span> 0x80000000 (retail)
+
***<span style="background:#766572;">Version:</span> 1
**<span style="background:#ff66ff;">Ending:</span> 0x0A00
+
***<span style="background:#66ff66;">Flag:</span> 0x80000000 (retail)
**<span style="background:#f6ff6f;">beginning of chunks:</span> 0x0800
+
***<span style="background:#ff66ff;">licenses ending:</span> 0x0A00
**<span style="background:#6f66f6;">chunk size (static):</span> 0x0100
+
***<span style="background:#f6ff6f;">beginning of licenses:</span> 0x0800
**<span style="background:#6ffff6;">chunk amounts:</span> 2  
+
***<span style="background:#6f66f6;">license size (static):</span> 0x0100
**<span style="background:#C1C132;">CRC32:</span> 01 0F 95 0E
+
***<span style="background:#6ffff6;">license amounts:</span> 2  
**title id (BLJM61001) of PS3_GAME at 0x800, title id (BLJM60351)of PS3_GM01 at 0x900.
+
***<span style="background:#C1C132;">CRC32:</span> 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  <span style="background:#4C4943;">50 53 33 4C 49 43 44 41</span> <span style="background:#766572;">00 00 00 01</span> <span style="background:#66ff66;">80 00 00 00</span>  PS3LICDA....€...
 
  00000000  <span style="background:#4C4943;">50 53 33 4C 49 43 44 41</span> <span style="background:#766572;">00 00 00 01</span> <span style="background:#66ff66;">80 00 00 00</span>  PS3LICDA....€...
Line 24: Line 27:
 
  00000020  <span style="background:#C1C132;">01 0F 95 0E</span> 00 00 00 00 00 00 00 00 00 00 00 00  ..•.............
 
  00000020  <span style="background:#C1C132;">01 0F 95 0E</span> 00 00 00 00 00 00 00 00 00 00 00 00  ..•.............
 
  ...
 
  ...
000007F0  00 00 00 00 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......
 
  00000800  01 42 4C 4A 4D 36 31 30 30 31 00 00 00 00 00 00  .BLJM61001......
  00000810  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
+
  ...
00000820  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
00000830  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
00000840  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
00000850  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
00000860  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
00000870  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
00000880  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
00000890  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
000008A0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
000008B0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
000008C0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
000008D0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
000008E0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
000008F0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
 
  00000900  01 42 4C 4A 4D 36 30 33 35 31 00 00 00 00 00 00  .BLJM60351......
 
  00000900  01 42 4C 4A 4D 36 30 33 35 31 00 00 00 00 00 00  .BLJM60351......
00000910  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
00000920  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
00000930  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
00000940  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
00000950  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
00000960  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
00000970  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
00000980  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
00000990  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
000009A0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
000009B0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
000009C0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
000009D0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
000009E0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
000009F0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
 
  ...
 
  ...
 
  0000FFF0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
  0000FFF0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................

Revision as of 23:00, 28 August 2015


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