Skip to content
forked from kohos/CriTools

Library for extracting Cri-based audio files.

License

Notifications You must be signed in to change notification settings

djzmo/node-critools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-critools

Node.js library for extracting Cri-based audio files originally written by kohos. This library is created as an interface for other node.js apps to be able to access the functionalities of the tool.

Usage

$ npm install node-critools

Example

import {acb2wavs} from "critools";
await acb2wavs("./test.acb", key, "./");

API

acb2hcas(acbPath, key?, hcaDir?, type?, skip?)
acb2wavs(acbPath, key?, wavDir?, volume?, mode?, skip?)
decryptAcb(acbPath, key?, type?)
awb2hcas(awbPath, key?, hcaDir?, type?, skip?)
awb2wavs(awbPath, key?, wavDir?, volume?, mode?, skip?)
decryptAwb(awbPath, key?, type?)
decodeHca(buffer, key?, awbKey?, volume?)
decodeHcaToWav(buffer, key?, awbKey?, wavPath?, volume?, mode?)
decryptHca(buffer, key?, awbKey?, type?, hcaPath?)
extractCpk(cpkPath, output?)
parseUtf(buffer, toString?)
viewUtf(acbPath, outputPath?)

License

Released under the MIT License.

Credits

About

Library for extracting Cri-based audio files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%