Jump to content

Metal Gear Solid 4 .ssp audio extraction from .dat


solidus
Go to solution Solved by DKDave,

Recommended Posts

So various sounds from MGS4 single player (weapons\footsteps\foley) are stored inside .ssp files which can be played with foobar2000 vgstream. The problem is that most of it is packed inside a sdpack.dat which i cannot extract. The contents seems to be already known:

https://github.com/Joy-Division/JoyDict/blob/master/mgs4/stream/mgs4.eng/sdpack.map

And there is a tool that can extract .dat, but it doesnt work on sdpack.dat specifically. It seems to be aware of the .ssp format though:

https://github.com/Joy-Division/tools-mgs/blob/master/dat-extract_enc.c

Looking at the headers of the sdpack.dat and common .ssp files with HxD i can see that the header looks similar, but alas, the .dat cannot be loaded into foobar. I've attached sdpack_n.dat from Metal Gear Online 2 and two .ssp files from MGO2/Metal Gear Arcade.

Ando here is a link to sdpack.dat from MGS4 just in case:

https://mega.nz/file/jgYkmQKA#XujG4S_uSTrsY0HnlIUWvL7AcKL4hennYrexFOJFz3s

Any help would be appreciated, maybe someone has the files already extracted to share.

sdpack_n.7z on_slot_ex1_mrl.7z on_slot_sna.7z

Edited by solidus
Link to comment
Share on other sites

So i managed to cut a single .ssp file from sdpack_n.dat and it plays fine. I loaded both sdpack_n.dat and on_slot_sna.ssp into HxD and compared them. And it looks like the .dat is just .ssp files going one after another. If you copy the first block which is 0 - 337FF or length 33800 into a new file and add .ssp extension you will get the same on_slot_sna.ssp i uploaded.

Unfortunately writing a fancy .dat extractor is beyond my comprehension. But i guess thats one way to get audio.

EDIT:

Voice lines are extractable too, they are also .ssp files packed into .spc files which are in speech.dat. But its a little different from sdpack.dat in way that each voice line is in a separate .ssp, so it takes forever to get them with HxD, but doable...

wpn001_operator.7z

s04_raxray_snake_hdd.7z

Edited by solidus
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...