Editing Archive.dat
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
The archive.dat file format is used to store PS3 Backup data. | The archive.dat file format is used to store PS3 Backup data. | ||
The PS3 backup/restore system will create archive.dat files on USB media which will contain a backup of your entire HDD. | The PS3 backup/restore system will create archive.dat files on USB media which will contain a backup of your entire HDD. | ||
Line 62: | Line 62: | ||
seed from the header to generate the keys used for the encryption/decryption. | seed from the header to generate the keys used for the encryption/decryption. | ||
The key seed will be a random value if the encryption type is 0x40, or | The key seed will be a random value if the encryption type is 0x40, or | ||
it will be | it will be se tto zero if the encryption type is 0x30, in which case, | ||
the ps3's | the ps3's IDP value will be used as a key seed. | ||
A zeroed out buffer of 64 bytes which contains the key seed at offset | A zeroed out buffer of 64 bytes which contains the key seed at offset | ||
Line 69: | Line 69: | ||
the key/iv/hmac needed for the DAT file processing. | the key/iv/hmac needed for the DAT file processing. | ||
If the | If the IDP is used, then a vtrm encrypt of type 3 is used, otherwise, | ||
if the key seed is used, a vtrm encrypt with portability of type 1 is | if the key seed is used, a vtrm encrypt with portability of type 1 is | ||
used. | used. | ||
Line 203: | Line 203: | ||
! Offset !! Size !! Name !! Values !! Comment | ! Offset !! Size !! Name !! Values !! Comment | ||
|- | |- | ||
| 0x00 || 0x10 || | | 0x00 || 0x10 || PSID || ... || The OpenPSID of the PS3 on which this backup was created | ||
|- | |- | ||
| 0x10 || 0x08 || Archive2.dat total file sizes || ... || The total file sizes of the copy-protected content (same value as in the EOS file structure of the archive2.dat) | | 0x10 || 0x08 || Archive2.dat total file sizes || ... || The total file sizes of the copy-protected content (same value as in the EOS file structure of the archive2.dat) | ||
Line 229: | Line 229: | ||
the first bytes of the ciphertext to get the plaintext back. | the first bytes of the ciphertext to get the plaintext back. | ||
{{File Formats}}<noinclude>[[Category:Main]]</noinclude> | {{File Formats}}<noinclude>[[Category:Main]]</noinclude> |