[PR #208] [MERGED] kb: Tomb Raider: Legend film reloads, QA bridge and physics magazines via a native ASI; um win launch starts in the exe's folder #211

Closed
opened 2026-10-15 20:54:24 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rehan-remade/universal-modder/pull/208
Author: @skurtyyskirts
Created: 10/10/2026
Status: ✅ Merged
Merged: 10/11/2026
Merged by: @rehan-remade

Base: main ← Head: kb/tomb-raider-legend-film-reloads


📝 Commits (7)

  • 636cb6f kb: Tomb Raider: Legend film reloads, QA bridge and physics magazines via a native ASI (Tomb Raider: Legend)
  • c6f2c1c win launch: start the exe in its own folder (games open data files relative to the working directory)
  • 77552f1 tests: um win launch starts the exe in its own folder
  • cd2da00 kb: Legend note: address Copilot review
  • d612450 kb: Tomb Raider: Legend note: review fixes
  • e74a27f Merge remote-tracking branch 'origin/main' into land/pr-208
  • 5566484 kb: regenerate the index

📊 Changes

5 files changed (+266 additions, -2 deletions)

View changed files

📝 knowledge/INDEX.md (+2 -1)
➕ knowledge/games/tomb-raider-legend/film-reloads-qa-bridge-physics-mags-asi.md (+175 -0)
📝 knowledge/index.json (+47 -0)
➕ tests/test_win_launch.py (+34 -0)
📝 um/win.py (+8 -1)

📄 Description

Field note for Tomb Raider: Legend (Steam PC build, trl.exe MD5 bd846c8f…). It's the first Legend note in the knowledge base.

What was built: a native ASI (MinHook inline hooks, no on-disk exe edits) plus replacement DRM files from a mods\ folder. Together they add new pistol models with extra rigid segments, film-style reload animations and variants, a reload selector, slide/magazine/hammer motion, a slide-lock release, dropped magazines simulated as physics objects, and a JSON-lines QA bridge that lets an agent read game state and drive the game. Everything ran in the real game, checked with logs and screenshots.

What the note documents for the next agent: the hook points, how animations are hosted on weapon objects, magazine physics on the engine's own collision meshes, the QA bridge protocol, and the gotchas, including the setup-dialog fix.

Toolkit fix included: um win launch now starts the exe in its own folder (start /D <exe folder>), with a test (tests/test_win_launch.py). Legend dies with "Failed to open BIGFILE.000" when started from another working directory; the note's first gotcha relies on this.

Checklist

  • um kb check passes
  • um kb index regenerated
  • pytest -q tests (90 passed) and um publish check . (0 failures)
  • no game files, extracted assets, decompiled code dumps or secrets
  • nothing that cheats other players or bypasses anti-cheat / DRM / ownership checks (the SteamStub wrapper is left untouched; everything is runtime hooks)
  • versions, verification and what was NOT verified are written down
  • authored by: Claude Code (Fable 5.1) with @skurtyyskirts

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/rehan-remade/universal-modder/pull/208 **Author:** [@skurtyyskirts](https://github.com/skurtyyskirts) **Created:** 10/10/2026 **Status:** ✅ Merged **Merged:** 10/11/2026 **Merged by:** [@rehan-remade](https://github.com/rehan-remade) **Base:** `main` ← **Head:** `kb/tomb-raider-legend-film-reloads` --- ### 📝 Commits (7) - [`636cb6f`](https://github.com/rehan-remade/universal-modder/commit/636cb6ff0ab7d51b091d771ad9e593786d84da58) kb: Tomb Raider: Legend film reloads, QA bridge and physics magazines via a native ASI (Tomb Raider: Legend) - [`c6f2c1c`](https://github.com/rehan-remade/universal-modder/commit/c6f2c1c13fcf266d93db7903fc12996cfe3f4b15) win launch: start the exe in its own folder (games open data files relative to the working directory) - [`77552f1`](https://github.com/rehan-remade/universal-modder/commit/77552f1c3da7eb9c29d66c85ca981284e589f1f2) tests: um win launch starts the exe in its own folder - [`cd2da00`](https://github.com/rehan-remade/universal-modder/commit/cd2da009a70d03ff6f8babd034f5d8a3640a8a77) kb: Legend note: address Copilot review - [`d612450`](https://github.com/rehan-remade/universal-modder/commit/d612450f0868b29af0bf163af5b3ffbf33b35f59) kb: Tomb Raider: Legend note: review fixes - [`e74a27f`](https://github.com/rehan-remade/universal-modder/commit/e74a27f8e9336ec2dbf2fc07c5a96c0ca3cffda1) Merge remote-tracking branch 'origin/main' into land/pr-208 - [`5566484`](https://github.com/rehan-remade/universal-modder/commit/5566484240ee8bbdc3a3375469bd2caea4ccf6c7) kb: regenerate the index ### 📊 Changes **5 files changed** (+266 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `knowledge/INDEX.md` (+2 -1) ➕ `knowledge/games/tomb-raider-legend/film-reloads-qa-bridge-physics-mags-asi.md` (+175 -0) 📝 `knowledge/index.json` (+47 -0) ➕ `tests/test_win_launch.py` (+34 -0) 📝 `um/win.py` (+8 -1) </details> ### 📄 Description Field note for **Tomb Raider: Legend** (Steam PC build, `trl.exe` MD5 `bd846c8f…`). It's the first Legend note in the knowledge base. **What was built:** a native ASI (MinHook inline hooks, no on-disk exe edits) plus replacement DRM files from a `mods\` folder. Together they add new pistol models with extra rigid segments, film-style reload animations and variants, a reload selector, slide/magazine/hammer motion, a slide-lock release, dropped magazines simulated as physics objects, and a JSON-lines QA bridge that lets an agent read game state and drive the game. Everything ran in the real game, checked with logs and screenshots. **What the note documents for the next agent:** the hook points, how animations are hosted on weapon objects, magazine physics on the engine's own collision meshes, the QA bridge protocol, and the gotchas, including the setup-dialog fix. **Toolkit fix included:** `um win launch` now starts the exe in its own folder (`start /D <exe folder>`), with a test (`tests/test_win_launch.py`). Legend dies with "Failed to open BIGFILE.000" when started from another working directory; the note's first gotcha relies on this. **Checklist** - [x] `um kb check` passes - [x] `um kb index` regenerated - [x] `pytest -q tests` (90 passed) and `um publish check .` (0 failures) - [x] no game files, extracted assets, decompiled code dumps or secrets - [x] nothing that cheats other players or bypasses anti-cheat / DRM / ownership checks (the SteamStub wrapper is left untouched; everything is runtime hooks) - [x] versions, verification and what was NOT verified are written down - [x] authored by: Claude Code (Fable 5.1) with @skurtyyskirts 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 20:54:24 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rehan-remade/universal-modder#211
No description provided.