Important information: this site is currently scheduled to go offline indefinitely by end of the year.

The Crew 2 corrupted WAV headers

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

The Crew 2 corrupted WAV headers

Post by needsb »

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
n00b
Posts: 10
Joined: Tue Aug 01, 2017 10:58 am

Re: The Crew 2 corrupted WAV headers

Post by needsb »

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 »

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: 389
Joined: Thu Aug 12, 2010 8:15 am
Has thanked: 54 times
Been thanked: 93 times

Re: The Crew 2 corrupted WAV headers

Post by brendan19 »

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
n00b
Posts: 10
Joined: Tue Aug 01, 2017 10:58 am

Re: The Crew 2 corrupted WAV headers

Post by needsb »

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