1
0
mirror of synced 2024-11-27 15:50:48 +01:00
JavaScript tools for extract audio from game file
Go to file
2019-11-14 11:40:43 +08:00
.gitignore first commit 2019-11-14 11:40:43 +08:00
afs2.js first commit 2019-11-14 11:40:43 +08:00
hca.js first commit 2019-11-14 11:40:43 +08:00
index.js first commit 2019-11-14 11:40:43 +08:00
keys.txt first commit 2019-11-14 11:40:43 +08:00
LICENSE first commit 2019-11-14 11:40:43 +08:00
package.json first commit 2019-11-14 11:40:43 +08:00
README.md first commit 2019-11-14 11:40:43 +08:00
utf.js first commit 2019-11-14 11:40:43 +08:00
win_acb2hcas_decrypt.bat first commit 2019-11-14 11:40:43 +08:00
win_acb2hcas.bat first commit 2019-11-14 11:40:43 +08:00
win_acb2wavs.bat first commit 2019-11-14 11:40:43 +08:00
win_awb2hcas_decrypt.bat first commit 2019-11-14 11:40:43 +08:00
win_awb2hcas.bat first commit 2019-11-14 11:40:43 +08:00
win_awb2wavs.bat first commit 2019-11-14 11:40:43 +08:00
win_decrypt_acb.bat first commit 2019-11-14 11:40:43 +08:00
win_decrypt_awb.bat first commit 2019-11-14 11:40:43 +08:00
win_decrypt_hca.bat first commit 2019-11-14 11:40:43 +08:00
win_hca2wav.bat first commit 2019-11-14 11:40:43 +08:00
win_mix_acb.bat first commit 2019-11-14 11:40:43 +08:00
win_view_utf.bat first commit 2019-11-14 11:40:43 +08:00

CriTools

JavaScript tools for extract audio from game file

Requirements

Node.js LTS

Usage

node index.js <Command> <Options> <Path>...

Command

acb2hcas [-d] [-k <key>] [-t <type>] [-o <outputDir>] [-s] <acbPath>...
acb2wavs [-k <key>] [-o <outputDir>] [-v <volume>] [-m <mode>] [-s] <acbPath>...
awb2hcas [-d] [-k <key>] [-w <awbKey>] [-t <type>] [-o <outputDir>] [-s] <awbPath>...
awb2wavs [-k <key>] [-o <outputDir>] [-v <volume>] [-m <mode>] [-s] <awbPath>...
hca2wav [-k <key>] [-o <outputFile>] [-v <volume>] [-m <mode>] <hcaPath>...
view_utf [-o <outputFile>] <acbPath/acfPath>...
decrypt_acb [-k <key>] [-t <type>] <acbPath>...
decrypt_awb [-k <key>] [-t <type>] <awbPath>...
decrypt_hca [-k <key>] [-w <awbKey>] [-t <type>] <hcaPath>...
mix_acb [-k <key>] [-o <outputDir>] [-v <volume>] [-m <mode>] [-s] <acbPath>...

Options

-d / --decrypt          Decrypt hca files
-k / --key <key>        Decrypt key
-w / --awbKey <awbKey>  Decrypt key In Awb File (Default: 0)
-t / --type <type>      Hca Encrypt Type (1 / 0) (Default: 1)
-o / --output <output>  Output Directory / File
-v / --volume <volume>  Wav Volume (Default: 1.0)
-m / --mode <mode>      Wav Bit Mode (Default: 16)
-s / --skip             Skip exists files

Features

acb2hcas - Extract acb file to hca files (with/without decrypt)

acb2wavs - Extract acb file and convert hca files To wav files

awb2hcas - Extract awb file to hca files (with/without decrypt)

awb2wavs - Extract awb file and convert hca files To wav files

hca2wav - Convert hca file To wav file

view_utf - Export data in utf format file to json file (acb/acf file)

decrypt_acb - Decrypt acb file (and awb files) (Warning: will overwrite orignal file)

decrypt_awb - Decrypt awb file (Warning: will overwrite orignal file)

decrypt_hca - Decrypt hca file (Warning: will overwrite orignal file)

mix_acb - Experimental. Convert acb file (and awb files) to mixed wav files

Tips

Drop acb/awb/hca files to win_*.bat is easy to use in Windows.

"CriAtomViewer" In "CRI ADX2 LE" can play acb/awb/hca files with encrypt type 1 (encrypt type 0 / 56 is not supported).

Some awb files in pc/web game is encrypted and not supported.

An easy way to find key: esterTion - 有关于criware的一点最终解决方案

License

MIT

Credits