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, PS4 and PS5 [[Backup And Restore]] (BAR) data.
== Archive.dat ==
Archive.dat in PS3 was the index file in PS4 this seems not to be the case
Archive.dat might represent Archive00.dat from ps3 backups
(Encrypted with idps?)
location: [USBDRIVE]/PS4/EXPORT/BACKUP/201503180030_00/archive.dat


See also [https://www.psdevwiki.com/ps3/Archive.dat PS3 archive.dat] and [https://www.psdevwiki.com/ps5/Archive.dat PS5 archive.dat].
== ArchiveXXXX.dat ==
 
location : [USBDRIVE]/PS4/EXPORT/BACKUP/YYYYMMDDTTTT_00/archviexxxx.dat
= Files =
 
PS4 BAR files are similar in all ways to PS3 ones except that there is no index file. Indeed, archive.dat in PS3 was the index file. PS4 archive.dat might represent PS3 archive00.dat.
 
* /dev_usb0/PS4/Export/YYYYMMDDTTTT_00/archive.dat << This is the starting index which might be an encrypted index after the files have been added >>
* /dev_usb0/PS4/Export/YYYYMMDDTTTT_00/archiveXXXX.dat << the rest of your backup will go here til archive9999.dat >>
 
Remark: << The "_00" suffix in the "YYYYMMDDTTTT_00" directory name pattern might imply that if a certain amount of data is reached on the backup leading to overflow of 9999 in the filename archive9999.dat then another directory named "YYYYMMMDDTTT_01" would be created.
 
== archive.dat ==
 
* It may be encrypted with the PS4 [[Console ID]] similarly to the PS3.
 
=== Location ====
 
* [USBDRIVE]/PS4/EXPORT/BACKUP/201503180030_00/archive.dat
 
== archiveXXXX.dat ==
 
=== Location ===
 
* [USBDRIVE]/PS4/EXPORT/BACKUP/YYYYMMDDTTTT_00/archiveXXXX.dat


=== Example ===
=== Example ===
   Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
   Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
   00000000  53 43 45 43 41 46 00 00 01 00 00 00 00 00 00 00  SCECAF..........
   00000000  53 43 45 43 41 46 00 00 01 00 00 00 00 00 00 00  SCECAF..........
Line 160: Line 141:
   BF6A9FC0  A6 13 79 F3 BE E6 80 84 38 81 CC 9E D3 46 BD 8B  ¦.yó¾æ€„8.ÌžÓF½‹
   BF6A9FC0  A6 13 79 F3 BE E6 80 84 38 81 CC 9E D3 46 BD 8B  ¦.yó¾æ€„8.ÌžÓF½‹


= Tools =
* [https://github.com/xXxTheDarkprogramerxXx/BAR BAR decrypt (and encrypt?) command-line utility by zecoxao (2020-03-26)]


{{File Formats}}
{{File Formats}}
<noinclude>[[Category:Main]]</noinclude>
<noinclude>[[Category:Main]]</noinclude>
Please note that all contributions to PS4 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS4 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)