• ⚠️ Mod Release Rules now apply to this board.

    All mods must include a license, source code (for executable mods), and proper attribution.

    Read the full rules here before posting.

KSA Code Mod Template

AMPW

Member
Messages
29
Reaction score
29
Template for a Kitten Space Agency code mod,
built on StarMap and KSAModTools (shared MSBuild config, KSA assembly resolution and CI actions, optional GitHub app for auto updates on the default branch).

Download and run the new-mod.sh bash script to get a ready to use mod in a minute.
The script downloads and renames the template at all relevant locations to your chosen modname, optionally it sets some attributes and uploads the repo to GitHub.

It's a very basic template with a ImGui window (in StarMapAfterGui) and a Harmony patch that just prints "Hello world from <ModName>!" before VersionInfo.CheckOnLaunch.
Everything after that is up to you.

Issues and improvements are always welcome, preferably via GitHub issues or pull requests.
License: Unlicense (removed by the script, add whichever license you want)
 
Last edited:
Back
Top