Repository navigation
tm-control-mcp v0.4.0
Install
- Openplanet → install the
.opasset below, or folder-plugin per README - Requires MLHook + MLFeedRaceData (Editor++ optional; E++ tools live in tm-mcp-pack-epp)
Highlights
TakeScreenshotnow reports the captured file. Waits for the native viewport capture to land and returnsfullName(game-side path fromViewport.ScreenShotFullName),sizeBytes, anddetected— no more guessing whichScreenShotNN.jpgis yours.- New capture options:
hideOverlay: true— clean shots without HUD/Manialink overlays (nativeDisableOverlayRender, restored right after).forceRes: true+width/height— capture at a forced resolution (verified: 3840×2160 and 2560×1440 files come out at exactly the requested size), restored after.waitMs(default 5000;noWait: true/0for fire-and-forget) withtimedOuton miss instead of a hard error.
formatis validated (jpg|webp|tga|dds) — unknown formats now returnINVALID_INPUTinstead of silently falling back to jpg.- Crash-prone native capture paths stay unexposed (360° panoramas, tiled supersampling, alpha/pixel-output switching) — the tool only drives the same capture queue the in-game screenshot key uses. New
screenshotsguide documents the safe surface and the danger zones (GetGuide {"topic":"screenshots"}). tools/call.pyscales its socket timeout to yourwaitMsand still adds Linux-sidedetectedScreenshot.linuxPathdetection.
Artifacts
tm-control-mcp-0.4.0.op— Openplanet plugin package (no DEV defines)
Security
- Localhost JSON socket, no auth — see SECURITY.md
- Keep Socket Host at 127.0.0.1
Full changelog
See CHANGELOG.md entry for 0.4.0