The Great Escape (Xbox) *.PSF

Codecs, formats, encoding/decoding of game audio, video and music
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

The Great Escape (Xbox) *.PSF

Post by Mygoshi »

Hello everyone!

The Great Escape for Xbox stores its music in PSF files. The music is segmented.

Please somebody take a look at this PSF, to help me extracting them to rebuild the music.

https://mega.co.nz/#!cNpyzQwD!gHBis3Kot ... eRgrLXHIyo

Thanks in advance!

Edit: This issue is solved.

Here's the solution: simply drag and drop your PSF files into Foobar2000, with the vgmstream plugin installed and enabled. It'll basically do everything, like cutting the file into their respective segments, ordered, and you can play them.
Last edited by Mygoshi on Wed May 06, 2020 12:48 am, edited 5 times in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: The Great Escape (Xbox) *.PSF

Post by aluigi »

Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: The Great Escape (Xbox) *.PSF

Post by Mygoshi »

Thank you! It correctly extracted the segments from the PSFs.

I tried with the PC version, and it also worked.

The problem now is to find what's the format used by the music...

Here are PC extracted file samples: (deleted link)

Thanks.
Last edited by Mygoshi on Wed May 06, 2020 12:38 am, edited 2 times in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: The Great Escape (Xbox) *.PSF

Post by aluigi »

That byte at every offset 8 of the extracted files (in reality it's offset 0 because the first 8 bytes are the PSF header) reminds me to an adpcm codec I have already seen but don't remember what.
So it's not pcm.
Are you really sure it's the PC version?
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: The Great Escape (Xbox) *.PSF

Post by Mygoshi »

Yeah I checked it's the PC version.
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: The Great Escape (Xbox) *.PSF

Post by Mygoshi »

So is there a way to figure out the codec used, please?
Last edited by Mygoshi on Wed May 06, 2020 12:36 am, edited 2 times in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: The Great Escape (Xbox) *.PSF

Post by aluigi »

Eh no, I prefer to stay out from audio stuff.
Check with hcs if he has ideas about that codec.
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: The Great Escape (Xbox) *.PSF

Post by Mygoshi »

Update: the codec used by the music could be PS ADPCM with bad flags.

Could somebody use this information to help me?

Thanks!
Last edited by Mygoshi on Wed May 06, 2020 12:35 am, edited 1 time in total.
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: The Great Escape (Xbox) *.PSF

Post by id-daemon »

Here's stereo PSF decoder I made for you. Yes, its cutsom codec, very similar to PS ADPCM. Different number of nibbles and no flags.

Only works with stereo. Let me know if you need mono.
Also, no sample rate is in the file, so i write it as 44100, although some of them are 37000 or about that.

Segmented files look like stereo segments 1 second each.
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: The Great Escape (Xbox) *.PSF

Post by id-daemon »

after extracting segments its possible to load them all in order into editor, so they will be kind of complete set of music parts, which will play together:

Image
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: The Great Escape (Xbox) *.PSF

Post by id-daemon »

use this so Luigi's script will export files with decimal names
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: The Great Escape (Xbox) *.PSF

Post by Mygoshi »

Totally awesome, good job!! Really!! Thank you.
It works like a charm.
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

Re: The Great Escape (Xbox) *.PSF

Post by Puterboy1 »

Can someone update this script so that it can work on the PC version files?: https://archive.org/download/The.Great. ... ailure.psf