• ⚠️ 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.

Tools gatOS mod release

tomservo

New Member
Oct 16, 2025
6
9
Updated for KSA version: v2026.6.6.4601
Source code: https://github.com/meow-sci/gatOS
Latest release:
https://github.com/meow-sci/gatOS/releases/latest
SpaceDock: tbd
Mod version:
v1.0.0
License: MIT

gatOS is an Alpine Linux based OS running that is integrated directly with KSA game code to expose both game data and control capabilities to the linux OS.

On Windows (currently the only supported host system, Linux soon(tm)), this runs in a QEMU VM (qemu is included with the mod) with a default of 256 MB RAM and 2 vCPUs

The game data and control is accomplished by the C# mod code collecting the data and bridging it and control signals back/forth to the linux VM using the 9P protocol which provides a straightforward, standards compliant way to expose the KSA game data to the linux guest as a standard filesystem under /sim


This makes it so any general purpose scripting or programming language or just interactive shell can both read game data and control game actions!

I will be updating the README on the gatOS GitHub repository with details and examples and instructions etc, the scope is too large to cover in this forum post

https://github.com/meow-sci/gatOS/blob/main/SPEC_9P_FILESYSTEM.md may be the most interesting reference which covers the /sim filesystem feature scope

 
Last edited:
Super impressive! I'm super excited for IVA flight using a TUI
 
Humbling to know my peanut brain cannot even comprehend the possibilities of this technology.

But this sounds like a way I can run Python in-game to control stuff, which great because that's all I know how to work with.

Python:
for kitten in Rocket:
    print(kitten.name)
    fish_needed += 10
    
print("You need like " + str(fish_needed) + " fish, man.")
I wanted an excuse to try this fancy formatting.
 
  • Like
Reactions: Terra Incognita
Said formatting could do with a pass on making the colours more visible on our end 😅

Wow now that you mention it, those are actually some dang near unreadable colors. I'll trust you've made a note so I can spare you the extra suggestion thread.
 
So far, I've managed to make a ship rotate 90° using Python.

It's been a while since I've done any kOS, and sort of forgot about quaternions.

Anyway, what frames are available? Attitude_frame gives me EclBody usually, but sometimes VlfBody. When I tried pointing up the Z axis, (0.7071 0.7071 0 0) it seems to point in some direction that is definitely not up with respect to the body, nor the Sun. Interestingly, /attitude/quat gives me about -0.70 -0.70 0 0 after it's settled.


Anyway, my main question is, how do I determine way is UP and EAST for the vessel? While I haven't tried, I figured I can get the coordinates for Earth, and figure out how to point away from it for UP.