A nuget package that contains a template for creating outer wilds mods
Run
dotnet new --install Bwc9876.OuterWildsModTemplate
Check the getting started page on the OWML docs for a more thorough guide.
Run
dotnet new sln --name MySolutionName
dotnet new OuterWildsMod -n MyProjectName --AuthorName MyName
dotnet sln add MyProjectName/
This creates a new solution file in the current folder, generates the project, and then adds the project to the solution.
You can also make a new git repo by running git init
if you have the git cli installed.
To set up a New Horizons addon do
dotnet new OuterWildsMod -n MyProjectName --AuthorName MyName --usesNH true
The author of the mod. Default: Ernesto
Whether to turn this mod into a New Horizons addon:
- Adds the INewHorizons Interface
- Gets the API and loads config in
Start
- Adds New Horizons as a dependency
- Ensures
planets
,translations
,systems
,addon-manifest.json
, andsubtitle.png
are copied to the output folder
Defaults to false
.
If you have an existing project and want to add the workflow to it, follow this guide.
- Copy
templates/Outer-Wilds-Mod-Template/parent-stuff/.github/workflows/release.yml
. - Change
PROJ_USERNAME
near the top to the safe author name (the string in theuniqueName
before the.
). - Change the
PROJ_NAME
near the top to the safe project name (the string in theuniqueName
after the.
). Important: The project name must also be the project folder's name. Meaning the folder your .csproj file is in must be both at the root of the repo and have the same name as your project. (Most IDEs set it up this way by default) - That's it! Simply push the new workflow and run it.