PDA

View Full Version : [WIP] PS4 Save Format Research



Jappi88
11-16-2013, 11:46 AM
hey guys, today i'm starting this thread to Research the ps4 fileformat together.
eventually all found research will go to 360haven Wiki.

We take the ps4 save of Assassin's Creed Black Flag
[Save By CloudStrife] (http://www.360haven.com/forums/threads/29788-assassins-creed-iv-ps4-game-save-modding/)

Save Format:

Save Key File:
http://imageshack.us/a/img35/4590/dz0g.png

Save BlockTable:
http://imageshack.us/a/img843/4181/7okn.png

Addional Info :
I'm not sure yet how the structure is like, but it seems like they are using different blocks/Files, they might be using FilePackaging.
Each block/file Is encrypted, encryption is not known yet, but it might be AES-CBC with IV and File Key...research will tell.
The Encrypted Blocks start at 0x8000.
The Key file might contain the keys we need to decrypt the fileblocks, but even the keyfile.bin might be encrypted.

Another posibilitie would be that the blocks are Encrypted with another Algorithm and uses the key/hash at the blocktable...time will tell.

Please feel free to share your thoughts/research here, i will keep this thread updated whenever new information is availible.

tertiussc
11-16-2013, 11:55 AM
thanks guys

8Ball
11-16-2013, 12:44 PM
While I think we really need to examine a different game as well before we go defining whats what I concur about the blocks, the changes between two saves are rather uniform suggesting it's not a case of just shrouding the entire thing in encryption.

Taking into account what we already know about AC4 and it's save structure, unless the ps4 uses mandatory compression (doubtful) on saves I dobut theres any at work here because it doesn't show up on the xbox360 which if I remember also had some ps4 code in the xex suggesting they were probably brewed from very similar source. We'll know exactly what the actual gamesave looks like when we see it, until then it's just a case of dissection. The keyfile is going to be a bitch no matter how involved it is, the fact it even exists is cause to complain, talk about over the top, typical Sony.

I'm pretty sure we're looking at the equivalent of a CON package, I seem to have already forgotten but doesn't the AC series also use multiple save files? Clearly there is some digging to be done. Does the ps3 bruteforcer have any possible application here? I never did check how that actually worked, didn't really care at the time, was just happy it existed.

Simply put: leet skillz+ ps4 sdk leak+ eboot(?) examination = pwned. It's all a waiting game really, I can tell I'm not going to be much help at the intial stages but I should be useful when it comes to desiging a framework for editors.

But we really need more games to examine, what the hells the holdup? Theres at least 2 games out!

CK0
11-16-2013, 05:32 PM
I don't get my PS4 until Monday, but I will have saves for Knack and Killzone Shadowfall if no one else has gotten it up yet.

AC saves do have two gamesaves; one is the GameSaveA and the back up is GameSaveB (not the actual filename since I forget, but it ends in 'A' and 'B')

Glad to see there is already work being done on this. I'm getting an XB1 if I can score one midnight launch as well. (Dead Rising 3, Ryse, AC4, and Forza 5)

CloudStrife7x
11-16-2013, 05:57 PM
okay guys here is another save for ACIV but this time its the entire save folder for the game, which includes the profile/options file for the game:
http://www.mediafire.com/download/aegmw9p8kvvw7k7/CUSA00010.rar
This save has 6218 reales
i didn't include profile/options file last time since i wasn't sure if you guys needed that

i also have a save for Resogun a free ps plus arcade game on ps4, so here is that save as well:
http://www.mediafire.com/download/c1a9u8a0bnr1swf/CUSA00038.rar

though the only stat for that is the leaderboard score which i would rather not mod lol

BrayWyatt
11-19-2013, 09:40 PM
i can post my saves as well. heres the games i currently have.

disc
01) need for speed rivals
02) knack
03) lego marvel super heroes
04) battlefield 4
05) call of duty ghosts
06) killzone shadow fall
07) madden 25 (didnt start it yet)

psn/ps+
08) warframe (can play solo/friends only/online) free to play
09) blacklight (didnt start it yet) free to play
10) contrast
11) resogun
12) dc universe online (not installed right now) free to play

drizzy
11-19-2013, 11:11 PM
here are 2 of my saves, knack and resogun
http://www.mediafire.com/?f42uzyr75inqm9j

:041:

Morax
11-24-2013, 04:29 AM
Glad to see this happening would love to see soe editors in the future

longtermfx
11-26-2013, 03:46 PM
I'll attempt to upload a Killzone Shadow Fall (very early in the game) and Battlefield 4 (very early in the game) Game Data today. I've only played Assassins Creed IV up until this point on my PS4, but I'll post what I can to help with the research.

NeoMike
11-30-2013, 10:33 PM
Jeez, you don't waste any time huh?!?

I haven't even tried to copy my save to a flash drive yet to crack them open!

LaxGrip
12-18-2013, 12:26 AM
May I ask what software or method you use to open up this code?

lolin
12-29-2013, 02:04 PM
Here is my AC4 PS4 save
https://www.dropbox.com/sh/chbnz02myx1rek8/JJAK_c_RUK

pureIso
02-01-2014, 09:11 PM
Does anyone have a Fifa 2014 save? I have the game but I need a save from a different console.

pureIso
02-22-2014, 02:39 PM
File system - Little Endian
Each game have their own public key: //Different from profile to profile
pfsSKKey Playstation file-system shared known key
In order to verify the save or decrypt it a private key is required which is likely to be stored in the ps4. <<-- without this we lose

Header Pointer = 01000000000000000B2A330100000000 to both files - offset 0x00 of each file
Hex Editor HBK file (https://www.dropbox.com/s/97qfwypf443ih3k/2.zip)

When verified by other people please update the wiki: http://www.psdevwiki.com/ps4/Savegames

LaxGrip
06-21-2014, 05:35 PM
Hey guys, I'm not really well suited for all the programming yet, gonna start my computer science major next month though. If there's anything at all I can do than just let me know, I'd love to see an editor for this game to come out sometime soon. I notice this thread has been kinda dormant but I hope to see it pop back up

darkprof
12-17-2015, 12:44 AM
thankyou im really hope this works
ps how to download.

im new to this site

Ultimarok
12-18-2015, 08:44 PM
I found some very interesting information, courtesy of amany that may be of interest to the programmers in this thread: https://cturt.github.io/ps4-3.html