PLMIDI2VG 0.0.1

dotnet add package PLMIDI2VG --version 0.0.1
                    
NuGet\Install-Package PLMIDI2VG -Version 0.0.1
                    
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="PLMIDI2VG" Version="0.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PLMIDI2VG" Version="0.0.1" />
                    
Directory.Packages.props
<PackageReference Include="PLMIDI2VG" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add PLMIDI2VG --version 0.0.1
                    
#r "nuget: PLMIDI2VG, 0.0.1"
                    
#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.
#:package PLMIDI2VG@0.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=PLMIDI2VG&version=0.0.1
                    
Install as a Cake Addin
#tool nuget:?package=PLMIDI2VG&version=0.0.1
                    
Install as a Cake Tool

📖 Platinum Lucario's MIDI to Video Game Converter Library (PLMIDI2VG)

This handy library can be used to convert MIDI to other video game sequence source code formats.

It utilises Kermalis's KMIDI to handle MIDI files.

This library can handle the following sequence formats:

Game Boy Advance formats

Music Player 2000 (MP2K)

A common sequencing format used in many Game Boy Advance games. PLMIDI2VG is equiped with a MIDI to MP2K converter, a rewrite into C# based on the midi2agb decomp code.

All that's needed is to specify the following in your project code:

MIDIConverter converter = new MIDIConverter(inputName);
converter.SaveAsASM(outputPath)

That's it! That's all that it needs. However, if there's some specific arguments that need to be specified (eg. compression), then it'll need to be specified in there too, for example:

internal class SaveASM
{
    internal SaveASM(MIDIFile inputName, string outputPath)
    {
        MIDIConverter converter = new MIDIConverter(
            inputName, "output_file", 127, "_dummy",
            0, -1, 1, false, true);
        
        converter.SaveAsASM(outputPath)
    }
}

Special Thanks:

  • Kermalis - For KMIDI and helping me understand the inner workings of the engines
  • CodaHighland - For guidance and support on the differences between C++ funcs and C# funcs, and other programming-related answers to stuff I didn't quite understand
  • YamaArashi - For writing the decompiled code of mid2agb
  • ipatix - For midi2agb and its improvements over the classic mid2agb
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

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
0.0.1 32 3/26/2026