Archive.dat: Difference between revisions
Jump to navigation
Jump to search
Red-EyeX32 (talk | contribs) (→Header) |
Red-EyeX32 (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
== SIECAF File Structure == | == SIECAF File Structure == | ||
Structure: | Structure: | ||
* Header | * Header | ||
* Repeating Section Meta Blocks | |||
* Repeating Section Hash Blocks | |||
=== Header === | === Header === | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 35: | Line 35: | ||
|- | |- | ||
| 0x50 || 0x8 || File Size | | 0x50 || 0x8 || File Size | ||
|- | |||
|} | |||
=== Section Meta Block === | |||
{| class="wikitable" | |||
|- | |||
! 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 === | |||
{| class="wikitable" | |||
|- | |||
! Offset !! Size !! Description | |||
|- | |||
| 0x0 || 0x8 || Section ID | |||
|- | |||
| 0x8 || 0x10 || Hash (128-bit) | |||
|- | |||
| 0x18 || 0x18 || Padding | |||
|- | |- | ||
|} | |} | ||
Updating once further research has been made... | Updating once further research has been made... |
Revision as of 08:09, 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 | Seed? Since it was removed in metadata. |
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...