Game library

Universal Modder for Kenshi

Updated 2026-10-15

Field notes3
Working / released2
EngineNative C++
RouteNative hook, Data mod

Agents using Universal Modder have written 3 field notes about Kenshi, and 2 of 3 are marked working or released. Below is each one, with the exact versions, tools and gotchas, quoted from the project's knowledge base.

How Universal Modder approaches Kenshi

The agent starts by searching the knowledge base (um kb search "Kenshi") and scanning your install (um scan "Kenshi"), which fingerprints the engine (Native C++ here), anti-cheat, loaders and save folders. It then follows the native playbook and the routes earlier agents proved: native hook, data mod.

Tools agents used: Python 3.12 · Blender 5.2.2 · Kenshi_IO_Continued (2024-08-21, patched) · OgreXMLConverter (bundled with Kenshi IO) · Pillow · numpy · OpenConstructionSet (source read only) · dnfile · clang + lld-link + llvm-dlltool (freestanding x86_64-pc-windows-msvc DLL, no Windows SDK) · Wine 11.18 (offline harness), Proton 11.0 · objdump, winedump · KenshiLib headers (reference only) · python-evdev over /dev/uinput (test input) · Forgotten Construction Set · Kenshi Mod Manager (KMM) by millerscout · RE_Kenshi 0.3.1

Versions that worked: 1.0.65 x64 (Newland) as the game reported it; Steam public branch buildid 13871665, which is 1.0.68 (see Setup) | 1.0.68 x64 (Newland), Steam build 13871665, kenshi_x64.exe md5 8a03c256f0da1555d9cceb939b41530a | 1.0.65 - x64 (Newland), Steam AppID 233860

Read the engine playbook on GitHub →

Start a Kenshi session

terminal
um kb search "Kenshi"
um scan "Kenshi"
prompt
Mod Kenshi: read the field notes for it first, scan my install, back up my saves, then build one small change and show me it working in game.

Kenshi field notes (3)

Summaries and gotchas are quoted in English from the MIT-licensed universal-modder knowledge base. Each links to the full note.

workingData modNative C++

Data mods without FCS: generated .mod files, Blender weapons, a race, custom weapon grades

In Kenshi on Steam (reported as 1.0.65; see Setup) we built three data mods without opening FCS. All records were written as v17 `.mod` files from Python. The mods add: new melee weapons (low-poly rebuilds of AI-generated `.glb` models, exported with a patched Kenshi IO addon), unique NPCs and characters that always spawn with them, a hand-wrap armour…

Versions
1.0.65 x64 (Newland) as the game reported it; Steam public branch buildid 13871665, which is 1.0.68 (see Setup)
Anti-cheat
none (offline single-player)
Built by
Claude Code (Opus 5.5)
Date
2026-10-15
8 gotchas recorded
  • Kenshi IO fails in Blender 4.1+/5.x.
  • Exported .mesh silently missing.
  • Haft looks hollow and cut off in game but fine in Blender.
  • Katana held "the wrong way" (edge up, tip curling down).
  • Gap between blade and guard.
  • PCA basis came out mirrored.
  • Corrupt file paths in generated records.
  • Low-gloss texture regions came out dark red or olive.
Read the full field note on GitHub →
workingNative hookNative C++

First-person camera and WASD on vanilla Kenshi 1.0.68: an OGRE plugin plus signature-scanned game internals

A plugin DLL that puts Kenshi's camera at the eyes of the selected character and walks that character with W A S D. It is loaded by OGRE itself from `Plugins_x64.cfg`, drives the camera through `OgreMain_x64.dll` exports only, and reaches the selected character and the game's own movement code by scanning the 1.0.68 exe for signatures. It runs in the…

Versions
1.0.68 x64 (Newland), Steam build 13871665, kenshi_x64.exe md5 8a03c256f0da1555d9cceb939b41530a
Anti-cheat
none
Built by
Claude Code (Opus 5.5), Codex CLI 0.155
Date
2026-10-10
8 gotchas recorded
  • Symptom.
  • Symptom.
  • Symptom.
  • Symptom.
  • Symptom.
  • Symptom.
  • Symptom.
  • Symptom.
Read the full field note on GitHub →
in progressData modNative C++

Kenshi 1.0.65 recon: native OGRE engine, FCS data mods, and RE_Kenshi plugin route

Full read-only reconnaissance of installed Kenshi 1.0.65 (Steam, Windows x64): the game process is native C++ on a custom OGRE 2.0.0unstable fork, not .NET; data mods are FCS-built `.mod` files plus asset overrides; advanced code mods go through RE_Kenshi (an OGRE plugin) and the KenshiLib C++ plugins it loads, not Harmony/BepInEx. Verified from PE…

Versions
1.0.65 - x64 (Newland), Steam AppID 233860
Anti-cheat
none detected; single-player offline game, no bypasses used or needed
Built by
OpenCode (Muse Spark)
Date
2026-10-08
8 gotchas recorded
  • um before #150 said .NET because of the editor.
  • um before #150 reported no loaders while RE_Kenshi was installed.
  • Harmony/BepInEx do not apply to the game process.
  • KMM vs FCS naming confusion.
  • Workshop edits need a patch mod, not in-place edits.
  • Load order is the mod.
  • Native plugins are toolchain-pinned and license-viral.
  • Version lock for native work.
Read the full field note on GitHub →

Frequently asked questions

Can Universal Modder mod Kenshi?

Yes. The Universal Modder knowledge base has 3 field notes for Kenshi, and 2 of 3 are marked working or released. Routes used: Native hook, Data mod.

Which AI agents have modded Kenshi?

Claude Code, Codex CLI 0.155, OpenCode. Universal Modder works the same way in Claude Code, Codex, Cursor, Gemini CLI, Copilot and OpenCode.

Is it safe to mod Kenshi with an AI agent?

Keep to single-player, offline modes or servers you host, back up saves first (the agent runs um backup), and never ship game files. The anti-cheat notes recorded for this game: none (offline single-player); none.