Okay, I'll use the file you provided before, the stuttering file "amb-bed-tommys-dam-ext-quad.xvag"
INTSIZE can be found by going to the very end of the file using a hex editor.
There will be a whole section of "00"s
What you need to do is this: From the end of the file, you need to highlight all of the data starting from the very last 00 and scroll up the file until you encounter another section of "00"s just like there is at the end of the file. At the end of this new section of "00"s the first two bytes will be "FF FB" which is known as the MPEG flag.
Your highlighted selection should start on the "FF FB" immediately after that section of "00"s and go all the way to the very last byte of the file.
Copy and paste that highlighted part into a new file in your hex editor and the offset given at the end of this section you copied is the INTSIZE of a single interleave block
For this file, "amb-bed-tommys-dam-ext-quad" the INTSIZE is 0x3000
brendan19 wrote:You only need to deinterleave the file if there is more than two channels.
But how can you deinterleave the file if there is more than two channels? The quickBMS script that deinterleaves the file didn't work for me, and I'm not talking about the one Researchman edited for XVAG for more than 2 channels or something since it uses an old revision.
AnonBaiter wrote:But how can you deinterleave the file if there is more than two channels? The quickBMS script that deinterleaves the file didn't work for me, and I'm not talking about the one Researchman edited for XVAG for more than 2 channels or something since it uses an old revision.
Give me a file and I'll walk you through it
Cameron007 wrote:But do you notice the quality? I'm pretty sure it's supposed to sound clearer than that.
The XVAGs playback just fine and they're 48kHz so I do not think so unless some post processing is applied to the audio tracks by the game.
The VAG files, maybe since they're mono and quite a low frequency. The only thing that comes to mind is if those tracks are coming through an old radio or something in the game which would explain using that fidelity and that's why they are that quality.
AnonBaiter wrote:But how can you deinterleave the file if there is more than two channels? The quickBMS script that deinterleaves the file didn't work for me, and I'm not talking about the one Researchman edited for XVAG for more than 2 channels or something since it uses an old revision.
Give me a file and I'll walk you through it
Cameron007 wrote:But do you notice the quality? I'm pretty sure it's supposed to sound clearer than that.
The XVAGs playback just fine and they're 48kHz so I do not think so unless some post processing is applied to the audio tracks by the game.
The VAG files, maybe since they're mono and quite a low frequency. The only thing that comes to mind is if those tracks are coming through an old radio or something in the game which would explain using that fidelity and that's why they are that quality.
Funny, some of the XVAG are only 32000 Hz. Maybe those are the ones that sound crappy.
AnonBaiter wrote:But how can you deinterleave the file if there is more than two channels? The quickBMS script that deinterleaves the file didn't work for me, and I'm not talking about the one Researchman edited for XVAG for more than 2 channels or something since it uses an old revision.