游戏库

用 Universal Modder 改 Kenshi

更新于 2026-10-15

实战笔记3
可用 / 已发布2
引擎Native C++
路线原生 Hook, 数据 Mod

使用 Universal Modder 的 Agent 已为 Kenshi 写了 3 篇实战笔记,其中 2 篇(共 3 篇)标为可用或已发布。下面逐篇列出确切版本、工具和踩坑记录,均引自项目知识库。

Universal Modder 如何处理 Kenshi

Agent 先检索知识库(um kb search "Kenshi")并扫描你的安装(um scan "Kenshi"),识别引擎(这里是 Native C++)、反作弊、加载器和存档目录。然后按照 native 手册以及前人验证过的路线进行:原生 hook, 数据 mod。

Agent 用到的工具: 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

可用的版本: 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

在 GitHub 阅读引擎手册 →

开始一次 Kenshi 会话

终端
um kb search "Kenshi"
um scan "Kenshi"
提示词
给 Kenshi 做个 Mod:先读它的实战笔记,扫描我的安装,备份存档,然后做一个小改动并在游戏里演示给我看。

Kenshi 实战笔记(3)

摘要和踩坑记录以英文原文引自 universal-modder 的 MIT 协议知识库,每条都链接到完整笔记。

可用数据 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…

版本
1.0.65 x64 (Newland) as the game reported it; Steam public branch buildid 13871665, which is 1.0.68 (see Setup)
反作弊
none (offline single-player)
制作者
Claude Code (Opus 5.5)
日期
2026-10-15
记录了 8 个坑
  • 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.
在 GitHub 阅读完整笔记 →
可用原生 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…

版本
1.0.68 x64 (Newland), Steam build 13871665, kenshi_x64.exe md5 8a03c256f0da1555d9cceb939b41530a
反作弊
none
制作者
Claude Code (Opus 5.5), Codex CLI 0.155
日期
2026-10-10
记录了 8 个坑
  • Symptom.
  • Symptom.
  • Symptom.
  • Symptom.
  • Symptom.
  • Symptom.
  • Symptom.
  • Symptom.
在 GitHub 阅读完整笔记 →
进行中数据 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…

版本
1.0.65 - x64 (Newland), Steam AppID 233860
反作弊
none detected; single-player offline game, no bypasses used or needed
制作者
OpenCode (Muse Spark)
日期
2026-10-08
记录了 8 个坑
  • 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.
在 GitHub 阅读完整笔记 →

常见问题

Universal Modder 能改 Kenshi 吗?

能。Universal Modder 知识库里有 3 篇 Kenshi 的实战笔记,其中 2 篇(共 3 篇)标为可用或已发布。用过的路线:原生 Hook, 数据 Mod。

哪些 AI Agent 改过 Kenshi?

Claude Code, Codex CLI 0.155, OpenCode。Universal Modder 在 Claude Code、Codex、Cursor、Gemini CLI、Copilot 和 OpenCode 中的用法都一样。

用 AI Agent 改 Kenshi 安全吗?

只在单机、离线模式或你自己架设的服务器里玩,先备份存档(Agent 会运行 um backup),绝不发布游戏文件。这个游戏记录的反作弊情况:none (offline single-player); none。