Note: A helpful resource for making mods is MelonLoaderDocs
Note: if any of this documentation is wrong or contains spelling errors please create an issue or let me know on discord
Here is a getting started video
-
install the project template by running
dotnet new --install XGames105.PMF.Templates
-
Create a new project in your ide and select the 'Empty PMF mod' project template
-
build your project
-
open cmd or powershell in the directory of .csproj file and run
PMFTool run
-
If you need help feel free to start a issue on GitHub. or ask on discord
-
clone the repo
-
copy PMFTemplates/templates/TemplateMod to a new location
-
edit TemplateMod.csproj
-
build (if you get build errors try building again)
-
open cmd or powershell in the directory of TemplateMod.csproj and run
PMFTool run
-
If you need help feel free to start a issue on GitHub. or ask on discord
- open cmd or powershell in the directory of the .csproj file
- run
PMFTool pack --format Pmfm
you can change the format to zip if you want compatibility with raw melonLoader