EDAT files: Difference between revisions
Jump to navigation
Jump to search
m (added two decryption methods for EDATs) |
|||
Line 43: | Line 43: | ||
*03 Free License: without license check. | *03 Free License: without license check. | ||
|- | |- | ||
| 0x0B || | | 0x0B || Application Type || 4 || uint32 || | ||
*00 | *00 | ||
*01 (only theme/avatar/activation key, come with only PS3LOGO.DAT. [[PKG_files#File_Header_2|PKG items count]] is 0x02) | *01 (only theme/avatar/activation key, come with only PS3LOGO.DAT. [[PKG_files#File_Header_2|PKG items count]] is 0x02) and PS2 EDAT ([http://www.ps3devwiki.com/ps3/Iso.bin.edat#About_PS2_Classics Iso.bin.edat]) | ||
|- | |- | ||
| 0x10 || [[PARAM.SFO#CONTENT_ID|CONTENT ID]] || 48 (0x30) || uint8 || | | 0x10 || [[PARAM.SFO#CONTENT_ID|CONTENT ID]] || 48 (0x30) || uint8 || |
Revision as of 15:32, 3 September 2013
This article is marked for rewrite/restructuring in proper wiki format. You can help PS3 Developer wiki by editing it. |
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
Decryption of EDATS
Three ways to do it:
- act.dat,rif,idps combo
- rap
- free content (npdrm1 klic)
Free Content
Simply decrypted with appldr keys and free klic
Using RAP
Overview of steps:
- Obtain rifkey from rap (flatz's rap2rifkey)
- Decrypt EDAT using corresponding klic (minis,psxclassics,etc) and rifkey
Header Structure (Encrypted Format)
Offset | Description | Size | Type | Note |
---|---|---|---|---|
0x00 | magic | 4 | uint32 | "NPD" (4E 50 44 00) |
0x04 | version | 4 | uint32 |
|
0x08 | License Types | 4 | uint32 |
|
0x0B | Application Type | 4 | uint32 |
|
0x10 | CONTENT ID | 48 (0x30) | uint8 | |
0x40 | Digest | 16 (0x10) | uint8 | |
0x50 | NPD hash 1 | 16 (0x10) | uint8 | TitlefilenameHash |
0x60 | NPD hash 2 | 16 (0x10) | uint8 | HeaderHash |
0x70 | Activation dates | 8 | unkn | (Since and up to) filled with 00 if not used |
0x78 | Activation dates | 8 | unkn | (Since and up to) filled with 00 if not used |
0x80 | NPD type | 1 | uint8 | (Separated from Metadata type for wiki format)
|
0x83 | Metadata type | 3 | uint8 | (Flags description from talk page)
|
0x84 | Block size? | 4 | uint8 | default is 16 kbytes = 0x4000 |
0x88 | Data size | 8 | uint8 | decoded data size |
0x90 | 16 | |||
0xA0 | 16 | |||
0xB0 | 80 (0x50) |
Description | Size | Note |
---|---|---|
Name | 5 | "EDATA" or "SDATA" |
Space | 1 | 0x20 |
Revision Version? | 8 |
|
End of the file | 2 | 00 00 |
Note: Applied for normal ps3 edats and minis.edat