ncmconverter 2.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package ncmconverter --version 2.1.0
NuGet\Install-Package ncmconverter -Version 2.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ncmconverter" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ncmconverter --version 2.1.0
#r "nuget: ncmconverter, 2.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ncmconverter as a Cake Addin
#addin nuget:?package=ncmconverter&version=2.1.0

// Install ncmconverter as a Cake Tool
#tool nuget:?package=ncmconverter&version=2.1.0

NCMConverter

原项目地址:ncmdump

食用方式

下载dlllibncmdump,放在输出目录(或者始终复制)

or

(需要客户机联网,不建议使用)调用Convert.GetDllFile()自动下载

方法

请先using NCMConverter

单文件

  • int Converter.Convert(string sourceFileName)

sourceFileName:源文件绝对路径

返回值:基本不用管,return 0成功,return 1失败,return -1找不到dll

结果:在源文件目录下生成转化后的文件

  • int Converter.Convert(string sourceFileName,string destFolderName)

sourceFileName:源文件绝对路径

destFolderName:输出目录绝对路径

返回值:基本不用管,return 0成功,return 1失败,return -1找不到dll

结果:在destFolderName下生成转化后的文件

目录(当前不支持多层目录,只能转换给定目录下的文件,如有文件夹不会搜索)

  • int Converter.ConvertDir(string sourceDirName)

sourceFileName:多个源文件所在的目录路径(如:C:/Music)

返回值:成功转换的个数

结果:将给定目录下所有ncm文件转换并存储在源目录

  • int Converter.Convert(string sourceFileName,string destFolderName)

sourceFileName:多个源文件所在的目录路径(如:C:/Music)

destFolderName:输出目录绝对路径

返回值:成功转换的个数

结果:在destFolderName下生成给定目录下所有ncm文件的生成文件

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.2.0 96 4/6/2024
2.1.0 101 2/9/2024
2.0.0 120 1/20/2024
1.0.7 108 1/20/2024
1.0.4 147 12/23/2023
1.0.3 94 12/23/2023
1.0.2 106 12/22/2023
1.0.1 101 12/22/2023
1.0.0 96 12/22/2023

基本功能