READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

The Crew 2 corrupted WAV headers

Get help on any and all audio formats, or chip in and help others!
Post Reply
needsb
ultra-n00b
Posts: 5
Joined: Tue Aug 01, 2017 10:58 am

The Crew 2 corrupted WAV headers

Post by needsb » Sat Nov 10, 2018 9:08 pm

I managed to dump all WAV files from sounds.dat using Winhex but the WAV file can't be opened. I open it in 010 editor and it automatically highlight the bytes, no errors. The file does seems to have artist info in it but Windows can't read it. I guess the header is invalid. The header modification is very known of DLL of Android unity games though...
I can't figured it out what to do with the WAV header as i'm not familar with audio format.
Anyone can help me recover the WAV header?
Sample: https://usersdownload.com/bvj4cldqlw8r.html

needsb
ultra-n00b
Posts: 5
Joined: Tue Aug 01, 2017 10:58 am

Re: The Crew 2 corrupted WAV headers

Post by needsb » Sun Dec 09, 2018 3:52 pm

Anyone are interested?

Delvau
ultra-n00b
Posts: 1
Joined: Wed Nov 21, 2018 12:50 pm
Location: North Bergen

Re: The Crew 2 corrupted WAV headers

Post by Delvau » Mon Dec 10, 2018 1:05 pm

needsb wrote:I managed to dump all WAV files from sounds.dat using Winhex but the WAV file can't be opened. I open it in 010 editor and it automatically highlight the bytes, no errors. The file does seems to have artist info in it but Windows can't read it. I guess the header is invalid. The header modification is very known of DLL of Android unity games though...
I can't figured it out what to do with the WAV header as i'm not familar with audio format.
Anyone can help me recover the WAV header?
Sample: https://usersdownload.com/bvj4cldqlw8r.html

I'm very interested, thanks for sharing!

brendan19
ultra-veteran
ultra-veteran
Posts: 375
Joined: Thu Aug 12, 2010 8:15 am
Has thanked: 54 times
Been thanked: 82 times

Re: The Crew 2 corrupted WAV headers

Post by brendan19 » Tue Dec 11, 2018 6:09 pm

vgmstream can playback/convert these files

They are not PCM WAV files like you think they are.

They are Audiokinetic Wwise files because that is the audio middleware that was used on The Crew 2 for the game.

Audiokinetic Wwise audio files use a RIFF header similar to the one used in a standard PCM WAV file but are based on the WAVEFORMATEX style header.

Additionally, they're compressed/encoded with vorbis which also makes them different to a standard PCM WAV file.


tl;dr
Download vgmstream and rename the file extension from .wav to .wem and vgmstream will playback/convert them just fine :)

needsb
ultra-n00b
Posts: 5
Joined: Tue Aug 01, 2017 10:58 am

Re: The Crew 2 corrupted WAV headers

Post by needsb » Sun Dec 30, 2018 10:29 pm

Thanks very much. vgmstream did the job. Is there a way to convert multiple files instead just once?

EDIT: Found the batch script: https://www.hcs64.com/mboard/forum.php?showthread=48467

Post Reply