Editing Archive.dat

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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. [https://support.us.playstation.com/app/answers/detail/a_id/798/~/ps3-backup-utility This feature was added since 1.32.]
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 set to zero if the encryption type is 0x30, in which case,
it will be se tto zero if the encryption type is 0x30, in which case,
the ps3's [[IDPS|IDP]] value will be used as a key seed.
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 [[IDPS|IDP]] is used, then a vtrm encrypt of type 3 is used, otherwise,
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 || [[PSID]] || ... || The OpenPSID of the PS3 on which this backup was created
| 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.


= Notes =
== Registry Database Utility ==
The archives created by "db_backup.self" and "registry_backup.self" from the Sony SDK have a DAT type of 0x04.
* "db_backup.self" creates a backup of the database. (there's only one resulting file).
* "registry_backup.self" creates a backup of the xRegistry.sys file.
= Tools =
== PeXploit ==
PeXploit is a GUI version of ps3xport with user-friendly features.
* PKG Bubble Install Source (by pink1): http://www.mediafire.com/download/22352yzs75jh7oa/PSN_Bubbles.zip
* https://github.com/xXxTheDarkprogramerxXx/PeXploit
== arctool ==
arctool is a python script to ease ps3xport usage.
* https://web.archive.org/web/*/http://playstationhax.xyz/forums/topic/1092-release-arctool-and-arcunpack-by-flatz/ [http://www.mediafire.com/download/zvfc1ddi9dh21p4/arctool.7z]
== ps3xport ==
ps3xport is a CUI tool to decrypt and encrypt PS3 exported backup archives.
* https://github.com/kakaroto/ps3xport ([[KaKaRoTo_Kind_of_%C2%B4Jailbreak%C2%B4|KaKaRoTo Kind of ´Jailbreak´]])




{{File Formats}}<noinclude>[[Category:Main]]</noinclude>
{{File Formats}}<noinclude>[[Category:Main]]</noinclude>
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)