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!
daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2030
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 52 times
Been thanked: 1577 times

Re: PS Vita VAG files

Post by daemon1 » Wed Jul 20, 2016 9:01 am

eduardogalvan24 wrote:However, some other files just don't work at all, even with your decoder.
Also, these files are all mono files.
I will attach a file that is supported using the decoder and another that isn't.
I found 2 files in this archive, and both were decoded with my decoder.

One of them mono, another one stereo.

Where are files that don't work?

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

Re: PS Vita VAG files

Post by eduardogalvan24 » Sun Jul 31, 2016 9:46 am

daemon1 wrote:
eduardogalvan24 wrote:However, some other files just don't work at all, even with your decoder.
Also, these files are all mono files.
I will attach a file that is supported using the decoder and another that isn't.
I found 2 files in this archive, and both were decoded with my decoder.

One of them mono, another one stereo.

Where are files that don't work?
The file that doesn't work is se_pv_button_l1_off. It converts but gives a garbled sound. (It's supposed to be the end of a looping button hold. https://youtu.be/50CnEwZ3gBo?t=37s) The other one correctly works, and loops as it should.
Also, impressive that you've written a VAG decoder for these newer files! I didn't think anyone would actually care because it's Vita.

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

Re: PS Vita VAG files

Post by daemon1 » Sun Jul 31, 2016 9:51 am

eduardogalvan24 wrote:The file that doesn't work is se_pv_button_l1_off. It converts but gives a garbled sound.
That's not the same. Ok, this is stereo file, and my tool currently only supports mono. I converted both channels individually, they work ok. The problem that is all games have different headers, and I don't know where to look for channel number. Also not many people even interested in that.

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

Re: PS Vita VAG files

Post by daemon1 » Sun Oct 09, 2016 7:19 am

The version that takes sample rate from 0x10 offset of header. Must work in many cases.
You do not have the required permissions to view the files attached to this post.

Firestorm7893
ultra-n00b
Posts: 2
Joined: Thu Nov 09, 2017 6:05 pm

Re: PS Vita VAG files

Post by Firestorm7893 » Thu Nov 09, 2017 6:14 pm

daemon1 wrote:
eduardogalvan24 wrote:The file that doesn't work is se_pv_button_l1_off. It converts but gives a garbled sound.
That's not the same. Ok, this is stereo file, and my tool currently only supports mono. I converted both channels individually, they work ok. The problem that is all games have different headers, and I don't know where to look for channel number. Also not many people even interested in that.
Hey i know this thread is old, but can i take a look at the source files of your decoder? I'd like to try making it work even with stero files

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

Re: PS Vita VAG files

Post by daemon1 » Thu Nov 09, 2017 7:47 pm

i think somebody already implemented my code into ffmpeg or vgmstream, i remember i gave the code to someone to do that

bnnm
n00b
Posts: 10
Joined: Thu Nov 09, 2017 11:43 pm
Been thanked: 4 times

Re: PS Vita VAG files

Post by bnnm » Sun Nov 12, 2017 3:03 pm

I implemented HEVAG support into vgmstream (https://hcs64.com/vgmstream.html) based on the code daemon1 gave me (thanks again), should handle all known HEVAG but source is on github.

Firestorm7893
ultra-n00b
Posts: 2
Joined: Thu Nov 09, 2017 6:05 pm

Re: PS Vita VAG files

Post by Firestorm7893 » Mon Nov 13, 2017 8:29 pm

:D thank you a lot! it's what i needed!

Post Reply