Skip to content

StarMapLoader/StarMap

Repository files navigation

StarMap

A POC/Prototype arbitrary code modloader for Kitten Space Agency.
Currently this loader can be ran with this functionality in the background, or as a dumb loader just loading mods.
It makes use of Assembly Load Contexts to ensure mod dependencies are managed seperatly, reducing conflicts

Installation

  • Download and unzip release from Releases.
  • Run StarMap.exe, this will fail and create a StarMapConfig.json.
  • Open StarMapConfig.json and set the location of your KSA installation.
    • GameLocation should be set to the location where Kitten Space Agency was installed, pointing directly to that folder (e.g. C:\\games\\Kitten Space Agency\\)
    • RepositoryLocation can be kept empty
  • Run StarMap.exe again, this should launch KSA and load your mods.

Mod location

Mods should be installed in the mods folder in the KSA installation, any KSA mod that has a dll with the same name as the mod that impelements the IStarMapMod interface will be loaded.

Mod creation

For more information on mod creation, check out the example mods: StarMap-ExampleMods.

Future plans

The goal is to create a modloader similar to the mod functionality in Factorio, where users can select mods in game taken from a remote repository, and that those mods than get installed after an automatic restart of the game
It currently does this by using two processes to host the game itself seperately so it can restart
The idea would be to have the repository just be an index of mods, versions and download locations, and that the download locations themselves are seperate (for example github releases)

Credits

About

KSA Mod Loader

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •