Join also our Discord channel! Click here.

PS Vita VAG files

Get help on any and all audio formats, or chip in and help others!
josejl1987
ultra-n00b
Posts: 8
Joined: Tue Sep 27, 2011 8:52 pm
Has thanked: 2 times

PS Vita VAG files

Post by josejl1987 » Tue Mar 22, 2016 12:11 am

Hello there.

I have the voice files from Ys Memories of Celceta for PS Vita.

They are compressed using a new version of the VAG format (HE-VAG). I don't know much about sound formats,but it seems that they use another kind of ADPCM compression.

Is there any way to decode these? The tools for regular VAG files only return static noise.

https://dl.dropboxusercontent.com/u/230 ... v_0000.vag

Thanks

Coleiosis
n00b
Posts: 10
Joined: Tue Mar 15, 2016 11:51 pm

Re: PS Vita VAG files

Post by Coleiosis » Tue Mar 22, 2016 12:39 am

I use MFAudio to play VAG files (mainly from my PS2 games). It's downloadable for free!

http://www.zophar.net/utilities/ps2util ... o-1-1.html

josejl1987
ultra-n00b
Posts: 8
Joined: Tue Sep 27, 2011 8:52 pm
Has thanked: 2 times

Re: PS Vita VAG files

Post by josejl1987 » Tue Mar 22, 2016 12:50 am

That was one of the tools I tried,no luck,I only get noise with this new format.

Coleiosis
n00b
Posts: 10
Joined: Tue Mar 15, 2016 11:51 pm

Re: PS Vita VAG files

Post by Coleiosis » Tue Mar 22, 2016 2:11 am

Another one I used was called foobar2000, which also plays VPK files perfectly. I suggest you try this; but if it doesn't work out well, tell me.

http://www.foobar2000.org/download

josejl1987
ultra-n00b
Posts: 8
Joined: Tue Sep 27, 2011 8:52 pm
Has thanked: 2 times

Re: PS Vita VAG files

Post by josejl1987 » Tue Mar 22, 2016 12:29 pm

I assume you need to install the vgmstream plugin for foobar?

Sadly ,all it plays is noise,like with the other tools.

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2124
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 52 times
Been thanked: 1661 times

Re: PS Vita VAG files

Post by daemon1 » Tue Mar 22, 2016 6:52 pm

josejl1987 wrote:They are compressed using a new version of the VAG format (HE-VAG). I don't know much about sound formats
Then how do you know its HE-VAG ?

josejl1987
ultra-n00b
Posts: 8
Joined: Tue Sep 27, 2011 8:52 pm
Has thanked: 2 times

Re: PS Vita VAG files

Post by josejl1987 » Tue Mar 22, 2016 7:21 pm

Well,there are several sources talking about Vita using a new version of VAG.


http://www.fmod.org/files/fmod.cs
http://docs.unity3d.com/Manual/class-AudioClip.html

There are also some Sony docs,but I'd rather not know how many rules linking to that would break.

Anyway,the version number in the VAG header is different from the old files.

About not knowing about sound formats,well,I really meant about not knowing the actual implementation of sound compression.

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2124
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 52 times
Been thanked: 1661 times

Re: PS Vita VAG files

Post by daemon1 » Wed Mar 23, 2016 5:01 pm

ok, it seems they really changed format a little. It must be very possible to decode that, considering the fact that FMOD supports it. I may look into this later, but I think nobody done this before just because not many people need sounds from that little toy.

josejl1987
ultra-n00b
Posts: 8
Joined: Tue Sep 27, 2011 8:52 pm
Has thanked: 2 times

Re: PS Vita VAG files

Post by josejl1987 » Fri Mar 25, 2016 11:52 am

Oh,thanks for your time.

About Vita formats not being popular,well,I think it is because dumping the game data isn't too easy right now,needing the FW 3.52 and all that.

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2124
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 52 times
Been thanked: 1661 times

Re: PS Vita VAG files

Post by daemon1 » Sat Mar 26, 2016 1:04 pm

It seems FMOD supported this format even in 2010. But they don't allow decoding, only encoding. Let's see if I can get the algorithm there. I see no other tools support this format.

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2124
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 52 times
Been thanked: 1661 times

Re: PS Vita VAG files

Post by daemon1 » Mon Mar 28, 2016 4:06 pm

Good news. I was able to find tables and algorithm in their code.

p.s. Meanwhile, can you send me more files? Are there any stereo, longer files?

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2124
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 52 times
Been thanked: 1661 times

Re: PS Vita VAG files

Post by daemon1 » Tue Mar 29, 2016 6:09 pm

First version.

Not perfect decoding, needs more work, may have errors, only supports mono 44100.

Anyway, you can already hear what is in there.
You do not have the required permissions to view the files attached to this post.

josejl1987
ultra-n00b
Posts: 8
Joined: Tue Sep 27, 2011 8:52 pm
Has thanked: 2 times

Re: PS Vita VAG files

Post by josejl1987 » Tue Mar 29, 2016 6:45 pm

Thank you very much.
If I set the playback rate to 24000 it seems to play correctly.

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2124
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 52 times
Been thanked: 1661 times

Re: PS Vita VAG files

Post by daemon1 » Tue Mar 29, 2016 7:34 pm

I can make it getting rate from the header. Are there stereo files? Other games have stereo files too.

eduardogalvan24
ultra-n00b
Posts: 2
Joined: Sat Jul 16, 2016 8:54 am

Re: PS Vita VAG files

Post by eduardogalvan24 » Tue Jul 19, 2016 7:50 pm

SEGA uses these files inside their Project DIVA game. I've been trying to get at them and some files do actually work using a regular non HE-VAG decoder (PS1). However, some other files just don't work at all, even with your decoder. Could I get some help with this? Also, these files are all mono files.
I will attach a file that is supported using the decoder and another that isn't.
https://goo.gl/1vOghV

Post Reply