Save Data: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
m (CelesteBlue moved page Savegames to Save Data without leaving a redirect)
No edit summary
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
===Location===
=== Location ===
Savegames are stored encrypted inside /user/home/[[User ID|user Id]]/[[NP Title ID|title Id]]/[[save data directory]]/[[sce_sys]]/


files contained within:
There is a mountpoint for the current application save data, usually "savedata0" but can be up to "savedata15".
* [[param.sfo]]
 
* [[icon0.png]]
Save Data are stored encrypted inside <code>/user/home/[[User ID|user Id]]/[[NP Title ID|title Id]]/savedata0/[[sce_sys]]/</code>.
* [[sdslot.dat]]
* [[sealedkey / pfsSKKey|sealedkey]]


==== External ====
==== External ====
Savegames may be copied from PS4 to a USB mass storage device.


They will be located at USB:\PS4\SAVEDATA\[[User ID|user Id]]\[[NP Title ID|title Id]]\
Save data can be copied from PS4 to a USB mass storage device.


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


1) [[sdslot.dat|Data file]]
=== Files ===


- size frequently 10.485.760 bytes (bf4 : 18.874.368 bytes)
Every savedata contains 4 files:
 
* [[param.sfo]]
{| class="wikitable"
* [[icon0.png]]
|-
* [[sdslot.dat]]
! From !! To !! Description
* [[sealedkey / pfsSKKey|sealedkey]]
|-
| 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)
|}


2) [[sealedkey / pfsSKKey|Key file]]
=== Files (/user/home/[[User ID|user Id]]/[[NP Title ID|title Id]]/) ===
 
3) [[param.sfo]]
 
4) [[icon0.png]]
 
===Files(/user/home/[[User ID|user Id]]/[[NP Title ID|title Id]]/)===


When dumping files using FTP you might see your files similar to this structure  
When dumping files using FTP you might see your files similar to this structure  
Line 51: Line 27:
     │  ├── SAVEDATA00.bin                      /*This File Holds the pfsSKKey*/
     │  ├── SAVEDATA00.bin                      /*This File Holds the pfsSKKey*/
     │  ├── sdimg_SAVEDATA00                    /*This is the encrypted save file*/
     │  ├── sdimg_SAVEDATA00                    /*This is the encrypted save file*/




{{File Formats}}
{{File Formats}}
<noinclude>[[Category:Main]]</noinclude>
<noinclude>[[Category:Main]]</noinclude>

Revision as of 00:45, 7 March 2021

Location

There is a mountpoint for the current application save data, usually "savedata0" but can be up to "savedata15".

Save Data are stored encrypted inside /user/home/user Id/title Id/savedata0/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:

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*/