Repository navigation
v0.0.1 Syntax
This is the wiki for v0.0.1, also known as "Evil Beta". It is made for StarMap 0.3.4 but is also confirmed to work on StarMap 0.3.6. (the latest as of now) The recommended game version is 2025.12.24.3014.
Every path used in tags is a path from Content, unless stated otherwise. (for example, if you want to access Kitten Space Agency/Content/Core/Astronomicals.xml, you will need to use Core/Astronomicals.xml)
The base patch must be located in a Patching.xml file somewhere inside your Content folder with root tag <Patch>. Every Patching.xml file in the folder is loaded, so it does not matter if the mod containing the Patching.xml file is added to manifest.toml to be loaded by KSA, since KittenPatcher bypasses that.
Example:
<Patch>
<PatchItem>
<PatchFile File="Core/EarthOnly.xml">
<PatchDelete Name="LoadFromLibrary"/>
</PatchFile>
</PatchItem>
</Patch>
This example would make loading the Earth Only system crash the game automatically since there is nothing being loaded.
The <Patch>...</Patch> root tag must exist for KittenPatcher to read the file. If the tag is not present, the patch will not be loaded or executed.
Inside the <KittenPatch> root tag, every <PatchItem> tag will be loaded and executed starting from the first tag. Each such tag contains a list of files to apply patches to and can be used for organization.
Inside the <PatchItem> tag, all <PatchFile> tags are executed.
<PatchFile> selects the file to patch using the File value which will specify the path from Content. The file is checked to exist first, if it does not the <PatchFile> will be skipped and this will be logged.
Every <PatchFile> contains a list of <PatchDelete Name>. Each one will delete the tag Name and each deletion will be logged. If there are no tags with name Name, nothing will happen.