The Last of Us Remastered XVAG

Codecs, formats, encoding/decoding of game audio, video and music
Anexenaumoon
Posts: 119
Joined: Sun Dec 27, 2015 10:22 pm

The Last of Us Remastered XVAG

Post by Anexenaumoon »

Hi, I know there's a thread already explaining how to de-interleave XVAG, but I didn't know if it was the same for PS4. I opened them up in a hex editor, and saw that the XVAG has it's own little Wav file kind of encoded inside of it, but cutting all the bytes before the "riff" part and saving it as a wav yields a "Missing ACM Codec" error message from vgmstream. I was wondering if someone could point me in the right direction with these. Any help would be appreciated!

Best,
Anexenaumoon

XVAG samples.zip
brendan19
Posts: 144
Joined: Fri Aug 08, 2014 11:25 am

Re: The Last of Us Remastered XVAG

Post by brendan19 »

The files are just ATRAC-9 with an XVAG header attached. Remove all the data before "RIFF" and then use the ATRAC-9 decoder to decode the audio files.
Anexenaumoon
Posts: 119
Joined: Sun Dec 27, 2015 10:22 pm

Re: The Last of Us Remastered XVAG

Post by Anexenaumoon »

brendan19 wrote:The files are just ATRAC-9 with an XVAG header attached. Remove all the data before "RIFF" and then use the ATRAC-9 decoder to decode the audio files.


Thanks. I got it working now
spennser
Posts: 6
Joined: Wed Jan 17, 2018 1:18 am

Re: The Last of Us Remastered XVAG

Post by spennser »

Anexenaumoon wrote:
brendan19 wrote:The files are just ATRAC-9 with an XVAG header attached. Remove all the data before "RIFF" and then use the ATRAC-9 decoder to decode the audio files.


Thanks. I got it working now


so were you able to extract all the sound effects??
Anexenaumoon
Posts: 119
Joined: Sun Dec 27, 2015 10:22 pm

Re: The Last of Us Remastered XVAG

Post by Anexenaumoon »

spennser wrote:
Anexenaumoon wrote:
brendan19 wrote:The files are just ATRAC-9 with an XVAG header attached. Remove all the data before "RIFF" and then use the ATRAC-9 decoder to decode the audio files.


Thanks. I got it working now


so were you able to extract all the sound effects??


Yea wasn't too hard
spennser
Posts: 6
Joined: Wed Jan 17, 2018 1:18 am

Re: The Last of Us Remastered XVAG

Post by spennser »

Anexenaumoon wrote:
spennser wrote:
Anexenaumoon wrote:
Thanks. I got it working now


so were you able to extract all the sound effects??


Yea wasn't too hard


Do you have all the files on google drive or anything? I would love to get ahold of them - I've been dying to get the gun and melee SFX for a long time now!
bxaimc
Posts: 41
Joined: Thu Nov 16, 2017 7:11 pm

Re: The Last of Us Remastered XVAG

Post by bxaimc »

The latest vgmstream release now supports these XVAG right out of the box without removing any extra data.