XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Wed Jan 23, 2019 2:02 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: The Crew 2 corrupted WAV headers
PostPosted: Sat Nov 10, 2018 9:08 pm 
Offline
ultra-n00b

Joined: Tue Aug 01, 2017 10:58 am
Posts: 4
Has thanked: 0 time
Have thanks: 0 time

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

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: The Crew 2 corrupted WAV headers
PostPosted: Sun Dec 09, 2018 3:52 pm 
Offline
ultra-n00b

Joined: Tue Aug 01, 2017 10:58 am
Posts: 4
Has thanked: 0 time
Have thanks: 0 time
Anyone are interested?


Top
 Profile  
 
 Post subject: Re: The Crew 2 corrupted WAV headers
PostPosted: Mon Dec 10, 2018 1:05 pm 
Offline
ultra-n00b

Joined: Wed Nov 21, 2018 12:50 pm
Posts: 1
Location: North Bergen
Has thanked: 0 time
Have thanks: 0 time
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!

_________________
outsourced software development industry


Top
 Profile  
 
 Post subject: Re: The Crew 2 corrupted WAV headers
PostPosted: Tue Dec 11, 2018 6:09 pm 
Offline
ultra-veteran
ultra-veteran

Joined: Thu Aug 12, 2010 8:15 am
Posts: 370
Has thanked: 54 times
Have thanks: 82 times
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 :)


Top
 Profile  
 
 Post subject: Re: The Crew 2 corrupted WAV headers
PostPosted: Sun Dec 30, 2018 10:29 pm 
Offline
ultra-n00b

Joined: Tue Aug 01, 2017 10:58 am
Posts: 4
Has thanked: 0 time
Have thanks: 0 time
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



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group