From 228117987404c69822dcc1558ebeef7992ba8613 Mon Sep 17 00:00:00 2001 From: grom Date: Tue, 3 Nov 2026 17:03:21 -0700 Subject: [PATCH] capture: a setup slot, for the moment before the scene ages $WOW_CAPTURE_SETUP runs a chunk at the first aging frame -- early enough to change a setting or create a frame and still have the scene settle around it. $WOW_CAPTURE_EVAL keeps the shutter, where a read and the pixels it explains come from the same frame; anything created there is a frame too late to be in the image. The deep-zoom map shot needed it. OpenMapClassic resolves minimap tiles by FileDataID by default and this client has none, so its own status reports "loaded YES=0 NO=8"; it already carries a path mode for exactly that, asking for textures\Minimap\\map_, of which this install ships 10,884. Switching to it raised, because S.ResetMinimapTiles reads lodPieces/lodPool sixteen lines before they are declared and so bound them to nil globals -- an upstream bug, and the only two callers are the two switches that reach the mode. Port edits mirrored to Addon_Ports/openmap_port/: the declaration moved above its use, and the tile mode defaulted to the one that can work here. Captured at zoom 40: the minimap's terrain draws through the map. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01SgstFWtn1RxEJ5kVrpgYwn --- crates/benilla-app/src/capture/mod.rs | 26 ++++++++++++------ docs/ADDON_COMPAT.md | 39 +++++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 8 deletions(-) diff --git a/crates/benilla-app/src/capture/mod.rs b/crates/benilla-app/src/capture/mod.rs index cf127dfc..a6fff65a 100644 --- a/crates/benilla-app/src/capture/mod.rs +++ b/crates/benilla-app/src/capture/mod.rs @@ -869,32 +869,39 @@ struct LateCapture<'w> { script: Option>, } -/// `$WOW_CAPTURE_EVAL=`: run a chunk in the capture's own VM at the shutter and log what it -/// answers, as `capture eval:` lines. +/// Run a chunk in the capture's own VM and log what it answers, as `capture