MotorStorm (2006) PS3 .dat files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
GoStorm2_008
Posts: 6
Joined: Sun Sep 27, 2020 8:25 pm

MotorStorm (2006) PS3 .dat files

Post by GoStorm2_008 »

Hello. I am trying to extract the game files for MotorStorm, and when I looked at the file directory, everything is stored in cache_ps3.dat along with cache_ps3.bin, and cache_ps3.cnk (the latter two being very small in size while the main .dat file is 1.44GB). I'm not too sure about any specifics of it however when I open the file in HxD it stated to be "auto-generated by GoStorm2, which I assume is proprietary software from evolution studios (now defunct). If anyone could help me extract these files I would greatly appreciate it.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: MotorStorm (2006) PS3 .dat files

Post by aluigi »

Files?
GoStorm2_008
Posts: 6
Joined: Sun Sep 27, 2020 8:25 pm

Re: MotorStorm (2006) PS3 .dat files

Post by GoStorm2_008 »

[cache_ps3.dat][https://drive.google.com/file/d/1wO7ovPZ5IFDY7aDocPGauEBhAFNtS-AV/view?usp=sharing]
. here
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: MotorStorm (2006) PS3 .dat files

Post by aluigi »

I guess the data is compressed based on the two fields and flags available but no idea what may be the algorithm.
Additionally they are chunks but the following script is just an experiment that dumps them as-is as separate files:

Code: Select all

endian big

open FDDE "cnk"
open FDDE "dat" 1

math OFFSET = 0
get FILES long
for i = 0 < FILES
    get SIZE long

    goto OFFSET 1
    idstring 1 "RA"
    get DUMMY short 1   # 5
    get XSIZE long 1    # uncompressed size?
    get SIZE long 1
    get FLAGS long 1    # 0 for compressed and 0x10000 for uncompressed?
    savepos OFFSET 1
    log "" OFFSET SIZE 1

    math OFFSET + SIZE
next i

/*
open FDDE "bin" 2
for i = 0 < FILES
    get DUMMY long 2
    get DUMMY long 2
next i
*/
GoStorm2_008
Posts: 6
Joined: Sun Sep 27, 2020 8:25 pm

Re: MotorStorm (2006) PS3 .dat files

Post by GoStorm2_008 »

Hm okay I will try this out. Is this final? Regardless, thank you for looking at it
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: MotorStorm (2006) PS3 .dat files

Post by aluigi »

Only for testing because the extracted files are totally useless.
GoStorm2_008
Posts: 6
Joined: Sun Sep 27, 2020 8:25 pm

Re: MotorStorm (2006) PS3 .dat files

Post by GoStorm2_008 »

Ohh okay. That's true. Take your time
GoStorm2_008
Posts: 6
Joined: Sun Sep 27, 2020 8:25 pm

Re: MotorStorm (2006) PS3 .dat files

Post by GoStorm2_008 »

Any updates on the script?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: MotorStorm (2006) PS3 .dat files

Post by aluigi »

Eh no, I don't work on it.