EDAT files: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:
'''Info on the talk page'''
'''Info on the talk page'''
'''The info on this page is an extract of conversations and forum posts, please digest the info and move it this page'''
'''The info on this page is an extract of conversations and forum posts, please digest the info and move it this page'''
====='''Header Structure'''=====
{| class="wikitable" style="text-align: center;"
|-
! style="background-color:#123EDA; color:#FFFFFF;" |Offset  || style="background-color:#123EDA; color:#FFFFFF;" |Description || style="background-color:#123EDA; color:#FFFFFF;" |Size || style="background-color:#123EDA; color:#FFFFFF;" |Type || style="background-color:#123EDA; color:#FFFFFF;" |Note
|-
| 0x00  || magic      || 4      || uint32 ||"NPD" (4E 50 44 00)
|-
| 0x04  || version    || 4      || uint32 ||
*01
*02
*03
*04
|-
| 0x08  || [[License_Types|License Types]]?      || 4      || uint32 ||
*00 Debug / SDAT?
*01 Network License
*02 Local License
*03 Free
|-
| 0x0B  || Sub-licenses type    || 4 || uint32 ||
*00
*01 (only theme/avatar/activation key, come with only PS3LOGO.DAT. [[PKG_files#File_Header_2|PKG items count]] is 0x02)
|-
| 0x10  || [[PARAM.SFO#CONTENT_ID|CONTENT ID]]    || 48 (0x30) || uint8 ||
|-
| 0x40  || Digest        || 16 (0x10) || uint8 ||
|-
| 0x50  || TitlefilenameHash    || 16 (0x10) || uint8 ||
|-
| 0x60  || HeaderHash    || 16 (0x10) || uint8 ||
|-
| 0x70  || 00            || 16 (0x10) || uint8 || filled with 00
|-
| 0x80  || NPD Flag      || 1  || uint8 || (Separated from NPD type for wiki format)
*00 Finalized EDAT
*01 Finalized SDAT
*80 Finalized EDAT
*81 Non Finalized SDAT
|-
| 0x83  || NPD type      || 3 || uint8 ||
*00
*01 Compressed?
*02 Plain text?
*03 Compressed plain text?
*05 Compressed?
*06 Plain text?
*07 Compressed plain text?
*0C ?
*0D Compressed data?
*3C data/misc?
|-
| 0x84  || Block size?    || 4 || uint8 || default is 16 kbytes = 0x4000
|-
| 0x88  || Data size    || 8  || uint8 || decoded data size
|-
|}
Note: Applied for normal ps3 edats and minis.edat

Revision as of 18:24, 31 August 2013

Info on the talk page

Info on the talk page The info on this page is an extract of conversations and forum posts, please digest the info and move it this page

Header Structure
Offset Description Size Type Note
0x00 magic 4 uint32 "NPD" (4E 50 44 00)
0x04 version 4 uint32
  • 01
  • 02
  • 03
  • 04
0x08 License Types? 4 uint32
  • 00 Debug / SDAT?
  • 01 Network License
  • 02 Local License
  • 03 Free
0x0B Sub-licenses type 4 uint32
  • 00
  • 01 (only theme/avatar/activation key, come with only PS3LOGO.DAT. PKG items count is 0x02)
0x10 CONTENT ID 48 (0x30) uint8
0x40 Digest 16 (0x10) uint8
0x50 TitlefilenameHash 16 (0x10) uint8
0x60 HeaderHash 16 (0x10) uint8
0x70 00 16 (0x10) uint8 filled with 00
0x80 NPD Flag 1 uint8 (Separated from NPD type for wiki format)
  • 00 Finalized EDAT
  • 01 Finalized SDAT
  • 80 Finalized EDAT
  • 81 Non Finalized SDAT
0x83 NPD type 3 uint8
  • 00
  • 01 Compressed?
  • 02 Plain text?
  • 03 Compressed plain text?
  • 05 Compressed?
  • 06 Plain text?
  • 07 Compressed plain text?
  • 0C ?
  • 0D Compressed data?
  • 3C data/misc?
0x84 Block size? 4 uint8 default is 16 kbytes = 0x4000
0x88 Data size 8 uint8 decoded data size

Note: Applied for normal ps3 edats and minis.edat