Hitman 2016 (PS4) WAV files have a codec set to 0xffff need help opening

Codecs, formats, encoding/decoding of game audio, video and music
bresense
Posts: 20
Joined: Sun Sep 16, 2018 12:26 am

Hitman 2016 (PS4) WAV files have a codec set to 0xffff need help opening

Post by bresense »

I need help opening some wav files from Hitman 2016 from the Playstation 4 version of the game which can't be played even when extracted from their native rpkg file containers. aluigi has a useful script which I used to get the game files out of the rpkg container format which PS4 games use but the wav files that have been extracted have a codec set to 0xffff that may be related to a custom video or audio codec or simply a known one with the tag replaced by 0xffff (happens often on wav files of consoles) maybe someone can help make these playable? thanks.

0000000000002cf4.wav
https://www84.zippyshare.com/v/dzeEzTwo/file.html
0000000000000a0b.dat
https://www84.zippyshare.com/v/ldrywLbp/file.html
Edison007
Posts: 3
Joined: Sat Aug 06, 2016 9:15 am

Re: Hitman 2016 (PS4) WAV files have a codec set to 0xffff need help opening

Post by Edison007 »

bresense wrote:0000000000002cf4.wav
https://www84.zippyshare.com/v/dzeEzTwo/file.html

It's wwise (vorbis).
Use ww2ogg to convert from wem(wav) to ogg. https://github.com/hcs64/ww2ogg/releases
bresense
Posts: 20
Joined: Sun Sep 16, 2018 12:26 am

Re: Hitman 2016 (PS4) WAV files have a codec set to 0xffff need help opening

Post by bresense »

Edison007 wrote:
bresense wrote:0000000000002cf4.wav
https://www84.zippyshare.com/v/dzeEzTwo/file.html

It's wwise (vorbis).
Use ww2ogg to convert from wem(wav) to ogg. https://github.com/hcs64/ww2ogg/releases


It ends up glitchy and jumpy if i do that like so,

000000000000a000.ogg
https://www60.zippyshare.com/v/TyMRHEGt/file.html
brendan19
Posts: 144
Joined: Fri Aug 08, 2014 11:25 am

Re: Hitman 2016 (PS4) WAV files have a codec set to 0xffff need help opening

Post by brendan19 »

Use the latest version of vgmstream to transcode them into PCM WAV.

Put this into notepad and save it as a .bat file

Code: Select all

FOR %%a IN (*.wav) DO test -l 1 -f 0 -o "%%a.wav" "%%a"
pause


Put the .bat file, test.exe and the .wav files in the same folder and run the .bat file and it will convert them into playable sound files.

The converted files will have the extension (.wav.wav)