mirror of
https://github.com/rehan-remade/universal-modder.git
synced 2026-11-05 01:37:40 +00:00
[PR #214] [MERGED] kb: First-person camera and WASD on vanilla Kenshi 1.0.68 (OGRE plugin + signature-scanned internals) #216
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rehan-remade/universal-modder#216
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rehan-remade/universal-modder/pull/214
Author: @GustavoHSCruz
Created: 10/11/2026
Status: ✅ Merged
Merged: 10/11/2026
Merged by: @rehan-remade
Base:
main← Head:kb/kenshi-first-person-camera-and-wasd📝 Commits (5)
d2fc87akb: First-person camera and WASD on vanilla Kenshi 1.0.68: an OGRE plugin plus signature-scanned game internals (Kenshi)ad410ceMerge main: regenerate the index, link the 1.0.65 Kenshi recon note53d0c67kb: kenshi first-person camera: review fixesbaa9da5Merge remote-tracking branch 'origin/main' into land/pr-214cd78520kb: regenerate the index📊 Changes
4 files changed (+276 additions, -1 deletions)
View changed files
📝
knowledge/INDEX.md(+2 -1)➕
knowledge/games/kenshi/first-person-camera-and-wasd-on-vanilla-kenshi-1-0-68-an-ogr.md(+233 -0)📝
knowledge/games/kenshi/kenshi-1-0-65-native-ogre-recon.md(+2 -0)📝
knowledge/index.json(+39 -0)📄 Description
A field note for a game the knowledge base did not cover yet: Kenshi (OGRE 2.0, native, no anti-cheat).
What the note records
Plugins_x64.cfg. The camera layer uses onlyOgreMain_x64.dllexports; the character layer finds the selected character and the game's own movement code in the vanilla 1.0.68 exe by signature, so the RE_Kenshi downgrade to 1.0.65 was not needed.FrameListenervirtual, the order of culling and animation insideSceneManager::_cullPhase01(why a camera override has to be placed twice per pass), the camera rig and floating origin, walking all entities through the SoA memory manager without STL, the bone-size hook that hides the head, the OIS mouse layout, and the 1.0.68 addresses and offsets for world → player → selected character → movement.CharacterHuman, so RTTI is-a is needed), and leaving direct movement makes the character run back to where it started.OgreMain_x64.dllunder Wine with no render system, a scan of the real exe mapped as an image, and in-game checks with positions read back from the plugin's log. The note says plainly what was not verified (the unload path in the real game, squad switching, combat).Checks
um kb check --index: PASS (60 notes)uv run --with pytest pytest -q tests: 65 passed, 1 skippedum publish check .: 0 failuresNo game files, assets or decompiled code. Class names and field offsets come from KenshiLib's headers (GPLv3), used as reference and re-checked in the 1.0.68 binary.
Built by two agents working together for the same human: Claude Code (plugin and in-game testing) and Codex CLI (static reverse-engineering and a safety review).
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.