Important information: this site is currently scheduled to go offline indefinitely by end of the year.

HCA2WAV

Get help on any and all audio formats, or chip in and help others!
Post Reply
Snoopak96
ultra-n00b
Posts: 3
Joined: Sat Mar 19, 2011 8:22 pm
Has thanked: 1 time
Been thanked: 3 times

HCA2WAV

Post by Snoopak96 »

HCA2WAV - a small program to decode sounds of the format ADX2 (HCA) to wav. The decoder has been made for the reason that the format has been around for about 2 years, and decoding music from games that contain it has not been possible. Coder, unfortunately, at the moment not available, because working versions are only sold in Japan.
Decoder can download at attachment.

I will say a few words about this format.
HCA format was developed by CRI to replace its previous generation codecs - ADPCM ADX. This format is mpeg-like, ie contains a chain of algorithms: DCT transformation -> quantization -> compression coefficients. According to the spectrums of unpacked files can say that when encoding codec does not cut the high frequencies, which suggests on the weak acoustic model. On some saturated tracks that are compressed with the maximum possible bitrate (about 240 kbit/s) is clearly heard distortion. Bitrate of each frame for the entire file is constant and is given in the file header. Because all the operations from reading compressed data up to output audio pass on 128 samples, most likely the frame size is 128 samples (but for some reason can be equal and 1024, but I think the chance of this is very small). In comparison with 1152 in mp3 (potentially greater value gives better compression). Although the company is promoting this as a quick format. Well, in this case can agree with this choice, but here terrible code optimization. Bink in this aspect are better.

Decoder's page: http://krinkels.org/showthread.php?p=15014
Apollo
veteran
Posts: 145
Joined: Sat Oct 21, 2006 12:58 pm
Has thanked: 5 times
Been thanked: 24 times

Re: HCA2WAV

Post by Apollo »

Nice work, you could have simply attached the tool as attachment here to save the effort to signing up to that forum to download it.
attached it anyhow for others.

Edit: deleted attachment thanks to newer version :)
Last edited by Apollo on Sun Feb 10, 2013 12:37 pm, edited 1 time in total.
Snoopak96
ultra-n00b
Posts: 3
Joined: Sat Mar 19, 2011 8:22 pm
Has thanked: 1 time
Been thanked: 3 times

Re: HCA2WAV

Post by Snoopak96 »

v 0.2
Added support for multi-channel audio up to 6 channels;
Added sources.
You do not have the required permissions to view the files attached to this post.
AlphaTwentyThree
double-veteran
double-veteran
Posts: 982
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 76 times
Been thanked: 660 times

Re: HCA2WAV

Post by AlphaTwentyThree »

THIS IS SO FABULOUS!!! :) :) :)

Any chance to write a plugin for vgmstream?
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)
shylph
ultra-n00b
Posts: 2
Joined: Mon Mar 12, 2012 11:41 am

Re: HCA2WAV

Post by shylph »

Now I manage to rip music from Dragon Crown,this game use adx2 too,but HCA2WAV can not works(Error reading HCA header).
Someone help me!
http://www.mediafire.com/download/ity2v ... 000000.hca
http://www.mediafire.com/download/69a58 ... 00000a.neo
Layer
ultra-n00b
Posts: 9
Joined: Fri Feb 18, 2011 10:53 pm

Re: HCA2WAV

Post by Layer »

Thanx for the link :wink:
and thanx to the author :wink:
Post Reply