From 81e80d0a77c2b2638cb2e69b47dddab0ba81b35f Mon Sep 17 00:00:00 2001 From: Xgames Date: Sun, 17 Apr 2022 15:24:18 +0200 Subject: [PATCH] --- Documentation/CreatingMods/CreatingMods.md | 9 ++++++++- Documentation/CreatingMods/PMFTool/InstallPMFTool.md | 8 +++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/Documentation/CreatingMods/CreatingMods.md b/Documentation/CreatingMods/CreatingMods.md index b75ff3a..a27ca66 100644 --- a/Documentation/CreatingMods/CreatingMods.md +++ b/Documentation/CreatingMods/CreatingMods.md @@ -20,7 +20,14 @@ Note: A helpful resource for making mods is [MelonLoaderDocs](https://melonwiki. ## Setup a project Using the template -1) Install the template from the latest release +1) download ```XGames105.PMF.Templates.0.3.0.nupkg``` from the latest release + +2) Install the template by running ```dotnet new --install C:/full/path/to/XGames105.PMF.Templates.0.3.0.nupkg``` + + Note: --install should end with XGames105.PMF.Templates.0.3.0.nupkg + + Note: To uninstall the templates run ```dotnet new --uninstall XGames105.PMF.Templates``` + 2) Create a new project and select the 'Empty PMF mod' 5) run ```PMFTool update-dlls``` 6) to run use ```PMFTool run``` diff --git a/Documentation/CreatingMods/PMFTool/InstallPMFTool.md b/Documentation/CreatingMods/PMFTool/InstallPMFTool.md index dce4330..7d479fb 100644 --- a/Documentation/CreatingMods/PMFTool/InstallPMFTool.md +++ b/Documentation/CreatingMods/PMFTool/InstallPMFTool.md @@ -2,7 +2,13 @@ 1) go to the latest release of pmf and download ```XGames105.PMFTool.1.0.0.nupkg ``` -2) run ``` dotnet tool install XGames105.PMFTool --global --add-source path/to/the/DIRECTORY/where/XGames105.PMFTool.1.0.0.nupkg/is``` Note: --add-source is the path to the directory where XGames105.PMFTool.1.0.0.nupkg is not XGames105.PMFTool.1.0.0.nupkg itself Note: --global is optional if that is not set PMFTool will only be installed for the current project +2) run ``` dotnet tool install XGames105.PMFTool --global --add-source C:/full/path/to/the/DIRECTORY``` + + Note: --add-source is the path to the directory where XGames105.PMFTool.1.0.0.nupkg is not XGames105.PMFTool.1.0.0.nupkg itself + + Note: --global is optional if that is not set PMFTool will only be installed for the current project + + Note: To uninstall PMFTool run ```dotnet tool uninstall XGames105.PMFTool ``` 3) got to the user directory (C:/User/YourName) and create a file called ```.pmftoolconfig``` and add this ```ini