Save Data: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
Save data can be copied from PS4 to a USB mass storage device.
Save data can be copied from PS4 to a USB mass storage device.


Files are exported to <code>USB:\PS4\SAVEDATA\[[User ID|user Id]]\[[NP Title ID|title Id]]\<code>.
Files are exported to <code>USB:\PS4\SAVEDATA\[[User ID|user Id]]\[[NP Title ID|title Id]]\</code>.


=== Files ===
=== Files ===
Line 15: Line 15:
* [[icon0.png]]
* [[icon0.png]]
* [[sdslot.dat]]
* [[sdslot.dat]]
* [[sealedkey / pfsSKKey|sealedkey]]


1) [[sdslot.dat|Data file]]
Size is frequently 10.485.760 bytes (bf4 : 18.874.368 bytes).
 
- size frequently 10.485.760 bytes (bf4 : 18.874.368 bytes)


{| class="wikitable"
{| class="wikitable"
Line 38: Line 35:
|}
|}


2) [[sealedkey / pfsSKKey|Key file]]
* [[sealedkey / pfsSKKey|sealedkey]]
 
3) [[param.sfo]]
 
4) [[icon0.png]]


=== Files (/user/home/[[User ID|user Id]]/[[NP Title ID|title Id]]/) ===
=== Files (/user/home/[[User ID|user Id]]/[[NP Title ID|title Id]]/) ===

Revision as of 23:40, 6 March 2021

Location

Save Data are stored encrypted inside /user/home/user Id/title Id/save data directory/sce_sys/

External

Save data can be copied from PS4 to a USB mass storage device.

Files are exported to USB:\PS4\SAVEDATA\user Id\title Id\.

Files

Every savedata contains 4 files:

Size is frequently 10.485.760 bytes (bf4 : 18.874.368 bytes).

From To Description
0000 00AF Header (176 bytes)
00B0 00B7 Magic Block (8 bytes)
00B8 036F Block (704 bytes)
0370 039F Block (48 bytes)
03A0 7FFF Empty Block (31.840 bytes)
8000 eof Data Block (? bytes)

Files (/user/home/user Id/title Id/)

When dumping files using FTP you might see your files similar to this structure


   ├── Title ID                                
   │   ├── SAVEDATA00.bin                       /*This File Holds the pfsSKKey*/
   │   ├── sdimg_SAVEDATA00                     /*This is the encrypted save file*/