EDAT files: Difference between revisions
Jump to navigation
Jump to search
m (added header and footer to the mainpage (documented already)) |
m (→Header Structure (Encrypted Format): cosmetic naming) |
||
Line 32: | Line 32: | ||
| 0x40 || Digest || 16 (0x10) || uint8 || | | 0x40 || Digest || 16 (0x10) || uint8 || | ||
|- | |- | ||
| 0x50 || | | 0x50 || NPD hash 1 || 16 (0x10) || uint8 || TitlefilenameHash | ||
|- | |- | ||
| 0x60 || | | 0x60 || NPD hash 2 || 16 (0x10) || uint8 || HeaderHash | ||
|- | |- | ||
| 0x70 || 00 || 16 (0x10) || uint8 || filled with 00 | | 0x70 || 00 || 16 (0x10) || uint8 || filled with 00 | ||
|- | |- | ||
| 0x80 || NPD | | 0x80 || NPD type || 1 || uint8 || (Separated from NPD type for wiki format) | ||
*00 Finalized EDAT | *00 Finalized EDAT | ||
*01 Finalized SDAT | *01 Finalized SDAT | ||
Line 44: | Line 44: | ||
*81 Non Finalized SDAT | *81 Non Finalized SDAT | ||
|- | |- | ||
| 0x83 || NPD | | 0x83 || NPD flag || 3 || uint8 || | ||
*00 | *00 | ||
*01 Compressed? | *01 Compressed? |
Revision as of 02:32, 1 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
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 | Sub-licenses 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 | 00 | 16 (0x10) | uint8 | filled with 00 |
0x80 | NPD type | 1 | uint8 | (Separated from NPD type for wiki format)
|
0x83 | NPD flag | 3 | uint8 |
|
0x84 | Block size? | 4 | uint8 | default is 16 kbytes = 0x4000 |
0x88 | Data size | 8 | uint8 | decoded data size |
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