6.3.7 • Published 2 months ago
mishiro-core v6.3.7
mishiro-core
$ npm install mishiro-core
Require
- Node.js >= 10.8.0 || electron >= 4.0.0 (Node.js 10.11.0)
- Python 2.7
- Windows Visual Studio 2017/2019 with C++ build tools and .NET
- Linux make & gcc & g++
- MacOS Xcode Command Line Tools
Usage
const { Downloader, Client, audio, util, config } = require('mishiro-core')
let downloader = new Downloader() // download game resources
const {
acb2hca,
acb2wav,
acb2mp3,
acb2aac,
hca2wav,
hca2mp3,
hca2aac,
wav2mp3,
wav2aac,
MP3Encoder,
AACEncoder
} = audio // decode music
const {
Lz4, // LZ4 decompression class
unpackTexture2D // unpack pictures from unity3d assets bundle
} = util
const client = new Client('123456789:987654321:1a3b5c7d-1234-4bcd-9efa-8e6f4a2b7c5d')
// check game resource version
client.check().then(resVer => console.log(resVer))
// for more details, see index.d.ts and test.
Test
# use latest npm (6.10.2+ with node-gyp 5.x)
# npm 6.9.0 use internal node-gyp whose version is v3
# it's important to match the globally installed node-gyp version
# because the location where node-gyp v5 cache the node header
# is different from node-gyp v3
$ npm install -g npm
$ npm install -g node-gyp@9
# install node C++ header
$ node-gyp install # --target=<node version>
$ npm install # --no-package-lock
# npm run test-check
# npm run test-download
# npm run test-audio
$ npm test
License
- MIT
6.3.6
2 months ago
6.3.7
2 months ago
6.3.2
2 months ago
6.3.4
2 months ago
6.3.3
2 months ago
6.3.5
2 months ago
6.3.1
3 years ago
6.3.0
3 years ago
6.2.1
3 years ago
6.1.0
3 years ago
6.2.0
3 years ago
6.0.0
3 years ago
5.1.0
3 years ago
5.0.0
3 years ago
4.8.0
3 years ago
4.7.0
3 years ago
4.6.0
3 years ago
4.5.0
3 years ago
4.4.0
3 years ago
4.3.0
3 years ago
4.2.4
4 years ago
4.2.3
4 years ago
4.2.2
4 years ago
4.2.1
4 years ago
4.2.0
4 years ago
4.1.7
4 years ago
4.1.6
5 years ago
4.1.5
5 years ago
4.1.4
5 years ago
4.1.3
5 years ago
4.1.2
5 years ago
4.1.1
5 years ago
4.1.0
5 years ago
4.0.0
5 years ago
3.1.0
5 years ago
3.0.0
5 years ago
2.0.2
5 years ago
2.0.1
5 years ago
2.0.0
5 years ago
1.6.0
5 years ago
1.5.6
5 years ago
1.5.5
5 years ago
1.5.4
5 years ago
1.5.3
5 years ago
1.5.2
5 years ago
1.5.1
5 years ago
1.5.0
5 years ago
1.4.1
5 years ago
1.4.0
5 years ago
1.3.3
6 years ago
1.3.2
6 years ago
1.3.1
6 years ago
1.3.0
6 years ago
1.2.3
6 years ago
1.2.2
6 years ago
1.2.1
6 years ago
1.2.0
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago