Page 1 of 1

[XBOX360] Red Dead Redemption .awc audio file format

Posted: Thu Jun 06, 2013 12:47 am
by Vosvoy
Hi mates.

All right, first of all I want to notify that I know OpenIV can now read this audio format but as you can know XBox360 .rpf archives are not supported by the software. Before extract the rpf archive from RDR, I thought that the audio format would be XMA encoded. How silly I was! It's not the case of course ( it would be too easy ).

Xma_test result:

Code: Select all

filename: ftr_violin_01.awc
version: XMA2
offset: 0
block size: 8000
data size: 10104c
------------------

Parse error: skip bits (2088) did not match previous packet overflow (0)
So, I can provide a file sample to any kind soul that would help me:

Here

EDIT: Okay, it's very strange because after investigation, I found XMA mono header ( " FC 03 80 00 " ) in some other files so it would means that those files are really XMA encoded?

EDIT2: Yes, This is XMA encoded. I tried on the C96 mauser .awc and it gave me a good .wav sample but for now, it is reasonable to remain cool. Waiting for some feedback about the sample I've uploaded because it seems to be different.

Many thanks in advance guys.

PS: There is some .xml files and .dat files as well ( if you need ).

Cordialy

Vosvoy

Re: [XBOX360] Red Dead Redemption .awc audio file format

Posted: Fri Jun 21, 2013 8:45 am
by Apollo
It appears to contain two XMA mono files, potentially perhaps a archive of sorts, however for some reason xma_parse gets errors and decode attempt comes back bad.

FC 03 80 00 is mono marker indeed, repeated twice in the file, you can simply cut out those streams by including 6 bytes prior to the mono marker... either way something is eluding on it... ah I just needed to put 44khz into the header, actual output file is 17khz for proper decode.

basicly cut out the files, give the xma riff header (mono) and decode, i left out xma parse entirely.

Re: [XBOX360] Red Dead Redemption .awc audio file format

Posted: Sat Jun 22, 2013 10:47 pm
by Vosvoy
Apollo wrote:It appears to contain two XMA mono files, potentially perhaps a archive of sorts, however for some reason xma_parse gets errors and decode attempt comes back bad.

FC 03 80 00 is mono marker indeed, repeated twice in the file, you can simply cut out those streams by including 6 bytes prior to the mono marker... either way something is eluding on it... ah I just needed to put 44khz into the header, actual output file is 17khz for proper decode.

basicly cut out the files, give the xma riff header (mono) and decode, i left out xma parse entirely.
All right, many thanks Apollo for your feedback. I have to admit that I'm not a pro about XMA files at all but I've never seen a XMA file like that.

Re: [XBOX360] Red Dead Redemption .awc audio file format

Posted: Fri Jul 19, 2013 11:37 pm
by 41hc1
-

Re: [XBOX360] Red Dead Redemption .awc audio file format

Posted: Sun Nov 22, 2015 2:18 pm
by reditec
Any news?
I'm working on some tool to extract the .awc files.
They are archives containing XMA decoded files.
I do not know much about those XMAs yet, but https://github.com/koolkdev/libertyv LibertyV is OpenSource and is able to extract Red Dead Redemption audio files.
(not every file, the tool has a bug I think)

If someone could provide more informations about how .awc exactly work, that would be awesome :)