Save Data: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
m (Fix offset)
No edit summary
Line 49: Line 49:
| 10 || 1F || IV (16 bytes)
| 10 || 1F || IV (16 bytes)
|-
|-
| 20 || 40 || Encrypted key (32 bytes)
| 20 || 3F || Encrypted key (32 bytes)
|-
|-
| 40 || 5F || SHA-256 (32 bytes)
| 40 || 5F || SHA-256 (32 bytes)

Revision as of 22:12, 9 December 2015

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 2 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

- size always 96 bytes

From To Description
00 07 MAGIC ("pfsSKKEY") (playstation file-system, shared k. key ?)
08 0F Category (game=1 ?)
10 1F IV (16 bytes)
20 3F Encrypted key (32 bytes)
40 5F SHA-256 (32 bytes)