Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Xgames authored and Xgames committed Apr 17, 2022
1 parent 1a317e0 commit 81e80d0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
9 changes: 8 additions & 1 deletion Documentation/CreatingMods/CreatingMods.md
Original file line number Diff line number Diff line change
Expand Up @@ -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```
Expand Down
8 changes: 7 additions & 1 deletion Documentation/CreatingMods/PMFTool/InstallPMFTool.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 81e80d0

Please sign in to comment.