VGMtoolbox was the first thing i tried to process that .usm with, but, unlike the ones i did before, this time the output .adx failed to play back or be processed with ffmpeg so i assumed it to be encrypted and sought further info which led me here. After your response, i tried simply converting it to .wav with vgmstream and it was enough to process it further. Thanks for the help!
Hello, I'm assuming it would be the right place to ask : I am trying to play the music files from Detective Conan Runner on Android (com.bushiroad.en.conanrunner) without success.
Inside the apk there is a "sound" folder with acb and awb files, I was able to extract them with vgmtoolbox but the resulting files (either hca or adx) still won't play correctly with foobar2000 and vgmstream.
bnnm kindly helped me found the key but I failed to decode the hca files. Thought it was something wrong with the tools I used and left this behind.
I just found it today that the key bnnm gave me(0x0000001C5E0D3154) was used for criware movie files(usm). I used this key and decoded a movie file successfully.
Seems that this game uses different keys for audios and videos. Could someone check this please?
@random - added key for Detective Connan Runner in the latest vgmstream.
Also updated cri movie unpacked tool to handle multiple streams found in Dragalia Lost https://mega.nz/#!TJQniYwL!Dp_D-KvzVlVgTwqzVJc1n3vslBZsHdy8pdDqzhRtsOI
@sandimy - all music works fine in vgmstream, but you must open the .acb instead of extracting the .hca. Otherwise you'll need to manually create a key per song, since there is a sub-key in every .acb.
Hi guys, I'm trying to extract the video in a game called Uni's On Air. I tried for a few days, still haven't managed to find anything decent. Can you guys please help me to find the key?
id:jp.aktsk.unisonair
The APK along with some cpk (usme files inside) files downloaded from the server: https://drive.google.com/open?id=196wwkdk2JCP-8qak0QkbWMvJ1VQoBV9j
USM keys are often the same as HCA keys (not always), so I just tried that. The HCA key is the same as Shin Tennis no Ouji-sama: Rising Beat (same dev), plus in Unity games keys are often in plain text and easy to find. (also see here)
Hey guys, I was wondering if anyone is able to decrypt the HCAs for Touhou Gensou Mahjong for the Switch? Whenever I try to play the files, they either come out silent or glitched. I have a similar problem with Billion Road (also for Switch). Thanks in advance to anyone who can help!
As mentioned above, nobody can do anything with HCAs only.
You need to post the executables, or in case of Unity games, all files with normal-looking names (or maybe just all files), and don't extract the .acb/awb either.
Hello guys, im trying to access Digimon Story Cyber Sleuth: Complete Edition (Steam) video files (which are USM files inside DSDBS.steam.mvgl) but when i try to use VGMToolbox Video Demultiplexer the resulting video seems to be corrupted for every file (green video with variable length). The game launched October 2019 so it may be kinda new and it seems to use an unkown encryption key. I would really appreciate if someone could help me getting those files or the key which are using.
Hello there. I was wondering if I could get any help finding the HCA key for the Toji no Miko app game, which has an Android ID of com.square_enix.android_googleplay.TojinomikoTomoshibi. I've put what I hope are helpful files in a folder here. Thank you very much.
Okami HD usm video key by paconaranjo at 3:14 AM EDT on October 20, 2020
@bnnm We use CRID.usmDemux_Tool_v1.02-mod to extract audio from Okami usm videos, but only audio. The video needs another key I suppose. Could you help us? We want to translate the videos to our language. The HCA keys we found are 9A559E5294553343 and 0655F1528455CC43 .The Switch Translate ESP group. Many thanks.
Here some videos from Steam Forum: mega.nz/#F!up0ghSha!rdP-ngNQmv1-tPc0wMwEcw drive.google.com/open?id=174WyE3M9_XUhqQIUQPmMcRvRnkHCaeuI
Hi, I hope this is the right place. I'm trying to extract audio and video files from the game "HoneyWorks Premium Live", but I'm currently missing the right key. I was wondering if someone here could help me with that?
id:jp.aktsk.honeyworkspremiumlive
The APK along with some cpk files (two audio and one presumably video) from the game, are in this drive folder: https://drive.google.com/drive/folders/1x-QdE1gHg6zDR0ZubKUHb1sU4Q5tS_Au?usp=sharing
Genshin Impac by eleiyas at 3:12 PM EST on February 12, 2021
@bnnm
Genshin Impact?
VGMToolBox will extract the USM and the audio files play fine (4x .hca files), but my issue is the video, which is an unplayable .m2v, likely meaning it's encrypted.
I'm not savvy enough with hex to understand what "larger than 0x140" and "repeating 0x20" means, so could you please assist?
Readme explains how to decrypt audio, which is not your case.
You need to find the video key. Key is usually inside some Unity script (depends on game), or in the global-metadata.dat file.
Try loading Unity files with AssetStudio and looking for monobehaviors named Cri(something) then extracting as raw, and looking at the context with a hex editor. Keys is a regular number in plain text.
by EHT_shiniori at 4:41 PM EST on February 21, 2021
is there any new version of that one USM demuxer lying around?
---
oh, new version was there two pages ago. grabbed it, saved it to an external drive, extracted it to a folder, then executed crid_mod to demux the usm file i wanted. fair enough.
what isn't "fair enough" is that, for video demuxing, crid_mod produces an m2v file that cannot be played on mpv, ffplay, or really any video player out there that can handle m2v files.
VGMToolbox has been a great tool for decrypting audio however I’m running into an issue now. I’m not sure if something is happening with the key randomly in some of these files but when I go to decrypt some of the music from Phantasy Star Online 2 New Genesis randomly some of the music is coming out corrupted. It plays fine within the game but it’s just a digital audio mess when played back. Most segments are fine and don’t have any issues.
The song begins as a compressed .cpk (231c67721735cad54dbccde2317e50) file which is then uncompressed into the multi-segment track. From there I load up foobar2000 with the VGMToolBox plugin to then convert the .hca files into .wav. Randomly the conversion fails and gives me digital garbage instead.
(Maybe this is part of the problem but the regular VGMToolBox.exe gets stuck in an endless loop of trying to extract the .hca and instead it fails and just creates a folder with the same .hca inside of it.)
I’ve set up a share folder an example. https://easyupload.io/ng450x These files combine into a single track when played in order (so just throw them into a playlist.) In this case the following came out corrupted.
I had a flash of inspiration and improved HCA key detection, so you don't need to do that anymore.
Genshin Impact key by Someone at 8:46 AM EDT on July 24, 2021
I'm trying to find the key for the video for Genshin Impact. So, I de-encrypted the global-metadata.dat file, but I'm lost now. What should I look for in the file, where should I look? I tried importing the folder into AssetStudio but the app would just crash. What should I do? Where am I doing wrong?
Yes it does, I got all the USM files, and audio extract as usual. Just the audio. Funny though, most cut-scenes can be rendered on the go, but they chose to explicitly render some scene, like ayaka dance, or the boss fight aftermaths, I think to help adding environment effects that can be too hard to render on the go.
Set render resolution to 0.6, you should notice some sections that is way clearer then it should be under that resolution, these are the videos.
What I've done so far: - Downloading VGMToolbox and installing vgmstream plugin on foobar. - Drag-and-dropping the awb file directly into foobar revealed five playable tracks but all of them produced static noise. - When using VGMToolbox's Common Archives - CRI ACB/AWB Archive Extractor, it created acb/awb folder and awb folder. The former had five hca tracks but all of them had zero byte; the latter had five bin tracks but all of them also zero byte. - When using VGMToolbox's Streams - CRI HCA Extractor, it created five playable hca files (not zero byte), but all of them also produced static noise; pretty much the same noise with the first case (drag-and-dropping directly into foobar)
If my understanding is correct, the acb/awb file is encrypted and VGMToolbox just picked a wrong key to decrypt. Is that correct? But I have no luck finding the key among the data files, and even if I know the key, I still don't know how to tell VGMToolbox to extract using the said key. I actually have tried other tools like quickbms, vgaudio and vgmstream but nothing produces better than what VGMToolbox has achieved.
If awb have noise that means key is missing from the known list.
You can add your own key by making a binary ".hcakey" file with the key (8 bytes) in the same folder and playing with foobar/vgmstream, shouldn't extract with vgmtoolbox these kind of files.
Gave a look but didn't find it in typical key locations, maybe they are in the (encrypted?) .lua files or something.
I still have no clue where to find this key. Couldn't find anything with .lua either. Does uploading the "Android/data/com.xxx" folder to you have any effect? I checked the folder and it has around the same size as the apk itself.
The obb file is very huge (one file whose size is more than 1 Gb). I don't think the key is hidden somewhere in this file, but it's never hurt to ask. If my assumption turns out to be false, then I'll upload the file later.
Beside these two locations, is there any possibility of other locations to be checked? Like the location of the aforementioned possibly-encrypted .lua file?
Hi everyone, I need some help to find key from this game "乃木坂的フラクタル". I find a string "984635491346198130" like a key from it's "CriWareInitializer.dat",but cannot decrypt files correctly.
The game's android id is "jp.co.gu3.delta". Here are some .acb(with .awb) files from the server. And the apk file of the game.
I've been messing around with Touhou Danmaku Kagura, and I have a similar situation to the above post.
According to CriwareInitializer the key is 1234567890 = 00000000499602D2. But that key doesn't decode the files correctly. This leads me to believe either the key is being modified before it's used, or (less likely) the encryption method has changed.
Special thanks to https://estertion.win/2021/08/touhou-danmaku-kagura/
Unity keys are/were often under the carpet but devs are getting clever, so don't feel too bad if you get no response.
Thanks for including Il2CppDumper/Inspector output btw, though I'd rather have the unobfuscated global-metadata.dat (more flexible). In this case it was a simple XOR, but some get complex too. IDA can be slow when loading everything tho so it's hard even with il2cpp stuff.
Updated - It seems like I was using a really outdated version so I was unable to extract the .wav file. I just downloaded the newest one and works like a charm! Sorry for messing up the board
Hi, I'm searching for a way to extract the audio files from THE IDOLM@SER SideM GROWING STARS.
Checked the CriWareInitializer and found "key": "765765765765765", but don't know how to do so...
I’d appreciate it if you could give some help with this one.
Every network message, master data, and asset bundle list are packed with protobuf, so it's way better to use them rather than reading the raw dump of protobuf message.
@bnnn Thank you very much for your hard work. The key works flawlessly. My problem is finally solved after two months. :)
If possible, I'd like to know how you did solve the problem. Basically I've tried everything I can, using different softwares, unpacking and analyzing almost all files both on the APK and OBB, using HEX viewer to search any suspicious sequence, but still couldn't find anything.
I still suspect key is loaded from encrypted .lua files (other Chinese games seem to do that). Would've been a hassle to figure out though, so I just did a memory dump while running the game (keys should be somewhere in memory) and used a key extracting tool thingie.
It's a bit annoying to setup and clever devs can defeat this method, but most don't suspect a thing, so usually works as a last resort.
Wow, that's something that never crossed into my mind. Next time I'll try to research into that field when I stumbled across similar problem on different game. Anyway, thank you very much for helping me, and perhaps I'll ask again about this memory dumping method in the future.
I would like to extract the Music from "Super Robot Taisen 30" that I purchased on STEAM, but the HCA file seems to be encrypted and I am having a hard time decoding it correctly. When I open it in a binary editor, the header is HCA, and when I open it in foobar2000, it recognizes the length of the song, but when I try to play it, it doesn't decode properly and only plays strange sounds. Please tell me how to get the key to decrypt the HCA.
These are the HCA files that are encrypted and the files that seem to be related to them. https://mega.nz/file/vaRkiLqa#BJ_f3tTRU3vxnf5AeUP6PIchbGgegkMaRcCpKxy7cBI
Thank you.
Tekken 8 Beta by SirVH2 at 7:22 PM EDT on October 23, 2023
I'm trying to discover the USM keys for Tekken 8 PC Beta.
Those are the files and I have no idea what to even do to get the subkey (if needed) for it. Searching brings me either here or Xentax (rip).
Some notes in the header * Tool Ver. : Ver.3.48.02 * ACB Ver. : Ver.1.40.0
So no idea if that helps.
edited 9:23 PM EST November 10, 2023
Washing Game by stdpi at 3:47 PM EST on February 9, 2024
Need help, where I have lots of hca and adx which should have funny sound, but using so many tools, no avail.
Sample file: https://files.catbox.moe/l9ze0x.hca (which I tried so many toys but only noise, no funny sound) https://files.catbox.moe/nbh62h.adx (not priority but clues in hexdump leads here)
Dumped key: 0x7F4551499DF55E68
And seemingly, the interface of intergeration should look exactly like this where the key is in string-ed uint64: https://www.criware.com/en/products/images/adx2_06.jpg
Also, there is "Auth file name" which lead to https://files.catbox.moe/joowc9.dat