Save Data: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 43: Line 43:
! From !! To !! Description
! From !! To !! Description
|-
|-
| 00 || 07 || MAGIC ("pfsSKKey") (playstation filesystem, SealedKey Key ?)
| 00 || 07 || MAGIC ("pfsSKKey") (aka [[sealedkey_pfsSKKey|sealedkey]])
|-
|-
| 08 || 0F || Category (game=1 or version ?)
| 08 || 0F || Category (game=1 or version ?)

Revision as of 15:55, 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 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") (aka 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)