This is the Kenshi DLL mod for Stobe AI Framework.
RE_Kenshi.exeloadsStobe.dll.- Stobe captures gameplay context and chat events.
- Stobe sends HTTP requests to
StobeServer. - Stobe receives streamed dialogue/action lines and applies them in-game.
- Optional TTS audio is fetched and played while speech bubbles stay in sync.
Stobe uses layered INI config under Kenshi\\mods\\Stobe\\:
Stobe.ini: baseline defaults shipped with the mod and safe to overwrite on update.StobeCustom.ini: user/runtime overrides persisted across updates.
Load and save behavior:
- Load order is
Stobe.inifirst, thenStobeCustom.inioverrides. - Runtime/UI saves write to
StobeCustom.inionly. - On first run, if
StobeCustom.inidoes not exist, Stobe seeds it fromStobe.ini(or creates a minimal[Settings]file). ServerHost/ServerPortcan be overridden in the INI to point Stobe at a different machine; local defaults continue to use launcher discovery/fallback.
This preserves user settings while still allowing newly added defaults to flow in from updated Stobe.ini.
From repo root, use the locked SDK wrapper:
.\scripts\build-stobe-sdk.ps1Build and deploy to Kenshi in one command:
.\scripts\build-stobe-sdk.ps1 -DeployStobe requires MSVC 2010 x64 toolset (v100) for ABI compatibility with Kenshi/MyGUI dependencies.
- Enforced by build script:
scripts/build-stobe-sdk.ps1 - Required compiler path:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\cl.exe
If missing, install:
- Windows SDK 7.1 (
GRMSDKX_EN_DVD.iso, runsetup\SdkSetup.exe) - VS 2010 SP1 compiler update (
VC-Compiler-KB2519277.exe)
Then rerun:
.\scripts\build-stobe-sdk.ps1Note: deploy copies mod/* into Kenshi\\mods\\Stobe and will replace Stobe.ini there by design. User changes should live in StobeCustom.ini.
build-stobe-sdk.ps1 is self-contained (prepare SDK snapshot, build, optional deploy) and does not depend on the legacy wrapper scripts.
Building AI systems is complex, and changes can unintentionally affect other connected systems. Before opening a pull request, follow the repository PR template and make sure the change has been discussed with either RANGROO or tyler.maister in Discord. When adding new features, prefer making them optional or toggleable where practical.