Next Page

HCA (from AWB/AFS2) file convert soft need help by akanerin7 at 6:56 AM EDT on June 21, 2017
currently im converting this file (BGM) for playing purposes.. can someone help me? its from Fate Grand Order (Android game).
sample:https://my.pcloud.com/publink/show?code=XZJh6GZLJodIog2eqS1zfnXxAuyP0MvprMX
allready tried hca2wav but no luck.
by Infernus Animositas at 7:19 AM EDT on June 21, 2017
You need to identify the 16-bit encryption key to be able to decrypt the HCA files and then use that key to successfully decode the HCA to WAV using HCA Decoder.

Android unity games usually feature them somewhere within the APK.
by akanerin7 at 7:24 AM EDT on June 21, 2017
allready have decryption key ( 0000000000003039 ) but don't know to use it.. how? (noob sorry)
by Infernus Animositas at 7:37 AM EDT on June 21, 2017
That's definitely not the decryption key at least for that file. I just tried that and it outputs junk data.

To input the decryption key, just drag and drop it onto the .bat file it should be the fifth input (or the last input) before HCA decoder attempts to decode the file.

edited 7:38 AM EDT June 21, 2017
by akanerin7 at 7:45 AM EDT on June 21, 2017
i see your post on search Infernius... how do you find the decryption key-code in old times? looking on acb or manually?
by Infernus Animositas at 9:25 AM EDT on June 21, 2017
For Android games, you need to open up the APK.

There should be a reference file where the audio data is also placed (in this instance it is the file "fgoaudioinfo.bytes" for Fate/Grand Order that we are interested in)

Now, checking through the level# files should reference that "fgoaudioinfo.bytes" file. If not there, then the "mainData" file for other Android games.

Looking through the level0 file reveals a 19 digit decimal number "9117927877783581796" just before the reference to "fgoaudioinfo.bytes"

Converting this from a decimal into a hexadecimal number gives you a 16-bit key which SHOULD be the decryption key. That being "7E89631892EBF464" but this key does not seem to work on the HCA you provided so I am not sure.

Maybe the game downloads additional data and the files in the .awb/.acb files inside the APK are merely place holders?
by akanerin7 at 9:41 AM EDT on June 21, 2017
no.. it doesn't include additional decryption file only game data (as i decompile/looking on whole data in emulatr).. still not understand it very well but hey have a similliar pattern for all files (mostly).. i guest its have same key and still searching for it.. (i hate to admit they use some kind encryption too on sprites..)
by datschge at 5:06 PM EDT on June 21, 2017
@Infernus Animositas - your key actually works.

@akanerin7 - For vgmstream/foobar you add a .hcakey file that contains just the key. Like this. If you are done with the set please consider contributing it (native hca files, not converted) at vgm.hcs64.com.
by Infernus Animositas at 6:00 PM EDT on June 21, 2017
Weird, I just tried it from the files in the APK and it didn't work for me.

But then again I only get 8 HCA files when I extract the .AWB so again I am assuming it probably downloads additional data once the game is running.

Also, your .hcakey starts with 7F instead of 7E.
by datschge at 6:59 PM EDT on June 21, 2017
That's funny, the first byte seems to have no effect indeed. Anyway if you need a proof that the hca file akanerin7 shared works, here's a quick export.

Next Page
Go to Page 0 1

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source