Encoding CRI HCA Files by Skyth at 1:34 PM EST on February 14, 2016
In the CRI ADX2 LE SDK, there seems to be a DLL named "hcaenc_lite.dll". After decompiling most of the C# DLL files, I found out that "AudioStream.dll" has methods to encode WAV files to HCA, with that DLL. I used those DLLs and succesfully encoded a WAV file. But it seems like those HCA files are being encrypted. None of the CRI's tools can play those files properly.
I checked the file and saw that the cipher flag is 1 but the HCA files in the game I'm modding (Sonic Lost World) has it 0. I tried to decode that file with decoders available, they decode my HCA file correctly. I tried to test it in game, it exactly sounds like in CRI's tools.
The question is, is there any HCA encoder or any documentation about the format yet? Because I am making audio tools for that game and I had a big problem with this format. I also tried to change the EncodeType flag in ACB to ADX and used ADX files but it didn't work. I guess it is hardcoded into the EXE.