REDNODE / DOCS

HTML overlay

Status: in use. Phases O1 to O6 and O8 to O11 passed in game (2026-10-11 to 2026-10-14), then a polish phase (REDnode 0.24.2 to 0.24.7, 2026-10-17). Open: the O4 scene threshold (see the O4 result). Not done yet: O7 Display. O12 Console passed in game (REDnode 0.42.1, 2026-10-27). To build an app, read the Overlay apps guide; this page is the design and its test record. The proof of concept passed in game, alone and side by side with CET and 10 other RED4ext plugins (2026-10-11). See Test results and the plan.

REDnode overlay apps are small web apps (HTML, CSS and JavaScript) drawn on top of the game, like CET’s ImGui windows. They talk to the game through the same rednode API as Node mods.

Why HTML

  CET + ImGui REDnode HTML overlay
Language Lua JavaScript or TypeScript
UI model Immediate mode: the UI is redrawn by code every frame Retained: a normal web page, any web framework
Look Developer tool Anything CSS can do, including the REDnode HUD style
Where app code runs Inside the game, on the game thread Outside the game, in the overlay host
Game calls Synchronous Asynchronous, at least one frame per round trip
Tooling CET console Browser dev tools, hot reload, npm packages

Architecture

 Overlay host (Electron, out of process)            Game process (REDnode plugin)
 ┌──────────────────────────────────────┐          ┌───────────────────────────────────┐
 │ Node: rednode API, Tier 2 mods       │          │ Present hook: draw overlay quad   │
 │ Chromium, off-screen: renders apps   │ frames → │ Window hook: hotkey, mouse, keys  │
 │   to a BGRA image                    │ ← input  │ Game thread: run bridge requests  │
 │ Input injection into the page        │ requests→│   through RTTI                    │
 │ Bridge: window.rednode in each app   │ ←results │ Events from scripts (Tier 1 path) │
 └──────────────────────────────────────┘  events  └───────────────────────────────────┘
                    one named pipe: \\.\pipe\rednode-overlay
Part Where Job
Overlay host Out of process An Electron app. Chromium renders each app off-screen. Node holds the bridge. Crashes here cannot take the game down
Compositor In the game Hooks IDXGISwapChain::Present through the swapchain’s vtable and draws the latest frame as a textured quad, using the game’s own D3D12 device and command queue from the RED4ext SDK (GpuApi::GetDeviceData())
Input In the game Subclasses the game window. A hotkey toggles interactive mode. In that mode mouse and keyboard go to the overlay, not the game
Bridge Both JSON requests from apps run on the game thread, between frames, through RTTI calls. Results and game events go back the same way

Synchronous and asynchronous kernels

Chromium always runs page JavaScript in its own renderer process. So an overlay app can never be part of the game’s synchronous path.

Kernel What an overlay app can do
Tier 2 (async) Everything. Events in, commands and queries out, as promises
Tier 1 (sync) Configure it: set interceptor parameters, toggle declarative rules. Changes apply from the next frame. The synchronous code itself stays native or declarative

Proof of concept

Goal: decide whether the approach is worth building out. Each step is a separate thing to check in game.

Step Proves How to check
1. Compositor REDnode can draw over the game with the game’s own D3D12 queue A panel is visible in the main menu and in gameplay
2. Live HTML An Electron off-screen page reaches the game as frames The demo app’s clock ticks and its animation moves
3. Input Mouse and keyboard reach the page, and the game ignores them in interactive mode F10, then click a button, type in a text box. The camera should not move
4. Bridge A page can call into the game and get an answer “Read player position” shows V’s coordinates, and they change after walking

Running the test

The overlay needs REDnode 0.3.0 in the game and the host running on the desktop. Setup is in Dev setup, section 10.

  1. Start the host in a terminal and leave it running: npm run overlay. It prints Waiting for the game.
  2. Launch the game. At the main menu a panel appears in the middle of the screen. Without the host it is a dark placeholder with a yellow frame and a moving cyan line. That alone means step 1 works.
  3. With the host running, the panel shows the demo app, and the terminal prints Connected to the game. The clock should tick (step 2).
  4. Press F10 for interactive mode. A yellow cursor appears in the panel. Click Click me, click the text box and type (step 3). Press Esc to give input back to the game.
  5. Load a save. The events tile shows PlayerPuppet.OnGameAttached. In interactive mode, click Read player position, walk a few steps, and read it again (step 4).
  6. Press F10 twice more to hide the panel, and once more to show it again.
  7. Quit to desktop through the menu.

Note what you see at each step, plus any stutter, flicker, wrong colors, or input that leaked to the game. The plugin’s log lines start with Overlay: in red4ext/logs/rednode-*.log.

Simplifications

Simplifications in the proof of concept, all to revisit if it goes further:

Test results

Run 1: 2026-10-11, clean setup

Item Value
Game 2.31, Vortex vanilla profile: RED4ext, redscript and REDnode 0.3.0 only. No CET
Display 3840 x 2160 swapchain, format 28 (R8G8B8A8_UNORM), SDR. The panel is drawn at 2x
Host Electron 44.7.0, 30 frames a second
Step Result
1. Compositor Passed. The panel was drawn at the main menu and in gameplay
2. Live HTML Passed. The clock ticked and the bar moved
3. Input Passed, with two usability issues below. Clicks and typing reached the page
4. Bridge Passed. player.position returned V’s position. OnGameAttached events reached the page at the main menu and on load
F10 modes Passed. Three full cycles of passive, interactive and hidden
Logs No errors or warnings. redscript compiled cleanly
Issue Cause Fix (confirmed in run 2)
The cursor lagged The page drew it. Each move went through the pipe, a Chromium repaint at 30 fps and a 2.6 MB frame back The plugin draws the cursor in its shader. The host now runs at 60 fps
No text caret in the text box Off-screen Chromium did not treat the page as focused. Typing still worked The host calls focusOnWebView() in interactive mode. It focuses the page without taking OS focus from the game. webContents.focus() did not work, and showing the window would take OS focus

Run 2: 2026-10-11, with CET and other mods

Item Value
Game 2.31, the user’s modded profile: CET, redscript, REDnode 0.3.0 and 10 other RED4ext plugins (ArchiveXL, Codeware, TweakXL, audioware, Mod Settings and more)
Display Same as run 1: 3840 x 2160, SDR
Host Electron 44.7.0, 60 frames a second
Check Result
All four steps Passed
Frame rate Good. No visible drop with the panel streaming at 60 fps at 4K
Cursor Fixed. Drawn by the plugin, visible and with no lag
Text caret Fixed. The text box shows its focus border and a blinking caret
REDnode and CET overlays drawn together Passed. Both visible at once
Input routing Passed. Input went to whichever overlay was active, and not to the game
Stability No flicker, stutter or crash reported. No errors in the REDnode, RED4ext, redscript or CET logs. CET logged its own D3D12 and window hooks as successful

Observation: CET windows can be dragged. The REDnode panel cannot, because the proof of concept has one fixed panel. Window management belongs in the real version.

Risks and open questions

Risk Status
Coexisting with CET, which also hooks Present and the window procedure Worked in run 2. REDnode patches the vtable entry and chains to whatever was there, so CET’s code hook still runs
Mouse position while the game hides and locks the cursor Handled by summing raw mouse movement into a virtual cursor. Worked in run 1
Blocking game input Worked in runs 1 and 2, with and without CET
Memory Electron adds a few hundred MB. Not measured yet
Frame pacing Uploading a frame costs GPU time on the present path. Only done when the page repaints
Upscalers and frame generation Unverified. The overlay is drawn on the final back buffer, after them
Scene detection threshold SceneTier >= 4 counts as a scene. Unverified; test on a fresh playthrough (see the O4 result)

Decision after the test

Result Next step
All four steps work, no stutter Plan the real version: shared GPU textures, multiple apps and windows, an app manifest, and folding the host into the Tier 2 runtime
Drawing works, input does not Look at how CET blocks input, the deferred CET analysis
Drawing does not work Fall back to the game’s own ink UI, driven by the same bridge

The result was the first row.

Plan for the real version

Status: draft for review. Phases are numbered O1 to O9 so they do not clash with the project phases P0 to P4. Each phase ends with an in-game test, like the proof of concept.

Goal

Overlay apps that can look like part of the game: borderless, any shape, transparent where the app is transparent, either interactive windows or HUD widgets that never take input. They are written as web pages and use the same rednode API as Node mods.

Window model

The plugin owns window placement, so moving a window never waits on Chromium. The host owns rendering, one off-screen page per window.

Property Values Notes
kind window or hud A hud window is drawn but never focused and never takes input
frame none (default) REDnode draws nothing but the page. A title bar with close and drag comes from the UI kit’s <rn-window>, not from the plugin
size page pixels Scaled with the screen height, like the proof of concept. Later also with the game’s UI scale
anchor center, top-left and so on, plus an offset Lets HUD widgets sit at a screen edge at any resolution and aspect ratio
resizable true, with minWidth and minHeight The UI kit’s <rn-window> shows a grip in its bottom-right corner; the host resizes the page and the plugin’s window.size the window, keeping its top-left corner. The size is kept with the position. Since REDnode 0.49.0
draggable yes or no Drag handles are marked in the page’s HTML, for example data-rednode-drag
hideWith game UI states For example menu, photo-mode, scene. The plugin hides the window while that state is on

Rules that make borderless windows behave:

Rule Why
Click-through on transparent pixels. A click where the page’s alpha is zero goes to the window below, or to the game A borderless window’s invisible rectangle must not block anything
Focus follows the click. Only the focused window gets keyboard input. Clicking the game area gives input back to the game Matches CET and desktop behavior
Positions are saved per app Windows come back where the player left them

Phases

Phase Builds In-game test proves
O1 Windows Several windows, each with its own texture and placement. Drag handles, focus, z-order, click-through on transparent pixels, saved positions. Drag runs in the plugin, at the game’s frame rate Two demo windows can be dragged, overlapped and focused. Clicks pass through transparent parts
O2 UI kit @rednode/ui: web components with the rednode and game themes, keyboard and gamepad navigation, UI sounds through the game. See UI kit A titled window with widgets, and a borderless native-style button, both built from markup only
O3 Apps App folders with a rednode-app.json manifest (id, name, entry page, kind, size, anchor). The host loads every app it finds. A launcher app, built with the UI kit, opens and closes the others. Player install: the host packaged as a standalone app and started by the plugin (see Player install) A packaged build copied into the game folder starts on its own with the game, and a third-party style app in its own folder loads without changing the host
O4 HUD widgets The hud kind, anchors, and hideWith, driven by game UI state events from the bridge. Research which game state shows menus, photo mode and scenes A HUD widget sits at a screen edge, never takes input, and hides in menus and photo mode
O5 Performance Shared GPU textures: Chromium renders to a D3D11 texture that the plugin opens in D3D12, so no pixel copy through the pipe. Updates only for changed regions. Measure memory and GPU cost Several animated windows at 4K with no visible frame drop. Numbers recorded
O6 One runtime The overlay host becomes the Tier 2 runtime: Node mods and overlay apps in one process, one rednode package for both. Bridge methods grow from the two demo calls into the real API, generated from the game API data. Node mods get the UI builder A Node mod and an overlay app use the same API call and get the same answer. A Node mod opens a window without writing HTML
O7 Display HDR brightness calibration against the game’s own HUD, DLSS frame generation, resolution and window-mode changes, ultrawide The overlay looks right and stays stable across display modes
O8 Mod Manager A built-in Mod Manager app with a table of every package, search, paging and bulk actions. Pin to launcher keeps the launcher short; Pin to HUD decides which windows stay on screen during gameplay. See O8 Mod Manager: plan With dozens of packages, the launcher lists only the pinned ones, and any package is found, switched and inspected in the Mod Manager
O9 Debugger Chromium DevTools for any overlay app, from an Inspect button: first in a desktop window, then, if a prototype works, inside the overlay as a built-in Debugger app. Node mods debugged through Node’s inspector, attachable from VS Code and REDcode. See O9 Debugger: plan An app’s page is inspected and a breakpoint hit while the game runs; a Node mod stops at a breakpoint set in VS Code
O10 Layers A tool layer above packages’ windows for REDnode’s own windows and packages the player lets stay on top; solo mode, in which one package hides every other package’s windows. Asked for by EDGEbuilder (#10, #7). See O10 Layers A full-screen package cannot cover the launcher or the Test timer, and its solo mode hides everything else until it ends
O11 Spaces Named sets of windows, like virtual desktops: the player switches the space and only its windows show; tool windows and windows set to “all spaces” show in every space. Title-bar actions with overflow. See O11 Spaces: plan A player with many HUD widgets keeps them in two or three spaces and switches between them without switching packages on and off
O12 Console A built-in console, like Cyber Engine Tweaks’ Lua console, for free-form JavaScript with the whole rednode package ready. Passed in game in REDnode 0.42.1: see O12 Console: built A player types await tweakdb.get("Items.money.price") and gets the answer, then calls a method on a game object from the line before

O1 Windows: test

Built 2026-10-11, REDnode 0.4.0. Window logic is covered by 19 unit tests in native/tests/windows_test.cpp, run by tools/build-native.ps1. The host was tested against a mock of the plugin. Two apps open: the demo (1024 x 640, title bar is its drag handle) and Signal (a round 320 x 320 widget with a transparent middle and a yellow drag tab).

  1. Start the host (npm run overlay) and the game. Both windows appear at the main menu.
  2. F10 for interactive mode. Drag the demo by its title bar and Signal by its yellow tab. They should follow the cursor with no lag.
  3. Overlap them. Click one: it comes to the front, and the other one’s title dims.
  4. Put Signal over the demo. Click inside Signal’s transparent middle: the click should reach the demo underneath, for example its Click me button.
  5. Click Ping on Signal: it shows the game frame.
  6. Click empty screen, away from both windows: interactive mode ends and the game gets input back.
  7. Quit the game and the host, start both again: the windows come back where you left them.

Result, 2026-10-11: passed. Modded profile with CET, 3840 x 2160 SDR. Every step worked: dragging, front-to-back order and focus, click-through on Signal’s transparent middle, Ping, leaving interactive mode by clicking empty screen, and saved positions across a restart of the game and the host. No errors in the logs.

O2 UI kit: test

Built 2026-10-11, REDnode 0.5.0. The kit is packages/ui: 12 components as markup, two themes, keyboard navigation, and UI sounds through the new bridge call audio.play. Both test apps were checked against a mock of the plugin. Gamepad navigation is left for later, because the game also reads the controller.

The host now opens two apps: Kit, a titled window with every widget, and Native, a borderless game-style button at the lower right.

  1. Start the host and the game. Kit and the red Open stash button appear.
  2. F10. In Kit, try each tab: press buttons, flip toggles, drag the slider, type a call sign and press Enter, pick list and menu items. Hover Hover me for a tooltip.
  3. Flip Game theme in Kit’s title bar: the window switches to the game look.
  4. Use the keyboard: Tab between widgets, arrows in the list and menu, Enter to choose.
  5. Click Open stash, pick an item: a game-style notification appears. Drag the button by its striped grip.
  6. Kit’s Sound tab: pick a name and press Play. Note which names make a sound; the names are unverified.

Result, 2026-10-11: passed. Modded profile with CET, 3840 x 2160 SDR. All widgets, both themes, keyboard use, the native-style button and its notifications worked. Game UI sounds played through audio.play, so AudioSystem.Play with no entity works for overlay sounds. No errors in the logs.

O3 Apps: test

Built 2026-10-11, REDnode 0.6.0. Apps are folders with a rednode-app.json manifest. The launcher, built into the host, lists them and opens or closes them. The host is packaged as REDnode-overlay.exe and the plugin starts it with the game, in a job object so it never outlives the game. Tested against a mock of the plugin: app discovery, anchors, the launcher, opening an app from it, saved choices, the log file and the single-instance lock. Window anchoring has 5 new unit tests.

This is the player path: no npm run overlay.

  1. Close any host you started by hand. In the game folder, REDnode now has host/ (the packaged host) and apps/ (Kit, Native, Demo, Signal).
  2. Launch the game normally. Do not start anything else. At the main menu: Kit, the Open stash button, and a small REDNODE · 2/4 tab at the lower left appear on their own.
  3. F10, then click the REDNODE tab. The launcher lists the four apps with their versions and descriptions.
  4. Switch Signal and Demo on: they open. Switch Kit off: it closes.
  5. Quit the game through the menu. The host closes with it: REDnode-overlay.exe is no longer in Task Manager.
  6. Launch the game again. The apps you left on are on, and the ones you switched off stay off.

Logs: the host writes red4ext/logs/rednode-overlay.log in the game folder.

Result, 2026-10-11: passed. Modded profile with CET. The game started the packaged host by itself (the plugin logged started the host); the host found the 5 apps and opened the defaults. The launcher opened Signal and Demo and closed Kit, and the choices were saved. The host closed with the game. The user confirmed the saved choices on the next launch.

O4 HUD widgets: test

Built 2026-10-11, REDnode 0.7.0. Apps can be "kind": "hud": drawn, but never focused and never in the way of a click. "hideWith" hides any window while the game shows a menu, photo mode, a scene or the main menu. The plugin reads those states on the game thread a few times a second and hides windows itself, so there is no delay through the host. Apps also get a ui-state event. 4 new unit tests cover HUD input and hiding.

State Read from
menu The UI_System blackboard, IsInMenu
photo-mode PhotoModeSystem.IsPhotoModeActive()
scene The player’s PlayerStateMachine blackboard, SceneTier 4 or higher. The threshold is unverified: this test calibrates it
main-menu No player: the main menu and loading screens

Two new apps open: Coords HUD, a strip at the top of the screen with V’s position, and Game state, which shows what the plugin reads.

  1. Launch the game. At the main menu, Coords HUD is not shown (hidden with main-menu); Game state shows Main menu / loading: yes.
  2. Load a save. Coords HUD appears at the top and its numbers change as you walk.
  3. F10, then click on the Coords HUD: the click goes through it (here, to empty screen, which ends interactive mode).
  4. Open the inventory or map, then the pause menu: Coords HUD hides, Game state shows Menu open: yes.
  5. Enter photo mode: Coords HUD hides.
  6. Talk to an NPC, and if you can, trigger a cutscene. Note the scene tier Game state shows in each, and whether Coords HUD hid when you think it should have.
  7. F10 to hidden mode: everything hides, HUD included.

Result, 2026-10-11: passed, with one open item. Modded profile with CET. The HUD was hidden at the main menu, showed in gameplay with live coordinates, let clicks through, and hid with the inventory, map, pause menu and photo mode. It stayed visible while talking to NPCs, as intended: conversations are normal play, with the dialogue choices shown in the world. Hidden mode hid everything.

Open: the scene threshold. A conversation with an NPC is scene tier 2, so the threshold must be above 2, and at 4 the HUD correctly stays up in conversations. No cutscene could be triggered in this save, so whether cutscenes are tier 4 or 5, and what tier 3 is, is still unverified. Test it on a fresh playthrough, where the opening has several scenes: watch the scene tier in the Game state app and check that the HUD hides in cutscenes but not in normal conversations.

O5 Performance: test

Built 2026-10-11, REDnode 0.8.0. Three changes, each measurable in the new Perf app:

Change What it does Checked before the game
Measurement The plugin times its own CPU work and its GPU work (timestamp queries) on every game frame, and counts the game’s frame rate. The host adds its memory and CPU use. Reported once a second as a perf event Builds; the Perf app shows the numbers
Changed areas On the CPU path only the changed rectangle of a window is sent and uploaded 5 unit tests; with normal apps the mock saw 20% less data. Animated apps change almost everything, so the saving is small for them
GPU sharing Chromium renders into a shared GPU texture; the plugin copies it on the GPU, with no pixels through the pipe. Click-through reads each window’s alpha back from the GPU up to 5 times a second. On any failure the host falls back to the CPU path Electron 44 streamed shared textures at about 56 fps on this machine; against the mock, handles flowed and were released, and the fallback switched paths. The GPU copy itself is untested until the game runs it

The launcher has a GPU sharing switch at the bottom to compare the two paths. The host’s memory is about 60 to 100 MB per open window, because every window is its own Chromium process: 786 MB with 6 windows in the mock run.

  1. Launch the game. The Perf window is at the top right. It should say Render path: GPU sharing, with GPU-shared frames counting up.
  2. Check that every window looks right: no garbage, flicker, tearing or stale frames. Switch Signal on in the launcher: its ring should animate smoothly.
  3. In interactive mode, click through Signal’s transparent middle: click-through must still work on the GPU path.
  4. Switch Stress on. Note the game’s frame rate, the overlay’s CPU and GPU times, and the host’s memory and CPU.
  5. Switch GPU sharing off at the bottom of the launcher. The windows reopen on the CPU path. Note the same numbers with Stress still on.
  6. Switch GPU sharing back on and Stress off.

Logs: the plugin logs GPU sharing failed if it had to give up, and the host logs Released ... shared frame(s) the game did not answer if frames were not acknowledged.

Result, 2026-10-12: passed. Modded profile with CET, 3840 x 2160 SDR, REDnode 0.8.0. GPU sharing ran the whole session without falling back. All windows looked right, click-through worked through Signal’s transparent middle on the GPU path, and the GPU sharing switch reopened every window on the other path and back. The host logged a perf line every 5 seconds; these are the 30-second stretches with Stress open:

With Stress open GPU sharing CPU path
Game frame rate (gameplay) 29 to 31 fps 29 to 31 fps
Overlay CPU time per game frame about 1.0 ms (worst 1.7 to 2.5) about 1.0 ms (worst 1.2 to 1.6)
Overlay GPU time per game frame 0.06 to 0.10 ms 0.03 ms
Pixels uploaded in the game 0 MB/s 55 MB/s
Sent through the pipe 0 MB/s 110 MB/s
Host memory about 910 MB about 1,080 MB
Host CPU 1% 2%
Finding Notes
GPU sharing removes the pixel traffic 110 MB/s through the pipe and 55 MB/s of uploads go to zero, and the host uses about 170 MB less memory. This is what lets many animated apps run together
The overlay’s GPU cost is tiny Under 0.1 ms per frame on both paths
No visible effect on the game’s frame rate The game ran at about 30 fps in gameplay on both paths, which is too slow to show a cost of about 1 ms. Measure again in a lighter scene
Overlay CPU time in gameplay About 0.7 to 1.0 ms per game frame even without Stress, against about 0.15 ms at the main menu. 3% of a frame at 30 fps, about 14% at 144 fps. A likely cause is opening every shared texture handle again each frame. To fix in O6 and check in its test
Unanswered shared frames at startup and while hidden The plugin skips its work before Present is hooked and in hidden mode, so the host’s one-second release frees those textures. The plugin could acknowledge them at once. To fix in O6 and check in its test
Focus bug found and fixed Clicking the window that had focus before leaving interactive mode did not refocus it (seen with Signal). Fixed in 2b94a6b with two unit tests, confirmed in the retest

O1 to O4 make the feature usable. O5 makes it cheap. O6 joins it to the rest of REDnode. O7 hardens it.

Order agreed on 2026-10-12: REDagent (first named REDclaude), an in-game assistant powered by Claude, built as a REDnode package, comes right after O6. O7 follows it.

O6 One runtime: plan

Agreed 2026-10-12. Node mods and overlay apps run in the same host, use the same rednode package and get the same answers. This also covers most of P2 (the pipe bridge and the Node SDK), and builds what REDagent needs: live game queries, mod logs and hot reload. O6 has two test gates, O6a and O6b.

O6a Runtime

Piece How
Node mods in the host A Node mod runs in an Electron utilityProcess: full Node and npm, outside the game and outside the host’s main process
Process per mod, or a shared group By default each mod gets its own process. The player can put mods in a shared group to save memory: one process, each mod in its own worker thread. A mod author can require its own process with "isolation": "process"
Manifest rednode-app.json gets "main" for Node code, beside "entry" for HTML. A package can have both
One rednode package The same game API in both places. Mods import { game } from "rednode". Apps import it from rednode://sdk/index.js, through an import map so the import line is the same
Events game.on covers the events the plugin already sees: session attach (main menu and save load) and UI state. Events from hooked game functions stay in P2
UI builder ui.window({ title, children: [ui.button("Apply", onClick)] }) from a Node mod. The host renders it with the UI kit; clicks and changes go back to the mod
Mod logs console.log from a mod goes to red4ext/logs/rednode-mods.log, tagged with the mod id. The launcher shows a mod’s errors
Hot reload When a mod’s files change, the host restarts that mod and reopens its windows. Always on for developers, a launcher switch for players
Launcher Lists mods beside apps: on and off, the shared-process switch, the state (running, crashed, not responding) and a restart button
O5 follow-ups Acknowledge shared frames at once while a window is not drawn. Split the overlay CPU time into its parts (the GPU fence wait, opening shared handles, the rest) and reuse opened shared textures

O6b Game API

Piece How
One generic call rtti.call calls any global function, static function or method by name, after checking the arguments against the game’s type data, on the game thread between frames
Values bool, numbers, CName, String, enums by name, TweakDBID, structs, arrays and Vector4 convert to and from JSON. Other types give an error that names the type
Object references Game objects come back as { $ref, $type }. The plugin holds them weakly; all are cleared on each session attach
Generated types TypeScript types generated from gameapi/2.31/rtti.json (15,830 classes, about 52,000 functions), so calls are typed. Size and editor speed measured first
Hand-written calls player.position and audio.play become thin wrappers over rtti.call
Risk Note
Calling any game function Type checks catch wrong types, not wrong values. A blocklist of dangerous functions may be needed
Object lifetime Weak references, cleared on each session attach (unverified that this is enough)
Generated types size Measured before deciding how to split them
Memory per mod Measured in the O6a test, for a process per mod and for a shared group

O6a Runtime: test

Built 2026-10-12: plugin 0.9.0, host 0.2.0, rednode 0.1.0. Tested against a stand-in for the game (a mock of the plugin’s pipe), packaged and unpackaged:

Checked against the mock Result
Hello mod’s builder window and the Coords HUD app Both show the same position from game.player.position()
A button in a mod window Reaches the mod; game.audio.play reaches the bridge
game.on("PlayerPuppet.OnGameAttached") and game.onState Arrive in both mods
Throw, hang, exit Stop only the crash mod, in its own process and in the shared group. A hang shows NOT RESPONDING after 10 s; Restart ends it
Killing the shared process All three mods show CRASHED, their windows close, and they restart 2 s later
Hot reload Saving mod.mjs restarts the mod with the new code in about a second
Memory (host log, Mod processes:) About 80 MB per own process; three mods in the shared process about 92 MB
Mod log app New lines arrive live; a crash shows in red with only the mod’s own stack lines; Errors only and Copy put the crash on the clipboard

New in the plugin: shared frames are given back at once when nothing draws them, opened textures are reused, and the perf line splits the overlay CPU time into GPU wait (waiting for the frame from three frames ago) and opening (opening shared textures).

In the game, do these in order, with a 30-second pause after each, timed on a phone stopwatch:

  1. Start the game and load a save. Stand still in gameplay for 60 seconds. Hello mod sits at the right edge, the Coords HUD at the top: both show the same X, Y and Z, and change together when you walk.
  2. F10 for interactive mode. In Hello mod, press Play sound: a sound plays. Switch Follow off: the position stops changing. Switch it on again. Drag Hello mod by its title.
  3. Open the launcher (the REDNODE tab, bottom left). Hello mod and Ticker mod show RUNNING · own process and their memory; Crash mod is off. Switch Hot reload on. Then either tell me “edit” in chat and I change Hello mod’s file in the game folder, or open red4ext\plugins\REDnode\apps\hello-mod\mod.mjs in Notepad and change first version to anything, then save. Within a few seconds, Hello mod’s window comes back with the new text.
  4. In the launcher, switch Mod log on. It opens at the bottom right with every line the mods printed so far. Then switch Crash mod on. Its window opens at the left. Press Throw an error: its window closes, the launcher shows CRASHED, the Mod log shows the error in red, and Hello mod keeps updating. Press Restart in the launcher.
  5. In the Mod log, switch Errors only on and press Copy. Paste it into this chat: it should be the crash and the line in mod.mjs that threw. Switch Errors only off.
  6. In Crash mod, press Hang forever. Hello mod keeps updating. After about 10 seconds the launcher shows NOT RESPONDING. Press Restart.
  7. Switch Shared process on for all three mods. Each restarts; the launcher then shows shared process (3 mods) and one memory figure.
  8. In Crash mod, press Kill the process. All three mods show CRASHED and their windows close; about 2 seconds later all three are running again.
  9. Press F10 until the overlay is hidden. Wait 30 seconds. Press F10 to come back to passive.
  10. Open the inventory for 30 seconds: the Coords HUD hides, Hello mod and the Mod log stay. Close it.
  11. Load a save. Hello mod’s Saves loaded count goes up by one.
  12. Quit the game.

After the test, switch Shared process off again if you want each mod in its own process.

What I read from the logs afterwards: rednode-overlay.log (the perf lines with GPU wait and texture reuse, and the Mod processes: memory lines every 10 seconds) and rednode-mods.log (everything the mods printed, and their crashes).

Result, 2026-10-12: passed. Modded profile with CET, 3840 x 2160 SDR, plugin 0.9.0, host 0.2.0, GPU sharing on. All 12 steps worked: the same position in Hello mod and the Coords HUD, the sound button, hot reload (the edited mod was back within a second), the Mod log with Copy (the pasted crash was the message plus mod.mjs:16:13), throw, hang and Restart, the shared process, and its automatic restart 2 seconds after Kill.

Measured (host log) Result
Overlay CPU time per game frame, gameplay 0.11 to 0.15 ms, down from 0.7 to 1.0 ms in O5. GPU wait 0.00 ms; opening textures 0.00 to 0.05 ms
Shared textures Opened 0 per second once windows are up, reused 35 to 64 per second. Opening every texture again each frame was the O5 cost
Worst single frame 21 to 25 ms when a window opens or closes (save load, hot reload, a mod window). Otherwise under 1.5 ms
Mod process, own 97 to 102 MB at the start; about 135 MB after a reload
Three mods in the shared process 151 to 155 MB, against about 370 MB in three own processes
Finding Notes
The overlay’s CPU cost is solved Reusing opened shared textures cut it about sevenfold. Waiting for the GPU was never the cause
Cursor sometimes disappeared in interactive mode New in this test. The plugin log shows interactive mode ending by itself, then F10 presses. Likely cause: with GPU sharing the click-through map is read back at most 5 times a second, and only when a frame arrives. A window that stops repainting right after it opens keeps the map of a half-drawn first frame, so a click on it falls through to empty screen and ends interactive mode. Fixed: the plugin now reads back the newest frame once the 5-a-second limit allows, even if no new frame comes. To check in the next test
Frames still waiting a second while hidden 1 to 4 per switch to hidden. Frames already copied in the last three game frames were only acknowledged when drawing resumed. Fixed: they are given back as soon as the GPU is done with them. To check in the next test
Ticker mod stopped once Not a bug: the tester switched it off, on and off again in the launcher around 18:34:28. Stops were not logged then, so it looked silent. The mod log now records every move, start and stop. A related race, found while looking, is closed
A hitch when a window opens or closes The plugin waits for the GPU to finish before it replaces or frees a window’s texture. A follow-up for O7: release textures through the frame ring instead
Log times were UTC Now local time, like the player’s clock
Windows hidden with the game’s UI lose their texture A page that does not repaint by itself could stay invisible after a menu closes. The host now repaints every window when the game’s UI state changes. Not seen in the test: Coords repaints every half second

O6b Game API: test

Built 2026-10-12: plugin 0.10.0, host 0.3.0, rednode 0.2.0. Checked against a stand-in for the game: the SDK’s calls, references and releases (11 checks), and the two samples, which agreed on the values and showed a change made through GiveItem in both. The plugin side, where the calls really happen, is new in this test. JSON parsing has 17 unit tests.

Piece What it does
rtti.call, rtti.get, rtti.release in the plugin Call any game function by name, read a property, drop references. Arguments are checked against the game’s types first; a crash inside the call fails the call
api in the rednode package The same calls as typed JavaScript: api.GetPlayer(...), api.GameInstance.GetStatsSystem(...), player.GetEntityID()
Generated types tools/gameapi/types.mjs turns gameapi/2.31/rtti.json into 9 MB of TypeScript: 15,830 classes, 1,524 enums, 802 global functions. It builds in under a second, type-checks in under two, and has no errors even with skipLibCheck off. Not committed: the package build generates it
game helpers player.position, audio.play, and the new player.getHealth and player.setHealth are built on api now
Vitals app A HUD widget under the Coords HUD: V’s health, level and money, read through api from a web page
Game API mod The same three values from Node, plus Give 100 eddies, Wrong argument type and Use the player from before
Theme selector The launcher’s Theme: REDnode, Game red, or the new Yellow, with solid yellow title bars. Every window that uses the UI kit follows it at once, unless the app chose its own theme

In the game, do these in order, with a 30-second pause after each:

  1. Start the game and load a save. Vitals sits under the Coords HUD and shows HP, LVL and €$. The Game API mod window at the left shows the same three values. Hello mod and Coords still show V’s position, now through the generic API.
  2. Compare with the game: HP with the health bar, then open the character screen for the level and the inventory for the money (Vitals hides while a menu is open). Close the menu.
  3. F10 for interactive mode. In the Game API mod, press Give 100 eddies. Both money values go up by 100, and the game may show its own money notification.
  4. Press Wrong argument type. The mod shows “Refused, as it should be:” and the reason. Nothing happens in the game.
  5. Press Use the player from before. It shows “Still valid” and V’s position.
  6. In Hello mod, press Play sound: the sound now goes through the generic API.
  7. Themes. In the launcher, at the bottom, press Yellow: every window’s title bar turns solid yellow at once. Press Game red: the windows turn red. The Coords HUD, Vitals and Native button stay red in every theme, because they choose the game theme themselves. Pick the one you like; it is saved.
  8. Cursor check, carried over from O6a: open the Mod log and switch Crash mod on in the launcher. As soon as Crash mod’s window appears, click inside it a few times on its text and between its buttons, without pressing a button. The cursor should stay, and interactive mode should not end.
  9. Switch Crash mod off again. Press F10 until the overlay is hidden, wait 30 seconds, then F10 back to passive.
  10. Get hurt a little, for example a fall: HP drops in both Vitals and the mod.
  11. Load a different save. Then press Use the player from before in the Game API mod: it should now say “that game object no longer exists”. The values update for the new save.
  12. Quit the game.

What I read afterwards: rednode-mods.log (the mod’s calls and errors), the plugin log (any rtti.call crash lines), and rednode-overlay.log (no “Released … shared frame(s)” lines while hidden, and no interactive mode ending by itself).

Result, 2026-10-12: passed, after two fixes in the first run. Modded profile with CET, 3840 x 2160 SDR, plugin 0.10.0, host 0.3.0, GPU sharing on. All 12 steps worked: Vitals and the Game API mod showed the same health, level and money as the game; Give 100 eddies added 100 to both, twice; the wrong argument was refused with “argument 1 (objID, gameStatsObjectID): gameStatsObjectID needs an object of its properties”; the player reference was still valid in the same save and “no longer exists” after loading another; sounds played through the generic API; the three themes switched live; and the plugin logged no crash inside a game call.

Finding Notes
GetPlayer returned null through the generic API A GameInstance argument built from the type data has no game in it. Fixed: the plugin fills it in with the running game (37ade5d). See the ScriptGameInstance note
The launcher and Coords did not show until repainted Frames that arrive before Present is hooked are given back undrawn, and a page that does not repaint never showed. Fixed: once it starts drawing, the plugin asks the host to repaint every window (37ade5d)
The sample’s “player from before” was already invalid It kept a reference polled during the load, just before the plugin dropped every reference. Fixed in the sample by hot reload, with the game running (00fdc6d): take references after PlayerPuppet.OnGameAttached
O6a’s cursor fix holds Clicking around Crash mod’s window right after it opened kept interactive mode. Mode changed only on purpose (F10, Esc, clicks on empty screen)
O6a’s hidden-mode fix holds No shared frame waited for the host’s sweep while hidden, including 23 seconds at 16:25. The few left fall in loading screens and at game exit, when the game stops presenting
Overlay CPU time 0.11 to 0.15 ms per game frame in gameplay with every app open, as in O6a
Not tested in game game.player.setHealth (RequestSettingStatPoolValue), out parameters, and rtti.get. Unverified

O6 One runtime is done: Node mods run beside overlay apps, both use the rednode package, and api reaches any game function. Next: REDagent, then O7 Display.

O8 Mod Manager: plan

Agreed with the user on 2026-10-13, to come after REDagent’s C4 test and before C5 or C6. The launcher’s single list works for a handful of packages; with dozens it is overwhelmed, and REDagent makes new packages easily. EDGEdeck, the pre-launch mod manager for game mods (archives), stays separate: the Mod Manager manages REDnode packages, in the game.

Piece What it does
The Mod Manager app Built into REDnode, like the Mod log, and always pinned: the first entry in the launcher, never hidden
The table One row per package. Columns: pin, name, kind (app, Node mod, HUD widget), status (running, crashed, off), memory, own or shared process, version, author. Click a header to sort
Finding a package A search box (name, id, author, description) and filters (kind, on or off, errors). About 20 rows a page, with paging
Details The selected package: description, permissions with their Allowed switches, the last log lines, Restart, Shared process, Show for a closed window, hot reload. Launcher rows can shrink to a name and a switch
Bulk actions Select several: on or off, into or out of the shared process
Pin to launcher Only pinned packages show in the launcher. The packages installed when O8 ships start pinned; new ones start unpinned, and the launcher shows a “2 new” link to the Mod Manager. A crashed package shows in the launcher even when it is not pinned, so an error never hides. Saved in the host’s settings as “in launcher” (in the code, “pinned” already means a built-in that cannot be switched off)
Pin to HUD Whether a package’s windows stay on screen during gameplay (passive mode), or show only while the player interacts (F10). Today every window shows in passive mode. HUD widgets always stay. To decide with the user: the default for new packages (recommended: off, so new windows do not clutter gameplay) and whether existing packages start pinned (recommended: yes, nothing changes for them). Needs a small plugin change: the plugin skips unpinned windows in passive mode
For agents The kernel MCP server’s apps tool gains the pins, so REDagent can pin a package it made

No new game API is needed: the host already has the package list, status and memory the launcher shows.

Decided with the user on 2026-10-13: packages installed when O8 first runs keep both pins (nothing changes for them); packages found later start with neither.

O9 Debugger: plan

Agreed with the user on 2026-10-13, to come after REDagent’s C5 test. Apps are Chromium pages in the overlay host, so Chromium’s own DevTools already exist for them; Node mods run in Node and need its inspector.

Step What it builds Notes
1. Inspect in a desktop window An Inspect button in the Mod Manager’s details (and the MCP apps tool’s details) opens the real DevTools for that app’s page: elements, console, network, sources, breakpoints. A mod’s builder window can be inspected the same way One Electron call (webContents.openDevTools({ mode: 'detach' })). The window is a normal desktop window: a second monitor, or Alt+Tab
Debug icon on title bars With Developer mode on (a launcher switch, off by default so players never see it), every window built with the UI kit’s rn-window, and every mod window, shows a debug icon beside its close button. It opens the debugger for that window’s app: the in-overlay Debugger once step 2 works, the desktop DevTools until then Asked for by the user on 2026-10-13. The icon goes through the same path as Inspect, so there is one way to open the debugger
2. DevTools inside the overlay A built-in Debugger app: the same DevTools drawn in the game as an overlay window, dragged and resized like any app DevTools is itself a page; Electron can send an app’s DevTools into another window’s page (setDevToolsWebContents), which the host renders off screen like any app. Unverified with off-screen rendering: a prototype first. If it fails, step 1 stays and a light Console app (live console output and errors per app, and a line to run JavaScript in a chosen app or mod) takes its place
3. Node mods A Debug switch per mod: the host starts its mod process with Node’s inspector on a local port and shows the address to attach to from VS Code or REDcode, with breakpoints in the mod’s own files The shared process stops every mod in it at a breakpoint, so a debugged mod runs in its own process. Fits with REDagent C6 (REDcode)
For agents The kernel MCP server gains an app’s console messages and errors, so REDagent can read them  

O8 Mod Manager: built

Piece Where
Mod Manager packages/overlay/manager/, a built-in app (modmanager). A table of every package, 14 rows a page: pins (L, H), name with a NEW badge, kind, status, memory, version, author. Search (name, id, author, description), kind and state filters (on, off, errors, new), sorting by any column, a details panel (switches, permissions, Show for closed windows, last error, last lines), and bulk actions on ticked rows. Its own close button closes it
Pins The host keeps inLauncher, onHud and seen per package in settings.json. The first start seeds every package already installed with both pins (pinsSeeded). rednode:apps:pin and rednode:apps:seen for the launcher and the Mod Manager; the MCP apps tool gains pin-launcher, unpin-launcher, pin-hud and unpin-hud
Launcher Lists the Mod Manager first, then packages pinned to it, and any crashed package. A line above the list says how many more are in the Mod Manager and how many are new, with Open
Plugin 0.14.0 window.open takes onHud, and window.hud changes it. A window not on the HUD is left out of the drawn windows in passive mode. The host repaints every window when the mode changes, so one that appears has a frame

Tested in the mock game with 35 dummy packages: the first start seeded the 46 packages then installed with both pins; 5 added later showed as new and unpinned, and the launcher said “5 more in the Mod Manager · 5 new”. Opening the Mod Manager cleared “new” in the launcher. The New filter listed the five; pinning one to the launcher listed it there. Search found the Hello mod, and its Pin to HUD switch sent window.hud to the plugin. The plugin’s hiding rule has unit tests.

O8 Mod Manager: test

Use the Test timer: Start, then Mark after each step.

  1. Close the game. Deploy REDnode. Start the game and load a save. Every package you had is still in the launcher, and the Hello mod still shows during gameplay. Mark.
  2. F10, open the launcher: Mod Manager is first. Switch it on. Mark.
  3. In the Mod Manager: sort by a column, search “hello”, try the filters, and page through with Next. Mark.
  4. Select the Hello mod. Switch Pin to HUD off, press F10 until passive: the Hello mod window disappears; F10 to interactive: it is back. Pin it again. Mark.
  5. Unpin something from the launcher in the table (L): it leaves the launcher, which now says “1 more in the Mod Manager”. Pin it back. Mark.
  6. Tick two or three rows and use a bulk action, such as Off then On. Mark.
  7. Ask REDagent to make a small new app. When it appears, the launcher says “1 new”; open the Mod Manager and find it with the New filter. Mark.
  8. Close the Mod Manager with its close button: the launcher shows it off. Quit the game.

Result, 2026-10-13: passed. Plugin 0.14.0, 3840 x 2160. Everything installed before kept both pins. The Mod Manager opened from the launcher; sorting, search, filters and paging worked. The Hello mod, unpinned from the HUD, left the screen in passive mode and came back in interactive mode, twice; Coords left the launcher and came back. REDagent made a new app (“clock”): the launcher counted it as new, the New filter found it, and it was pinned to the launcher. The Test timer marked steps 1 to 7.

Finding Notes
The cursor flickered or disappeared more often The player switched to the desktop (Alt+Tab) often during this test. The plugin draws its own cursor in interactive mode, moved by the game’s raw mouse input. Two likely causes, unverified: raw input that arrives while the desktop is in front moved the overlay’s cursor, and the click that brings the game back counted as a click on empty screen, which leaves interactive mode (one switch from interactive straight to passive at 06:22:59 fits). Changed in plugin 0.14.1: input that arrives while another window is in front is ignored, buttons are ignored for 300 ms after the game comes back to the front, and the plugin logs “Overlay: the game left the front” and “came back to the front”. Confirmed in the C5 test (2026-10-13): about 25 switches to the desktop and back in interactive mode, and the overlay stayed interactive every time

O9 Debugger: built

REDnode 0.16.0. Every step of the plan works in the mock game; the in-overlay DevTools is no longer unverified there, but still needs the in-game test.

Piece Where
Window debugger The host gives an app’s page (or a mod’s builder window) its DevTools: in the game, a built-in window whose own page becomes that DevTools (setDevToolsWebContents, then openDevTools({ mode: 'detach' })), with a REDnode title bar the host adds (drag area and close); on the desktop, DevTools’ own window, opened without taking focus. A first try put DevTools in a webview inside a page, as Electron’s example does: off screen it painted once and took no input
Mod Manager Details: Window debugger (In the game, On the desktop) for a package with a window; for a Node mod, the Debug (Node inspector) switch, then the inspector’s address with Copy, and Node debugger (In the game, On the desktop). Shared process waits while Debug is on
Node mods Debug on restarts the mod alone in its own process (debug:<id>); its worker opens Node’s inspector itself (inspector.open(0, '127.0.0.1')), so a debugger attaches to the mod’s own thread. Opening the inspector for the whole process (--inspect) attached to the runner’s main thread: Chromium’s DevTools does not show Node worker threads
Node debugger Chromium’s DevTools for Node (devtools://devtools/bundled/js_app.html?ws=...) in an overlay window with the same title bar. preload.js hides the “internal” context Node adds when it loads an ES module, so the console starts in the mod’s context. After a restart (new address) the in-game debugger reopens by itself, and it closes when Debug goes off
Stopping a debugged mod Node cannot end a worker while a debugger is attached to it (terminate() and even process.exit hang; found in testing), so a debugged mod stops by ending its process
Developer mode A launcher switch, saved in settings, off by default. On, every rn-window shows a debug button next to close (no-debug hides it). It opens the Node debugger for a mod window whose mod runs with Debug on, otherwise the window debugger
For agents The MCP window_console tool: the last 200 console messages and uncaught errors of a window, by level
From 0.15.1, to check in game 64 windows instead of 16 (the World test window that stayed hidden), and the perf log’s game-call timing

Tested in the mock game: the window debugger in the game and on the desktop (Elements and Styles live; the Console evaluated in the page; the close button); Developer mode put the debug button on the Hello mod window, and it opened the window debugger; Debug on restarted the Hello mod with an inspector, the Node debugger showed the mod’s own console.log lines, and its console answered require('node:worker_threads').threadId with 1 (the mod’s worker); Restart with the debugger attached stopped and started the mod, and the debugger reconnected; Debug off closed it and the mod went back to a normal process; window_console returned a warning typed into the page’s console. Breakpoints were not tried in the mock. Unverified in the game.

O9 Debugger: test

Use the Test timer: Start, then Mark after each step.

  1. Close the game. Deploy REDnode. Start the game and load a save. Switch the World test on in the Mod Manager: its window shows straight away (64 windows). Mark.
  2. F10. In the Mod Manager, select Coords (or any app with a window). Window debugger: In the game. A debugger window opens with Elements. Click Console, type document.title and Enter. Close the debugger with its ✕. Mark.
  3. Same, On the desktop: a DevTools window opens on the desktop without taking the game’s focus. Alt+Tab to it, look, close it, and come back. Mark.
  4. In the launcher, switch Developer mode on. Every window’s title bar shows a bug button next to close. Click it on the Mod Manager or the launcher window: its debugger opens. Close it. Mark.
  5. In the Mod Manager, select the Hello mod and switch Debug (Node inspector) on. The mod restarts and an address appears. Node debugger: In the game. Click Play sound in the Hello mod window: the line “Sound button pressed 1 time(s)” appears in the debugger’s Console. Mark.
  6. In the Node debugger, Sources, Ctrl+P, type mod.mjs, Enter. Click the line number of presses += 1; (line 28) to set a breakpoint. Click Play sound: the debugger stops on that line and no sound plays. Press the Resume button (or F8): the sound plays. Click the line number again to remove the breakpoint. Mark.
  7. Restart the Hello mod in the Mod Manager: the Node debugger reopens on its own. Then switch Debug off: the debugger closes and the mod keeps working. Mark.
  8. Switch Developer mode off: the bug buttons go. Quit the game.

Afterwards I read the logs: the debugger lines, and the perf lines with game calls.

Result, 2026-10-13: passed. REDnode 0.16.0, 3840 x 2160. Every step worked, and the Test timer marked steps 1 to 7.

Check What the logs show
64 windows The World test window opened at start beside every other app; no window was refused
Window debugger Coords’ debugger opened in the game and on the desktop; the bug buttons opened two more, each closed with its ✕
Node debugger Debug on restarted the Hello mod in its own process with an inspector. The Console showed its “Sound button pressed” lines. The breakpoint on line 28 held the third press for about 30 seconds, until Resume
Restart and Debug off Restart reopened the debugger on the new address within the same second; Debug off closed it and moved the Hello mod back to the shared process
Game-call timing (0.15.1) About 34 game calls a second, costing 0.5 to 0.9 ms a game frame (worst 4.4 ms; 16 ms while a save loaded). The game ran between 30 and 65 fps throughout, unrelated to the calls, so game calls do not explain W1’s frame-rate drop. Unverified what does
Finding Change
The debugger’s title bar stayed in the REDnode theme while the player had picked Yellow REDnode 0.16.1: the host draws it in the player’s theme and changes it with the theme
Asked for by the user: rename the themes REDnode 0.16.1: “Game red” is now HUD red (hud) and “Yellow” is EDGE (edge). The old names game and yellow still work in pages and in saved settings

O10 Layers: built

Agreed with the user on 2026-10-14, before the TweakDB API: EDGEbuilder’s full-screen Edit mode covered the Test timer, so its Mark could not be pressed (#10), and it needs the other packages’ windows out of the way while placing objects (#7). The user chose the recommended answers: built-ins plus packages the player allows for the tool layer, and a permission for solo mode. REDnode 0.18.0.

Piece Where
Tool layer Plugin: each window has a layer; the window list keeps packages’ windows before tool windows, so tool windows are drawn above them and hit-tested first, and a click brings a window only to the front of its own layer. window.open takes "layer":"tool", and window.layer changes it. Host: the launcher, Mod log, Mod Manager and debuggers are tools; so is any package granted the new front permission (“staying above other packages’ windows”), such as the Test timer. Granting or withdrawing it moves the package’s windows at once
Solo mode ui.solo(true) / ui.solo(false) and ui.onSolo(handler) in the rednode package, for Node mods and pages, behind the new solo permission. While on, the host sends window.hidden for every other package’s window and HUD widget (tool windows stay), and new windows open hidden. It ends when the package turns it off, stops or crashes, another package takes it, the player withdraws the permission, or the player presses End beside the launcher tab, which shows “SOLO” and the package’s name. When it ends, the package’s own windows go to the back of the app layer (the plugin’s window.back, in their own order; REDnode 0.79.0, #65), so the windows it hid come back above it and take clicks at once, even over a full-screen package’s page
Plugin Hidden windows are neither drawn nor hit-tested; hiding one drops its focus, hover and drag. Unit tests: a tool window stays above a package window opened after it and gets the input over it, a click raises a package window only within its layer, window.layer moves a window to the front of the tool layer, a hidden window is not drawn and takes no input
Samples apps/layers-test: a full-screen page with a 4% tint that takes the mouse, with Solo on and Solo off. apps/timer asks for front

Tested in the mock game: the launcher, Mod Manager and Test timer (with front allowed) opened as tools, the Layers test and the Hello mod as package windows. Solo on hid the Hello mod’s window and not the Test timer; the page heard the change; the launcher tab showed “SOLO Layers test” with End, which ended it. Hit testing above a full-screen page is covered by the plugin’s unit tests; the mock game does not hit-test. Unverified in the game.

O10 Layers: test

Use the Test timer: Start, then Mark after each step.

  1. Close the game. Deploy REDnode. Start the game and load a save. Mark.
  2. F10. In the Mod Manager, select the Test timer and allow staying above other packages’ windows. Select Layers test, allow solo mode, and switch it on: a faint tint covers the screen. Mark (the timer is clickable above the tint).
  3. Click the tint, then click the launcher tab, the Mod Manager and the Test timer: each still takes the click, above the tint. Open the Hello mod: the tint stays above it once the tint is clicked, but the timer and launcher stay on top. Mark.
  4. In the Layers test window, press Solo on: the Hello mod and any HUD widget (Coords, Vitals) disappear; the launcher tab shows “SOLO Layers test”. Mark.
  5. Press End beside the launcher tab: everything comes back, and the Layers test says “Solo: off”. Press Solo on again, then switch the Layers test off in the Mod Manager: everything comes back. Mark.
  6. Checks from 0.17.1: the Mod Manager’s Packaging test lists ArchiveXL as “not installed” if its DLL is gone (#9); the World test’s Spawn box shows the level-design kit’s orange box (#6). Mark.
  7. Quit the game.

Result, 2026-10-14: passed. REDnode 0.18.0. Every step worked, with the Test timer’s Mark pressed above the Layers test’s full-screen tint (steps 2 to 6 marked). The tool layer kept the launcher tab, the Mod Manager and the Test timer clickable above the tint; Solo on hid the other packages’ windows and HUD widgets, and End and switching the package off both brought them back. The World test spawned and removed its box from base-game assets only, in about 200 ms, with its entity events.

Finding Change
A Node mod’s window closed with its close button came back at the next start of the game. Closing an app’s own page saved “off”, but a mod opens its windows again at every start REDnode 0.18.1: the host keeps the player’s closed mod windows in its settings (closedWindows). A mod that opens such a window gets it closed, as if the player had just closed it, and the launcher and Mod Manager offer Show, which takes it off the list. Switching the mod off and on again shows its windows again
The World test’s box spawned black. The level-design kit’s box_1_1_1_snappoints_orange.mesh has one appearance whose only material is an untextured editor material (metal_base.remt), read through REDbridge REDnode 0.18.1: the World test spawns cardboard_box_a_closed.mesh, a base-game box with textured multilayered materials
ArchiveXL showed as installed Correct: the player had deployed it again, so its DLL was back. The #9 rule (a plugin folder without a DLL is not installed) was checked against the folder while the DLL was missing

O11 Spaces: plan

Proposed by the user on 2026-10-14, after O10: HUD apps will crowd the screen, and today the only way to thin them is to switch packages off and on in the Mod Manager. Order decided with the user on 2026-10-14: after O10’s test and the TweakDB API. Built in REDnode 0.21.0: see O11 Spaces: built.

Called spaces, not layers: “layer” already means the z-order (the tool layer above packages’ windows, O10).

Piece Plan
Spaces Named by the player; one, “Main”, to begin with. A window belongs to one space or to all of them. Tool windows show in every space. Kept per window (a package with several windows places each), keyed like saved positions
Switching On the launcher tab: REDNODE · 4/20 ▾ Main, a list of spaces with New space. A hotkey to cycle spaces (to choose: such as F10 then 1 to 9). Gamepad later
Moving a window From its title bar (see below), and a Space column in the Mod Manager for moving many at once
No cost until used Until the player makes a second space, nothing new shows: no switcher, no title-bar control
Mechanics The host hides the other spaces’ windows with window.hidden, as solo mode does (O10). Solo wins over the space. Windows in other spaces could pause rendering, which a switched-off package cannot do without losing its state
Pin to HUD Pin to HUD decides gameplay versus interactive mode; a space decides which set shows at all. They combine. To decide: keep both, or make Pin to HUD a per-space setting

The title-bar controls (decided below). A window’s title bar has close, and the debug button in Developer mode. Spaces add “move to space”, and more may follow (reset position, roll up). Two shapes, to try as mockups before choosing:

Shape For Against
A few icons, like a desktop window’s minimize, maximize and close One click for what is used often More than three or four clutter every window
One menu button holding the actions One small button, however many actions Two clicks for frequent actions, and an action with its own choices (which space) becomes a menu inside a menu

Rules either way, agreed in principle with the user: no cascading menus; at most a few icons on a title bar; a frequent action stays one click. A middle way to mock up too: a direct icon only for the frequent action (the space icon opens the list of spaces, one level), with rarer actions in a menu.

Decided with the user on 2026-10-14, after interactive mockups of the three shapes (A every action an icon, B icons with overflow, C one menu): B, an icon row with overflow. Close and up to three action icons, flowing right to left: close on the far right, the most used action next to it. A window with more than three actions gets a ⋯ button on the far left, holding the rest, each with its icon and its name. So a title bar shows at most five buttons (⋯, three actions, close), and ⋯ only appears when there are more than three actions. To revisit if it does not work well in practice.

Question Proposal
Which actions get the icon slots Close always, rightmost. The others by a fixed priority, highest nearest close (in the mockup: move to space, roll up, pin to HUD, reset position, debug). An action that is not available (debug outside Developer mode, spaces with only one space) takes no slot, so most windows show close and little else
An action with choices in the overflow (move to space) The ⋯ list swaps to the choices, with a back row, instead of opening a second menu beside it: one level on screen at a time
Width on small windows Five buttons at 22 px with their gaps take about 140 px of the title bar; the title shortens with an ellipsis on narrow windows

O11 Spaces: built

REDnode 0.21.0. Decided with the user on 2026-10-14 besides the title bar: Pin to HUD stays as it is beside spaces (a space picks which windows show at all; Pin to HUD which of them stay during gameplay), and Ctrl+1 to 9 switches spaces while the overlay is open.

Piece Where
Spaces The host keeps settings.spaces: the names, the current one, and the space of each window (by its id) or of a whole package (by the package’s id; a window’s own choice wins). A window with no space yet joins the current one when it first opens, so nothing moves for a player who never makes a second space. Tool windows show in every space. A space hides windows with the plugin’s window.hidden (O10); solo mode wins over the space while it lasts
Launcher A Space row in its settings: the current space, New, Rename, Delete (with a name field, since overlay pages have no dialogs). Deleting a space moves its windows to the first space. Once there is a second space, the tab shows ▾ name, a list of the spaces with their Ctrl+number
Ctrl+1 to 9 The host catches Ctrl+number before the page, switches space, and drops the digit the key would type
Title bar (UI kit rn-window) Close and up to three action icons, right to left, most used next to close: move to space (with a second space), roll up, pin to HUD, reset position (after a window was moved), debug (Developer mode). More than three: ⋯ on the far left holds the rest; an action with choices swaps the ⋯ list for its choices with ‹ Back. The menu floats over the page, so a short window does not cut it off. The overlay-window actions (space, pin, reset) show only on a page’s only rn-window. no-space, no-rollup and no-debug hide one action for a window. The old debug button is now the debug action
Mod Manager A Space column, shown once there is a second space, and Main / … / All buttons in a package’s details to move the whole package

Tested in the mock game: New made “Combat” and switched to it, which hid the Hello mod (in Main); Ctrl+1 brought Main back and the Hello mod with it. Its title bar showed the space icon next to close; the list held Main (current), Combat and All spaces; picking Combat hid it, and Ctrl+2 showed it again. With Developer mode on and a saved position, five actions made the title bar show ⋯, pin, roll up, space and close, and ⋯ held Reset position and Debug. The Mod Manager showed the Space column (Combat) and the space buttons. Unverified in the game.

O11 Spaces: test

Use the Test timer: Start, then Mark after each step.

  1. Close the game. Deploy REDnode. Start the game and load a save. Mark.
  2. F10. In the launcher’s settings, Space: press New, type Combat and Enter. The tab shows ▾ Combat, and every package window and HUD widget goes away; the launcher, Mod Manager and Test timer stay. Mark.
  3. Ctrl+1: Main comes back with everything in it. Ctrl+2: Combat again. Then Ctrl+1. Mark.
  4. On the Hello mod’s title bar, the space icon is next to close: choose Combat. The Hello mod goes; Ctrl+2 shows it; Ctrl+1. Mark.
  5. In the Mod Manager, the Space column shows each package’s space. Select Coords and press All: it shows in Main and in Combat. Mark.
  6. On a window, try roll up and the pin (Pin to HUD) on its title bar. Drag it, then use Reset position. Switch Developer mode on: ⋯ appears on the far left with the actions past three. Mark.
  7. In the launcher, Rename Combat to Driving, then Delete it: its windows come back to Main. Mark.
  8. Quit the game.

Result, 2026-10-14: passed. REDnode 0.21.0. Every step worked, marked 1 to 7, with no page errors. The host log shows each one: Combat made and switched to; Ctrl+1 and Ctrl+2 switching back and forth; the Hello mod moved to Combat from its title bar; Coords put in every space from the Mod Manager, back to Main and to every space again; the Mod Manager pinned to the HUD and its position reset from title bars; Combat renamed to Driving, then deleted, its windows moved to Main. The title-bar shape (close, three action icons, ⋯ past three) is to be revisited only if it does not work well in practice.

O12 Console: plan

Proposed by the user on 2026-10-15: Cyber Engine Tweaks has a console where players type Lua; REDnode has none. Not scheduled; its place in the order is to be agreed.

Why not the debugger’s console (O9). It is a tool for fixing one package: it needs Developer mode, a Node mod restarts with its Debug switch on, the code runs inside that package with its own variables, and it is Chromium’s DevTools, dense and desktop-styled. The console is the game’s command line: one key away for any player, one shared scratch context with every part of REDnode ready, in the HUD style.

Piece Plan
The window A built-in tool (it stays above packages’ windows, O10): an input line, the output above it, history with the up and down arrows, multi-line input with Shift+Enter, Clear. Opened from the launcher and with a key in the overlay (to choose; CET uses the key under Esc)
Where code runs A built-in Node mod of its own, so a crash or an endless loop stops only the console: each line runs in one shared context, with top-level await, and variables kept between lines. game, api, tweakdb, world, ui, agent and the rest of the rednode package are in scope without imports
Results Values printed readably: numbers, strings and objects folded and unfolded; game objects as their type and reference, so the next line can call them ($1.GetDisplayName()); errors in red with the line. console.log from the line shows in the output
Help Completion from REDnode’s generated game types (the same types api uses): global functions, a class’s static functions, an object’s methods once its type is known. The game API reference one key away for the word under the cursor
Undo TweakDB changes made from the console go through the undo journal like any package’s (T2), and are undone when the console’s mod stops, or with a Revert my changes button
For agents The kernel MCP server could offer the same evaluation (an eval tool), behind the player’s OK, since it can change the game. To decide

Questions to settle first: the key that opens it, whether players who never turned on Developer mode get it (CET gives its console to everyone), and whether scripts can be saved and run again (a “snippets” list) in the first version.

O12 Console: built

Asked for by the user on 2026-10-27, for routine jobs they did with Cyber Engine Tweaks’ console, so CET can leave their loadout; the first job is giving items by TweakDB id. Built in REDnode 0.42.0. The plan’s questions, as decided for this first version: no key yet (the launcher opens it, like the other built-ins), every player gets it (no Developer mode needed, as CET does), no snippets list.

Piece Where
The package packages/overlay/console: a built-in package with a page (index.html, app.js) and a Node mod (mod.mjs). Packaged, it sits in the host’s resources/console, outside app.asar, so the mod’s worker thread loads it as plain files (tools/overlay/package-host.mjs)
Where code runs The Console’s own Node mod, in its own process. Each entry goes over the channel to the mod, which runs it with Node’s REPL evaluator (repl.start on dummy streams, useGlobal): top-level await, variables kept, unfinished entries recognized. Its errors come out on its output stream, which the mod reads, so errors thrown later by a timer or promise the entry started show too and the Console keeps running. Top-level let and const become var, so an entry can run again without “already declared”
Scope Everything the rednode package exports, plus Node’s built-in modules by name (fs, path …), plus the shortcuts addItem, removeItem, pos, tp, clear, help
Results Each result is $<n>, the last also $_ (the last 50 kept, so old game objects are let go). A promise is waited for. Values show as a tree that folds open; game objects as their type and reference (PlayerPuppet #1); console.log lines in the output and in the Mod log
The window 760 by 460, at the top of the screen, a tool window. Enter runs, Shift+Enter adds a line, Up and Down go through history (200 entries, kept in the Console’s data folder across starts), Tab completes with Node’s completer (globals and properties; not yet the game’s types), Ctrl+L clears. Stop starts the mod again (host call rednode:console:stop, the Console’s page only), which ends an endless loop; variables are cleared, the output stays. Copy copies the output as text
Items game.player.addItem(id, count?) and removeItem in the rednode package, on the transaction system’s GiveItemByTDBID and RemoveItemByTDBID; addItem checks the record exists first

Closing the Console’s window stops its mod, as with any package. TweakDB changes made from the Console go through the undo journal like a package’s, so they should be undone when the Console closes or stops (unverified). Not in this version: a key to open it, completion from the game’s types, snippets, an MCP eval tool.

Checked in the mock game, in development and with the packaged host (scratchpad console/check.mjs, 20 checks): addItem gives through GiveItemByTDBID and refuses an unknown id; let runs again; top-level await; a returned promise is waited for; a game object’s method called through $_; errors; console.log; an unfinished entry; a late error from a timer; fs; arrays; help(); Tab; history; folding; while (true) {} shows RUNNING and Stop brings the Console back with its variables cleared. Unverified in the game.

O12 Console: test

REDnode 0.42.0, on game 2.5.

  1. Switch on the Test timer in the launcher, press Start, and press Mark after each step.
  2. Load a save. Press F10, and in the launcher switch on Console. Its window opens at the top with a welcome line. Mark.
  3. Type addItem("Items.Pants_01_basic_01") and press Enter: the answer says it was added. Open the inventory: the trousers are there. Close it. Mark.
  4. Type addItem("Items.Pants_01_basic_09") (a typo): a red error says there is no such record. Mark.
  5. Type addItem("Items.money", 1000): V’s eddies go up by 1,000. Mark.
  6. Type pos(): V’s position shows. Click it to fold it open. Then await api.GetPlayer(game.instance) shows PlayerPuppet #..., and await $_.GetDisplayName() answers (any text). Mark.
  7. Press Up twice: the entries come back. Type help(): the shortcuts are listed. Type game.pl and press Tab: it becomes game.player. Clear the line. Mark.
  8. Type while (true) {}: the status says RUNNING. Press Stop: the Console says it started again. Type 1 + 1: it answers 2. Mark.
  9. Close the Console with its ✕, then switch it on again: the history (Up) is still there. Mark.
  10. Quit the game.

First run, 2026-10-27 (dev PC, game 2.5, REDnode 0.42.0). Step 8 failed: after reopening, Up brought back only 1 + 1. The history file held only that entry. The Console wrote its history asynchronously; the write for while (true) {} had truncated the file when the loop blocked the thread, and Stop ended it there, so the file was empty when the Console started again. REDnode 0.42.1 writes the history synchronously, before the entry runs, through a temporary file and a rename. A mock check covers it (history survives Stop). The run used Items.slim_fit_pants from the first build’s examples, which is no TweakDB record; 0.42.0’s later commit uses Items.Pants_01_basic_01.

Retest, 2026-10-27: passed (dev PC, game 2.5, REDnode 0.42.1). The retest’s steps (the welcome line’s item id, three entries, addItem("Items.Pants_01_basic_01") with the trousers in the inventory, while (true) {} and Stop, Up through the four entries, then close and reopen with the history kept) all passed. With the first run’s steps 1 to 7, the O12 test has passed.

Console: resizable, and a question before it undoes TweakDB changes (REDnode 0.79.0)

Asked for by the owner on 2026-11-07 (order item 5, agreed on 2026-11-23). Closing the Console stops its package, and REDnode undoes the TweakDB changes made from it, which caught the owner out in EDGEhack’s H3.5 spike. Built on 2026-11-30.

Part What it does
Resizable "resizable": true with a minimum of 520 x 300 in its manifest; the page fills its window (100vw, 100vh), and the size is kept as other resizable windows keep it
The question The ✕ asks tweakdb.changes() first. With none, the Console closes as before. With some, a line above the buttons says how many are undone (and how many new flats stay until the game closes), with Close and undo and Keep open. Only the ✕ asks: switching the Console off in the launcher or the Mod Manager closes it at once
tweakdb.changes() New in the rednode package: the package’s own TweakDB changes still in place (paths, restorable, added), from the host’s undo journal. Any package can use it to warn before it closes

Mock check: scratchpad con/run.sh (11; DevTools on port 9241 drives the page): resizable, no changes at first, a tweakdb.set run in the Console reaches the game and is listed, ✕ asks and says what is undone, Keep open keeps it, Close and undo closes it and REDnode puts the flat back. Test: docs/testing.md, “The Console: resizable, and its question before closing (0.79.0)”. Passed in game on 2026-11-30 (laptop, REDnode 0.80.0, all 5 steps).

Pointer lock: built

Asked for by EDGEbuilder (#11) for its editor camera, which turns while the right mouse button is held: the cursor must stay put and the mouse keep turning the view. REDnode 0.22.0.

Piece Where
Plugin pointer.lock and pointer.unlock for a window. Only the window in use may take it (the focused one, or the one a button is held on) in interactive mode. While locked, the cursor stays where the lock began and is not drawn, and the mouse’s raw movement goes to that window as mouseMove with dx and dy; buttons and the wheel still reach it. Esc ends the lock (and goes no further, as in a browser); so do leaving interactive mode, the window closing or being hidden, and another window taking the lock. The plugin reports each start and end, with why, as pointer-lock. The middle mouse button now reaches pages too. Unit tests for each rule
Host and page Pages use the web’s own Pointer Lock API: requestPointerLock(), document.exitPointerLock(), document.pointerLockElement, pointerlockchange and pointerlockerror. Chromium drawn off screen cannot hold a real cursor, so preload.js puts in its own versions, which ask the plugin. Chromium also drops movementX and movementY from injected moves (found in testing), so the host sends the raw movement as a message and the page’s code dispatches pointermove and mousemove on the locked element, with the movement in movementX and movementY
Sample apps/pointer-test: hold the right button on its pad to turn a camera; it shows the yaw and pitch

Tested in the mock game: a right-button press on the pad locked the pointer, five moves of 40 by -20 turned the camera by 30 degrees of yaw and 15 of pitch (0.15 degrees per unit), and letting go ended the lock (“the page let go”). Unverified in the game: the plugin’s held and hidden cursor and its raw movement.

Pointer lock: test

Use the Test timer: Start, then Mark after each step.

  1. Close the game. Deploy REDnode. Start the game and load a save. Mark.
  2. F10. In the Mod Manager, switch on Pointer lock test. Hold the right mouse button on its pad and move the mouse: the cursor goes and stays where you pressed, Yaw and Pitch change smoothly, and they keep changing however far you move. Let go: the cursor is back where you pressed. Mark.
  3. Hold the right button again and press Esc while holding it: the lock ends and the cursor comes back, and the overlay stays interactive. Mark.
  4. Hold the right button and press F10: the lock ends with interactive mode. Mark.
  5. Quit the game.

Result, 2026-10-15: passed. REDnode 0.22.0, steps 1 to 4 marked. The cursor stayed put and hidden while the right button was held, and the camera kept turning. The plugin log shows three locks by the test window, each ended a different way: letting go (“the page let go”), Esc, and F10 (“the overlay left interactive mode”). #11 closed.

Polish 0.24.2: built

Asked for by the user on 2026-10-16, after the Sound API’s S1 test, and built before S2.

Change What it does
Tooltips Overlay windows are drawn off screen, where Chromium’s own tooltips never show, so no title ever showed in the game. The UI kit now draws them in the page: any element with a title gets one after half a second’s hover, the title-bar icons too. See the kit’s README
Tool windows in the Mod Manager A package granted front (the Test timer) is in the tool layer and shows in every space, by design. The Mod Manager now says so: its Space column reads All, and its space buttons are greyed with a note
Open at start A launcher switch, on by default. Off, the game starts with only HUD widgets showing; the launcher tab and windows pinned to the HUD wait for the first F10 (settings.openAtStart). Decided with the user: HUD widgets still show
Volume reads The host reads the game’s volumes when a save loads, not only once a sound played, and logs every read with its reason: Sound: the game's volumes are ... (a save loaded), (a menu closed, unchanged), or a line saying the read failed

Tested in the mock game: with Open at start off, only the HUD widget opened on the HUD; going interactive put the launcher tab back and logged Open at start: the overlay was opened. A hover over the Test timer’s roll-up icon drew “Roll up” below it. The volumes were read 5 seconds after the save loaded. The Mod Manager’s greyed buttons are unverified.

REDnode 0.24.3 finds a REDbridge in REDcode’s storage under its store id since 0.8.2, edgemodders.redcode-cyberpunk. REDnode 0.24.4 (#13): REDdeck is now EDGEdeck, a new extension (edgemodders.edgedeck), so REDnode looks in EDGEdeck’s storage and no longer in REDdeck’s, a clean break decided with the user on 2026-10-17. The messages say EDGEdeck. On the dev PC, where only REDdeck had fetched REDbridge, findRedbridge() now finds none, as expected.

Polish 0.24.2: test

Before starting the game, for step 5: install EDGEdeck in VS Code and press its Get REDbridge. The REDbridge REDdeck fetched no longer counts.

  1. Switch on Test timer in the launcher, press Start, and press Mark after each step.
  2. Load a save and press F10. Hover a title-bar icon on any window, such as roll up on the Mod Manager or the Test timer: a tooltip names it after half a second. Hover the launcher’s Open at start switch: a tooltip explains it. Mark.
  3. If you have only one space, make a second in the launcher’s Space row (New). In the Mod Manager, select Test timer: the Space column says All, the space buttons are greyed, and a note says it is a tool window. Delete the extra space if you like. Mark.
  4. In the launcher, switch Open at start off. Quit the game and start it again. At the main menu, only HUD widgets show: no launcher tab, no other windows. Load a save: still only HUD widgets.
  5. Press F10. The launcher and your windows show. Press Start on the Test timer again (it restarted with the game) and Mark. Switch Open at start back on if you like.
  6. In the launcher, switch on Packaging test and allow its REDbridge permission in the Mod Manager. The Mod Manager says REDbridge was found in EDGEdeck (Code), and the Packaging test’s window lists the game’s archives. Mark.

Then quit the game. The overlay log should have Open at start is off, Open at start: the overlay was opened, and a Sound: the game's volumes are ... (a save loaded) line after each save load.

Result, 2026-10-17: partly passed. REDnode 0.24.4, without the Test timer: step 1 failed, and the user ran the other steps anyway to learn more.

Step Result
1. Tooltips Failed. No tooltip on the title-bar icons or on Open at start
2. Tool windows Passed. Test timer: Space column All, space buttons greyed, the tool-window note
3. Open at start off Partly. No launcher tab or other windows until F10. But Vitals and Coords showed on the loading screen before the main menu
4. F10 Passed (the log has Open at start: the overlay was opened at 15:29:46)
5. EDGEdeck Passed. The host started REDbridge 0.10.0 from EDGEdeck (Code) and the Packaging test listed the archives. #13 closed

What the logs and a repro showed:

Finding Cause
No tooltip on Open at start The kit’s tooltip code walks up from the hovered element and stops at a shadow root. The switch is an rn-toggle with title, and the hovered part is inside its own shadow root. Reproduced in an offscreen Electron window with the host’s options: a title-bar icon and a plain button got their tooltip, the rn-toggle never did
No tooltip on the title-bar icons Unknown. They show in the same repro and in the mock game, so something differs in the game itself
Vitals and Coords on the boot loading screen main-menu means “no player”, but the game makes a player during the boot loading screen: PlayerPuppet.OnGameAttached came 0.7 s after the first frame. The volume read then logged (a save loaded) 5 s later, still before the main menu. The same root as telling a real session start from the main-menu attach (P1 results)

Polish 0.24.5: built

Agreed with the user on 2026-10-17, after the 0.24.4 test.

Change What it does
Tooltips through shadow roots The kit’s walk from the hovered element now passes shadow roots, so a kit control with a title (the launcher’s Open at start, an rn-toggle) gets its tooltip. Checked in the offscreen repro: the title-bar icon, a plain button and an rn-toggle all showed theirs
Tooltip trace The kit logs each tooltip’s fate at debug level: [rn-tip] hover "Roll up", showed ... at x,y, hid ... (pointerdown), dropped before showing ... (blur), skipped .... The MCP server’s window_console reads them, to find why the title-bar tooltips do not show in the game
Main menu by IsPreGame() main-menu is now “no player, or IsPreGame() is true”. The plugin reaches the game’s system requests handler through an inkMenuScenario it makes, as CET mods do. Unverified in REDnode. The plugin logs each change: Overlay: main menu on (player yes, IsPreGame true), or a line saying IsPreGame could not be read

0.24.5 crashed the game, fixed in 0.24.6. On 2026-10-17 the game closed less than a second after the title screen showed, with no crash report. The plugin log ended right after Overlay: main menu on (player no, IsPreGame true) and Overlay: interactive. The cause: GetSystemRequestsHandler returns a weak handle (whandle), and 0.24.5 took it into a strong Handle. Each poll then dropped a strong reference that was never added, so the game soon freed its own handler while still using it. 0.24.6 takes a WeakHandle and locks it. The check itself worked: IsPreGame read true at the title screen.

0.24.6 in game, 2026-10-17 (partly run). No crash. Step 1 by the log: main menu on (player no, IsPreGame true) on the first frame, still on when the boot-time player appeared 0.6 s later, and main menu off (player yes, IsPreGame false) when the save loaded. Step 3 passed: the Open at start tooltip showed. Step 4 failed: no tooltip on the title-bar icons. Found live, with the MCP server’s window_console and window_image and the window debugger:

Check Result
Is the cursor where the page thinks? Yes. Roll up’s box was 913 to 935 by 10 to 32, and the page’s moves at rest read 922,18 on its svg
Do events reach the title bar? pointermove named the icon (svg, path, button.act). pointerover came for the header but not for the icon inside it
Did the page see the hover? Yes: the icon was drawn in its hover colours, and clicks worked

So the kit’s tooltip, started only on pointerover, never started for the icons. Chromium’s offscreen repro always sent both events, which is why it passed there. 0.24.7 checks every pointermove too, and a tooltip closed by a press, key or wheel stays away until the cursor leaves that element (checked in the repro).

Polish 0.24.5: test

Run with REDnode 0.24.7.

  1. Switch on Test timer in the launcher, press Start, and press Mark after each step. The timer is out of reach until step 2, so step 1 is done before it.
  2. Start the game. On the boot loading screen and at the main menu, Vitals and Coords do not show. Load a save: they show once you are in the game.
  3. Press F10. Switch on the Test timer if it is off, press Start, and Mark (for step 1).
  4. Hover the launcher’s Open at start switch and keep still: a tooltip after half a second. Mark.
  5. Hover a title-bar icon, such as Roll up on the Mod Manager, and keep still: a tooltip names it. Mark. If none shows, leave the game running and say so: the window’s [rn-tip] trace is read through the MCP server while the game runs.
  6. Quit the game.

The plugin log should have Overlay: main menu on at the start, main menu off (player yes, IsPreGame false) once the save runs, and no could not read IsPreGame.

Result, 2026-10-17: passed with REDnode 0.24.7, all steps, with the timer. Vitals and Coords stayed hidden on the boot screens and at the main menu and showed in the save. The plugin log: main menu on (player no, IsPreGame true) on the first frame, still on through the boot-time player 0.6 s later, main menu off (player yes, IsPreGame false) when the save loaded. Tooltips showed on Open at start and on the title-bar icons, and a clicked icon’s tooltip stayed away until the cursor left. The marks read one step low (marks 1 to 4 for steps 1, 3, 4 and 5), because step 2’s Mark was for step 1: test lists now give each step exactly one Mark with its own number. This closes the Polish phase (0.24.2 to 0.24.7).

Welcome 0.25.1: built

Asked for by the user on 2026-10-17: a new player who does not know F10 sees only the small launcher tab, which takes no click in passive mode, and could get stuck.

Part What it does
The Welcome window A built-in app (packages/overlay/welcome), centred, in the tool layer: the social banner cropped to the framework line and the REDNODE wordmark, a short note on what REDnode is, the launcher tab and the Mod Manager, and what F10 does (Showing, Using, Hidden; Esc or a click on empty screen gives input back)
It follows the mode The current mode is lit, and the line beside Got it says what to do: “Press F10 to use the mouse here”, then “Click Got it”. Closing it needs F10, so the player learns it by doing it
Once The host opens it while settings.welcomed is unset, also at the main menu and while Open at start holds other windows back. Closed once (Got it, its ✕ or the launcher), it sets welcomed and opens again only from the launcher’s list

Checked in the mock game: it opened on a fresh start with Showing lit, lit Using in interactive mode, and Got it closed it and saved welcomed; the next start did not open it.

Welcome 0.25.1: test

See the session’s test in the World API page: it runs with #12’s H0. Passed on 2026-10-18 on the user’s laptop: it showed once, Got it closed it, and it stayed closed at the next start (results).

Cursor flicker on the laptop: 0.26.1 diagnostics

Found in the H1 test on 2026-10-19, on the user’s laptop (2560 x 1440, touchpad, about 45 fps in the game): the overlay’s own arrow flickered while a save was loaded, not in menus. It flickered with the touchpad still and moving, before and after a switch to the desktop, with Frame Generation off. Not seen on the dev PC with a mouse. The arrow is drawn on every present in interactive mode, on the game’s own queue, so a missing draw would make the windows flicker too; the likelier cause is something moving the arrow back and forth. Unverified.

REDnode 0.26.1 logs, every 5 seconds in interactive mode, Overlay: cursor, last 5.0 s: ... in the plugin log: frames and how many had the arrow drawn; raw relative moves, raw moves with absolute positions (ignored), raw input while another window was in front; window messages (WM_MOUSEMOVE) and how many moved the arrow; moves of more than 150 reference pixels at once, with the last one and what made it; where the arrow is; and the Windows cursor (shown or hidden, its position, its clip rectangle). The Test timer 0.2.0 sends a typed note with the next Mark when Enter was not pressed (the notes of the first retest were lost that way).

Cursor flicker: test

REDnode 0.26.1 on the laptop. Type what you see into the Test timer’s field; Mark sends it with the step.

  1. Switch on Test timer in the launcher, press Start, and press Mark after each step. Step 1 comes before it can be reached.
  2. Load a save, F10 to interactive, switch on the Test timer and Start. Hands off the touchpad for 10 seconds. Note whether the arrow flickers, then Mark.
  3. Move the arrow slowly for 10 seconds. Note, Mark.
  4. Press Esc to open the game’s pause menu, F10 to interactive, watch still and moving for 10 seconds. Note, Mark.
  5. Close the pause menu, F10 to interactive, then move the arrow quickly in circles for 10 seconds. Note, Mark.
  6. Quit the game.

Then: the plugin log’s Overlay: cursor lines for each step, and the notes in the Mod log.

Cursor flicker: first run

Run on 2026-10-19 on the laptop with REDnode 0.26.1. The user’s notes: step 1 flickered (said after the test), step 2 “it flickers”, step 3 (pause menu) “no flicker”, step 4 a reload of the save first, then circles. The Test timer’s note with Mark worked.

What the log shows In the game (steps 1, 2, 4) Pause menu (step 3)
Frames, and frames with the arrow drawn About 45 a second, the arrow drawn on every one About 230 a second, the arrow drawn on every one
What moved the arrow Raw input only; no move of more than 150 px at once. With the touchpad still (step 1), no moves at all: the arrow stayed at 79,325 for 10 seconds Raw input only, no jumps
Window messages About one WM_MOUSEMOVE a frame even with the touchpad still, all ignored (raw input is used) Only while moving
The Windows cursor Hidden, held at the centre of the screen (1280,720) by a clip rectangle one pixel wide Hidden, free to move, clip the whole screen

What it means: the arrow is drawn on every frame at a steady place, so it is not being moved back and forth, and no frame lacks it. In the game, the game puts the Windows cursor back at the centre every frame, which is what the window messages are.

Found with the user afterwards: it is the overlay’s yellow arrow that appears and disappears where it was left; the overlay windows do not flicker. The laptop has an NVIDIA GPU and no other overlays. The game ran DLSS Super Resolution on Balanced with the transformer model and Frame Generation off; with DLSS off, the arrow no longer flickers. Not explained: DLSS upscales the game’s picture before the plugin draws, and the windows, drawn in the same pass, are not affected.

Fixed by a driver update (2026-10-19): after the user updated the laptop’s NVIDIA driver, the arrow no longer flickers with DLSS on. So the cause was the old driver with DLSS, not REDnode; no change to the plugin. The driver versions before and after were not noted. For players: if the overlay’s arrow blinks with DLSS on, update the GPU driver first. The 0.26.1 cursor diagnostics stay in the plugin log for future reports.

Cursor: drawn from a texture (0.26.7)

Seen again on the laptop on 2026-10-19 (REDnode 0.26.4 to 0.26.6): after a save loaded (from the “press space” screen on), the overlay’s arrow showed only briefly and rarely, with DLSS on or off, while the windows showed and the hover still lit buttons; in the pause menu it was fine. The plugin log said the arrow was drawn on every frame at the right place. So only the arrow’s own draw failed. It was the one thing the overlay drew without a texture: the pixel shader tested each pixel against the arrow’s outline (with a null texture view bound). Why that fails on the laptop’s NVIDIA driver in the game and not in menus is not known.

REDnode 0.26.7 makes the arrow once on the CPU (native/src/overlay/cursor.hpp: the same outline, 36 x 48 texels, 4 x 4 samples a texel, premultiplied BGRA) into a texture in the slot that held the null view, and draws it exactly as a window is drawn. The shader’s arrow stays only as the fallback if the texture cannot be made (the plugin log says which: Overlay: the arrow is drawn from a 36 x 48 texture, like a window). Unit tests in native/tests/capture_test.cpp. Passed in game on the laptop on 2026-10-19: the arrow showed and stayed after a save loaded (H1c-3’s run).

App keys: built (0.67.0)

Asked for by the owner on 2026-11-17, for apps like EDGEbuilder that need the whole screen to place and move objects but must come back at once. The player gives an app a key in its title bar (Key binding… in the ⋯ menu, a key icon) or in the Mod Manager’s details. The key toggles the app on screen; it never changes the app’s own state.

The app’s key, pressed when… What happens
The app is not on screen with the cursor (overlay hidden, passive, or the app hidden by its key) Only that app’s windows show, with HUD widgets, world pins and REDnode’s prompts. The cursor comes on and the app’s newest window takes the keyboard. A closed app is opened, a stopped mod started, and mod windows the player closed are shown again
The app is on screen with the cursor Its windows hide and the game gets its input back: to hidden mode if the overlay was hidden before the key showed the app, else to passive mode

Any other mode change, F10, Esc or a click on empty screen, ends the one-app view and shows a hidden app again, so F10 brings the overlay back as it was. The app’s edit mode, solo mode and selection stay as they are throughout.

Agreed with the owner the same day: the key must not be one the game uses. The Key binding window checks each key as it is pressed and says why one is refused:

Refused Why
A key the game binds anywhere Read from the game’s own files: r6/config/inputUserMappings.xml and the other input files there, mods’ files in r6/input (Input Loader), and the player’s own changes in %LOCALAPPDATA%\CD Projekt Red\Cyberpunk 2077\UserSettings.json (/key_bindings/*). On 2.5 every letter is bound somewhere (menus, vehicles, braindance): free are F2, F6, F7, F8, F11, F12, F13 to F24, the numpad, Page Up and Down, End, Insert, Delete and a few symbol keys
F10, Esc The overlay’s own keys
Alt+Tab, Alt+F4, Alt+Esc, Alt+Space, Ctrl+Esc, Print Screen Windows uses them
Ctrl+1 to 9 The overlay’s spaces
Ctrl+A, C, V, X, Y, Z Edit keys in text boxes
A typing key alone, or with Shift alone Typing would stop working in the overlay
Another app’s key One key, one app

A Ctrl, Shift or Alt held with the key is allowed with a note: the game hears it first (Ctrl is crouch, Shift sprint, Alt the free camera’s slow speed on 2.5).

Piece Where
Plugin input.cpp: keys.bind (the list, Ctrl 1, Shift 2, Alt 4, exactly those held), watched in every mode from raw input and window messages, the press, its release and its character kept from the game and the pages, {"event":"app-key","vk":..,"mods":..}; overlay.mode sets the mode for the host. windows.cpp: window.front brings a window to the front of its layer with the keyboard
Host appkeys.js (key names, the game’s bindings cached by the files’ times, the rules), main.js’s apps’ keys section (settings.appKeys, onAppKey, the one-app view in windowHidden, appKeysOnMode, the Key binding window’s questions, rednode:apps:app-key, rednode:keybind:*). The host hears the Key binding window’s keys itself, by their Windows codes
Windows The built-in Key binding window (packages/overlay/keybind, root flag prompt); the UI kit’s title-bar action appkey on every window of an app (no-key on rn-window leaves it out); the Mod Manager’s Key row
Package ui.onAppKey((shown) => ...) in pages and Node mods

Checked outside the game on 2026-11-17 in a stand-in for the plugin (scratchpad akey/run.sh, 24 checks): show and hide from passive, interactive and hidden mode, F10 ending the view, a key no app has, the Key binding window refusing Ctrl+B (“The game uses B for holster weapon, …”) and keeping F8, and no app key firing while it listens. Unverified in the game: the plugin’s watch, whether the game sees anything of a kept key, and the focus.

Found on the way: the UI kit’s rn-button had no disabled property, so button.disabled = true from code did nothing (the Key request and Editor request windows’ busy states). 0.67.0 adds it.

App keys: test

  1. Close the game. Deploy REDnode 0.67.1 (0.67.0’s first run failed step 4, below). Start the game and load a save.
  2. F10. On EDGEbuilder’s window, open Key binding… from the title bar (the key icon, or ⋯). The Key binding window opens. Press Ctrl+B: it shows Ctrl+B with “The game uses B for holster weapon, …” and Save stays grey. Press F8: it shows F8 and Save lights. Press Save. The key icon’s tooltip now says “Key binding (F8)…”.
  3. Switch EDGEbuilder to edit mode and solo mode, place an object and select it.
  4. Press F8: EDGEbuilder’s panel hides; its gizmo, the selection and the cursor stay. Drag the gizmo to move or turn the object, and hold the right mouse button to look around with EDGEbuilder’s camera: V does not move. Nothing of F8 reaches the game. Press F8: the panel is back.
  5. Still in edit mode with the object selected, type in one of EDGEbuilder’s text boxes: the letters arrive. Press F8 to hide the panel again, then F10: the overlay hides; F10 again: it shows, panel and all, without the cursor; F10: the cursor is back.
  6. (Folded into step 5.)
  7. End solo mode. Open the Mod Manager too, then press F10 until no cursor shows. Press F8: only EDGEbuilder shows, with the cursor; the Mod Manager and the launcher tab are gone. F8 again: only its panel hides, as in step 4 (EDGEbuilder fills the screen); F8: it is back. F10 then shows the other windows again. For an ordinary window, F8 hides the window and gives the game its input back: try it on the Mod Manager (Key binding… in its title bar, F7), F7 to show only it, F7 to hide it, then Remove its key.
  8. F10. In the Mod Manager, select EDGEbuilder: its details show Key F8 with Change and Remove. Press Remove, then F10 to give the game its input and press F8: nothing happens.
  9. Quit the game. Claude reads the plugin log (Overlay: 1 app keys, Overlay: app key 119 (mods 0) pressed) and the host log (App key: ... lines for each step).

The pause menu and the launcher’s filter (0.67.2)

Asked for by the owner on 2026-11-18, after the App keys test.

Piece What
Hide in the pause menu A switch in the launcher’s Settings drawer, on by default (settings.hidePauseMenu). When the game’s pause menu (Esc in the world) opens, the host puts the overlay in hidden mode, as F10 would. F10 works as ever there, so the player can bring REDnode up in the pause menu. When it closes, the overlay goes back to the mode it had, unless the player changed it with F10 meanwhile
The pause menu, read REDnode.reds wraps MenuScenario_PauseMenu.OnEnterScenario and MenuScenario_BaseMenu.OnLeaveScenario (not into its own credits, mods and pitch screens) and sends REDnode.PauseMenu; the plugin’s poll (gamestate.cpp, StatePauseMenu) also ends it once the game leaves its menus or goes to the main menu. Save, Load and Settings are pages inside the pause menu’s scenario. ui-state and game.state() carry pauseMenu
The launcher’s filter Opening the launcher puts the keyboard in its filter box, so typing at once finds a mod

Checks: redscript-cli alone and beside Codeware, and the game’s own scc.exe beside Codeware, 0 errors in REDnode’s scripts (scratchpad scripts-check/check.ps1); stand-in plugin (scratchpad akey/run.sh, 36 checks with the pause menu’s: hidden at its open, back as it was at its close, F10 there brings it up, a mode the player chose is kept).

The pause menu and the launcher’s filter: test (0.67.2)

First run, 2026-11-18, dev PC, 0.67.2: steps 1 to 5 passed; at step 6 the pause menu hid REDnode only every other time. The plugin kept “saw the game’s menu” from the previous open when the pause menu’s own leave ended it, so the next open was taken for closed at its first poll, before the game’s menu flag came (plugin log 03:36:37: REDnode.PauseMenu = 1 with no ui-state for the host). Fixed in REDnode 0.67.3: each open starts afresh (g_pauseOpens in gamestate.cpp). The retest passed in game on 2026-11-18 (0.67.3, steps 1 to 7; step 8 passed on 0.67.2).

  1. Load a save. Press F10 until the overlay shows without the cursor.
  2. Press Esc. Expected: the pause menu opens and REDnode hides (windows, HUD widgets, the launcher tab).
  3. Open Settings and Load Game from the pause menu, then back. Expected: REDnode stays hidden.
  4. Press F10 in the pause menu. Expected: REDnode shows, without the cursor. F10 again: the cursor too; click a window, then press F10 to hide it again.
  5. Close the pause menu (Esc). Expected: REDnode stays as you left it in step 4.
  6. Press F10 until REDnode shows without the cursor, then Esc, then close the pause menu at once. Expected: hidden in the pause menu, and back without the cursor after it.
  7. Open the launcher’s Settings drawer (the gear) and switch Hide in the pause menu off. Press Esc. Expected: REDnode stays on screen in the pause menu. Close it and switch the setting on again.
  8. Press F10 for the cursor, click the launcher tab to open the launcher, and type a few letters without clicking anything. Expected: they go into Filter mods… and the list narrows.

Asked for by the owner on 2026-11-14 (ui.select, for the VATS spike’s zoom choice, which uses four buttons and a line of text in its place). The UI kit has no dropdown, and a page’s own <select> likely never opens in the game: Chromium draws its list as a pop-up of its own, which offscreen pages do not show (unverified; the kit has its own tooltips for the same reason). Agreed with the owner on 2026-11-17: build it after the App keys test (0.67.0).

Piece What
UI kit rn-select with rn-option children (value, the text as the label, disabled); value, placeholder and disabled attributes; a .value property and an options property for code. The list opens inside the page, below the box or above it near the bottom, kept on the page, scrolling past about 10 items, with the kit’s look and sounds. Mouse: click to open, click to pick, a click elsewhere closes. Keys: Enter, Space or Down open it, arrows move, Enter picks, typing a letter jumps to the next option starting with it; Esc closes it while it is open (the page asks for Esc only then, through the Keyboard Lock API). A change event with { value }
ui builder ui.select(label, options, { value, onChange }) in Node mods, options as strings or { value, label }; set({ value, options }) on what it returns; the host’s update and builder/builder.js draw it with rn-select; the docs simulation’s runner.js too
Samples and docs The Kit demo gets one; a builder sample shows ui.select; the API reference from the TSDoc; overlay-apps.md and the UI kit section. The VATS spike’s zoom choice moves to it
Checks The mock game (scratch package; pictures of the closed and open list with --render=cpu), then an in-game test: open, pick by mouse and keys, near the bottom of a window, in a builder window, and in a full-screen page

Built in REDnode 0.68.0 on 2026-11-18, as planned. Passed in game on 2026-11-18 (dev PC, all nine steps of the test below).

Part Where
rn-select, rn-option packages/ui/src/rednode-ui.js. The list is a .rn-select-list in the page’s body, position: fixed, like the title-bar menu, so a window’s edge never cuts it; it takes the select’s theme. Its height is measured from the rows (the theme’s font sets them), about 10 rows before it scrolls, and it opens above the box when there is more room there. While open it asks for Esc through the page’s Keyboard Lock (escHold), and gives it back only when the page has not asked for Esc itself (the kit wraps navigator.keyboard.lock and unlock to know). Esc closes the list and stops there, so the page’s own Esc handlers never hear it. A scroll outside the list, a resize, a click elsewhere, focus leaving and the app’s key close it. Chromium sends a move with the mouse at rest when the list scrolls under it, which made the row under the mouse the active one while moving with the keys (found in the mock check): only a real move counts now
ui.select packages/rednode/src/ui.ts (SelectProps, SelectOption); the builder page (builder/builder.js) and the docs simulation (docs/assets/examples/sim/runner.js) draw it with rn-select. The host passes it through unchanged
Samples The UI kit sample 0.1.1 (a District choice with 15 options, one disabled); the VATS spike 0.7.1’s zoom choice, which was four buttons and a line of text
Mock check Scratchpad sel/run.sh (30 checks: mouse, keys, typing, Esc and the Keyboard Lock, a list above the box, options from code, ui.select in a builder window with set({ options, value }), pictures with --render=cpu)

REDnode 0.68.0. Switch on UI kit and VATS spike in the Mod Manager (each has its Allowed switch on by default; neither asks for a permission).

Step Do Expect
1 F10 for the cursor. In the UI kit window, Settings panel, click the District box The list opens below the box, about 10 rows with a scrollbar, Kabuki marked. North Oak is greyed
2 Scroll the list with the wheel, then click Coastview It closes; the box says Coastview; a notification says District: coastview; a click sound
3 Open it again and click North Oak, then click on an empty part of the window North Oak does nothing; the click elsewhere closes the list, Coastview stays
4 Click the box, press Esc The list closes and the overlay stays in interactive mode (without the list open, Esc leaves it as before)
5 With the box focused (after step 4), press Down a few times, then Enter Down opens the list and moves, skipping North Oak; Enter picks
6 With the list closed, press C three times, a second apart Each press picks the next option starting with C, round the list: the box steps through Charter Hill, Corpo Plaza and Coastview
7 Drag the UI kit window near the bottom of the screen, open the box The list opens above the box
8 Open the VATS spike window. Its VATS zooms by dropdown has four choices; pick SetZoom The Mod log says VATS zoom: SetZoom
9 Press the UI kit’s app key or F10 with a list open (any) The list goes with the window

Result: passed in game on 2026-11-18 on the dev PC with REDnode 0.68.0, every step.

Mod log: resizable (0.68.1)

Asked for by the owner on 2026-11-18 after the dropdown test. The Mod log’s manifest says "resizable": true with a minimum of 480 x 280, and its page follows the window’s size (100vw by 100vh, as the Pins window’s does), so the line list grows with it. The size is kept across starts in window-positions.json, like every resizable window; the title bar’s menu has Reset position and size.

Step Do Expect
1 F10. Open the Mod log (launcher) It opens at its old size, 640 x 380, bottom right
2 Drag the grip in its bottom-right corner, larger then smaller The window follows; the line list grows and shrinks, the buttons stay at the bottom; it stops at 480 x 280
3 Close the game and start it again, open the Mod log It keeps the size from step 2
4 Title bar menu, Reset position and size Back to 640 x 380, bottom right

Result: steps 1, 2 and 4 passed in game on 2026-11-18 (dev PC, 0.68.1); step 3, the size kept across a restart, passed on 2026-11-19 on the laptop (0.68.2 from an update zip over 0.67.3). Passed.

Versions in title bars (0.68.2)

Asked for by the owner on 2026-11-18. Each app’s window shows its version, dimmed, right after its title (v0.68.2). The launcher’s Settings drawer has Versions in title bars under Tooltips, on by default (settings.titleVersions); switching it off hides every version at once.

Part Where
The version windowInfo in main.js gives version (the owning package’s manifest version; for a ui-builder window, its mod’s) and showVersion; the switch’s IPC is rednode:host:title-versions, which sends every window its info again
The title bar The UI kit’s rn-window: a .ver span beside the h1 (updateVersion), on the page’s first window only, so drawers and the other panels of a full-screen page show none. Pages without the host (the docs previews) show none
Mock check Scratchpad tver/run.sh (12 checks, with a picture)
Step Do Expect
1 F10. Look at the launcher, the Mod Manager and the Mod log Each title has a dimmed version after it: v0.68.2 for REDnode’s own windows
2 Open a sample with its own version, such as UI kit It shows its own version (v0.1.1)
3 A ui-builder window, such as the VATS spike Its mod’s version (v0.7.1)
4 Launcher, Settings: switch Versions in title bars off Every version goes at once
5 Close the game and start it again Still off; switch it on, the versions come back

Result: passed in game on 2026-11-19, all five steps (laptop, 0.68.2 from an update zip over 0.67.3).

Hide on a click in the game (0.69.0)

Asked for by the owner on 2026-11-21. In interactive mode a click on empty screen gives input back to the game. Until now it always went to passive mode, where HUD widgets and windows pinned to the HUD stay on screen. The launcher’s Settings drawer has Hide on a click in the game under Hide in the pause menu, off by default (settings.hideOnClickAway). With it on, that click goes to hidden mode instead: nothing of REDnode is drawn until F10. F10 then cycles as ever: hidden, passive, interactive.

Part Where
The plugin {"cmd":"overlay.clickAway","hide":true} (input.cpp, ClickAwayHides); OnMouseButton in windows.cpp sets hidden instead of passive on a press on empty screen. A click on a world pin with clicks on, or on a window, is not a click away
The host sendClickAway in main.js at each hello and when the switch changes; IPC rednode:host:hide-on-click-away
The launcher The Hide on a click in the game switch (clickhide)
Step Do Expect
1 Switch on the Vitals or Coords sample in the launcher, so a HUD widget shows The widget is on the HUD
2 F10, then click on the game outside every window The overlay leaves interactive mode; the widget stays (passive mode, as before)
3 F10. Launcher, Settings: switch Hide on a click in the game on A notice says a click in the game hides REDnode
4 Click on the game outside every window Everything goes, the widget too; the game has the mouse. The plugin log says Overlay: hidden
5 F10 The widget shows again (passive mode); F10 once more opens the windows
6 Close the game and start it again, F10, click outside Still on: everything hides. Switch it off to leave it as before

Passed in game on 2026-11-21 on the dev PC (REDnode 0.69.0, all six steps; docs/testing.md has the log lines).

Load modded saves without the mod check (0.75.0)

Asked for by the owner on 2026-11-26, during the Saves spike’s test. Game 2.5 marks a save made with mods as modded, and loading one goes through LoadModdedSave(), the game’s mod check with its Mod Verification popup. The owner plays with a mod that skips it (Remove Mods Menu, Nexus 35686, no licence given, so REDnode’s version is written from the game’s own scripts and none of its code). The launcher’s Settings drawer has Load modded saves without the mod check, off by default (settings.plainModdedLoad).

The game’s load paths branch on two marks. The load menu (title screen and pause menu) asks each entry’s LoadListItem.IsModded(). The title screen’s Continue (SingleplayerMenuGameController.HandleMenuItemActivate, QuickLoad) asks m_isModded, set from the latest save’s details, and calls LoadModdedSave(0) for a modded save, LoadLastCheckpoint(false) otherwise. With the switch on, both answer not modded.

Part Where
Scripts native/scripts/REDnodeModdedSaves.reds: @wrapMethod of LoadListItem.IsModded and of SingleplayerMenuGameController.HandleMenuItemActivate (clears m_isModded first). Wraps only: another mod may replace the same methods, and two @replaceMethods of one method are a compile error that stops every script. Compiled with 0 errors alone, beside Codeware, beside Codeware and Remove Mods Menu, and with the game’s scc.exe (scratchpad modded/check.ps1)
The plugin The global REDnode_PlainModdedLoad() -> Bool (main.cpp), from {"cmd":"saves.plainModded","on":true} (input.cpp). The scripts read it when the player loads, not when a menu opens, so a menu opened before the host connected still follows the switch
The host sendPlainModdedLoad in main.js at each hello and when the switch changes; IPC rednode:host:plain-modded-load
The launcher The Load modded saves without the mod check switch (plainmodded)

Not covered: the title screen’s start-up check of outdated mod.io mods (CheckUserOutdatedMods, native, called from the menu’s OnInitialize; skipping it means replacing the whole function).

Load modded saves: test

Start with the switch off. To see the game’s own check, switch Remove Mods Menu off in EDGEdeck and deploy first; with it on, steps 1 and 2 show no popup either.

Step Do Expect
1 At the title screen, press Continue With Remove Mods Menu off: the game’s Mod Verification popup. Cancel it
2 F10, launcher, Settings: switch Load modded saves without the mod check on. F10 to close. Press Continue The last save loads with no popup. The plugin log says Saves: modded saves load without the mod check
3 Exit to the main menu, open Load Game, load an older save It loads with no popup
4 In the game, pause menu, Load Game, load another save It loads with no popup
5 Close the game, start it again, press Continue Still on: no popup. Switch it off to leave the game’s check as it was
6 With Remove Mods Menu on again, start the game The game starts, no script errors in r6/logs/redscript_rCURRENT.log, and loads still show no popup

Passed in game on 2026-11-26 on the dev PC (REDnode 0.75.0, all six steps; docs/testing.md has the log lines).

Tooltips on ui controls (#55, 0.70.0)

Asked for by REDcode’s Animation Tools pack on 2026-11-22 (#55): its Generate button is disabled for about a minute while Uthana makes a clip, and the owner wanted it to say so. tip on ui.button, ui.toggle, ui.slider, ui.input and ui.select is a tooltip, and set({ tip }) changes or clears it. It is the control’s title, which the UI kit already draws in the page (Chromium’s own tooltips never show in offscreen windows). A disabled rn-button still gets pointer moves, so its tip shows too.

Two cases needed the kit’s help, through RednodeUI.retip(el), which the builder calls after each change. A tooltip already showing takes the new text in place, or goes when the tip is cleared. A press closes a tooltip until the cursor leaves (the kit’s rule since 0.24.7), so a button that sets “Generating…” when pressed would say nothing; now a tip changed while the cursor is still on its control shows after the usual half second, with no move needed. On the way: a tooltip stayed shown when the cursor went from its control onto a part of the window with no title (target === tipDismissed was true for two nulls).

Part Where
The package tip in ButtonProps, ToggleProps, SliderProps, InputProps, SelectProps (packages/rednode/src/ui.ts)
The builder setTip in builder/builder.js (the title, or data-rn-title while its tooltip shows); the docs simulation’s runner.js the same
The UI kit retip and placeTip in packages/ui/src/rednode-ui.js, RednodeUI.retip
Sample Hello mod 0.2.0: Play sound has a tip, and is disabled for 2 seconds after a press with another
Mock check Scratchpad tip/run.sh (16 checks, DevTools on port 9239): the title, a tip shown after a rest, hidden by a press, the new tip shown with no move once the mod disables the button, the text changed in place when the mod enables it, hidden on moving off with the title back, toggle and input tips, cleared with tip: '', a disabled button’s tip on a plain hover

Tooltips on ui controls: test (0.70.0)

Step Do Expect
1 Launcher: switch on Hello mod (it asks for no permission). Check Tooltips is on in the launcher’s Settings Its window opens
2 Rest the cursor on Play sound After half a second: “Play the menu press sound”
3 Press it and keep the cursor still on it The press sound; the button greys out, and after half a second “Playing… ready again in 2 seconds” shows, with no move
4 Keep the cursor on it for 2 seconds The button comes back, and the tooltip changes to “Play the menu press sound” where it is
5 Move onto the window’s empty space below the buttons The tooltip goes
6 Rest the cursor on Follow “Update the position twice a second”

Passed in game on 2026-11-23 (dev PC, game 2.5, REDnode 0.70.0), all six steps. Closes #55.

The cursor in a windowed game (#56, 0.70.0)

Found by REDcode’s Game view spike on 2026-11-22 (#56): with the game in a window smaller than the screen (Windowed, 1920 x 1080, over VS Code), the overlay’s cursor in interactive mode did not follow the Windows pointer. The cursor is the overlay’s own, moved by raw mouse input. Full screen that is right, since the game hides and holds the pointer. In a window, the game’s menus set no clip, so the Windows pointer moves freely, at Windows’ pointer speed, and can leave the window. Raw input has neither, so the overlay’s cursor drifted from the pointer and stopped at the window’s edge while the pointer went on.

Now, while the game’s client area leaves part of its monitor uncovered and nothing clips the pointer inside it, the overlay’s cursor sits where the Windows pointer is. Outside the game’s window it is not drawn, and presses and the wheel there are not the overlay’s (a release still is, so a drag that ends outside ends). Full screen, or with the game clipping the pointer (mouse-look), it moves by raw input as before. A game that holds the pointer by putting it back at the centre, without a clip, is caught too: three raw moves in a row that find the pointer at the centre switch to raw input for a second. That case is unverified; the clip case is what REDcode saw.

The plugin tells the host whether the game is windowed and how the cursor moves ({"event":"game-window","windowed":true,"pointer":"follows"}), so MCP’s game_state has them as gameWindow. The windowed field it had before is the overlay host’s own --window mode, not the game’s.

Part Where
The check Follow in native/src/overlay/input.cpp (at most every 100 ms: the client area against its monitor, and GetClipCursor), FollowPointer (GetCursorPos into reference pixels), CheckRecentre; WM_MOUSELEAVE through TrackMouseEvent for a pointer that leaves while another window is in front
Not drawn outside CursorAway in the compositor’s cursor draw
The state NoteWindowed, checked every 2 seconds in any mode; ResendGameWindow when the host connects; gameWindow in the host’s state (packages/overlay/main.js)
Log Overlay: the game is in a window smaller than its screen, Overlay: the cursor follows the Windows pointer (a window, no clip) or moves by raw mouse input, and the cursor diagnostics line every 5 seconds ends with how it moves

Not handled: a page holding the pointer (pointer lock) in a windowed game gets raw movement as before, but the Windows pointer is still free and can leave the window.

The cursor in a windowed game: test (0.70.0)

Step Do Expect
1 Game settings, Video: Window Mode Windowed, Resolution 1920 x 1080 (or any listed size smaller than the screen). Move the window away from the screen’s corner. Open the pause menu The game’s own pointer follows the mouse
2 F10 The overlay’s cursor shows where the Windows pointer was, not at the middle of the window
3 Move the mouse slowly, then fast, around the window The overlay’s cursor stays on the pointer, at Windows’ pointer speed; one cursor only
4 Move the pointer out of the window over the desktop, and back in Outside: only the Windows pointer, no overlay cursor frozen at the edge. Back inside: the overlay’s cursor takes over where the pointer enters
5 Press a button in the launcher; drag the launcher by its title bar Both work where the cursor is
6 Esc to close the pause menu, back to the world. F10 The overlay’s cursor shows. Note whether it follows the pointer or stays put while the pointer moves
7 Settings: Window Mode back to what it was (Fullscreen or Borderless). F10 The cursor works as before

After the run: the plugin log’s Overlay: the cursor follows ... and moves by raw mouse input lines for each step, and MCP game_state’s gameWindow.

Passed in game on 2026-11-23 (dev PC, game 2.5, REDnode 0.70.0), all 7 steps: the cursor followed the pointer in the pause menu, was not drawn outside the window, and moved by raw input in the world, where the game holds the pointer. Closes #56.

UI kit

UI is written as markup, not built by hand in code. Two layers keep it optional:

Layer What it is Required?
Window API, in rednode Open, place, show and hide windows (kind, size, anchor, drag handles, hideWith), plus the game bridge Used by every app
UI kit, @rednode/ui Ready-made widgets as web components, with two themes Optional. Apps can use their own HTML or any web framework

Web components (custom elements like <rn-button>) work in plain HTML, React, Vue or anything else. Their styles are sealed in Shadow DOM, so app CSS cannot break them, and themes are CSS custom properties.

<!-- A titled REDnode window with widgets in it (kind: window) -->
<rn-window title="Weather control" draggable>
  <rn-toggle label="Freeze time"></rn-toggle>
  <rn-slider label="Rain" min="0" max="100"></rn-slider>
  <rn-button>Apply</rn-button>
</rn-window>

<!-- A borderless button that looks like part of the game (kind: hud or window) -->
<body style="background: transparent">
  <rn-button theme="hud" sound="ui_click">Open stash</rn-button>
</body>
Item Plan
First widgets rn-window, rn-panel, rn-button, rn-toggle, rn-slider, rn-input, rn-list, rn-tabs, rn-menu, rn-progress, rn-tooltip, rn-notification
Theme rednode The REDnode HUD house style, as in the demo app
Theme game A look-alike of the game’s own UI, rebuilt in CSS. No CDPR textures or fonts are copied
Built in Keyboard and gamepad navigation, focus that works with click-through and the F10 modes, UI sounds played through the game’s audio by the bridge

Every REDnode kernel reaches the same widgets, because only the overlay host can render a page:

Who How they make UI
Overlay app (HTML and JavaScript) Uses the components in its markup
Tier 2 Node mod A builder that produces the same components, for example rednode.ui.window({ title, children: [button('Apply')] }). No HTML needed. Arrives in O6
Tier 1 and declarative rules Ask through the bridge for a ready-made piece of UI, such as a notification. The host renders it with the kit

Player install

Running npm run overlay by hand is the developer setup. Players should install from Nexus Mods or with Vortex and have it work, like CET. Planned for O3:

Piece How
Packaged host Build the Electron host into a standalone app with its own Node, with @electron/packager. No Node, npm or repo needed. Ships inside the REDnode mod as red4ext/plugins/REDnode/host/. 320 MB unpacked with Electron 44: the executable alone is 235 MB. The zipped size is not measured yet
Auto-start The plugin starts the host when the game starts. The host exits when the pipe closes, so it never outlives the game
Apps as separate mods Overlay apps, and later Tier 2 Node mods, install into a REDnode apps folder, each with its manifest. On Nexus they list REDnode as a requirement, like CET mods list CET
Player settings Enabled apps, the hotkey (F10 today) and similar, held by the launcher app

The player’s path then is: install RED4ext and REDnode, add any REDnode apps, launch the game.

Risk Note
Antivirus A game plugin that starts a program may cause false alarms. Code signing helps. Unverified
Size 320 MB unpacked is large for a mod. Nexus allows it; a shared runtime for all REDnode apps keeps it to one copy
Vortex The archive layout must let Vortex deploy REDnode as a normal mod

Looking like the game

Topic Approach Status
Visual effects CSS and WebGL in the page: glow, scanlines, glitch, chromatic aberration Standard web techniques
Fonts The game’s fonts cannot be shipped with REDnode. Use close open-source fonts, or load fonts from the player’s own install at runtime Loading from the install is unverified, and needs a licensing check
Colors Match the game’s palette. In HDR, match the game HUD’s brightness (O7)  
Sound Play UI sounds through the game’s audio system with a bridge call, so they mix with the game Unverified

Known limits and research items

Item Notes
Always on top REDnode draws after the game finishes the frame, so its windows sit above everything, including game menus. Drawing under a game menu would need a hook inside the game’s own UI rendering. Research item, not planned
Game input while a window is focused The game is paused for input while an interactive window has focus. This is intended, the same as CET
World-space UI Labels attached to 3D objects would need the camera through the bridge each frame and would draw over everything. Research item
Steam Deck and Proton Untested. D3D12 runs through vkd3d-proton there