Giter Club home page Giter Club logo

ncmdump's Introduction

ncmdump

使用本程序可将下载的网易云音乐缓存文件(ncm)转换为 mp3 或 flac 格式

简介

该版本为最早的 C++ 版本,也是作者开发的市面上第一个支持 ncm 转换的程序

源码复刻自 anonymous5l/ncmdump,感谢前辈的付出!做了 Windows 下的移植,修复了一些编译问题

1.3.0 版本更新说明:因为之前有小伙伴反馈无法解密带有特殊字符的文件名,例如中文、日文、韩文或者是表情符号等,在1.3.0以及之后的版本彻底修复了这个问题,所有的 UTF-8 字符都可以正常解密。并且还自带了 dll 的构建,可以供其他应用程序(C#、Python、Java等)调用。

传送门

2021年10月6日,原作者已经删库

使用

你可以使用 Homebrew 来安装 ncmdump

brew install ncmdump

或者从 Release 下载最新版本的对应系统的已编译好的二进制文件

使用 -h--help 参数来打印帮助

ncmdump -h

命令行下输入一个或多个文件

ncmdump file1 file2...

你可以使用 -d 参数来指定一个文件夹,对文件夹下的所有文件批量处理

ncmdump -d folder

编译项目

克隆本仓库

git clone https://github.com/taurusxin/ncmdump.git

更新子模块

cd ncmdump
git submodule update --init --recursive

使用 CMake 配置项目。Windows 下若使用 GNU 套件,推荐使用 msys2 或者 winlibs

# Windows MinGW
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -B build

# Windows MSVC
cmake -G "Visual Studio 17 2022" -A x64 -B build

# Linux / macOS
cmake -DCMAKE_BUILD_TYPE=Release -B build

编译项目

# Windows MSVC 需要在构建阶段指定 --config Release
cmake --build build -j 8 --config Release

# Windows MinGW / Linux / macOS
cmake --build build -j 8

你可以在 build 文件夹下找到编译好的二进制文件,以及一个可供其它项目使用的动态库(Windows Only),使用方法见仓库的 example 文件夹

ncmdump's People

Contributors

taurusxin avatar s12mmm3 avatar wshon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.