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
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
The Crew 2 corrupted WAV headers
Re: The Crew 2 corrupted WAV headers
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!
-
- 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
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
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
Re: The Crew 2 corrupted WAV headers
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
EDIT: Found the batch script: https://www.hcs64.com/mboard/forum.php?showthread=48467