Archive.dat: Difference between revisions
Jump to navigation
Jump to search
Red-EyeX32 (talk | contribs) No edit summary |
Red-EyeX32 (talk | contribs) (→Header) |
||
Line 20: | Line 20: | ||
| 0x18 || 0x8 || Unknown (0x1) | | 0x18 || 0x8 || Unknown (0x1) | ||
|- | |- | ||
| 0x20 || 0x10 || | | 0x20 || 0x10 ||Encryption IV? Since it was removed in the metadata blocks. | ||
|- | |- | ||
| 0x30 || 0x4 || Unknown size | | 0x30 || 0x4 || Unknown size |
Revision as of 08:12, 7 January 2024
The archive.dat file format is used to store PS5 Backup and Restore (BAR) data. The backup/restore system will create an archive.dat file(s) on a USB drive which will contain a backup of your entire HDD. The structure has changed from it's predecessor and all data stored in here is in little endian format.
SIECAF File Structure
Structure:
- Header
- Repeating Section Meta Blocks
- Repeating Section Hash Blocks
Header
Offset | Size | Description |
---|---|---|
0x0 | 0x8 | Magic 0x5349454341460000 SIECAF\0\0
|
0x8 | 0x8 | Version |
0x10 | 0x8 | Unknown (0x1) |
0x18 | 0x8 | Unknown (0x1) |
0x20 | 0x10 | Encryption IV? Since it was removed in the metadata blocks. |
0x30 | 0x4 | Unknown size |
0x34 | 0x4 | Unknown size |
0x38 | 0x4 | Unknown size |
0x3C | 0x4 | Padding |
0x40 | 0x8 | Number of Segments |
0x48 | 0x8 | File Offset |
0x50 | 0x8 | File Size |
Section Meta Block
Offset | Size | Description |
---|---|---|
0x0 | 0x8 | Section ID |
0x8 | 0x8 | Section Start Offset |
0x10 | 0x8 | Unaligned Section Length |
0x18 | 0x8 | Hash Key ID (0x0000000000000003) |
0x20 | 0x8 | Encryption Key ID (0x0000000000000001) |
0x28 | 0x10 | Encryption IV (null bytes) |
0x38 | 0x8 | Aligned Section Length |
Section Hash Block
Offset | Size | Description |
---|---|---|
0x0 | 0x8 | Section ID |
0x8 | 0x10 | Hash (128-bit) |
0x18 | 0x18 | Padding |
Updating once further research has been made...