XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Fri Feb 24, 2017 12:28 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 25 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: [xvag files] Newb need help please.
PostPosted: Fri Jul 24, 2015 11:49 pm 
Offline
ultra-n00b

Joined: Fri Jul 24, 2015 11:37 pm
Posts: 4
Has thanked: 3 times
Have thanks: 0 time

Hello everyone :keke: I tried to extract sound files of the last of us and I did it :D And now I have .xvag and I tried to deinterlave the files but I can't. :(

I tried with this topic : http://forum.xentax.com/viewtopic.php?f=17&t=5014 (I don't understand anything with blocksize)
And here the files (just a sample) if you need: https://mega.co.nz/#!xMsw0BSb!d_yaUWqJggHmHo6xvZzlTfSPm9ohQO18GpCGel7fnrg


It would be realy nice if you help me (I will give you a free hug :] )

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: [xvag files] Newb need help please.
PostPosted: Sat Jul 25, 2015 12:33 am 
Offline
ultra-veteran
ultra-veteran

Joined: Thu Aug 12, 2010 8:15 am
Posts: 332
Has thanked: 54 times
Have thanks: 67 times
The sample file you provided is just a stereo file that vgmstream can playback just fine :)

You will only need to deinterleave the XVAG if it has more than two channels.

You can also tell if you need to deinterleave an XVAG file when you try to listen to it and it sounds disjointed and doesn't playback smoothly.


Top
 Profile  
 
 Post subject: Re: [xvag files] Newb need help please.
PostPosted: Sat Jul 25, 2015 12:52 am 
Offline
ultra-n00b

Joined: Fri Jul 24, 2015 11:37 pm
Posts: 4
Has thanked: 3 times
Have thanks: 0 time
Thank you a lot :mrgreen: Just Winamp was missing :] (I need to read readme carfully me)

You're just so cool guys :P
And I've just one more question. It's possible to extract xvag files ?

And it's normal that some sounds are stuttering like this one https://mega.co.nz/#!8Nd0QRwL!LivtTt9k0Wy3OL9xLL8Yl4BUJHDYBzZwv1GKI54E8f0


Top
 Profile  
 
 Post subject: Re: [xvag files] Newb need help please.
PostPosted: Sat Jul 25, 2015 1:26 am 
Offline
ultra-veteran
ultra-veteran

Joined: Thu Aug 12, 2010 8:15 am
Posts: 332
Has thanked: 54 times
Have thanks: 67 times
Extract? no as they are just audio files.

Deinterleave, yes :)

If it stutters during playback, that means it's most likely more than two channels.

The file you provided is 4 channels, and also in the filename it says "quad" as well :P

Header size is 0x134 which can be found at the offset 0x06
Number of channels is 4 which can be found at the offset 0x2B
INTSIZE is 0x3000

Any questions? :)


Top
 Profile  
 
 Post subject: Re: [xvag files] Newb need help please.
PostPosted: Sat Jul 25, 2015 9:38 am 
Offline
ultra-n00b

Joined: Fri Jul 24, 2015 11:37 pm
Posts: 4
Has thanked: 3 times
Have thanks: 0 time
Yes :D How do you find INTSIZE ?


Top
 Profile  
 
 Post subject: Re: [xvag files] Newb need help please.
PostPosted: Sat Jul 25, 2015 2:45 pm 
Offline
ultra-veteran
ultra-veteran

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


Top
 Profile  
 
 Post subject: Re: [xvag files] Newb need help please.
PostPosted: Sun Sep 18, 2016 3:10 am 
Offline
advanced

Joined: Thu Aug 06, 2015 12:12 pm
Posts: 48
Has thanked: 0 time
Have thanks: 0 time
I converted the XVAG files from Resistance 2 with VGMStream, but the quality is iffy. What to do then?


Top
 Profile  
 
 Post subject: Re: [xvag files] Newb need help please.
PostPosted: Mon Sep 19, 2016 4:48 pm 
Offline
ultra-veteran
ultra-veteran

Joined: Thu Aug 12, 2010 8:15 am
Posts: 332
Has thanked: 54 times
Have thanks: 67 times
Post the original XVAG file


Top
 Profile  
 
 Post subject: Re: [xvag files] Newb need help please.
PostPosted: Mon Sep 19, 2016 5:48 pm 
Offline
advanced

Joined: Thu Aug 06, 2015 12:12 pm
Posts: 48
Has thanked: 0 time
Have thanks: 0 time
https://mega.nz/#F!s580xR4Y!G1-dlg0GCJ8uT8Ydpq9Ong

The first 3 are VAG, FYI.


Top
 Profile  
 
 Post subject: Re: [xvag files] Newb need help please.
PostPosted: Tue Sep 20, 2016 4:46 am 
Offline
ultra-veteran
ultra-veteran

Joined: Thu Aug 12, 2010 8:15 am
Posts: 332
Has thanked: 54 times
Have thanks: 67 times
The XVAG files you posted playback just fine on vgmstream without any deinterleaving as they are just stereo files.

You only need to deinterleave the file if there is more than two channels.


Top
 Profile  
 
 Post subject: Re: [xvag files] Newb need help please.
PostPosted: Tue Sep 20, 2016 5:55 pm 
Offline
advanced

Joined: Thu Oct 15, 2015 8:15 pm
Posts: 58
Has thanked: 13 times
Have thanks: 1 time
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.


Top
 Profile  
 
 Post subject: Re: [xvag files] Newb need help please.
PostPosted: Tue Sep 20, 2016 6:48 pm 
Offline
advanced

Joined: Thu Aug 06, 2015 12:12 pm
Posts: 48
Has thanked: 0 time
Have thanks: 0 time
But do you notice the quality? I'm pretty sure it's supposed to sound clearer than that.


Top
 Profile  
 
 Post subject: Re: [xvag files] Newb need help please.
PostPosted: Wed Sep 21, 2016 4:15 pm 
Offline
ultra-veteran
ultra-veteran

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


Top
 Profile  
 
 Post subject: Re: [xvag files] Newb need help please.
PostPosted: Wed Sep 21, 2016 7:36 pm 
Offline
advanced

Joined: Thu Aug 06, 2015 12:12 pm
Posts: 48
Has thanked: 0 time
Have thanks: 0 time
brendan19 wrote:
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.


Top
 Profile  
 
 Post subject: Re: [xvag files] Newb need help please.
PostPosted: Wed Sep 21, 2016 11:18 pm 
Offline
advanced

Joined: Thu Oct 15, 2015 8:15 pm
Posts: 58
Has thanked: 13 times
Have thanks: 1 time
brendan19 wrote:
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 :)

Here you go.



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 25 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 5 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