ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sat Feb 16, 2019 5:47 pm

All times are UTC




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Apex Legends .MSTR
PostPosted: Thu Feb 07, 2019 7:44 am 

Joined: Sun Apr 10, 2016 3:54 pm
Posts: 7
Two years ago Titanfall 2 released with an amazing sound designed that I fell in love with, however Respawn switched from using the built in source engine audio codecs using uncompressed headerless .wavs to using the Miles Sound System with the extension .mstr. It was very difficult to get anyone to look into it and very little progress was made. A few days ago Apex Legends drop with awesome music and a incredible sound design to boot. However the same system is used yet again...

What is known is the following: The files are compressed, and variable size. Considering the frame sizes, they did not appear to be mp3 or ogg. According to what was observed with the codec, it looks to use some form of bink audio. Because using 8-bit quantizers It can easily be seen in the stream.

That is where everything ends...

This is what the offset begins with:
Code:
52 54 53 43 02 00 FF FF 70 07 4A 05 00 00 00 00

or
Code:
RTSC..ÿÿp.J.....


Attached is a sample file if anything else is needed please let me know. I'd love to get the sounds, plus the drop music for this incredible game. If anyone can discover, or come up with a way to extract this, it would be a breakthrough.


Attachments:
general_stream.zip [4.71 KiB]
Downloaded 31 times
Top
   
 Post subject: Re: Apex Legends .MSTR
PostPosted: Sat Feb 09, 2019 4:53 pm 

Joined: Sat Feb 09, 2019 4:07 pm
Posts: 3
Created an account just to bump this thread


Top
   
 Post subject: Re: Apex Legends .MSTR
PostPosted: Sun Feb 10, 2019 5:09 am 

Joined: Sun Aug 24, 2014 8:54 am
Posts: 152
All of the large files indexed in .mstr have a similar header and start with "1FCB"
starting with 1FCB are actually Bink Audio (.binka) files


Top
   
 Post subject: Re: Apex Legends .MSTR
PostPosted: Mon Feb 11, 2019 1:32 am 

Joined: Sun Apr 10, 2016 3:54 pm
Posts: 7
happyend wrote:
All of the large files indexed in .mstr have a similar header and start with "1FCB"
starting with 1FCB are actually Bink Audio (.binka) files


OK! I was able to extract a piece of audio looking for the headers and was able to convert and play successfully, the question now is, is there an automated script I can use to separate and convert all of the audio?


Top
   
 Post subject: Re: Apex Legends .MSTR
PostPosted: Mon Feb 11, 2019 2:15 pm 

Joined: Sat Feb 09, 2019 4:07 pm
Posts: 3
Wow! That's fantastic news :o Please keep it up, maybe this breakthrough will help us get Titanfall 2's audio files as well


Top
   
 Post subject: Re: Apex Legends .MSTR
PostPosted: Mon Feb 11, 2019 8:14 pm 

Joined: Sun Apr 10, 2016 3:54 pm
Posts: 7
Upon further research I might have hit a brick wall. so .binka looks easy enough to extract, however previous extractors would use binkawin.asi and mss32.dll to aid in extract the files. These are not present in apex legends instead what we have is bink2w64, mileswin64, binkawin64 DLL's all of which common sense looks like they changed from 32 bit to 64 bit.

I'e attached a dll if anyone can have a look and see if the original decode function from mss32.dll is still present and if so how to get it to convert to wav.

As of right now the only possible way to extract any audio is to go line by line in a hex editor looking for the 1FCB header and copying that and saving it as a new file, it would be extremely painful to do it this way.


Attachments:
binkamatic.zip [591.76 KiB]
Downloaded 14 times
Top
   
 Post subject: Re: Apex Legends .MSTR
PostPosted: Wed Feb 13, 2019 2:52 am 

Joined: Sun Apr 10, 2016 3:54 pm
Posts: 7
So.. Here's where I'm at, I used this:
Image
to help me separate the audio, and using BinkA2Wav to convert, however the problem i'm running into is the audio keeps cutting off, I cannot figure out what i'm doing wrong or why it keeps doing that and I've run out of solutions...

Does anybody have any idea what can be done to remedy the cut off or extract this stuff with proper file names?


Top
   
 Post subject: Re: Apex Legends .MSTR
PostPosted: Wed Feb 13, 2019 3:54 am 

Joined: Sat Feb 09, 2019 4:07 pm
Posts: 3
Image link seems to be broken, so I can't see what you did. Also could you please upload one of the .wavs, any .wav. I want to check something. Thank you!


Top
   
 Post subject: Re: Apex Legends .MSTR
PostPosted: Wed Feb 13, 2019 5:35 am 

Joined: Sun Apr 10, 2016 3:54 pm
Posts: 7
I've attached the image in question, as well as a sample wave and the file before it was converted.


Attachments:
general_stream_00000256.zip [65.68 KiB]
Downloaded 9 times
Untitled.png [54.08 KiB]
Not downloaded yet
Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 9 posts ] 

All times are UTC


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:
Powered by phpBB® Forum Software © phpBB Limited