Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I extract audio files? #23

Open
SealTart opened this issue May 28, 2023 · 1 comment
Open

How do I extract audio files? #23

SealTart opened this issue May 28, 2023 · 1 comment

Comments

@SealTart
Copy link

SealTart commented May 28, 2023

I'm trying to extract audio files from Azur Lane, specifically the voice lines. I don't know where the files are stored and I'm not sure if I'm extracting from the right folder.

AssetStudio

I've tried to use the AssetStudio program to extract them as well, but I am unsure as to what files/file extensions actually contain the audio (voice lines). When the file exports finished, I don't see any files with file extensions that contain audio (or I don't know which ones contain audio).

Note: I can't create an issue in AssetStudio repository, so I'm creating it here as it is somewhat related.

I'm currently extracting from the Android -> data -> com.YoStarEN.AzurLane -> files -> AssetBundles folder through an Android emulator. I'm not sure which folder within the AssetBundles stated above contains the voice lines.

.obb:

There is also a related Azur Lane file in Android -> obb -> com.YoStarEN.AzurLane -> main.62016.com.YoStarEN.AzurLane.obb that is 1.53 GB and I am unsure if this may contain the audio files (voice lines). I'm not sure if there is a correct way to extract from this. I've tried changing the file extension to .zip and extracting from that but got files that all ended in .ys. Then I tried extracting from that and got some different files with extensions like .resS and files that don't have file extensions.

Final Remarks

If there are specific file types to look out for, naming patterns (for files), specific procedures to follow, or any information on this, please let me know. If there is a tutorial out there that you can point me to, that would be helpful. Any help is appreciated.

Note: no problems with extracting the live2d files. I'll like to pair them up with the voice lines/audio.

@kiraio-moe
Copy link

kiraio-moe commented Oct 29, 2024

File Info

The BGM, voice line and other audio data are stored in com.YoStarEN.AzurLane/files/AssetBundles/cue/ with .b extension (CRI ACB file). Each ACB file can contains multiple audio data (CRI HCA file). The voice lines are named as cv-{ship_id}.

Extraction

Before doing extraction, you should checkout the cue folder in the .obb file. There's some audio files in there. You don't want to miss that.

Prequisite

Step-by-step

Extracting ACB file

  • Open VGMToolbox. Expand Extraction Tools -> Common Archives and select CRI/AWB Archive Extractor.
  • Drag & Drop the ACB files to VGMToolbox.
  • You should see the output folder _vgmt_acb_ext_cv-{ship_id}, located in the same directory as ACB files.

Decoding HCA file

  • Browse the extracted ACB folder and you should see many ACB files.
  • For easy use, drag & drop the HCA files to vgmstream-cli executable file.
  • The output file would be in WAV format <infile>.wav, located in the same directory as the HCA files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants