PS Vita VAG files
-
josejl1987
- ultra-n00b
- Posts: 8
- Joined: Tue Sep 27, 2011 8:52 pm
- Has thanked: 2 times
PS Vita VAG files
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
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
Re: PS Vita VAG files
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
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
That was one of the tools I tried,no luck,I only get noise with this new format.
Re: PS Vita VAG files
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
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
I assume you need to install the vgmstream plugin for foobar?
Sadly ,all it plays is noise,like with the other tools.
Sadly ,all it plays is noise,like with the other tools.
-
daemon1
- M-M-M-Monster veteran

- Posts: 2343
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 55 times
- Been thanked: 2022 times
Re: PS Vita VAG files
Then how do you know its HE-VAG ?josejl1987 wrote:They are compressed using a new version of the VAG format (HE-VAG). I don't know much about sound formats
-
josejl1987
- ultra-n00b
- Posts: 8
- Joined: Tue Sep 27, 2011 8:52 pm
- Has thanked: 2 times
Re: PS Vita VAG files
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.
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

- Posts: 2343
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 55 times
- Been thanked: 2022 times
Re: PS Vita VAG files
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
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.
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

- Posts: 2343
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 55 times
- Been thanked: 2022 times
Re: PS Vita VAG files
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

- Posts: 2343
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 55 times
- Been thanked: 2022 times
Re: PS Vita VAG files
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?
p.s. Meanwhile, can you send me more files? Are there any stereo, longer files?
-
daemon1
- M-M-M-Monster veteran

- Posts: 2343
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 55 times
- Been thanked: 2022 times
Re: PS Vita VAG files
First version.
Not perfect decoding, needs more work, may have errors, only supports mono 44100.
Anyway, you can already hear what is in there.
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
Thank you very much.
If I set the playback rate to 24000 it seems to play correctly.
If I set the playback rate to 24000 it seems to play correctly.
-
daemon1
- M-M-M-Monster veteran

- Posts: 2343
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 55 times
- Been thanked: 2022 times
Re: PS Vita VAG files
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
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
I will attach a file that is supported using the decoder and another that isn't.
https://goo.gl/1vOghV
