Save Data: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
Line 16: Line 16:
Every savegame contains 4 files:
Every savegame contains 4 files:


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


- size frequently 10.485.760 bytes (bf4 : 18.874.368 bytes)
- size frequently 10.485.760 bytes (bf4 : 18.874.368 bytes)
Line 37: Line 37:
|}
|}


2) Key file
2) [[sealedkey / pfsSKKey|Key file]]


- size always 96 bytes
- size always 96 bytes
Line 56: Line 56:
|}
|}


3) [[param.sfo]]
4) [[icon0.png]]




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

Revision as of 16:24, 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

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

3) param.sfo

4) icon0.png