munix Posted March 8 Share Posted March 8 (edited) SpaceWarp Template for Visual Studio and .NET CLI This is a SpaceWarp 0.4+ mod project template for Visual Studio/.NET CLI. It allows you to quickly create and build a full-featured C# project for SpaceWarp, so you can get started with modding instead of wasting your time with project setup. It generates a folder structure based on the parameters you provide and includes build events to help you with packaging of your mod for debugging or release. Full documentation and installation instructions are available on the GitHub page. Spoiler Download Latest release available: GitHub releases NuGet package Changelog Spoiler v1.0.1.1 Added support for SpaceWarp 1.0.1 Added the CheckVersion property to support SpaceWarp mod version checking Added some example code for the new Vessel API extensions in the new SpaceWarp version Source code: https://github.com/jan-bures/SpaceWarp.Template/ License: MIT Edited Saturday at 05:14 PM by munix Quote Link to comment Share on other sites More sharing options...
munix Posted March 8 Author Share Posted March 8 Added a NuGet.org release: https://www.nuget.org/packages/SpaceWarp.Template Docs are updated with instructions on how to install the NuGet package, and how to install with .NET SDK <= 6. Quote Link to comment Share on other sites More sharing options...
Spartan190 Posted March 8 Share Posted March 8 Thanks for the template. Helps me a lot to get into modding As I am german and my Windows is german too I ran into a problem when building the project. When copying the files you echo "f" or "d" to tell if it's a file or directory. Well the problem here is that on my german windows it expects D (Datei) for files and V (Verzeichnis) for directories. I was able to fix it in the project file. Quote Link to comment Share on other sites More sharing options...
munix Posted March 8 Author Share Posted March 8 1 hour ago, Spartan190 said: Thanks for the template. Helps me a lot to get into modding As I am german and my Windows is german too I ran into a problem when building the project. When copying the files you echo "f" or "d" to tell if it's a file or directory. Well the problem here is that on my german windows it expects D (Datei) for files and V (Verzeichnis) for directories. I was able to fix it in the project file. Oh, that's good to know! I have my Windows in Czech but the xcopy command still has English input/output, so I expected that to be the standard behavior, guess I was wrong Quote Link to comment Share on other sites More sharing options...
munix Posted Saturday at 05:13 PM Author Share Posted Saturday at 05:13 PM Release 1.0.1.1 New version is available on GitHub releases and NuGet Gallery. Changes: Added support for SpaceWarp 1.0.1 Added the CheckVersion property to support SpaceWarp mod version checking Added some example code for the new Vessel API extensions in the new SpaceWarp version Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.