Save Data: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
===Location===
===Location===
Savegames are stored encrypted inside /user/home/[[user Id]]/[[title Id]]/[[save data directory]]/sce_sys/
Savegames are stored encrypted inside /user/home/[[user Id]]/[[title Id]]/[[save data directory]]/[[sce_sys]]/


files contained within:
files contained within:
Line 38: Line 38:


2) [[sealedkey / pfsSKKey|Key file]]
2) [[sealedkey / pfsSKKey|Key file]]
- size always 96 bytes
{| class="wikitable"
|-
! From !! To !! Description
|-
| 00 || 07 || MAGIC ("pfsSKKey") (aka [[sealedkey / pfsSKKey|sealedkey]])
|-
| 08 || 0F || Category (game=1 or version ?)
|-
| 10 || 1F || IV (16 bytes)
|-
| 20 || 3F || Encrypted key (32 bytes)
|-
| 40 || 5F || SHA-256 (32 bytes)
|}


3) [[param.sfo]]
3) [[param.sfo]]

Revision as of 16:46, 25 September 2016

Location

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

files contained within:

External

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

They will be located at USB:\PS4\SAVEDATA\user Id\title Id\

Files

Every savegame contains 4 files:

1) Data file

- size 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)

2) Key file

3) param.sfo

4) icon0.png