ncmdump 0.0.3 ncmdump: ^0.0.3 copied to clipboard
Decrypt .ncm file and convert it to normal music format.
NCM Dump #
Decrypt .ncm file and convert it to normal music format.
Usage #
final ncm = NCM();
final raw = await File('a.ncm').readAsBytes();
ncm.setRaw(raw);
ncm.parse();
await File('a.${ncm.meta.format}').writeAsBytes(ncm.music);
Test #
Please copy your .ncm file to test/assets/a.ncm
.
And run the following command to test.
# convert .ncm to common music format
python3 test/ncmdumpy.py test/assets/a.ncm -o
# run dart test
dart test