REDNODE / DOCS

World API

Status: in use, each phase passed in game: W1 spawning and moving (REDnode 0.15.0, 2026-10-13); W2 requirements and the shared REDbridge (0.17.0, 2026-10-14); W3 REDbridge for players (0.25.0, 2026-10-17); hot-loading archives, H0 to H1d (0.26.0 to 0.26.8, sound archives included); H2b, refreshing what V wears after a swap (0.26.20, 2026-10-22). Next: H2c, world objects (NPCs and props from EDGEbuilder’s scenes), whose spike awaits its run. To use these, read Overlay apps: Placing things in the world and Swapping archives in the running game. The phases answer requests from EDGEbuilder, the world builder, filed as request issues.

EDGEbuilder places objects in the running game: an empty entity spawned through Codeware, with a mesh, light or other component attached while it assembles. The api in the rednode package can call any game function and read properties (Overlay apps: the game API), but it cannot yet build objects, write properties, pass resource references or hear an entity assemble.

W1 World API

For EDGEbuilder’s phase B1 (browse and drop) and B2 (position).

Piece Request Plan
api.$new(className, props?) #1 The plugin builds any native object by class name and returns a game reference, like any object api returns. props sets properties first, with the same type checks function arguments get. A plain struct comes back as its value
ref.$set(prop, value) #1 Writes one property of a game object, type checked like $get reads
Resource references #3 Where a function or property expects a resource reference (rRef, raRef, ResRef), a path string ("base/.../crate_a.mesh", hashed the way the game hashes depot paths) or a hash string is accepted. Reading one gives the hash; turning a hash back into a path needs an asset index, which REDbridge has
Entity callbacks #2 A small redscript part of REDnode, active only when Codeware (1.14 or later) is installed, turns Codeware’s Entity/Initialize and Entity/AfterAttach (alias Entity/Attached) callbacks into REDnode events for the entities a mod watches (not every entity in the world, which would flood the pipe)
api.spawn(...) #2 A helper on top: spawns an entity through Codeware with a template, transform, appearance and components to attach, and resolves when it is attached. Hides the timing from every mod that places things
Per-frame budget #1 Measure api round trips per game frame in game. Add api.$batch([...]) only if one call per frame is tight

Codeware, researched 2026-10-13 from its source at tag v1.20.5 (the latest) and its wiki. Codeware is MIT. The user’s game has it installed.

Fact Source Consequence for W1
GameInstance.GetCallbackSystem().RegisterCallback(eventName, target, function) returns a handler with AddTarget(...), SetRunMode(...), SetLifetime(...), Unregister() scripts/Callback/CallbackSystem.reds, CallbackSystemHandler.reds REDnode’s redscript part registers from a ScriptableSystem, where callbacks stay registered until unregistered
Lifecycle order: Entity/Extract, Entity/Assemble (no entity ID yet), Entity/Initialize (ID assigned), Entity/Reassemble, Entity/Attach (may fire more than once), Entity/AfterAttach, Entity/Detach, Entity/Uninitialize wiki “Game events”; src/App/Callback/Controllers/  
Entity/Attached is deprecated: it is now an alias of Entity/AfterAttach EntityAttachHook.hpp REDnode names the event Entity/AfterAttach and accepts Entity/Attached as an alias, since EDGEbuilder asked for that name
Entity/Initialize is dispatched before the entity gathers its components, so Entity.AddComponent(component) there is picked up. Codeware’s wiki warns components must be added “at the right moment, for example, when entity is assembled” EntityRequestComponentsHook.hpp; wiki “Components” api.spawn attaches the components in Entity/Initialize
Targets by ID or tag match only once the entity has an ID, which it lacks at Entity/Assemble DynamicEntityTarget.Matches Watch with EntityTarget.ID(...) or DynamicEntityTarget.Tag(...) from Entity/Initialize on. Unverified in game
GameInstance.GetDynamicEntitySystem().CreateEntity(spec) -> EntityID; DynamicEntitySpec has recordID or templatePath, appearanceName, position, orientation, tags, persistState, persistSpawn, alwaysSpawned, spawnInView, active; GetEntity(id), IsSpawned(id), DeleteEntity(id) scripts/World/DynamicEntitySystem.reds, DynamicEntitySpec.reds api.spawn builds the spec from its options and tags its entities, so the callbacks target only REDnode’s
entMeshComponent has mesh (raRef<CMesh>), meshAppearance, visualScale, plus Codeware’s LoadAppearance() scripts/Base/Addons/MeshComponent.reds The resource reference support (#3) sets mesh from a path
Minimum versions: the handler API and targets 1.9.0, Entity/AfterAttach 1.14.0. The redscript module is Codeware; Codeware.Require(version) checks at run time git log of the repo; scripts/Facade.reds REDnode’s redscript part needs Codeware 1.14 or later and compiles only when it is installed. The exact @if(ModuleExists(...)) syntax is redscript’s: to confirm
No Codeware example spawns an entity with a mesh component attached; the nearest adds a mesh to the player wiki “Components”, “Spawning dynamic entities” Spawn, attach in Entity/Initialize, and the mesh appearing is what the W1 test proves

Codeware stays optional (agreed with the user on 2026-10-13). REDnode itself never needs it: $new, $set and resource references are plain REDnode plugin code. Only the entity events and api.spawn use Codeware. Their redscript part is compiled only when Codeware is installed; without it, those calls fail with a clear message (“needs Codeware 1.14 or later”), and a package that uses them says so with W2’s requires. Rebuilding Codeware’s entity hooks inside REDnode would duplicate a maintained MIT library and risk the two clashing in players’ games.

The test proves: a mod spawns a crate in front of V, with its mesh set by path, moves it every frame without dropping frames, and removes it; the entity events arrive for it and only it.

W1: built

Piece Where
rtti.new, rtti.set native/src/overlay/reflect.cpp. An object made by rtti.new is held by its reference (references are otherwise weak) until released or a save loads
Resource references reflect.cpp: a path is hashed with the SDK’s ResourcePath::HashSanitized, the game’s own clean-up and hash; an rRef starts loading when set. Scripts’ ResRef (redResourceReferenceScriptToken) reads and writes as the reference itself
Codeware part native/scripts/REDnodeWorld.reds, compiled only with Codeware (@if(ModuleExists("Codeware"))): a ScriptableSystem registers Entity/Initialize, Entity/AfterAttach and Entity/Detach for entities tagged REDnode, or watched by ID. Spawn gives each spawn its own tag too, which keys its components, so they are added in that entity’s Entity/Initialize and no other. Delete, Move (Codeware’s Entity.SetWorldTransform) and Watch
Events A native REDnode_EntityEvent(name, entityID, entityType) queues them; the plugin sends them as game events with entityId and entityType. The entity itself is not sent: game events go to every mod and page, and references are counted per hand-out
Package api.$new, ref.$set, and world (packages/rednode/src/world.ts)
Sample packages/overlay/apps/world-test
Plugin 0.15.0

Checked before the game: both scripts compile with the redscript compiler (v1.0.0-preview.22) against the game’s own script bundle, with Codeware’s scripts and without them; the check found and fixed two errors (OnAttach must be public, and EntityID.GetHash gives only 32 bits, so the event takes the EntityID itself). The package’s world.spawn, move, remove, $new and $set pass a check against a fake game. The plugin builds and its unit tests pass. Not checked before the game: building objects, writing properties, resource references and the Codeware part, which only the game can run.

W1 test

Use the Test timer: Start, then Mark after each step. At the time of this test the World test used World Builder’s empty entity and box (base\spawner\...). Since REDnode 0.17.1 it uses only base-game assets (#6): the bare suitcase_small_placeholder.ent, a textured cardboard box (cardboard_box_a_closed.mesh, since 0.18.1: the level-design kit’s box rendered black) and the kit’s marker mesh.

  1. Close the game. Deploy REDnode. Start the game and load a save. Check r6/logs/redscript_rCURRENT.log compiled without errors (REDnode’s scripts are in it). Mark.
  2. F10, Mod Manager: switch World test on. Its window says “World API ready (Codeware found)”. Mark.
  3. Face an open spot and press Spawn box. A box appears about 3 metres in front of V; the window says how long it took, and the events Entity/Initialize and Entity/AfterAttach appear for it. Mark.
  4. Press Spin 10 s and watch: the box circles for 5 seconds one move at a time, then 5 seconds ten at a time. The window shows the moves per second each way. Mark.
  5. Press Remove: the box goes, and Entity/Detach appears. Mark.
  6. Press Next mesh, then Spawn box: the base game’s marker mesh this time. Remove it. Mark.
  7. Quit the game. I read the moves per second against the plugin’s frame rate in its perf lines, to answer EDGEbuilder’s per-frame question.

W1 results

2026-10-13: passed. REDnode 0.15.0, Codeware installed. The scripts compiled in the game. World test spawned World Builder’s empty entity with a mesh component built by api.$new with its mesh set by path, in 254 to 257 ms from the click; the box appeared in front of V. Entity/Initialize and Entity/AfterAttach arrived for it, and only for it. world.remove removed it, and Entity/Detach arrived. The base game’s marker mesh worked the same way.

Measure Result
Spawn to in the world 254 to 257 ms
Moves, one after another (each awaited) 30 a second at 30 fps: one call a frame, since a call’s answer comes the frame after it runs
Moves, ten at a time 302 a second at 30 fps: every call waiting when a frame starts runs in that frame. So api.$batch is not needed: send the calls without awaiting each one. The game thread takes at most 256 waiting calls a frame
Frame rate 53 to 61 fps before and after, 30 fps during the 10 seconds of moves. Unknown yet whether the moves cost it (a few ms can halve the rate under vsync) or something else: the plugin did not time game calls. Added in 0.15.1: the perf line gives game calls a second and their milliseconds a frame
Finding Notes
World test’s window did not show until Restart The plugin drew at most 16 windows, and refused the 17th (World test’s) with only a line in its own log; 17 were open with the samples, mods and built-in apps. Fixed in 0.15.1: up to 64 windows, and a refused window is reported in the host’s log

W2 Packaging

Piece Request Plan
requires in the manifest #5 "requires": { "codeware": ">=1.16", "archivexl": ">=1.23" }. The host checks the RED4ext plugins and redscript modules installed in the game; the Mod Manager shows what is missing next to the package, and the package can read the result
kernel.bridge() #4 How to reach a running REDbridge, behind a bridge permission the player grants, like kernel.mcp(). The host finds the copy EDGEdeck or REDcode already fetched and starts it on demand. REDbridge stays its own GPL-3.0 program, reached over JSON-RPC

The test proves: a package that requires something missing says so in the Mod Manager, and a package with the bridge permission lists the game’s archives through REDbridge.

W2: built

REDnode 0.17.0. How to use both: Requirements and The game’s files through REDbridge.

Piece Where
Game folder scan packages/overlay/gamefiles.js: RED4ext plugins with their DLL file versions (read from the version resource, three parts; the fourth is a build number some plugins fill with a date that overflows), redscript modules, CET mods, and RED4ext, CET and redscript. Rescanned at most every 30 seconds. The host finds the game folder from its own place (<game>/red4ext/plugins/REDnode/host), or --game
requires Checked in the manifest (a bad range is a manifest error). The Mod Manager: NEEDS next to the name, the list under Requires, and the Errors filter. The launcher: a “Needs …” line. A Node mod’s log: a line at each start. The MCP apps tool: each package’s requires. kernel.requirements() in the rednode package
REDbridge packages/overlay/redbridge.js: finds REDbridge.exe (REDBRIDGE_EXE, then the newest copy in EDGEdeck’s or REDcode’s storage in VS Code, VS Code Insiders, VSCodium, EDGEkit or Cursor), starts it with --game on the first call, and speaks Content-Length framed JSON-RPC on its stdio. One process for every package; it stops after 10 minutes without calls, and exits by itself if the host dies (its stdin closes). DOTNET_ROOT is set for it only when .NET 10 is per-user
kernel.bridge() The bridge permission. kernel.bridge() resolves with { version, source, call(method, params) }, or rejects with why (not allowed, or not installed and how to get it). The Mod Manager shows where REDbridge was found
Sample apps/packaging-test: requires Codeware, ArchiveXL and not-a-real-mod; lists and searches the archives

Tested in the mock game, with the real game folder: Codeware 1.20.3 and ArchiveXL 1.27.3 found, not-a-real-mod missing, shown in the table, details, the mod’s window and its log. After Allowed, the first call started REDbridge 0.5.1 from REDdeck’s copy, which loaded 57 archives and 583,798 files in 2.8 seconds; a search found 7 files. No REDbridge was left running after the host closed. Unverified: REDbridge reading the archives while the game runs.

W2 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, find Packaging test (it is new, so use the New filter or search). It shows NEEDS. Select it: under Requires, Codeware and ArchiveXL have a tick with their versions and not-a-real-mod is crossed out. The Errors filter lists it too. Mark.
  3. Switch it on. Its window lists the same three lines. Mark.
  4. In its details, under Permissions, the line says where REDbridge was found. Switch Allowed on. Mark.
  5. In the Packaging test window, press Archives: after a few seconds it says 57 archives and about 584,000 files. Press Search: it lists files named player_ma_tpp. Mark.
  6. Check the theme change from 0.16.1: in the launcher pick EDGE, then open a window debugger (Developer mode’s bug button): its title bar is yellow. Switch back to the theme you like. Mark.
  7. Quit the game.

W2 results

Result, 2026-10-14: passed. REDnode 0.17.0. Every step worked, the 0.16.1 theme check included.

Check What the logs show
requires The Packaging test showed NEEDS, with Codeware and ArchiveXL ticked and not-a-real-mod missing; its log line said so at each start
kernel.bridge() REDnode picked the newest copy it found, REDdeck’s REDbridge 0.6.0, and started it with the game folder: 57 archives and 583,798 files loaded in 3.0 seconds while the game ran, which W2 had marked unverified. The Packaging test listed them twice and found 7 player_ma_tpp files
Finding Change
ArchiveXL counted as installed, “version unknown”, though its folder held only logs and Vortex’s marker after a purge (#9, found by the EDGEbuilder session) REDnode 0.17.1: a RED4ext plugin counts only when its folder holds a DLL; RED4ext’s own log confirms it loads nothing else (after the purge it loaded exactly the two folders with a DLL, Codeware and REDnode). A folder without one is “not installed”, with a note that it is left over from an uninstall
Plugins whose DLL has no version resource (REDnode’s own, audioware, RedData) read “version unknown” REDnode 0.17.1: the version each plugin reported to RED4ext, from RED4ext’s newest log, while the DLL is unchanged since

Also in REDnode 0.17.1, from EDGEbuilder’s requests: the World test sample uses only base-game assets (#6), and a saved window position applies only while the window keeps the size it was saved with (#8). Positions saved before 0.17.1 have no size and are ignored once.

W3 REDbridge for players

Agreed with the user on 2026-10-17, as REDnode 0.25.0, right after the Polish and EDGEdeck test (0.24.4). Today REDnode only finds a REDbridge that EDGEdeck or REDcode fetched in VS Code, so a player without VS Code who installs a mod that uses kernel.bridge() gets “not installed” and no way forward. W3 lets REDnode fetch REDbridge itself, with the player’s OK, from inside the game.

Piece Plan
Get REDbridge in the Mod Manager Where a package needs REDbridge and none is found, a button replaces the red error. It says what it does before anything happens: “Downloads REDbridge 0.10.0 (58 MB) from GitHub, and the .NET 10 runtime if it is missing. No admin rights.” Then a progress bar, and the package’s line turns to “REDbridge 0.10.0 from REDnode”
Download The latest release of Edgemodders/REDbridge, asset REDbridge-<version>-win-x64.zip, into %LOCALAPPDATA%\REDnode\bridge\<tag>\. Checked against the SHA-256 GitHub gives for the asset before it is unpacked; a mismatch deletes it and says so
.NET 10 Only when no .NET 10 runtime is found: Microsoft’s dotnet-install.ps1, runtime only, for this Windows user, the way EDGEdeck does it. Never machine-wide, and never a user-level DOTNET_ROOT (it broke Vortex’s .NET check for EDGEdeck); the host already sets DOTNET_ROOT for the REDbridge process alone
Lookup findRedbridge adds REDnode’s own folder after the setting and REDBRIDGE_EXE, beside EDGEdeck’s and REDcode’s copies; the newest version still wins. The source reads REDnode
Updates When REDbridge starts, the host asks GitHub once a session for a newer release; the Mod Manager offers Update REDbridge. Never automatic
requires "requires": { "redbridge": ">=0.10" } in a manifest, checked like the game’s plugins, so the Mod Manager shows the need, and the button, before the mod runs. kernel.requirements() reports it
MCP and messages The “not installed” messages point to the Mod Manager’s button first, EDGEdeck and REDcode second. The MCP apps tool shows where REDbridge is

Not in W3: REDbridge in the REDnode zip (58 MB more, plus .NET, for players who never use it), and REDbridge as its own Nexus mod (it would still need .NET from elsewhere; maybe later, for Vortex users).

The test proves: on a Windows user with no REDbridge and no .NET 10, a package that needs REDbridge shows the button; one click fetches both, and the package lists the game’s archives. The test needs a second Windows user, or the dev PC’s EDGEdeck and REDcode copies moved aside and .NET 10 hidden, to start from nothing.

W3: built

REDnode 0.25.0, built on 2026-10-17. Also in it: the launcher’s Tooltips switch (on by default; off, the UI kit draws no title tooltips in any window), asked for by the user after the Polish test.

Part Where
Download, SHA-256 check, unpacking (Windows’ tar.exe, else Expand-Archive), .NET 10 per user with dotnet-install.ps1, removing REDnode’s older copies packages/overlay/bridge-install.js
Lookup: REDnode’s own copies with the others, newest wins, a tie goes to REDnode’s; .NET checked before REDbridge starts; dotnet in the status packages/overlay/redbridge.js
The job (one at a time, its steps and bytes sent to the Mod Manager four times a second at most), the update offer, redbridge as an installed requires entry, the messages packages/overlay/main.js
Get REDbridge, the progress bar, Try again, Update REDbridge to …, under the package’s REQUIRES when it names REDbridge, else under its bridge permission packages/overlay/manager/app.js
The Packaging test sample asks for "redbridge": ">=0.10" (sample 0.2.0) packages/overlay/apps/packaging-test

GitHub is asked for the newest release only: when a package needs REDbridge and none is found (once a session, so the button names the version and size), when the player presses the button, and once a session after the first REDbridge call (for Update).

The clean test switch: "bridgeTest": "clean" in the host’s settings.json (%APPDATA%\@rednode\overlay), set by hand. The lookup then sees only REDnode’s own copy and the .NET check only a per-user runtime, as on a PC without VS Code or .NET. Remove it after the test.

Checked before the game:

Check Result
The install, with LOCALAPPDATA pointed at an empty folder GitHub’s v0.10.0 (58 MB) downloaded, matched its SHA-256 and unpacked; a wrong SHA-256 was refused and the file deleted; .NET 10 installed per user with no admin rights; REDbridge started from REDnode’s copy on that runtime and listed the game’s 583,798 files
The Mod Manager in the mock game, clean, from nothing REQUIRES showed redbridge >=0.10 missing, the text “REDbridge 0.10.0 (58 MB)” and Get REDbridge; pressed, it showed each step and a progress bar, and 8 s later ✓ REDbridge >=0.10 · 0.10.0 installed and “REDbridge 0.10.0 from REDnode”
The launcher in the mock game The Tooltips switch, on
The packaged host (the build the game starts), in the mock game with the game’s arguments The same Get REDbridge run, 8 s; this check found bridge-install.js missing from the packager’s file list (tools/overlay/package-host.mjs), fixed before the commit
Update REDbridge Unverified: it needs an older copy and a newer release

W3: test

Before the game: REDnode 0.25.0 deployed, and "bridgeTest": "clean" in the host’s settings. On a PC without .NET 10 for this user, step 2 really installs it into %LOCALAPPDATA%\Microsoft\dotnet (about 70 MB) and REDbridge into %LOCALAPPDATA%\REDnode\bridge.

  1. Switch on Test timer in the launcher, press Start, and press Mark after each step.
  2. Load a save, press F10, and start the timer. In the Mod Manager, select Packaging test. Under REQUIRES: ✕ redbridge >=0.10 not installed, “REDbridge is not installed”, a line naming REDbridge 0.10.0 (58 MB), and Get REDbridge. Mark.
  3. Press Get REDbridge. The steps show: downloading with a bar, then .NET 10. Within a minute: ✓ redbridge >=0.10 · 0.10.0 installed and “REDbridge 0.10.0 from REDnode”. Mark.
  4. Switch the Packaging test off and on again in the Mod Manager. Its window lists the game’s archives. Mark.
  5. In the launcher, switch Tooltips off and hover a title-bar icon: no tooltip. Switch it on again and hover: the tooltip shows. Mark.
  6. Quit the game.

The host log should have REDbridge: the newest release is 0.10.0, matches GitHub's SHA-256, installing the .NET 10 runtime, ready, 0.10.0 from REDnode, REDbridge 0.10.0 starting from REDnode, and Tooltips: off, Tooltips: on.

First run, 2026-10-17: steps 1 and 2 passed; 3 and 4 not proven. REDnode 0.25.0, with the timer, marks matching the steps. The Mod Manager showed the missing REDbridge and the button; pressed, the host logged the release, the SHA-256 match, the .NET 10 install into %LOCALAPPDATA%\Microsoft\dotnet and ready, 0.10.0 from REDnode within 7 s, and the Packaging test then read OK REDbridge >=0.10 0.10.0. But:

Step What the logs showed
3. The archives REDbridge never started: the sample only starts it on its Archives button, which the step did not say to press
4. Tooltips Tooltips: off was logged, Tooltips: on was not, and the setting stayed off. Off and on again both worked in the mock game
The sample’s window One missing requirement painted every line red, the OK ones too. Packaging test 0.2.1 shows the OK lines in the normal colour

W3: retest

REDnode 0.25.0 with Packaging test 0.2.1, still with "bridgeTest": "clean". Tooltips are off from the first run.

  1. Switch on Test timer in the launcher, press Start, and press Mark after each step.
  2. Load a save, press F10, and start the timer. The Packaging test window: the OK lines in the normal colour, only MISSING not-a-real-mod in red. Mark.
  3. Press Archives in the Packaging test window. Within a few seconds it reads “REDbridge 0.10.0 from REDnode” and lists the archives. Mark.
  4. Hover a title-bar icon: no tooltip (they are off). In the launcher, switch Tooltips on, then hover the icon again: the tooltip shows. Mark.
  5. Quit the game.

The host log should have REDbridge 0.10.0 starting from REDnode and Tooltips: on.

Result, 2026-10-17: passed. All steps, marks matching. The host started REDbridge 0.10.0 starting from REDnode from %LOCALAPPDATA%\REDnode\bridge\v0.10.0 on the per-user .NET 10; it loaded 57 archives and 583,798 files in 3.6 s, and the sample logged REDbridge: 57 archives, 583798 files. Tooltips: on was logged and saved. With the first run, W3 passed. The test switch was then removed from the settings; the normal lookup picks REDnode’s copy (a tie in version with EDGEdeck’s 0.10.0 goes to REDnode’s). Still unverified: Update REDbridge, which needs a newer release than the copy in use.

Hot-loading archives (#12)

Asked for by EDGEmat and EDGEfab (#12): seeing a changed asset in the running game without a restart. Agreed with the user on 2026-10-17: try RED Hot Tools first; if it gives trouble, REDnode’s own.

RED Hot Tools (psiberx, MIT; 1.3.0-rc.2 of 2026-07-12, last commit 2026-07-29; its README still names game 2.21) watches archive/pc/hot. When an .archive, .xl or .yaml file arrives there, it waits half a second for more, then on its own thread unloads only the archives of the same name (wherever they are mounted: archive/pc/mod or another mod folder; a new one goes to archive/pc/mod), moves the new files over them, loads them, drops the cached resources they hold (ink widget libraries are swapped in place), and calls ArchiveXL.Reload(). Its log is red4ext/plugins/RedHotTools/RedHotTools-<date-time>.log, ending each swap with Archives reload completed. (read from its source, src/App/Archives/ArchiveLoader.cpp). Its script class RedHotTools also has ReloadArchives(), ReloadResources(paths) and HotInstall(path) (a copy into the hot folder); its own CET menu leaves ReloadArchives() unused and relies on the folder, as WolvenKit’s Hot Reload does.

Phase What
H0 Try it RED Hot Tools 1.3.0-rc.2 in the dev game: it loads on 2.31, and an archive copied into archive/pc/hot reloads without trouble
H1 archives.reload In the rednode package and as an MCP tool: copy the named archives into the hot folder, have RED Hot Tools swap them, return { reloaded, failed, via, ms }. requires can name RED Hot Tools
H2 world.refresh Respawn or re-apply the appearance of objects using a reloaded mesh or material, V’s clothing included
Fallback The same swap in REDnode’s plugin, if H0 fails or RED Hot Tools stops being kept up

Installed on the dev PC on 2026-10-17 from its GitHub release (RedHotTools-1.3.0.zip, SHA-256 checked): red4ext/plugins/RedHotTools and bin/x64/plugins/cyber_engine_tweaks/mods/RedHotTools. Deleting both removes it; it makes archive/pc/hot.

H0 and Welcome: test

REDnode 0.25.1 deployed, with RED Hot Tools. Nothing to set by hand; the dev PC has never closed the Welcome window, so it opens.

  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. Start the game. At the main menu the Welcome window shows in the centre, with Showing lit and “Press F10 to use the mouse here”. Press F10: Using lights up. Press Got it: it closes. Then load a save, switch on the Test timer, press Start, and Mark.
  3. In the launcher’s list, switch Welcome on: it opens again. Close it with its ✕. Mark.
  4. Alt+Tab and tell me you are in the game. I copy EDGEmat_M0_probe.archive (EDGEmat’s probe, 24 KB) unchanged from archive/pc/mod into archive/pc/hot; RED Hot Tools should swap it within a second. Go back to the game, play for half a minute, and Mark.
  5. Quit the game.

Then: RED4ext’s log should list RedHotTools as loaded, RED Hot Tools’ log should have Archives reload completed, the host log Welcome: closed, and nothing should have crashed.

H0 and Welcome: results

Run on 2026-10-18 on the user’s laptop (the release zip of REDnode 0.25.1 with the Test timer added, RED Hot Tools installed there), not the dev PC: three starts. Pass, from what the user saw, the plugin logs of all three starts, the Mod log and the host log (rednode-overlay.log holds only the last start), and RED Hot Tools’ logs of all three starts (sent the next day). RED4ext’s log was not read.

Start What the logs show
21:29, first run The Welcome window opened at the main menu; F10 to interactive at 21:30:19; a press on it at 21:30:39 (Got it). No save was loaded: the main menu stayed on, so the timer’s Mark 1 (00:02) and 2 (01:05) were made there, and step 2 reopened Welcome from the launcher (a new 600 x 500 window) and closed it. The game left the front at 21:31:52, the frame pump ran on at the main menu, and the plugin log ends at 21:36:04 with no “pump stopped”. RED Hot Tools’ log shows the swap of TraumaTeamCutscenes.archive starting at 21:36:07 and stopping after “Loading updated archives…”: no “Resetting resource cache”, no “Archives reload completed”. The game died while loading that archive. A scene mod whose other parts were no longer installed, the user’s own poor first pick
21:45, retest Steps renumbered (1 load and Start, 2 swap, 3 quit). A save loaded at 21:46:43; Mark 1 at 21:47:36; out of the game from 21:47:37 to 21:48:17 to copy a single archive known to work into hot (it left the folder). RED Hot Tools swapped ###_nim_material_override.archive at 21:47:53, all steps through “Archives reload completed”, in 113 ms, on its watcher’s thread. A minute of play; Mark 2 at 21:49:26 and an extra Mark 3 at 21:49:29; “Game thread pump stopped” at 21:49:49, a clean quit. RED Hot Tools’ warnings about box_occluder.w2mesh came at 21:47:11, before the swap, so the swap did not cause them
21:52 The main menu, then a clean quit at 21:53:08. Welcome did not open: the host opened the launcher and the timer only. No swap

What it means:

H1 archives.reload: built

REDnode 0.26.0. Agreed with the user on 2026-10-18 after reading RED Hot Tools’ source: drive RED Hot Tools through its script call rather than its folder alone, so the answer says what happened, and add checks and a queue around it. Our own swap in the plugin stays the fallback: it would mean finding the engine’s archive and resource internals again after every game patch, which RED Hot Tools’ author already does.

Piece What it does
packages/overlay/main.js reloadArchives: checks the caller (a package with the archives permission granted, or the MCP server), the files (a path, or a name in archive/pc/mod; .archive, .xl, .yaml; no two of the same name), the game (connected, not at the main menu) and RED Hot Tools (RedHotTools.Version() answers). Copies each file into archive/pc/hot under a temporary name and renames it, so RED Hot Tools never sees half a file, then calls RedHotTools.ReloadArchives() on the game thread with a 60-second limit. A file still in the hot folder afterwards failed, and is removed so it is not swapped later. If the call fails, it waits up to 10 seconds for RED Hot Tools’ folder watcher instead. One swap at a time. Each swap is logged in the host log and the package’s Mod log
packages/rednode/src/archives.ts archives.reload(files), for Node mods and pages
packages/overlay/mcp.js The MCP tool archives_reload
apps/hot-test Hot swap test 0.1.0: a field for a name or path, Swap, and the answer; asks for archives, requires redhottools

Checked in the mock game, with a stand-in RED Hot Tools that moves the hot folder’s files into the mod folder: refused at the main menu; a name in archive/pc/mod and a full path swapped, the second waiting for the first; a missing file, a .txt and two files of one name refused; RED Hot Tools missing refused with where to get it; a failing call answered from the folder watcher’s swap; the Hot swap test swapped with the permission and was refused without it.

Unverified until the game: that RedHotTools.ReloadArchives() works when called on the game thread (RED Hot Tools’ own menu calls only ArchiveXL.Reload()), and how long it holds the game’s frame.

Later, agreed the same day: open the archive with REDbridge before a swap when REDbridge is installed, to refuse a corrupt one; and keep the replaced archive, with archives.restore() to put it back after a bad swap.

H1 test

REDnode 0.26.0 deployed, with RED Hot Tools. In the launcher, switch on Hot swap test. Under it, the line “Asks for swapping archives in the game’s mod folder…” has an Allowed switch: switch it on too. That is the permission; the swap itself is step 2. Pick a small archive in archive/pc/mod that you know works, with no .xl file and no required mods; the steps call it Plain.archive.

  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. Start the game and load a save. Switch on the Test timer, press Start, and Mark.
  3. In Hot swap test’s field type Plain.archive and press Swap. It answers “1 swapped in N ms”. Watch for a stutter at the swap. Mark.
  4. Type Nope.archive and press Swap: it answers that the file was not found. Mark.
  5. Play on half a minute. Mark.
  6. Quit the game.

Then: the host log has Archives: hot-test swaps Plain.archive (RED Hot Tools ...) and 1 reloaded in N ms, RED Hot Tools’ log in its plugin folder has Archives reload completed., archive/pc/hot is empty, and nothing crashed.

H1 test: results

Run on 2026-10-19 on the user’s laptop (the 0.26.0 player zip with the Test timer and Hot swap test added, RED Hot Tools 1.3.0). Pass, from the plugin log, the host log, the Mod log and RED Hot Tools’ log. The archive was ###_nim_material_override.archive, given as a full path.

Time What happened
06:48:51 A save loaded
06:51:04 The first Swap, before the permission was on: refused with “Allow “Hot swap test” to swap archives in the REDnode launcher first”. The check works. The test’s “allow it to swap archives” was read as “do a swap”; the steps now name the Allowed switch
06:51:32 Granted archives for hot-test
06:51:43 The path pasted with Windows’ double quotes around it: refused as the wrong file type, since the extension read as .archive". Fixed after the test (commit 510334d): archives.reload drops quotes and spaces around a path, and the type error names the extension it saw
06:54:09 The path without quotes: “1 swapped in 71 ms”. RED Hot Tools’ log shows every step through “Archives reload completed.” in 52 ms, on thread 10276, the game thread that runs REDnode’s frame pump
06:54:26 to 06:54:28 Test timer started, Mark 1
06:55:06 The same swap again: “1 swapped in 67 ms” (RED Hot Tools 49 ms). Mark 2 at 06:55:14
06:55:24 Nope.archive: “Nope.archive was not found in archive/pc/mod”. Marks 3 and 4 were not pressed
06:56:27 “Game thread pump stopped after 31271 frames”: a clean quit

What it means:

H1 limit: sound paks crash a swap

Found on 2026-10-19 on the laptop (REDnode 0.26.1, RED Hot Tools 1.3.0), with EDGEwaveTest.archive from EDGEwave: a sound override in an opus pak. Swapping it into a running game crashes the game, on either route; a normal install of the same archive works.

Run Route Thread RED Hot Tools’ last line Result
10:31:29 REDcode’s Pack and Try (now Pack and Play), which copies into archive/pc/hot; RED Hot Tools’ folder watcher reloads 27088, the watcher’s “Loading updated archives…” Crash
10:3x The same archive in archive/pc/mod, game started normally     Runs
10:43:19 REDnode’s Hot swap test, archives.reload 23000, the game thread (REDnode’s pump) “Loading updated archives…” Crash a second later

What it means: the route is not the cause; loading an archive with sound paks into a running game is. Why is unverified. Plain archives swap fine on both routes; H0’s other crash was a scene mod swapped at the main menu, and it also stopped at “Loading updated archives…”.

More from the user’s runs the same day:

Agreed with the user on 2026-10-19: refuse such archives by default (H1b, below), and a research spike for a real fix: first find which thread and module fail.

H1b: sound pak check and fault watch (REDnode 0.26.2)

Built on 2026-10-19:

Part What
packages/overlay/archive-index.js Reads an .archive’s file table (RDAR header, then 56-byte entries starting with each path’s FNV-1a 64 hash) without REDbridge, and finds the game’s sound paks by hashing their paths: base\sound\soundbanks\sfx_container.opusinfo and sfx_container_<n>.opuspak. Checked against the game’s audio_2_soundbanks.archive: 1,880 of them (the index and 1,879 packs, as REDcode counts), none in ep1
archives.reload in main.js Refuses an archive with sound paks: “X.archive changes the game’s sound (N sound paks, such as sfx_container_42.opuspak), and swapping sound into a running game crashes it. Install it and restart the game instead.” Before every swap it asks the plugin to watch for faults for 15 seconds
native/src/overlay/faults.cpp faults.watch: while a watch is on, a vectored exception handler writes the first 8 faults to red4ext/logs/rednode-faults.log before the game’s own handler sees them: the code, what an access violation read or wrote (a null reference reads an address near 0), the module and offset, the thread and its name, the stack. If the game exits through ExitProcess during the watch, DllMain writes who called it; no exit line means TerminateProcess. The plugin log says when a watch starts and ends, with the count. Unit tests in native/tests/faults_test.cpp (a real access violation)
host.cpp The last game session’s host log is kept as red4ext/logs/rednode-overlay.prev.log, so a crash’s host log survives the next start
Spike settings, in %APPDATA%\@rednode\overlay\settings.json "soundPakSwap": "try" lets sound pak archives through (with a warning in the host log). "swapPause": "pause" pauses the game around every swap with TimeSystem.SetPausedState(true, "REDnode"), waits half a second, swaps, and unpauses; unverified whether that pauses the game’s audio. Remove both after the spike

Checked in the mock game (default settings: the sound archive refused, a plain one swapped; spike settings: the sound archive swapped, the pause logged as failing, since the mock has no time system). Unverified until the game: the fault watch inside the game, and what it shows.

H1b test

REDnode 0.26.2 on the laptop, with RED Hot Tools, Hot swap test (Allowed on), EDGEwaveTest.archive from EDGEwave (not installed in archive/pc/mod), and a plain archive known to swap (###_nim_material_override.archive). Three game runs: A with default settings, B and C with the spike settings in %APPDATA%\@rednode\overlay\settings.json, added while the game is closed.

Run A, default settings:

  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. Start the game and load a save. Switch on the Test timer, Start, Mark.
  3. In Hot swap test, paste the path of EDGEwaveTest.archive and press Swap. It is refused with “changes the game’s sound … Install it and restart the game instead”, and the game keeps running. Mark.
  4. Swap the plain archive. “1 swapped”. Mark.
  5. Quit the game. The plugin log has Faults: watching 15 s (swap of ###_nim_material_override.archive) and, 15 s later, Faults: watch ended (...), 0 faults.

Run B, the sound pak let through, with the fault watch: add "soundPakSwap": "try".

  1. Switch on Test timer, press Start, and press Mark after each step. Step 1 comes before it can be reached.
  2. Start the game and load a save. Switch on the Test timer, Start, Mark.
  3. Swap EDGEwaveTest.archive. The game is expected to crash. If it does not, Mark and type whether the new sound plays.
  4. After the crash, send red4ext/logs/rednode-faults.log, rednode-overlay.log (or rednode-overlay.prev.log if the game was started again since), the crashed session’s plugin log, and RED Hot Tools’ log.

Run C, the same with the game paused: add "swapPause": "pause" as well.

  1. Switch on Test timer, press Start, and press Mark after each step. Step 1 comes before it can be reached.
  2. Start the game and load a save. Switch on the Test timer, Start, Mark.
  3. Swap EDGEwaveTest.archive. The game pauses half a second before the swap. Crash or not; if not, Mark and type what the screen and the sound did.
  4. The same logs as run B.

Afterwards remove both settings.

H1b test: results

Run on 2026-10-19 on the laptop with the REDnode 0.26.2 test build, RED Hot Tools 1.3.0, the archive in Documents (not installed).

Run Time What happened
A, default settings 11:40 to 11:41 EDGEwaveTest.archive refused: “changes the game’s sound (2 sound paks, such as sfx_container.opusinfo) … Install it and restart the game instead”; the game ran on. The nim archive swapped in 77 ms under a fault watch, with no faults. Marks 1 to 3 present. Pass
B, "soundPakSwap": "try" 11:46 Crash. rednode-faults.log has the watch’s start at 11:46:17 and nothing after it: no fault of the error kind (0xC...) reached REDnode’s handler, and no ExitProcess line
C, also "swapPause": "pause" 11:49 No crash. “game paused for the swap (IsPausedState true)”, “1 reloaded in 29 ms”, “unpaused (IsPausedState false)”; the game ran on, no faults. But drawing the katana played the base game sound, not the override
Afterwards 11:51 A last start with the archive removed from archive/pc/mod: the base katana sound plays. Installed before the test, the same archive had overridden the sound at a normal start

What it means:

H1c: how the game loads its sound paks (research)

Found on 2026-10-19 by following the two paths in the game’s code (Cyberpunk2077.exe of game 2.31, read with MSVC’s dumpbin; offsets are from the image base and change with each game version). Static reading only; nothing ran in the game yet.

Offset (2.31) What it is
0xA2E9FC The audio engine’s start: Wwise’s memory manager, stream manager and sound engine, each checked. Partway through it calls the opus index loader with the hash of base\sound\soundbanks\sfx_container.opusinfo (kept in a global set by a static initializer at 0xF8C20)
0x279ED4 The opus index loader. It refuses if an index is already loaded (a count at 0x3495DF8, at most 1), so calling it again does nothing. Otherwise it reads the whole file through the resource depot, checks the magic SND and version 0xF0000002, copies its tables into one 0x60-byte entry at 0x3B28FD0 (array pointers, the sound and pak counts, and two hash maps: sound hash to row, and one per pak), and opens the first N paks (N from the file’s header) for good
0x3A38CC0 The open pak table: up to 2,048 entries of 0x70 bytes (count at 0x3495DFC, a free list at 0x3496E00): pak number, index number, a reference count, and the depot reader at +0x18
0x279890 Looks up a sound when it plays: the sound hash through the index’s hash map gives the pak number, offset and size; it reuses an open pak with that number or opens sfx_container_<n>.opuspak through the depot on demand and adds it to the table
0x6E3740 Releases a pak entry: drops its reader and puts the slot on the free list

What it explains:

What a reload in REDnode would do, all on the game thread with the game paused: stop playing sounds; release every pak entry (0x6E3740) so readers on the old archives go; free the index’s arrays and hash maps and set its count to 0; call the loader again (0x279ED4) with the same hash, which reads the new index and opens the start paks from the new archives. The functions and tables would be found by byte patterns at start, so a new game version turns the feature off (sound archives refused, as now) rather than crashing.

Next steps, agreed with the user on 2026-10-19: H1c-1, a read-only look at the index and the open pak table in the game, called before and after drawing the katana and around a paused swap, to confirm this reading without changing anything. H1c-2, the reload itself behind a spike setting, only if H1c-1 matches.

H1c-1: sound state (REDnode 0.26.3)

Built on 2026-10-19:

Part What
native/src/overlay/opus.cpp Bridge method opus.state. At its first call it finds the tables by four byte patterns in the game’s code (the index loader’s count check and its SND header check, a sound lookup’s pak count read, and the call that passes the index’s path hash) and logs where: Opus: found the sound pak tables in N ms (index count +0x..., ...), or what it missed. Then it reads, never writes: the index (sounds, a second table’s size, a checksum of its tables) and each open pak (number, references, reader), and where the index puts given sound ids (pak, offset, size). Each call logs a summary line in the plugin log. Reads go through __try, so a wrong guess is an error, not a crash. Unit tests in native/tests/opus_test.cpp with fake code and tables; with REDNODE_GAME_EXE set, the test also maps the real exe and finds 2.31’s five places (checked on the dev PC: the offsets above)
archives.soundState(ids?) in the rednode package The same for packages; experimental, no permission needed
archives.reload in main.js A sound swap let through by "soundPakSwap": "try" logs the state before the swap, after it and after the unpause
Hot swap test 0.2.0 A Sound state button, with a box for sound ids; the summary goes to the Mod log

Checked in the mock game (the three lines around a sound swap). Unverified until the game: the patterns on the laptop’s game, and every reading of the layout.

H1c-1 test

REDnode 0.26.3 on the laptop, with RED Hot Tools, Hot swap test (Allowed on), and EDGEwaveTest.archive not installed. Add "soundPakSwap": "try" and "swapPause": "pause" to %APPDATA%\@rednode\overlay\settings.json while the game is closed, as in H1b’s run C. If EDGEwave shows the id of the sound it overrode (a number like 123456789), have it ready; without it the test still works.

  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. Start the game and load a save, with the katana in V’s inventory but not drawn. Switch on the Test timer, Start, Mark.
  3. In Hot swap test, type the sound id in the sound ids box (or leave it empty) and press Sound state. A line like “1 index of … sounds, checksum 0x…; N paks open: …” shows. Mark.
  4. Draw the katana and put it away. Press Sound state again. Mark.
  5. Swap EDGEwaveTest.archive (paste its path, Swap). The game pauses for a moment; it is expected not to crash. Mark.
  6. Draw the katana; note in the timer which sound played (expected: the base game’s). Press Sound state. Mark.
  7. Quit the game. Send rednode-mods.log, the plugin log (rednode-*.log of this session), rednode-overlay.log and rednode-faults.log.

Afterwards remove both settings.

H1c-1 test: results

Run on the laptop on 2026-10-19 (REDnode 0.26.3, game 2.31, RED Hot Tools 1.3.0). The sound id was 746693166, the katana sound EDGEwave overrode. A first try (18:34) was restarted because Alt+Tab, used to read the steps, drew the katana through a game key binding (the user remapped it). The run that counts started at 18:41. No crash; the fault watch saw no faults.

Step Result
Patterns Found in 235 ms at the same five offsets as on the dev PC (index count +0x3495df8, index +0x3b28fd0, pak count +0x3495dfc, paks +0x3a38cc0, path hash +0x3493b58). Every read worked: the layout reading holds
2. Sound state 1 index of 73,139 sounds, checksum 0x84b342b65b6327fd; 24 paks open; sound 746693166 in pak 881 at offset 179386
3. Katana drawn Not read at this step (no Sound state press logged)
4. Paused swap State before the swap, after it and after the unpause: the checksum unchanged, the same 24 paks with the same readers (only pak 56’s references moved, 4 to 2). Swap 50 ms
5. Katana drawn Silent: no sound played (H1b’s run C played the base game’s sound)
Control The same archive installed normally and the game restarted: the new sound played. The archive is fine

What it shows:

What it means for H1c-2: the reading is confirmed. Reloading the index is the missing step, and it can be simpler than planned: reload the index, and drop the cached pak entries with no references so the next play opens them from the new archive. Entries still playing (references above 0) wait, or their sounds stop, before the reload.

H1c-2: the sound index reload (REDnode 0.26.4)

Agreed with the user on 2026-10-19 after H1c-1. More reading of the 2.31 exe first, on who touches the tables:

Offset (2.31) What it is
0x6E490C (thunk 0x6E4904) The pak tick: takes finished reads, looks up new sounds (0x279890), issues reads (0x6E4B40), drops references (0x6E4AAC). The audio start registers it as a Wwise global callback at the end of each audio frame (location 0x40). So the pak table and the lookups belong to the audio thread, with no lock: a change from the game thread would race them
0x1ACBCC0 RegisterGlobalCallback (callback, location bits, cookie, …): takes a lock, appends to the location’s list. Returns 1 on success
0x1AD1AE0 UnregisterGlobalCallback (callback, location bits): takes the same lock, unlinks and frees
0x6E3740 Not a plain release: the cache’s eviction. When more than 10 entries have no references, it drops the one used longest ago. That is the cache of about 24 paks H1c-1 saw
0xA2D398 The loader’s hash map setup: clears the map and allocates new storage; the old storage is not freed

The paks the loader opens at start keep one reference forever, and a lookup takes the first entry with the pak’s number. So old entries would hide new ones unless they are retired.

Built on 2026-10-19:

Part What
native/src/overlay/opus.cpp At the first reload, finds RegisterGlobalCallback and UnregisterGlobalCallback by the audio start’s registration of the pak tick and the shutdown’s unregistration (two patterns; both are needed, or nothing is registered), and registers REDnode’s callback at location 0x40: it runs right after the pak tick, on the audio thread, every audio frame, and does nothing unless a reload was asked. The reload: every pak table entry gets pak number 0xFFFE (no lookup matches it; idle ones are then evicted by the cache as usual, playing ones finish on their old reader); the index count goes to 0; the game’s own loader runs again with the same path hash, so it reads the swapped sfx_container.opusinfo and opens its start paks. If the loader refuses the file, or anything faults (__try), the old index entry, its count and the pak numbers go back. The old index’s memory (about 2.5 MB) is not freed. Bridge methods opus.reload (ask) and opus.reloadStatus (waiting, running, done with the result, or cancel). The callback is unregistered when the plugin stops
main.js "soundPakSwap": "reload": a sound archive is swapped with the game paused (whatever swapPause says), then the host asks for the reload and polls until it is done, or cancels it after 3 s. Logged: the state before the swap, after it, the reload’s result, the state after the reload and after the unpause
Unit tests native/tests/opus_test.cpp: both patterns, a fake loader that behaves like the game’s (the count first, the entry only on success): a reload, a refused index and a fault, each putting everything back; with REDNODE_GAME_EXE, the real exe gives +0x1acbcc0, +0x1ad1ae0 and the loader +0x279ed4

Checked in the mock game: the swap with a reload (and with swapPause off, the pause still runs), and an audio thread that never runs it (cancelled after 3 s, then the unpause). Unverified until the game: everything that runs on the audio thread.

Known risks: anything else that reads the index outside the audio thread (none found, but 0x1D80A40 calls the lookup through a vtable, unverified from where); a sound played between the swap and the reload (a frame or two, paused) can still read the new pak at an old offset.

H1c-2 test

REDnode 0.26.5 on the laptop (first run on 0.26.4, below), with RED Hot Tools and Hot swap test (Allowed on), EDGEwaveTest.archive not installed. In %APPDATA%\@rednode\overlay\settings.json, while the game is closed, set "soundPakSwap": "reload" (the host log’s swap line must say "soundPakSwap": "reload" is set); swapPause can stay or go (the reload pauses anyway). The katana sound’s id is 746693166. Swap in gameplay with F10, not from the game’s pause menu.

  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. Start the game and load a save with the katana in V’s inventory, not drawn. Switch on the Test timer, Start, Mark.
  3. In Hot swap test, type 746693166 in the sound ids box and press Sound state. Mark.
  4. Draw the katana and put it away: the base game’s sound. Mark.
  5. Swap EDGEwaveTest.archive (paste its path, Swap). The game pauses for a moment. The Mod log shows “sound index reloaded in N ms: … sounds before, … after; N pak entries retired”, or why it failed. Mark.
  6. Draw the katana. Note in the timer which sound played: EDGEwave’s (the goal), the base game’s, or none. Mark.
  7. Press Sound state again. Mark.
  8. Play for a minute: walk, draw other weapons, shoot, open a menu. Note any sound that is missing or wrong. Mark.
  9. Swap EDGEwaveTest.archive again (a second reload), then draw the katana and note what played. Mark.
  10. Quit the game. Send rednode-mods.log, the plugin log (rednode-*.log of this session), rednode-overlay.log and rednode-faults.log.

Afterwards set "soundPakSwap" back (remove it) and remove swapPause.

H1c-2 test: first run (0.26.4)

Run on the laptop on 2026-10-19 at 19:15; stopped at step 4 by a crash. The settings still said "soundPakSwap": "try", so the reload never ran (no Opus: reload line; the host log says “try”): this was H1b’s run B again, with the game paused. What the logs show:

Finding Detail
Who swapped RED Hot Tools’ folder watcher (thread 18616), not REDnode’s call on the game thread: the host copied the archive into archive/pc/hot before the pause and its 500 ms settle, and the watcher took it during that wait
When it crashed Within milliseconds of RED Hot Tools’ “Loading updated archives…”, inside the archive load. The swap was started from the game’s pause menu, with its sounds playing
Fault log Nothing, as in run B. The watch recorded only error-class exceptions; a failed assert in the game (a breakpoint, 0x80000003) or a fail-fast that skips exception dispatch would leave no line
Cursor The overlay’s arrow vanished in gameplay that session (the log says it was drawn every frame) and was fine in the next session; not followed up now

So sound swaps crash inside the archive load itself, sometimes (run B, this run), not always (run C, H1c-1). The likely race, unverified: the audio thread reading paks through the resource depot while RED Hot Tools changes its archives. The game’s pause does not stop the audio thread.

H1c-2b: the audio thread waits for the swap (REDnode 0.26.5)

Built on 2026-10-19 from that run:

Part What
opus.cpp opus.park {"capMs"}: REDnode’s end-of-frame callback holds the audio thread there (after the pak tick: no pak tick, no lookups, no decoding) until the host asks for the reload, which then runs on it, or cancels, or the cap runs out (3 s by default, at most 10 s), so it can never hang the game. opus.reloadStatus answers waiting, parked, running, done (with how long it waited) or idle (and whether a wait ran out)
main.js With "soundPakSwap": "reload": pause, wait for the audio thread to stop (at most 1 s, or no swap), then copy the archive into archive/pc/hot (so RED Hot Tools’ watcher cannot start before), swap, read the state, reload, then the audio thread goes on and the game unpauses. Every mode now copies only after the pause
faults.cpp The fault watch also records breakpoints (0x80000003, a failed assert)
Unit tests A thread stands in for the audio thread: it stops while asked to wait, the reload runs on it, a cancel and the cap end the wait

Checked in the mock game: a swap with the wait and the reload, and an audio thread that never stops (no swap, the hot folder left empty, the game unpaused). Unverified until the game: whether the game’s other threads wait on the audio thread during a swap (the cap bounds it), and whether the wait prevents the crash.

H1c-2 test: second run (0.26.4)

Run on the laptop on 2026-10-19 at 19:37, with "soundPakSwap": "reload" set and the swaps done in gameplay. The plugin was still 0.26.4 (the log says “REDnode 0.26.4 loading”), so without H1c-2b’s wait. No crash, two swaps, 0 faults.

Step Result
Before Index checksum 0x84b342b65b6327fd (the base game’s); sound 746693166 in pak 881 at 179386
First swap (19:40:13) The reload ran on the audio thread in 4.8 ms, 47 ms after asking. The checksum became 0x67add29894c2a988 and the sound moved to offset 313786: the new index is in. 31 pak entries retired
Katana after it The base game’s sound
Second swap (19:42:26) Reloaded again in 7.9 ms (the same index, the same checksum); 24 entries retired
Katana after it EDGEwave’s sound: the first hot-swapped sound to play in a running game

Why the base sound the first time, found in the code the same evening: the game keeps a second table, of loaded sounds (0x3B49050, 16 bytes each: sound id, references, data object; count at 0x3497E38). The pak tick acquires a sound there (0x6E3D94: an entry with the same id just gets one more reference; otherwise a new data object is filled by the lookup) and releases it (0x113A51C). Nothing else touches the table: the game has no function that empties it. So a sound still held when the index is reloaded keeps the data it was loaded with until the game lets it go. The katana was drawn just before the first swap, so its entry was held; between the swaps the user drew other weapons, it was let go, and the next draw loaded it fresh from the new index. The other path, Wwise’s own file hook (0x1D80A40, Open by sound id, 66 for not found), looks a sound up on every open, so streamed sounds follow the reload at once.

Also found: RED Hot Tools moves a swapped archive into archive/pc/mod, so it stays installed: the 19:15 session started with EDGEwave’s index already loaded. Remove it from there before a fresh session.

H1c-3: which sounds the game holds (REDnode 0.26.6)

Built on 2026-10-19, diagnostics only:

Part What
opus.cpp Finds the loaded sounds table by the acquire’s pattern (optional: without it the state just leaves it out). opus.state says how many sounds are held, and for each given id whether it is held and by how many references. After a reload, the held sounds whose pak, offset or size differ between the old index (still in memory) and the new one are listed in the plugin log and the reload’s result
main.js After a reload the Mod log says how many held sounds keep their old data, with their ids
archives.soundState() held, and held per sound

The real exe gives the table at +0x3b49050 (count +0x3497e38). Next, depending on the test: if letting the sound go (unequipping, loading a save) is enough, the API says so and can tell which sounds wait; if not, a refresh of held entries in the plugin, which needs research first (how Wwise uses the data object).

H1c-3 test

REDnode 0.26.7 on the laptop (check the plugin log’s first line says “REDnode 0.26.7 loading”; 0.26.7 also draws the overlay’s arrow from a texture), with RED Hot Tools and Hot swap test (Allowed on), "soundPakSwap": "reload" in the settings. Before each game start, remove EDGEwaveTest.archive from archive\pc\mod (a swap moves it there). Swap in gameplay with F10. The katana sound’s id is 746693166.

  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. Start the game and load a save where the katana is in V’s inventory but not equipped in a weapon slot. Switch on the Test timer, Start, Mark.
  3. Type 746693166 in the sound ids box, press Sound state: the line ends “not held”. Mark.
  4. Swap EDGEwaveTest.archive. The Mod log says “sound index reloaded …” and how many held sounds keep their old data (746693166 should not be among them). Mark.
  5. Equip the katana and draw it. Note which sound played (expected: EDGEwave’s). Mark.
  6. Quit the game. Remove EDGEwaveTest.archive from archive\pc\mod. Start the game again, load the same save, equip and draw the katana (the base sound), put it away. Press Sound state: “held” or “not held”? Mark.
  7. Swap EDGEwaveTest.archive. Is 746693166 in the Mod log’s list of held sounds? Draw the katana: which sound? Mark.
  8. Unequip the katana (take it out of its weapon slot), wait 10 seconds, press Sound state (held or not), equip it again and draw it: which sound? Mark.
  9. If it still played the base sound: load the save again (it keeps the swapped archive and index), draw the katana: which sound? Mark.
  10. Quit the game. Send rednode-mods.log, both sessions’ rednode-*.log, rednode-overlay.log and rednode-overlay.prev.log, and rednode-faults.log.

Afterwards remove soundPakSwap and swapPause from the settings, and EDGEwaveTest.archive from archive\pc\mod if it should not stay installed.

H1c-3 test: results

Run on the laptop on 2026-10-19 between 20:06 and 20:53 (REDnode 0.26.6, then 0.26.7 from 20:41), with "soundPakSwap": "reload", swaps in gameplay. Four swaps with the audio thread held (it waited 375 to 407 ms each time, the reload took 5 to 9 ms), no crash, no faults.

Session Katana before the swap After the swap
20:06, 20:11, 20:41 Not equipped or not drawn; “not held” EDGEwave’s sound, every time
20:47 Equipped and drawn, then put away The base game’s sound (step 6); after unequipping and equipping again, EDGEwave’s sound (step 7)

What it shows:

For players and modders today: after a sound swap, a sound that has just played may keep its old version until the game loads it again (for a weapon, equip it again). Next, to agree: make the reload the normal behaviour for sound archives (with the hold), and look for the stream cache’s flush.

H1d: sound swaps by default (REDnode 0.26.8)

Agreed with the user on 2026-10-19 after H1c-3 (then the optional app pack, with a Sound Tracer; the stream cache’s flush as a later spike). Built the same day:

Part What
main.js A sound archive swaps with the hold and the reload by default: no setting needed. Before the swap the host checks that the plugin knows this game version’s sound tables (opus.state); if not, the archive is refused with the reason. "soundPakSwap" stays for research: "refuse" (as before), "try" (plain, no hold or reload). The answer gets sound: { index, note }; the Mod log gets the note about sounds that just played
opus.cpp After a reload, the old index’s tables and its two hash maps go back to the game’s allocator, through the free the loader itself calls (found in the loader’s body: mov rdx,r12; xor ecx,ecx; call, +0x1a6f260 in 2.31). A hash map’s storage starts 8 bytes before its pointer, with its capacity in the header. "soundIndexFree": "keep" in the host’s settings keeps the old index instead. The 0.26.6 comparison of held sounds is gone (it read the old index after the reload, and the table was not the cause)
rednode package, MCP archives.reload’s answer and docs, and archives_reload’s description, say how sound swaps work
Unit tests The free the loader calls is found; a reload frees the old maps from their headers, then the tables, and says how much; nothing is freed without the flag, without the free, or when the new index is refused

Checked in the mock game with no sound settings. Unverified until the game: the free (a wrong guess would corrupt the game’s heap, so it is the first thing the test watches).

H1d test

REDnode 0.26.8 on the laptop (the plugin log’s first line says “REDnode 0.26.8 loading”), with RED Hot Tools and Hot swap test (Allowed on). Remove soundPakSwap and swapPause from %APPDATA%\@rednode\overlay\settings.json (the defaults are what is tested), and EDGEwaveTest.archive from archive\pc\mod before the game starts. Swap in gameplay with F10.

  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. Start the game and load a save with the katana in V’s inventory, not equipped. Switch on the Test timer, Start, Mark.
  3. Swap EDGEwaveTest.archive. The Mod log says “sound index reloaded … the old index freed (… KB)” and the note about sounds that just played. Mark.
  4. Equip the katana and draw it: EDGEwave’s sound expected. Mark.
  5. Swap EDGEwaveTest.archive again (it frees the index the first swap loaded). Draw the katana: which sound? Mark.
  6. Play for two minutes: walk, draw other weapons, shoot, open the map and a menu. Note any sound that is missing or wrong, and any stutter. Mark.
  7. In the Mod Manager switch on Welcome: it shows the note about F9. Close it. Mark.
  8. Quit the game. Send rednode-mods.log, the plugin log (rednode-*.log of this session), rednode-overlay.log and rednode-faults.log.

H1d test: results

Run on the laptop on 2026-10-19 between 23:03 and 23:09 (REDnode 0.26.8, no sound settings), swaps in gameplay. Passed: “everything worked”, no problems. Two marks were missed, so the steps are matched by the logs:

When What the logs show
23:05:06 First swap: game paused, the audio thread held (375 ms), the index reloaded in 9.1 ms, 26 pak entries retired, the old index freed (3270 KB). The Mod log shows the note about sounds that just played
23:05:25 Second swap, before drawing the katana: held 344 ms, reloaded in 4.7 ms, 28 entries retired, the index the first swap loaded freed (3270 KB)
23:06:06 The katana drawn: EDGEwave’s sound (the user’s note)
23:06 to 23:08 About two minutes of play: no sound reported missing or wrong, no stutter
23:08:27 The Welcome window opened, with the F9 note
23:09:38 Quit: the game exited normally, REDnode’s audio callback unregistered

No faults in either 15 s watch. Freeing with the game’s own free held up through two frees and four more minutes of play, so 0.26.8’s defaults stay.

One thing not explained: this session’s index at the start had checksum 0x31d115933a11cfcb, where every earlier session had 0x84b342b65b6327fd; after the swap it was 0x67add29894c2a988, the same as in earlier runs. So the game loaded a different sfx_container.opusinfo at start: the user had been deploying sounds from an EDGEwave session since the last test, which explains it.

What H1d covers. EDGEwave has two routes into the game (its docs/a3-game.md). The swap covers the override route: an archive with the touched .opuspak and a whole new sfx_container.opusinfo. Since that index is one shared file, the swapped one replaces any other override mod’s, as it would at a restart (the last one loaded wins). The REDmod route (customSounds and info.json, deployed by redMod.exe when the game starts) is not an archive, so a swap does not reach it; hot-loading it would need REDmod’s deploy and a way to make the running game read its custom sounds again (not researched).

The user’s theory for the sound that lingers (2026-10-19): an object chain keeps a reference to the sound’s loaded data, such as the equipped weapon’s emitter; unequipping drops it, and the next play loads the new data. If so, some objects may never drop theirs. It fits H1c-3: the game’s table of loaded sounds held nothing of the katana’s, so the reference would be elsewhere (the emitter, or Wwise’s stream of the old pak). The user will test it with the Sound Tracer, which therefore shows plays and loads apart: a sound that plays with no load after a swap is being served from a reference kept from before.

H1 quoted path: retest

Run on 2026-10-19 on the laptop with REDnode 0.26.1 (after its NVIDIA driver update). Pass. The path came from File Explorer’s Copy as path, with its double quotes.

Time What happened
09:29:17 Test timer started, Mark 1 (a save loaded at 09:28:31)
09:29:21 The quoted path: “1 swapped in 70 ms”. The host log names the bare file, Archives: hot-test swaps ###_nim_material_override.archive; RED Hot Tools: “Archives reload completed.” in 52 ms on the game thread. Mark 2
09:29:36 The quoted path with spaces around it: “1 swapped in 75 ms” (RED Hot Tools 56 ms). Mark 3
09:30:34 Played on; Mark 4
09:30:43 “Game thread pump stopped after 41029 frames”: a clean quit

The Mod log line repeats the path as typed, quotes included; the host and RED Hot Tools see it without them. RED Hot Tools’ watcher fired its harmless second reload again, about 430 ms after each swap. The cursor lines from the same run show the arrow drawn on every frame, about 44 fps in the game, with no jumps.

H2 world.refresh: plan

Agreed with the user on 2026-10-21: H2 next, then the ink API (I1), then the Sound API’s S2.

The problem. A swap replaces the archive, and RED Hot Tools drops the resources the loader has cached, but what is already in the world keeps what it loaded: the clothes V wears, a weapon in hand, an NPC or a placed object nearby. The new mesh or material shows only when the game loads that thing again (equip it again, load a save). H2 is a call that makes it load again, right after the swap.

What the game offers (from gameapi/2.31/rtti.json; none of it tried for this yet, so all unverified):

Target Game call Expected
V’s clothing and held items TransactionSystem.RefreshAttachment(owner, slot, keepWorldTransform) on each slot (AttachmentSlots.Head, Face, Chest, Torso, Legs, Feet, Outfit, WeaponRight…) Re-attaches the item in the slot, loading its meshes again
An item’s appearance TransactionSystem.ResetItemAppearance(owner, item), ChangeItemAppearanceByName(owner, item, name) Applies the appearance again; a stronger fallback: remove the item from its slot and add it back (RemoveItemFromSlot, AddItemToSlot)
An NPC, device or object entEntity.ScheduleAppearanceChange(name) with its current appearance (GetCurrentAppearanceName()), or through another appearance and back if the same name does nothing Rebuilds its appearance’s components
What REDnode spawned Delete and spawn again through the DynamicEntitySystem (W1’s api.spawn), same spec and transform A full respawn
What V looks at TargetingSystem.GetLookAtObject(player, ...) Picks the target for the two rows above

The open question behind every row: whether a refreshed thing reads the new file or a copy the engine still holds. The resource loader’s cache is dropped by RED Hot Tools, but a mesh or material held by another live object may stay alive. The spike answers it.

Finding what uses an asset (the swapped archive’s meshes and materials) is the hard part in general: the game has no “who uses this file” lookup. So H2 targets by place, not by asset, and lets the modder say what: V, what V looks at, what REDnode spawned, or everything near V. Reading which entities near V use the swapped files (their components’ resource paths) is a later step, if the spike shows it is needed.

Step Builds Answers
H2a Spike A test app, apps/refresh-test, calling the game through api only (no plugin change): buttons for V’s clothing (each slot, RefreshAttachment), V’s clothing the stronger way (remove and add back), what V looks at (appearance again), a spawned box (respawn) Which calls pick up a swapped mesh or material, what each costs (a hitch, a flicker, an animation), and whether anything breaks (a quest item, a weapon in hand, an NPC’s state)
H2b world.refresh The call in the rednode package and the MCP tool: world.refresh({ player, lookAt, spawned, near }) with what the spike found works; Hot swap gains a Refresh switch after each swap, on by default for V One call after a swap shows the change

The spike’s test needs a clothing archive the user can change and swap (a texture or material change that is easy to see on V), a world prop mod with a visible change, and an NPC appearance mod if one is at hand.

H2a: built

Built on 2026-10-21: Refresh test 0.1.0 (packages/overlay/apps/refresh-test, a Node mod, closed at start), calling the game through api only. No part of REDnode changed, so it runs on the released REDnode 0.26.15 and VERSION stays. It asks for the archives permission and requires RED Hot Tools, for its own Swap field. Every press goes to its log and the Mod log with what it called and how long it took.

Section Buttons Game calls
1. Swap Swap archives.reload (as Hot swap)
2. V’s clothes Re-attach, Reset look, Same look, Off and on, on each clothing slot that holds an item (Head, Eyes, Chest, Torso, Legs, Feet, Outfit), or the slots typed in (Legs, or a full record such as OutfitSlots.Torso) RefreshAttachment(V, slot, false); ResetItemAppearance(V, item); ChangeItemAppearanceByName(V, item, its current appearance); RemoveItemFromSlot(V, slot, true, false, true) then AddItemToSlot(V, slot, item)
3. What V looks at Same appearance, Through a missing one TargetingSystem.GetLookAtObject(V, false, false), then ScheduleAppearanceChange with its current appearance, or with a name it does not have and back after 0.5 s
4. A spawned object Spawn (the cardboard box, or a .mesh depot path typed in), Respawn, Mesh off and on, Remove world.spawn and world.remove in the same place; FindComponentByName then Toggle(false), Toggle(true)

Checked in the mock game: every button of sections 2 and 3 made the calls above with the right arguments (a jacket and trousers worn, a vendor looked at), and section 4 said what was missing. The docs example page runs it against the simulation. Unverified in the game, which is the point of the test.

H2a test

REDnode 0.26.15 on the laptop, with RED Hot Tools, Codeware, the Test timer and the Refresh test zip extracted into the game folder. The test swaps between two versions of the same clothing archive, so each button starts from a V who still shows the other version.

Before you start, with the game closed:

Steps:

  1. Switch on Test timer in the launcher, press Start, and press Mark after each step. Type what you saw into its note before each Mark: the note goes to the log with it. Step 1 comes before it can be reached.
  2. Start the game, load a save, and put on the item (version A). F10, Mod Manager: switch on Refresh test and allow it to swap archives. Its first lines say RedHotTools OK and the world API OK. Switch on the Test timer, Start, Mark.
  3. Paste B’s full path into 1. Swap and press Swap. Does V’s item change by itself? (Expected: no.) Mark.
  4. The baseline: in the inventory, take the item off and put it on again. Does it show B now? Close the inventory. Mark.
  5. Swap A, then press Re-attach. Does it show A? Any flicker, animation or hitch? Mark.
  6. Swap B, then press Reset look. B? Mark.
  7. Swap A, then press Same look. A? Mark.
  8. Swap B, then press Off and on. B? Is the item still equipped in the inventory? Mark.
  9. Face an NPC (with your appearance mod: swap its other version first) and press Same appearance, then Through a missing one. What did it show each time: no change, a flicker, a different look, nothing for a moment? Mark.
  10. Type the item’s .mesh depot path into 4. A spawned object and press Spawn: the item stands about 3 m ahead (if nothing shows, the mesh may have no default appearance: say so). Swap the other version, then press Mesh off and on. Did it change? Mark.
  11. Swap the first version back, then press Respawn. Did it change? Press Remove. Mark.
  12. Quit the game. Send rednode-mods.log, the plugin log (rednode-*.log of this session) and rednode-overlay.log. RED Hot Tools leaves the swapped archive in archive\pc\mod: put A back there, or remove it, before the next session.

H2a test: first run (crash in the inventory)

2026-10-21 on the laptop, REDnode 0.26.15 with Refresh test 0.1.0. Step 1 passed (Mark at 00:00; the app started and was granted archives). At step 2, the player swapped B (EDGEmat_M3.archive) with the inventory open, watching V’s trousers on the inventory’s preview of V. The game closed during the swap:

Log Last lines
Plugin 13:50:18.411 the fault watch starts for the swap; nothing after
Host 13:50:18 the swap goes to RED Hot Tools 1.3.0, then “The game has exited”
RED Hot Tools “Unloading game archives”, “Moving updated archives”, “Loading updated archives”, then nothing
rednode-faults.log only the watch line, no fault (as with the sound pak crashes of H1)

The crash is inside RED Hot Tools’ load of the new archive, with a menu open that shows V and wears the item from the swapped archive. Earlier swaps of plain archives in gameplay passed (H1, SP4), and the H0 crash also came after a swap outside gameplay (the main menu). Unverified whether the inventory is the cause or this archive is: the retest swaps the same archive in gameplay, menus closed. If the inventory is the cause, REDnode should hold a swap until the menus close (the swap queue already exists), not only document it.

H2a test: second session (the player’s findings)

2026-10-21 on the laptop, the Fia leggings mod removed from the game first. Reported by the player; logs not read yet.

Finding Detail
The swap works EDGEmat_M3.archive swapped from the base trousers to the leather version, with Hot swap and with Refresh test alike
Worn items keep the old look While V wears the trousers, the new material does not show. Taking them off and putting them back on in the inventory shows it, and so does a restart (a fresh save load not checked)
Crashes after a few swaps After a few swaps, every swap crashed the game. Cause unknown: the player suspects something kept in the save

Reading (unverified): what V wears holds the loaded mesh, material and textures, so they keep the old archive’s data until the game lets them go, the same pattern as the held sounds of H1c-2. Unequipping drops the last reference, and the next equip loads from the new archive. The first two crashes may have come from the leggings mod being installed at the same time (unverified). So H2b’s first candidate is the release and reload done by a call (the Refresh test’s Off and on), not rewriting the live objects in place.

H2a test: third session (loose, no crash)

2026-10-21 on the laptop, the player’s own order, no timer; no crash in this round.

Finding Detail
Reset look redrew once V’s trousers changed to the swapped version while watched, after Reset look; not reproduced after
The world and the inventory disagree After swapping A back, V in the world kept B, even after taking the trousers off and on in the inventory, while the inventory’s preview showed A

Reading (unverified): RED Hot Tools drops the resource cache entries of a swapped archive, so a fresh load (the inventory’s preview, a new entity) reads the new file. V’s own garment keeps objects it already holds, and taking it off in the inventory may not destroy the item’s entity. Leads: Off and on (RemoveItemFromSlot with the entity destroyed), time or distance before equipping again, a save load. A plugin diagnostic could settle it: the SDK’s ResourceLoader::FindToken tells whether a path’s resource is still loaded, and the game’s garment data (entGarmentParameter, compiled per component) may be a second place V keeps it.

The logs of that session (16:40 to 16:56, nine swaps of EDGEmat_M3.archive, all reloaded in 63 to 83 ms, no faults) change the reading:

Follow-up leads, run by the player the same day after a swap:

Lead Result
Take the trousers off and put them back on in the inventory The new look shows at once; no wait or distance needed
Load a save V shows the current version
Off and on Not run: the Refresh test does not find the trousers’ slot

So the release and reload that the game does when an item is equipped is enough. H2b’s refresh for V is that done by a call, on the items the swap touched; the Refresh test first needs to find the slot that holds the visible trousers (0.2.0, proposed).

Refresh test 0.2.0

Built on 2026-10-21 from the sessions above (app only, REDnode stays 0.26.15):

Change Why
Scan lists every attachment slot in TweakDB (tweakdb.records("AttachmentSlot")) that holds an item, with the item’s name, type and appearance, and marks clothing (Clo_ types) with * 0.1.0’s fixed list missed the slot of the trousers V showed; a mod’s slots (Equipment-EX’s OutfitSlots) are records too
The buttons act on the clothing Scan found, or on the slots typed in, by the name Scan shows So one item can be tried alone
Off and on takes every item off, waits 500 ms, then puts them back The player’s own re-equip worked; the wait gives the game time to let go of the old copy
One step at a time: a press while a step runs is refused and logged 0.1.0 let calls of two buttons interleave

Checked in the mock game (Scan, Off and on, a press refused while busy, Re-attach). Unverified in the game: the number of slots (each Scan asks every one) and how Off and on behaves with an outfit system.

Refresh test 0.2.0: test

On the laptop with REDnode 0.26.15, RED Hot Tools, Codeware, the Test timer and the Refresh test 0.2.0 zip. Each step tries one button, then Off and on if it did not work, so V always shows the swapped version before the next swap.

Before you start, with the game closed:

Steps:

  1. Switch on Test timer in the launcher, press Start, and press Mark after each step. Type what you saw into its note before each Mark.
  2. Load a save wearing the trousers (A), no menu open. F10, then switch on Refresh test and press Scan. Find the trousers’ line (marked *) and type its slot name, as the line shows it, into the slots field. Note the name in the timer. Mark.
  3. Look down at V’s legs. Swap B. Do the trousers change by themselves? Mark.
  4. Press Re-attach. B? If not, press Off and on: B? Mark.
  5. Swap A, press Reset look. A? If not, press Off and on: A? Mark.
  6. Swap B, press Same look. B? If not, press Off and on: B? Mark.
  7. Swap A, press Off and on. A? Did the trousers vanish for a moment? Mark.
  8. Open the inventory: are the trousers still equipped, and does the preview show A? Close it. Mark.
  9. Quit the game. Send rednode-mods.log, the plugin log of this session, rednode-overlay.log and the RED Hot Tools log. Put A back in archive\pc\mod before the next session.

Refresh test 0.2.1

Step 1 of the 0.2.0 test (2026-10-21, laptop): Scan found items in Feet, Torso, Chest, Head and Eyes only, nothing in Legs, while V showed the trousers and the inventory could take them off and put them back. So the trousers V shows are not an item attached in any slot TweakDB lists (unverified why: the wardrobe, or V’s underwear area, are candidates).

0.2.1 (app only) goes through the inventory’s own system instead:

Button Game calls
Equipment EquipmentSystem.GetPlayerData(V), then for each clothing area (Head, Face, OuterChest, InnerChest, Legs, Feet, Outfit, UnderwearTop, UnderwearBottom) GetActiveItem and the wardrobe’s GetVisualItemInSlot, with each item’s FriendlyName and appearance, and whether a wardrobe set is active
Inventory off and on For each area typed in (such as Legs), or every clothing area with an item: an UnequipRequest, 500 ms, then a gameEquipRequest with the same item, queued on the EquipmentSystem as the inventory does; then checks the area holds the item again

Checked in the mock game. The window is taller (860), for the log.

Refresh test 0.2.1: test

On the laptop with REDnode 0.26.15, RED Hot Tools, Codeware, the Test timer and the Refresh test 0.2.1 zip. Each step tries one button, then Inventory off and on if it did not work, so V always shows the swapped version before the next swap.

Before you start, with the game closed:

Steps:

  1. Switch on Test timer in the launcher, press Start, and press Mark after each step. Type what you saw into its note before each Mark.
  2. Load a save wearing the trousers (A), no menu open. F10, then switch on Refresh test and press Equipment. Which area lists the trousers, and does it say a wardrobe item is shown? Type that area (such as Legs) into the slots field. Mark.
  3. Look down at V’s legs. Swap B. Do the trousers change by themselves? Mark.
  4. Press Re-attach, then Reset look. B after either? Mark.
  5. Press Inventory off and on. B? Did the trousers vanish for a moment? Mark.
  6. Swap A, press Inventory off and on. A? Mark.
  7. Open the inventory: are the trousers still equipped, and does the preview show A? Close it. Mark.
  8. Quit the game. Send rednode-mods.log, the plugin log of this session, rednode-overlay.log and the RED Hot Tools log. Put A back in archive\pc\mod before the next session.

Refresh test 0.2.2

The player then said (2026-10-21) that V wears the trousers in a slot an outfit mod adds, Legs Middle (there is also Legs Outer): Equipment-EX, which almost every player uses. The base game has one Legs slot. So a refresh must reach mod slots too.

Why 0.2.0’s Scan missed it (a reading, unverified): every slot it found had a name the app had learned; every other id came back empty. tweakdb.records lists ids with TweakDB’s flat-table offset in the high bits, and an id passed back that way does not match the slot. 0.2.2 (app only):

Change Why
Scan passes each id with only its low 40 bits (the name’s length and CRC32) The id as the game hashes a name
Scan learns Equipment-EX’s layered slot names (OutfitSlots.LegsInner, LegsMiddle, LegsOuter, and the same for Torso and Feet; names unverified) So they show by name
Scan counts the slots it could not read, instead of taking them as empty 0.2.0 hid errors

Checked in the mock game (an OutfitSlots.LegsMiddle item found by name). If REDnode’s own tweakdb.records should return plain ids, that is a REDnode fix for H2b (open).

Refresh test 0.2.2: test

On the laptop with REDnode 0.26.15, RED Hot Tools, Codeware, Equipment-EX, the Test timer and the Refresh test 0.2.2 zip. Each step tries one button, then Off and on if it did not work, so V always shows the swapped version before the next swap.

Before you start, with the game closed:

Steps:

  1. Switch on Test timer in the launcher, press Start, and press Mark after each step. Type what you saw into its note before each Mark.
  2. Load a save wearing the trousers (A) in Legs Middle, no menu open. F10, then switch on Refresh test and press Scan. Is there a line marked * for the trousers, and with which slot name? Type that name into the slots field; if Scan did not find them, type OutfitSlots.LegsMiddle. Press Equipment too, for the log. Mark.
  3. Look down at V’s legs. Swap B. Do the trousers change by themselves? Mark.
  4. Press Re-attach. B? If not, press Off and on: B? Mark.
  5. Swap A, press Reset look. A? If not, press Off and on: A? Mark.
  6. Swap B, press Off and on. B? Did the trousers vanish for a moment? Mark.
  7. Open the inventory: are the trousers still worn in Legs Middle, and does the preview show B? Close it. Mark.
  8. Quit the game. Send rednode-mods.log, the plugin log of this session, rednode-overlay.log and the RED Hot Tools log. Put A back in archive\pc\mod before the next session.

Refresh test 0.2.2: results

2026-10-21, 18:12 to 18:23, on the laptop (REDnode 0.26.15, Refresh test 0.2.2, Equipment-EX). EDGEmat_M3 is B (the leather look) and EDGEmat_M3b is A (the base look); A was installed at the start. No crash, no faults.

What Result
Scan 354 attachment slots, 13 or 14 holding an item, in 8 to 9 s (each slot one call on the game thread). Found OutfitSlots.LegsMiddle (l1_pants_01_basic_01_&Female, the trousers) and OutfitSlots.LegsOuter, OutfitSlots.TorsoInner and three unnamed outfit slots. Equipment-EX’s items read as type Invalid, with the look V shows; the base items it hides read empty_appearance_default, so 0.2.2 marked only those as clothing. The fix of the ids worked: unnamed slots are read now
Swap B (18:19:20) The trousers did not change by themselves
Re-attach on Legs Middle No change
Off and on on Legs Middle (500 ms between) B showed: the player’s note “off and on works”
Swap A (18:21:09), Reset look, then Off and on V kept B; the inventory’s preview showed A

So the release and reload worked from A to B and failed from B back to A, the same as the player’s manual re-equip earlier in the day (H2a, third session). Unverified why: A’s archive may hold fewer files than B’s (B adds files A does not have), or B’s copies stay loaded somewhere a re-equip finds them, while a fresh entity (the preview) loads from the archive.

Refresh test 0.2.3

App only: Take off and Put back as two presses, so the gap is the player’s and a swap can happen while the item is off (nothing V wears holds the old version during the swap). Scan also marks Equipment-EX’s items (type Invalid with a look V shows) as clothing, and learns more of its slot names (unverified). Checked in the mock game.

Refresh test 0.2.3: test

On the laptop with REDnode 0.26.15, RED Hot Tools, Codeware, Equipment-EX, the Test timer and the Refresh test 0.2.3 zip.

Before you start, with the game closed:

Steps:

  1. Switch on Test timer in the launcher, press Start, and press Mark after each step. Type what you saw into its note before each Mark.
  2. Load a save wearing the trousers (A) in Legs Middle, no menu open. F10, switch on Refresh test, and type OutfitSlots.LegsMiddle into the slots field (a short name like LegsMiddle works only after a Scan). Mark.
  3. Look down at V’s legs. Swap B, then press Off and on. B? Mark.
  4. Swap A, then press Off and on. A, or still B? Mark.
  5. Press Take off, wait about 10 seconds, press Put back. A? Mark.
  6. Press Take off. With the trousers off, swap B. Press Put back. B? Mark.
  7. Press Take off. Swap A. Press Put back. A? Mark.
  8. Open the inventory: does the preview show the same version as V? Close it. Mark.
  9. Quit the game. Send rednode-mods.log, the plugin log of this session and the RED Hot Tools log. Put A back in archive\pc\mod before the next session.

Also useful, with the game closed: the file list of A and of B (WolvenKit, or send both archives), to see whether B holds files A does not.

The player adds (2026-10-21) that taking the trousers off in the inventory before a swap and putting them on after already worked in an earlier manual try; 0.2.3’s steps 5 and 6 repeat it with the app’s buttons. If it holds both ways, H2b’s refresh for V wraps the swap: take off what V wears from the swapped archive, swap, put it back (archives.reload with a refresh option), rather than refreshing after the swap.

Likely cause of the one-way result (the player, 2026-10-21): A is B with the trousers’ meshes removed, so the base game’s meshes come through; those mesh paths are in B and not in A. RED Hot Tools drops the cached resources of the files in the archive it loads (read from its source, “Hot-loading archives (#12)” above). Swapping A back loads an archive without those paths, so their cache entries, which hold B’s meshes, are not dropped, and a re-equip finds them; the inventory preview may load them another way (unverified). Taking the item off before the swap lets B’s meshes go before the swap, so the next load reads the base game’s. If this holds, H2b must also drop the cache entries of paths the old archive had and the new one lacks: REDnode can find them by comparing the two archives’ file tables (archive-index.js, hashes), and drop them through RED Hot Tools’ ReloadResources or the SDK’s ResourceLoader (to be checked). A test: an A that keeps the meshes, copies of the base game’s, so both archives hold the same paths.

H2a: clean test archives and the crash matrix

Agreed with the player on 2026-10-21. The EDGEmat test archives came from a larger project, so their contents could cause problems of their own. The player is making new trouser mods only for these tests. Every version keeps the same archive name, so a swap replaces the archive.

Version Contents Tests
V1 One base-game garment, with only its texture overridden (look 1) Baseline
V2 The same file list as V1, with a different texture (look 2) New content at paths the game already loaded
V3 V2 plus files V1 and V2 lack, such as a mesh override Paths only the old archive has (V3 to V1): the one-way case

No .xl file, TweakXL, ArchiveXL or sound in any of them.

Some H2a sessions crashed at their first swap, and the cause is still open. To learn what contents and conditions lead to a crash, each run changes one thing from a run that worked. When a run crashes, rednode-faults.log has the first faults of the 15 s watch around the swap. It may be empty: the sound pak crashes left nothing there either.

Run Changes from the baseline Answers
1 Baseline: V1 to V2 to V1, worn, in gameplay Do same-list texture swaps hold?
2 V2 to V3 to V1 Paths that leave with the old archive (cache entries kept)
3 Inventory open during the swap The first H2a crash was in the inventory
4 Ten or more swaps in a row Earlier crashes came after a few swaps
5 The item not worn at the swap Whether a worn item’s held resources matter
6 A mesh change at the same paths (V2 with a different mesh) Mesh content against texture content
7 Another garment mod installed (like the Fia leggings) Conflicts with another mod

Not every run needs its own session. Runs 1 and 2 go together, and the others are added once those hold. On a crash, send rednode-faults.log, rednode-overlay.log (or rednode-overlay.prev.log if the game was started again), the crashed session’s plugin log and RED Hot Tools’ log.

H2a clean archives: test (runs 1 and 2)

Runs 1 and 2 of the crash matrix above, in one session. On the laptop with REDnode 0.26.15 (or 0.26.16), RED Hot Tools, Codeware, Equipment-EX, the Test timer and Refresh test 0.2.3. Game 2.31.

Before you start, with the game closed:

Steps:

  1. Switch on Test timer in the launcher, press Start, and press Mark after each step. Type what you saw into its note before each Mark.
  2. Load a save wearing the garment (V1), no menu open. F10, switch on Refresh test, and type the slot’s full name into the slots field: OutfitSlots.LegsMiddle for Equipment-EX’s Legs Middle (a short name like LegsMiddle works only after a Scan). Mark.
  3. Look at V’s legs. Swap V2, then press Off and on. V2? Mark.
  4. Swap V1, then press Off and on. V1, or still V2? Mark.
  5. Swap V2, then press Off and on. V2? Mark.
  6. Swap V3, then press Off and on. V3? Mark.
  7. Swap V1, then press Off and on. V1, or anything of V3 left? Mark.
  8. Only if step 6 kept anything of V3: press Take off, wait about 10 seconds, press Put back. V1? Mark.
  9. Open the inventory: does the preview show the same version as V? Close it. Mark.
  10. Quit the game. Send rednode-mods.log, the plugin log of this session and the RED Hot Tools log. After a crash, also rednode-faults.log and rednode-overlay.log (or rednode-overlay.prev.log if the game was started again). Take the swapped archive out of archive\pc\mod before the next session.
Step Answers
2, 3 Same file list both ways. If step 3 shows V1, the one-way result of 0.2.2 came from paths A lacked
5, 6 Paths only the old archive has (V3’s extra files). Expected to keep something of V3 if the cause holds
Any crash Which swap, and what it changed

H2 parked (2026-10-22)

The player ran swaps of two new trouser versions on the laptop (2026-10-22, 10:06 to 10:21, REDnode 0.26.15 with Refresh test 0.2.3). Several sessions crashed. In the first, a swap of EDGEmatB.archive took 671 ms, and the next Re-attach got no answer from the game within 5 seconds before the session ended. The app also still had trouble finding the trousers’ slot. Equipment-EX and an instant wardrobe switcher mod were both installed, and either may play a part (unverified). No fault log was sent.

Parked by the player the same day, to think about the approach before going on. One idea the player raised: go deeper into the game’s data structures and build a patch that can stop the game and bring its loaded resources and the GPU’s buffers back in step during a swap. Plain archive swaps through archives.reload (H1) are not affected. Pick H2 up again from the crash matrix and the clean archives test above. The owner then asked for a research effort toward a hot swap patch: Hot swap research, which also reads the crash reports of that day (every crash came with a second copy of the game running, or without a swap).

H2 resumed: test with the fixed RED Hot Tools

Agreed with the player on 2026-10-22, after the swap crashes were traced to RED Hot Tools and fixed (docs/hot-swap-research.md): the goal is a seamless appearance swap on what V wears, with taking the item off and putting it back as the acceptable fallback. On the laptop, Cyberpunk 2077 - Copy, REDnode 0.26.19, RED Hot Tools 1.3.0+edgemodders.1, Refresh test 0.2.3, Equipment-EX. Versions 1 and 2 are the player’s EDGEmatA.archive pair, which share only 2 of their 9 paths (the case that went one way on 2026-10-21).

The fault watch runs for 15 seconds after each swap, so the Re-attach in step 2 comes within that time: the crash at 12:24 came after a Re-attach outside it.

  1. Switch on Test timer in the launcher, press Start, and press Mark after each step. Type what you saw into its note before each Mark.
  2. With the game closed: version 1 in archive\pc\mod as EDGEmatA.archive, archive\pc\hot empty. Start the game once, load the save wearing the trousers (version 1) in Legs Middle. F10, Refresh test, type OutfitSlots.LegsMiddle into the slots field. Mark.
  3. Swap version 2. Watch V’s legs for about 5 seconds: did they change by themselves? Then press Re-attach at once (within 15 seconds of the swap). Changed? Crash? Mark.
  4. Press Reset look. Changed? Mark.
  5. Press Off and on. Version 2? Mark.
  6. Swap version 1, then press Off and on. Version 1, or still version 2? Mark.
  7. Press Take off. Swap version 2. Press Put back. Version 2? Mark.
  8. Press Take off. Swap version 1. Press Put back. Version 1? Mark.
  9. Open the inventory: does the preview match V? Close it. Mark.
  10. Quit. Send rednode-mods.log, the plugin log, rednode-overlay.log, the RED Hot Tools log and rednode-faults.log, and after a crash the newest folder in %LOCALAPPDATA%\REDEngine\ReportQueue\.

H2 resumed: results

2026-10-22 at 13:31, on the laptop, Cyberpunk 2077 - Copy, REDnode 0.26.19, RED Hot Tools 1.3.0+edgemodders.1, Refresh test 0.2.3, the EDGEmatA.archive pair (2 of 9 paths shared). Five swaps, each 72 to 82 ms, no crash, 0 faults. The player’s notes and the Mod log:

Step Action Result
2 Swap version 2 (13:33:01), wait No change by itself
2 Re-attach (RefreshAttachment, 13:33:22, 21 s after the swap, outside the fault watch) No change, no crash
3 Reset look (ResetItemAppearance, 13:34:12) Changed to version 2, with the item still worn
4 Swap version 2 again, Off and on Version 2
5 Swap version 1, Off and on Version 1: both directions work now
6 Take off, swap version 2, Put back Version 2
7 Take off, swap version 1, Put back Version 1
8 Inventory preview Matches V

What it means:

Next: confirm Reset look both ways and repeatedly (“H2b-0: Reset look both ways”), then build it into archives.reload.

H2b-0: Reset look both ways: test

Same setup as above.

  1. Switch on Test timer in the launcher, press Start, and press Mark after each step. Type what you saw into its note before each Mark.
  2. Version 1 installed, load the save wearing the trousers. F10, Refresh test, type OutfitSlots.LegsMiddle. Mark.
  3. Swap version 2, then press Reset look. Version 2, still worn? Mark.
  4. Swap version 1, then press Reset look. Version 1? Mark.
  5. Repeat steps 2 and 3 twice more (version 2, 1, 2, 1), each swap followed by Reset look. Any time it did not change? Mark.
  6. Look at the trousers closely, and from the side: any part that kept the old version (another mesh, a seam, the waistband)? Mark.
  7. Quit. Send rednode-mods.log, the plugin log and rednode-faults.log.

H2b-0: results

2026-10-22 at 13:41, on the laptop, same setup. Passed: six swaps (versions 2, 1, 2, 1, 2, 1), each followed by Reset look (ResetItemAppearance, 16 to 17 ms in the game), and each time the player’s note says the new version showed, with the trousers worn throughout. No crash, 0 faults.

H2b: what V wears refreshes after a swap (REDnode 0.26.20)

Built on 2026-10-22. After a swap that took, archives.reload applies the appearance of every piece of clothing V wears again, so it shows the new version without being taken off.

Part What
Slots The base game’s clothing slots (AttachmentSlots.Head, Eyes, Chest, Torso, Legs, Feet, Outfit, UnderwearTop, UnderwearBottom) and Equipment-EX’s 54 extra slots (OutfitSlots.*, the names from its OutfitConfig.OutfitSlots(), MIT). Equipment-EX is not needed: a slot the game does not have holds nothing
Calls GetItemInSlot for every slot, then GetItemID, GetItemAppearance, and ResetItemAppearance for each item found, each step sent at once so the plugin runs it in one frame. Items wearing an empty_appearance_* (the base items Equipment-EX hides) are left alone, so the refresh never shows them
API archives.reload(files, { refresh }), default true; the answer’s refreshed lists each item’s slot and appearance. The MCP tool archives_reload takes refresh too. The host log and the Mod log say what was refreshed
Mock game A probe package swapped an archive with V wearing a jacket (AttachmentSlots.Torso), trousers in OutfitSlots.LegsMiddle and a hidden base Legs item: the jacket and trousers were reset, the hidden item was not, in 12 to 21 ms; with { refresh: false } nothing was reset

H2b: test

On the laptop, Cyberpunk 2077 - Copy, REDnode 0.26.20 (update zip over 0.26.19), RED Hot Tools 1.3.0+edgemodders.1, Equipment-EX. V wearing the trousers and some other clothing.

  1. Switch on Test timer in the launcher, press Start, and press Mark after each step. Type what you saw into its note before each Mark.
  2. Version 1 installed, load the save. F10, Refresh test. Mark.
  3. Swap version 2, and press nothing else. Do the trousers show version 2 by themselves now? Mark.
  4. Swap version 1. Version 1? Mark.
  5. Swap version 2, then version 1 once more. Mark.
  6. Look at V’s other clothing: did anything else change, flicker, or did an item Equipment-EX hides show up? Mark.
  7. Open the inventory: does the preview match V? Close it. Mark.
  8. Quit. Send rednode-mods.log (it lists “refreshed what V wears (…)” after each swap), rednode-overlay.log and rednode-faults.log.

H2b: results

2026-10-22 at 13:56, on the laptop, Cyberpunk 2077 - Copy, REDnode 0.26.20, RED Hot Tools 1.3.0+edgemodders.1, Equipment-EX. Passed: four swaps (versions 2, 1, 2, 1) with no button pressed after them, and each time the player’s note says the trousers showed the new version. Step 5: “Everything looks normal”; step 6: the inventory matches. No crash, 0 faults.

Swap Refreshed Time
13:58:11 5 items, all in Equipment-EX’s slots: OutfitSlots.Head, Wreath, TorsoInner, LegsMiddle, Feet 348 ms
13:58:41, 13:59:11, 13:59:31 9 items: the same 5, and the base AttachmentSlots.Head, Eyes, Chest, Feet 335 to 338 ms

Found: before the first refresh, the base items Equipment-EX hides wore empty_appearance_default, so they were skipped; afterwards they read their own appearances, so the next refreshes reset them too. Nothing hidden showed up (the player’s step 5), but resetting items Equipment-EX hides is a risk (the H2a run of 2026-10-21 saw a Reset look give hidden items back their looks). A refinement to decide: when V wears anything in Equipment-EX’s slots, leave the base clothing slots out of the refresh. The refresh takes about 340 ms in the game against 12 to 21 ms in the mock game: four steps, each waiting for the game thread’s next frames.

H2b refinement: Equipment-EX’s hidden items left alone (REDnode 0.26.21)

Agreed with the owner on 2026-10-22. When V wears anything in Equipment-EX’s slots (OutfitSlots.*), the refresh leaves the base clothing slots out: Equipment-EX shows what V wears through its own slots and hides the base items, and applying a hidden item’s appearance again could show it. Without Equipment-EX, or with nothing in its slots, the base slots are refreshed as before. In the mock game: with a trousers item in OutfitSlots.LegsMiddle and a jacket in the base Torso slot, only the trousers were refreshed; with no OutfitSlots item, the base Torso and Legs items were.

Decided the same day: H2 stops here for now. H2c (things in the world: NPCs, props) comes after the ink API, and synchronizes with EDGEbuilder, so scenes built in EDGEbuilder (NPCs, props and the rest) and stored there can be loaded into the game from EDGEbuilder.

H2b refinement: test

On the laptop, Cyberpunk 2077 - Copy, REDnode 0.26.21 (update zip over 0.26.20), RED Hot Tools 1.3.0+edgemodders.1, Equipment-EX, V wearing the trousers and other clothing.

  1. Switch on Test timer in the launcher, press Start, and press Mark after each step. Type what you saw into its note before each Mark.
  2. Version 1 installed, load the save. F10, Refresh test. Mark.
  3. Swap version 2, then version 1, then version 2, with no other button. Each time: the new version shows? Mark.
  4. Look at V’s clothing: anything Equipment-EX hides showing, or anything else changed? Mark.
  5. Quit. Send rednode-mods.log: each “refreshed what V wears (…)” line should list only OutfitSlots.* slots.

H2b refinement: results

2026-10-22 at 15:31, on the laptop, Cyberpunk 2077 - Copy, REDnode 0.26.21, RED Hot Tools 1.3.0+edgemodders.1, Equipment-EX. Passed. Before the run the player also put a pair of shorts in the base game’s Legs slot, under Equipment-EX’s trousers, as a visible check.

Swap Refreshed Whole swap
15:33:52, version 2 5 items, all in Equipment-EX’s slots: OutfitSlots.Head, Wreath, TorsoInner, LegsMiddle, Feet 893 ms
15:34:24, version 1 the same 5 459 ms
15:34:37, version 2 the same 5 460 ms

No base AttachmentSlots.* item was refreshed in any swap (0.26.20 reset Head, Eyes, Chest and Feet from its second swap on). The player: each version showed, the shorts in the base Legs slot never showed through, and everything looked normal. No crash. The first swap of a session takes longer (893 ms against about 460 ms after it).

H2 stops here, as decided with the owner on 2026-10-22: H2c (things in the world: NPCs, props, synchronized with EDGEbuilder) comes after the ink API.

H2b limit: the inventory preview keeps the old look (parked)

Found by the player on 2026-10-22 with REDnode 0.26.21: a swap made while the inventory screen was open did not crash and V showed the new trousers, but the inventory’s preview of V kept the old ones, also after leaving the inventory and opening it again. Unequipping and equipping them again in the inventory showed the new version. Parked with the owner the same day, to come back to with H2c.

Why (from the game API dump; the persistence is unverified): the preview is a second character, not V. gameuiInventoryPuppetPreviewGameController (script name inkInventoryPuppetPreviewGameController) holds it, GetGamePuppet() returns it (a whandle), and the game gives it copies of V’s items through TransactionSystem.GivePreviewItemByItemID. The refresh resets only V’s items. The preview seems to stay alive once the inventory has been opened, which would explain why the H2b run’s step 6 matched: that session opened the inventory only after its swaps. A check: load a save, swap without opening the inventory, then open it; the new version should show.

No game system hands out the inventory preview’s controller (the character creation one has GetPuppetPreviewGameController, the inventory one has none), so the host cannot reach it through api alone.

The fix plan:

  1. A small redscript hook (@wrapMethod on the inventory preview controller’s OnPreviewInitialized and OnUninitialize) that records the controller in a weak handle a REDnode script system returns.
  2. In refreshWorn, when that controller is alive, GetGamePuppet(), read the preview character’s items in the same slots and call ResetItemAppearance on them too (unverified that it works on the preview as it does on V).
  3. Check the script with redscript-cli against a copy of r6/cache/final.redscripts, with and without Codeware’s scripts.
  4. An in-game test: swap with the inventory open, then with it closed after opening it once.

Photo mode and the wardrobe preview (gameuiWardrobeSetPreviewGameController) have their own copies of V and likely need the same step. Until then: swap outside the inventory, or unequip and equip the item again in the inventory.

This plan is replaced by H2b preview: plan (2026-10-26): the game’s own scripts show a way to the preview that needs no hook.

H2b preview: plan

Asked for by the owner on 2026-10-26: make the inventory’s preview of V show a swapped garment too, with the same logic the refresh uses on V. Proposed and agreed with the owner the same day. The spike passed on 2026-10-27 (results). Found by reading the game’s scripts (decompiled with redscript-cli into the scratchpad, never committed) and Equipment-EX’s scripts (MIT).

What the game does:

Finding Where
The preview character belongs to the in-game menu controller, gameuiInGameMenuGameController. GetPuppet(n"inventory") (native, on gameuiBaseMenuGameController) returns it as a strong handle. OnPuppetReady dresses it with preview copies of V’s items (GivePreviewItemByItemID) The game’s OnPuppetReady
The game refreshes the preview in two ways. (1) The wardrobe sends ResetItemAppearanceInSlotDelayEvent { slotID } to V next frame (DelayedResetItemAppearanceInSlot); the in-game menu controller answers by calling ResetItemAppearance(puppet, item in that slot). (2) EquipmentSystemPlayerData.ResetItemAppearance(area, force) resets V’s item and posts a paperdoll update on the UI_Equipment.lastModifiedArea blackboard; the controller’s OnEquipmentChanged then resets the same item on the preview The game’s OnResetItemAppearanceInSlotDelayEvent, OnEquipmentChanged
REDnode’s refresh calls TransactionSystem.ResetItemAppearance on V directly, which sends neither. That is why the preview keeps the old look refreshWorn in main.js
Equipment-EX dresses the preview in the same OutfitSlots.* (AddItemToSlot(puppet, slot, previewID)), so a reset per slot on the preview covers its items too. Its paperdoll update skips an item already in the slot, so route (2) would not refresh its slots Equipment-EX’s EquipPuppetParts, UpdatePuppetFromBlackboard
The game’s answer to the event does not check that the preview exists. Sent with no preview, it would call the transaction system with an empty game instance (crash unverified) OnResetItemAppearanceInSlotDelayEvent
Codeware’s GameInstance.GetInkSystem().GetLayer(n"inkMenuLayer").GetGameController() should return the in-game menu controller, so no redscript hook is needed (unverified) Codeware 1.21’s inkSystem

The approach: after the refresh resets V’s items, refreshWorn finds the in-game menu controller through Codeware’s menu layer and calls GetPuppet("inventory"). When there is a preview, it resets the preview’s item in each slot it refreshed on V, skipping empty_appearance_* as on V. This is the same step as the game’s own event handler, but with a check that the preview exists. The answer gains preview: { items }, or a note when there is no preview or no Codeware. Without Codeware the refresh stays as it is today.

Open questions the spike answers:

# Question If no
U1 Is the menu layer’s controller the in-game menu controller? A small redscript wrap of its OnPuppetReady that keeps the preview in a REDnode script system (the old plan, moved to this controller)
U2 Does GetPuppet("inventory") return the preview while the inventory is closed, after it was opened once? The host remembers the slots swapped since the inventory was last open and refreshes the preview the next time it opens
U3 Does ResetItemAppearance on the preview show the swapped version, as it does on V? Take the item off the preview and put it back (RemoveItemFromSlot, AddItemToSlot), as an unequip and equip in the inventory does
U4 Does the game’s event (route 1) do the same as the direct call? Keep the direct call; the event is only a comparison

Phases:

Phase What Where it runs
PV-a Spike Refresh test 0.3.0, section 5: Find preview (the controller’s type, the preview, what it wears, and Equipment-EX’s preview for comparison), Reset preview (the direct call) and Game event (route 1, only when a preview exists). Through api only, so no REDnode build Steps 1 to 5 on game 2.5 with REDnode 0.40.1 (no swap). Steps 6 to 9 in the 2.31 backup with REDnode 0.37.0 and RED Hot Tools, the only place a swap works today
PV-b Build The preview step in refreshWorn in the way the spike chose, preview in archives.reload’s answer, a changelog line Built on 2.5. Its swap check waits for RED Hot Tools on 2.5; until then, a check that the step runs and finds the preview
Later Photo mode’s copy of V, the wardrobe screen’s preview, Equipment-EX’s own wardrobe screen  

H2b preview: test

PV-a, Refresh test 0.3.0. Needs Codeware. Steps 6 to 9 also need RED Hot Tools and two versions of a garment V wears, such as the H2a trouser archives (V1 and V2, the same file list).

  1. Switch on the Test timer in the launcher and press Start. Press Mark after each step.
  2. Load a save. In the launcher, switch on Refresh test and its Allowed switch for swapping archives. On game 2.5 the launcher says it needs RED Hot Tools: it still runs, and steps 1 to 5 do not swap. Put on the test garment if you are in the 2.31 backup. Mark.
  3. Without opening the inventory, press Scan, then Find preview. Expected: the menu layer controller’s type (gameuiInGameMenuGameController hoped for), and whether a preview exists yet. Mark.
  4. Open the inventory (I), press F10, press Find preview. Expected: a preview, with what it wears. If Equipment-EX is installed, its preview should have the same id. Mark.
  5. Close the inventory, press F10, press Find preview. This answers U2: is the preview still there? Mark.
  6. Open the inventory, press F10, then press Reset preview and Game event. Expected: no crash, and the preview keeps its look (nothing was swapped). Mark. On game 2.5, stop here.
  7. In the 2.31 backup, with V wearing V1 and the inventory open: press F10, type the archive and press Swap with V2’s file. Expected: V shows V2 (the refresh), the preview still V1 (the bug). Mark.
  8. Press Reset preview. Look at the preview: V2? (U3) Mark.
  9. Swap V1 back, then press Game event. Look at the preview: V1? (U4) Mark.
  10. Close the inventory. Swap V2, press Find preview, and Reset preview if it found one. Open the inventory: V2? Mark.

H2b preview: test results (2026-10-27, passed)

Run on the laptop’s 2.31 game (Cyberpunk 2077 - Copy) with REDnode 0.37.0, RED Hot Tools 1.3.0+edgemodders.1, Codeware and Equipment-EX; the swapped archive was EDGEmatA.archive (versions A and B). Times from the Test timer’s marks; menu open and close read from the plugin’s REDnodeInk.root events (4 roots kept with the menu open, 3 without).

Step What happened
2 Not answered: Find preview was pressed while Scan was still running (8.5 s for 354 slots), and the app refused it. Whether a preview exists before the inventory was first opened is still unknown
3 Menu open: the menu layer’s controller is gameuiInGameMenuGameController (U1 yes); the preview is an NPCPuppet (entity 11431816) wearing the same six OutfitSlots.* items as V, in their third-person appearances (&TPP where V’s are &FPP). Equipment-EX’s own PaperdollHelper.GetPuppet() answered none
4 Menu closed (root count back to 3 at 07:19:51), Find preview at 07:20:05 found the same preview, entity 11431816 (U2 yes: it outlives the menu)
5 Reset preview reset the six items in 601 ms with no fault and no visible change. Game event failed before sending anything: DelaySystem.DelayEventNextFrame has three overloads, and api asks for the full name
6 Swap to B with the menu open: 74 ms; REDnode’s refresh reset V’s six OutfitSlots.* items; V showed B and the preview kept A (the bug, as expected)
7 Reset preview (517 ms): the preview showed B (U3 yes)
8 Swap back to A, then Game event: it failed again on the overload, so the preview kept B (“No”). U4 not answered; not needed, since the direct call works
9 Menu closed (07:24:14), swap to B, Find preview found the same preview, Reset preview (637 ms), then the inventory opened on B (“yes”)

Three swaps, 0 faults in each watch, a clean quit.

What it decides for PV-b:

Question Answer For the build
U1 Reach Codeware’s inkMenuLayer controller is the in-game menu controller No redscript hook
U2 Lifetime The preview outlives the closed menu, same entity Reset it whether the menu is open or closed
U3 Reset ResetItemAppearance on the preview shows the swapped version The direct call, the same as on V
U4 Game event Not run (overload) Not used
Time About 100 ms an item through api, one call at a time Do it in the host after V’s resets, inside the same refresh; the preview’s items are read per slot from the preview itself, since its item ids differ from V’s
No preview yet Unknown (step 2) Skip with a note when GetPuppet answers none; the inventory dresses a fresh preview when it opens

H2b preview: built (PV-b, REDnode 0.40.2)

Built on 2026-10-27. After refreshWorn resets V’s items, refreshPreview in main.js finds the preview (Codeware’s inkMenuLayer, its game controller, GetPuppet("inventory")) and resets the preview’s items in the slots refreshed on V, skipping empty_appearance_*. Each step’s calls go out at once, as for V, so it costs a few frames, not the spike’s 100 ms an item. archives.reload answers preview: { items, note? }; the host log and the Mod log say what was refreshed. Checked against a stand-in bridge (scratchpad paperdoll/check.mjs: a preview, none, no Codeware).

Its check waits for a swap on game 2.5 (H3 or RED Hot Tools): REDnode 0.40.2 runs only on 2.5, and on 2.5 nothing swaps yet. Until then, Refresh test 0.3.0’s steps 2 to 4 on 2.5 with 0.40.1 or 0.40.2 show whether 2.5 finds the preview the same way (unverified on 2.5). Then, once RED Hot Tools supports 2.5: swap a worn garment with the inventory open and with it closed, with no button pressed; the preview should show the new version, and the Mod log should say “refreshed the inventory’s preview of V”.

H2b preview: on its own (#28, REDnode 0.49.1)

Found by EDGEmat’s Wardrobe Designer on 2026-10-30 (#28): with the inventory open and V’s clothes in the base slots, V’s own items read empty_appearance_default (unverified why; the game seems to hide V while the preview shows the clothes), so refreshWorn left them out, and refreshPreview ran only for the slots refreshed on V: nothing was refreshed. With Equipment-EX the items sit in OutfitSlots.* and keep their appearance, which is why H3a’s swaps refreshed both.

Since 0.49.1 refreshPreview reads the preview’s own items in every clothing slot and resets each that shows, with the same rules as V’s (shownItems in main.js: with Equipment-EX’s slots in use the base slots are left out, and empty_appearance_* items are skipped), whatever V’s showed. Checked against a stand-in bridge (scratchpad w28/check.mjs, 7 checks; the issue’s case fails on 0.49.0’s code). Open: whether V’s own items show the new version when the inventory closes after a swap made with it open (the game applies their appearance again then; unverified).

H3 REDnode’s own hot loader: plan

Asked for by the owner on 2026-10-27: RED Hot Tools has no build for game 2.5 (upstream unchanged since 2026-10-20), so every swap feature (H1 to H2c) is untestable on 2.5. REDnode swaps archives itself, with the game’s own functions, and no longer needs RED Hot Tools. This is the fallback agreed on 2026-10-17 (“try RED Hot Tools first and make our own if it gives trouble”). Agreed with the owner on 2026-10-27, with the name REDswap and the plugin shipped beside REDnode’s; H3a is built (H3a: built).

What the static reading of the 2.5 exe found (2026-10-27; dumpbin and Python helpers in the scratchpad, game code never committed):

Finding Detail
2.5 has its own content reload, but not a hot swap gameEngine.cpp runs a chain of jobs: ReloadArchivesAndTweakDB, ReloadGameModService, ReloadGameFramework, ReloadLocalizationAndAudio, ReloadRenderResources, ReloadDLCSystem, ReloadInkWidgetOverrides, ReloadGameDefinitions, EngineReloadFinished. It serves Phantom Liberty installs and mod.io mods; the scripts show its mod popup only from the main menu (SingleplayerMenuGameController). It rebuilds the game framework, so it cannot run in a loaded save
The archive loader is still there, under a new id The function at +0x22d7bd0 (address-list hash 3573367139) holds 2.31’s loader’s messages (“Failed to create the archive %hs”, “Could not open archive %hs for reading”); 2.31’s was hash 2517385486, missing from 2.5’s list. Same six arguments (depot, group, paths, loaded resources, a 0 or 1 for “load into memory”, a byte 2), called the same way by the game; 2.5 adds a success flag on return
The structures did not change Archive is still 0x50 bytes (DestructArchives steps by 0x50 in both); RED4ext.SDK’s 2.5 update (5246e65, by psiberx) changed only the mod group’s scope number (4 to 6)
Every other function a swap uses is in 2.5’s address list The async file handle cache, the resource loader and bank, DestructArchive(s), RequestResource

The approach: port RED Hot Tools’ archive swap (MIT, by psiberx; credited, with its license notice beside the code) into a small RED4ext plugin of its own, REDswap, built from this repo (native/redswap/) beside REDnode’s plugin and installed with it, as an adjacent file in the same build and player zip (red4ext/plugins/REDswap/REDswap.dll; the owner’s choice, 2026-10-27). It registers global native functions, REDswap_Version, REDswap_Check and REDswap_Swap, that the game’s scripts and REDnode’s api can call, as RED Hot Tools’ RedHotTools.ReloadArchives() was, so the host keeps calling it through rtti.call and other tools could call it too. Its swap:

  1. On the game thread, find the depot’s mod groups (scope Mod).
  2. Close the system handles of the archives being replaced, copy the new files into archive/pc/mod (same name: replace; new name: add), reopen the handles, and call the loader into a temporary group, then merge it into the mod group by exact path (our lookup fix, HP0).
  3. Drop the loaded resource paths from the resource loader and bank, so the next request reads the new file.
  4. Copy .xl, .yaml and .yml files too, and call ArchiveXL.Reload when ArchiveXL is there.

The host’s archives.reload then calls REDswap instead of RED Hot Tools: the same answer, the same checks (H1b’s refusal list, the sound hold and index reload of H1d, the refresh of V, the preview and the world after it). The archives permission, the MCP tool and the apps do not change. RED Hot Tools stops being a requirement; when it is installed too, its folder watcher could swap the same file, so REDnode’s swaps never touch archive/pc/hot.

Not ported: RED Hot Tools’ ink widget library merge (it keeps live ink widget resources and fills them with the new data next frame). REDnode drops those too; an open ink screen using a swapped widget keeps the old one until it is built again (unverified).

Phases:

Phase What Test
H3a Loader The REDswap plugin (the swap, addresses by hash through RED4ext, a refusal when an address is missing, its own log in red4ext/logs), built and deployed with REDnode and added to the player zip; the host switched to it; a version raise (REDswap got its own version, 1.0.0, and its own Nexus page on 2026-10-27: REDswap) On 2.5: a plain archive swapped in a loaded save (new and replaced), then the test garment with V’s refresh and the preview (PV-b), each with the fault watch
H3b The rest on 2.5 The swap paths that waited for RED Hot Tools: H2c-b’s world refresh (spawns and entities near V) and a sound pak swap (H1d) On 2.5, steps from their earlier tests
Later REDcode #11 and Sound Tools’ Hot swap through REDnode only; the docs and Nexus page without RED Hot Tools  

Risks: the swap runs inside the game’s resource code with no RED Hot Tools to compare against on 2.5; a wrong guess crashes the game (the fault watch and the exit hooks of HP0 log where). 2.31 keeps RED Hot Tools: REDnode 0.40.x runs only on 2.5.

H3a: built (REDnode 0.41.0)

Built on 2026-10-27; passed in game the same day (results).

Part What
native/redswap/ main.cpp (the plugin: REDswap_Version, REDswap_Check, REDswap_Swap(files) with paths separated by a bar, answering JSON; a line at the first frame saying whether it can swap), swap.cpp (the port), LICENSE-RedHotTools.txt
Checks before anything changes Each game function is looked up through RED4ext_ResolveAddress itself, so a missing one refuses the swap instead of closing the game; the loader’s first bytes must be 2.5’s; the file cache must hold each replaced archive under its own path at its handle (the cache’s layout check)
Differences from RED Hot Tools Files are copied, not moved, so the source stays; a replaced archive is found by its exact path; live ink widget resources are dropped, not refilled
The host archives.reload calls REDswap when it is loaded (via: "redswap"), RED Hot Tools otherwise; "swapWith": "redhottools" in the host’s settings.json forces RED Hot Tools. No hot folder with REDswap
Build and install native/CMakeLists.txt builds REDswap.dll and stages it in dist/red4ext/plugins/REDswap; tools/deploy-native.ps1 and the player zip install it beside REDnode, with RED Hot Tools’ license and a line in THIRD-PARTY-NOTICES.txt
Also Refresh test 0.3.1 no longer requires RED Hot Tools; a function name that is one overload’s full name picks it (Game event failed on DelayEventNextFrame in the preview spike)

Only the build is checked: both plugins compile with no warnings and the native tests pass. The loader’s first bytes and the file cache’s paths table were checked against the 2.5 exe by reading it; nothing ran in the game.

H3a test

Game 2.5 with REDnode 0.41.0: the update zip REDnode-0.41.0-H3-update.zip (REDnode.dll, the host’s app.asar, sdk and runtime, red4ext/plugins/REDswap, Refresh test 0.3.1) extracted over REDnode 0.40.1. Needs Codeware and the test garment’s two versions (V1 and V2 of EDGEmatA.archive, the same file list), V1 installed in archive/pc/mod and worn. RED Hot Tools is not needed; leave it out.

  1. Switch on the Test timer in the launcher and press Start. Press Mark after each step.
  2. At the main menu, before loading: nothing to do; REDswap writes whether it can swap to red4ext/logs/redswap-*.log. Load a save. In the launcher, switch on Refresh test and its Allowed switch for swapping archives. Put on the V1 trousers. Mark.
  3. Press Scan and wait for its line (about 9 s). Mark.
  4. Swap V2 (type V2’s full path, Swap) with the inventory closed. Expected: no crash; the Mod log says the archive was reloaded and V’s slots refreshed; V shows V2. Mark.
  5. Open the inventory (I). Expected: the preview shows V2 (the inventory builds it fresh or REDnode refreshed it). Mark.
  6. With the inventory open, swap V1 back. Expected: V and the preview both show V1 with no button pressed (PV-b). Mark.
  7. Close the inventory, swap V2 again, open the inventory. Expected: V2 on V and the preview. Mark.
  8. Swap an archive that is not installed yet (any small mod archive not in archive/pc/mod, by full path). Expected: added, no crash. Mark.
  9. Quit the game. Send red4ext/logs/redswap-*.log, rednode-mods.log, rednode-overlay.log, the newest rednode-*.log and rednode-faults.log if there is one.

H3a test: results (2026-10-27, passed)

Run on the dev PC’s fresh 2.5 install, deployed from EDGEdeck (RED4ext 1.31.0, redscript 0.5.32, ArchiveXL 1.28.0, Codeware 1.21.1, TweakXL 1.12.0, Equipment-EX 1.2.10; no RED Hot Tools, no CET), with REDnode 0.41.0 and REDswap deployed by deploy-native.ps1. The trousers (Items.Pants_01_basic_01, appearance l1_pants_01_basic_01_) worn in Equipment-EX’s OutfitSlots.LegsMiddle; V1 and V2 of EDGEmatA.archive from E:\Gallery\Files\EDGEmat A and EDGEmat B. The owner: everything worked as expected.

Step What the logs say
Start REDswap at the first frame: “Ready: the game’s archive loader and file cache were found” (the address lookup, the loader’s first bytes and the cache all passed on 2.5)
2 Scan 356 slots, 15 holding an item, 12 clothing, in 6.1 s
3 V2, inventory closed REDswap replaced archive\pc\mod\EDGEmatA.archive in 57 ms: 9 resources, 1 dropped from the loader, ArchiveXL reloaded. V’s 5 OutfitSlots.* items refreshed (340 ms) and the preview’s 5 too
4 Inventory opened The preview showed V2
5 V1, inventory open Replaced in 52 ms (4 resources dropped); V and the preview both refreshed, with no button
6 V2, inventory closed, then opened Replaced in 52 ms; V2 on V and the preview
7 A new archive EvilClown.archive (a REDmod’s packed archive, not installed) added in 59 ms: 48 resources, none loaded yet so none dropped
Faults 0 faults in each of the four 15 s watches; the game quit cleanly

The loader answered 0 in every swap, as the game’s own callers expect when nothing failed (unverified: what a 1 means). The swap itself takes 52 to 59 ms on the game thread, about what RED Hot Tools took on 2.31 (50 ms); the refresh of V and the preview adds 250 to 340 ms. The world refresh looked at about 1,072 entities near V in 8 to 21 ms and found none using the swapped files (no test entity: H3b).

What it decides: REDswap replaces RED Hot Tools on game 2.5. Its own page: REDswap. PV-b (the inventory preview) is verified on 2.5 with a real swap, open and closed. Next: H3b, the world refresh (a spawn and a game entity using a swapped file, H2c-b’s steps) and a sound pak swap (H1d), on 2.5.

H3b test

Game 2.5 on the dev PC with REDnode 0.42.1 (0.41.1’s changes and the Console) and REDswap 1.0.0 (deployed by deploy-native.ps1), Codeware, World objects test 0.2.2 and Sound Tools’ Hot swap. No RED Hot Tools. The same run checks 0.41.1’s fix for #18 (step 9).

Files:

File What
E:\Modding\Cyberpunk 2077\Projects\H2c_swap\v2\zzz_rednode_box.archive The cardboard box’s mesh path holding a barrel drum (H2c-a’s, made from 2.31’s files; unverified on 2.5)
...\H2c_swap\v1\zzz_rednode_box.archive The box unchanged
A sound override made in EDGEwave from the 2.5 game, such as the katana’s draw sound Not the laptop’s EDGEwaveTest.archive: it holds 2.31’s sound index, and 2.5’s sound archive changed (8.83 GB to 8.90 GB). Make it in EDGEwave, don’t install it, and keep its path

Before the game starts: no zzz_rednode_box.archive in archive\pc\mod, and no soundPakSwap, swapPause or swapWith in %APPDATA%\@rednode\overlay\settings.json.

  1. Switch on the Test timer in the launcher and press Start. Press Mark after each step.
  2. Load a save in a quiet open spot outdoors. In the launcher, switch on World objects test and its Allowed switch for swapping archives, and open the Mod log. Its top lines say OK for REDnode, Codeware and the world API. Mark.
  3. Press Spawn a prop: a cardboard box appears 2 m ahead. Mark.
  4. In 4. Swap, paste v2’s full path and press Swap. Expected: “1 swapped”, the Mod log says 1 world entity refreshed (spawned again), and the box is now a barrel, with no button pressed. Mark.
  5. Swap v1’s full path (the same name, so a replace). Expected: a box again. Mark.
  6. Press Near V, then With files. Note whether any game entity near V uses the box mesh (most spots have none; the swap refreshes only those that do). Mark.
  7. Optional, if you know a spot with cardboard boxes placed by the game: go there, swap v2, and say whether the game’s boxes became barrels, then swap v1. Mark.
  8. In the launcher, switch on Hot swap (Sound Tools) and its Allowed switch for swapping archives. Put the katana in V’s inventory, not equipped. Swap the EDGEwave override by its full path. Expected: the game pauses for a moment; the Mod log says “sound index reloaded … the old index freed”. Mark.
  9. Equip and draw the katana: EDGEwave’s sound expected. Then play for a minute (other weapons, the map, a menu) and note any sound missing or wrong. Mark.
  10. Tell Claude you are at step 9. Claude checks #18 through the MCP tools: a null for an object parameter is refused without touching the game, a full overload name works with class and with api_read, and V’s health is set to what it is with no instigator ({"$null": true}). Approve the one api_call it asks for. Mark.
  11. Switch World objects test off (its spawns go), then quit the game. Remove zzz_rednode_box.archive and the sound override from archive\pc\mod.

First run, 2026-10-27: steps 1 to 6 done, 7 to 10 waiting (dev PC, game 2.5, REDnode 0.42.1, REDswap 1.0.0, no RED Hot Tools). Step 7 waits for a new EDGEwave katana override made from 2.5 (the old one could not be found).

Step Result
1, 2 The World objects test started and spawned the cardboard box (182 ms)
3. Swap v2 REDswap: 1 swapped in 69 ms; the box respawned (1 world entity refreshed, 691 ms in all with 5 worn items and the inventory preview). The player reported no problem
4. Swap v1 1 swapped in 73 ms, the box respawned again (555 ms)
5. Near V 5 entities within 15 m, none naming the box mesh (an item drop, a bottle, a loot query, an entEntity, an access point); with files 17 ms
6. Game boxes The boxes the player found near V are other meshes, not cardboard_box_a_closed.mesh, and did not change, as expected: a swap refreshes only entities whose components name a file in the archive. v2 swapped in 77 ms; v1 was not swapped back, so v2 is what stays installed

The player saw the spawned box float a little above the ground, near other objects. Expected from how the test places it: at the height of V’s feet, 2 m ahead, level, with no ground check and no physics, so it floats wherever the ground ahead is lower. Accepted as a pass; the player will spawn one on flat open ground in a later session to tell terrain from the mesh’s own origin (unverified). A ground-snapping option for world.spawn (a raycast down) is a possible addition, not agreed.

The fault watch recorded the three swaps with no faults. Still unverified on 2.5: a game-placed entity that uses the swapped mesh, refreshed by appearance (verified on 2.31 in H2c-a).

Second run, 2026-10-31: steps 7 to 10 passed (dev PC, game 2.5, REDnode 0.49.5, REDswap 1.0.3, Sound Tools’ Hot swap 0.1.1, Equipment-EX on). The override: EDGEwave’s katana archive built from 2.5 on 2026-10-31 (EDGEwave_Katana.archive, 3 files), swapped from EDGEdeck’s library with the mod off in EDGEdeck and no copy in the game folder.

Step Result
7. Sound swap REDswap added it in 66 ms; the sound index reloaded in 2.4 ms (the audio thread waited 297 ms), 74,289 sounds before and after, 28 pak entries retired, the old index freed (3,295 KB); no fault
8. Katana “I hear the EDGEwave sound” (the player’s note); a minute of play with other weapons, the map and a menu: nothing missing or wrong reported
9. #18 Through the MCP tools (UIItemsHelper’s GetItemName overloads are gone in 2.5, so gameRPGManager::GetItemQuality, three overloads, stood in): null for its gameItemData overload refused before the game (“an object the game may use without checking”); GetItemQuality;Float with class: "RPGManager" and as gameRPGManager::GetItemQuality;Float both answered Epic; the short name refused as ambiguous, listing the three; V’s health set to its own value (496.4) through StatPoolsSystem.RequestSettingStatPoolValue with instigator {"$null": true}, read back 496.4, the game answering after
10. Quit The override removed from archive\pc\mod

H3b is done: REDswap swaps archives, world refreshes and sound archives on game 2.5 with no RED Hot Tools, and #12 and #18 are closed.

H2c World objects: plan

Proposed and agreed with the owner on 2026-10-23, with the three recommendations below. H2c finishes H2 for things in the world. The owner’s aim (2026-10-22): scenes built and stored in EDGEbuilder, with NPCs, props and the rest, load into the game from EDGEbuilder, and a swapped archive shows on them as it does on what V wears. EDGEquest needs the same pieces for quest NPCs and places (EDGEbuilder’s #3).

What REDnode has today (W1): world.spawn takes a template or a record, an appearance and components, through Codeware’s DynamicEntitySystem; move, remove, entity events. Missing:

Gap Why it matters
NPCs never tried. record: "Character.…" is in the types but no test spawned a person A scene’s people, EDGEquest’s quest NPCs
The host does not know what a package spawned Nothing to refresh after a swap, and spawns outlive a stopped package (EDGEbuilder removes its own)
No way to find the game’s entities near a point Refreshing the props and NPCs around V after a swap; EDGEbuilder’s B3b picking needs the same (its probe 1)
A swap refreshes only what V wears Props, NPCs and placed objects keep the old look
The inventory preview keeps the old look Parked; a plan with no hook since 2026-10-26: H2b preview
No scene load Every tool that wants an EDGEbuilder scene in the game would rebuild it object by object

Candidates in the game API (gameapi/2.31/rtti.json; all unverified):

Need Candidate
Entities near a point GameInstance.GetEntityList() (every entity the game has attached), filtered by distance; or TargetingSystem.GetTargetParts(V, query, parts) with a search query (what CET mods use to find what is in front of V)
Show a swapped file on a world entity entEntity.ScheduleAppearanceChange(name) with GetCurrentAppearanceName(), or through another appearance and back; for REDnode’s own spawns, remove and spawn again with the same spec
An NPC that stands still and stays friendly DynamicEntitySpec’s recordID with a Character.* record, then the game’s attitude and AI calls (to find in the spike)

Phases:

Step Builds Answers
H2c-a Spike A test app through api only (no REDnode change, runs on 0.33.0): spawn an NPC by record and by template, with an appearance; list the entities near V both ways, with the resources their components name; refresh a spawned prop, a spawned NPC and a game NPC after a swap (appearance again, and respawn) Whether an NPC spawns and stays where it was put, what it does (walks off, fights, talks), whether it survives a save; which listing is fast enough; which refresh shows the new file on each kind, at what cost
H2c-b Build From what the spike finds: the host keeps what each package spawned (removed when the package stops, as posted sounds are); world.spawn for NPCs with the options the spike needs; archives.reload refreshes REDnode’s spawns and the entities near V that use the swapped files, after what V wears; the inventory preview fix; world.load(scene) and world.unload(name) reading EDGEbuilder’s scene format; MCP tools to spawn and list (spawn asks first) One swap shows everywhere it is seen; any package loads an EDGEbuilder scene in one call

For EDGEbuilder (its repo, through a note on its issues once agreed): NPCs as a scene kind (npc: a Character.* record or a template, an appearance), which changes its scene format; and its Rebuild previews through world.load once that exists.

Agreed with the owner (2026-10-23):

Question Decision
Does REDnode read EDGEbuilder’s scene file (world.load), or only give EDGEbuilder the pieces? REDnode reads it. EDGEquest and others can then load a scene without EDGEbuilder running, and the format stays EDGEbuilder’s to pin
What does a loaded NPC do? Stands where it was placed, friendly, idle, until a package says otherwise. Behaviour (walk, talk, fight) is a later phase
Refresh the game’s NPCs and props around V after every swap, or only REDnode’s spawns by default? Both, but only entities that use a file in the swapped archive, so an unrelated swap touches nothing. The match compares their components’ resource hashes with the archive’s file table, which archive-index.js already reads; whether components show every file an entity uses (meshes from an .app, materials) is for the spike, unverified

H2c-a: built

Built on 2026-10-23: the World objects test app (packages/overlay/apps/world-objects-test), through api only, so no part of REDnode changed and it runs on REDnode 0.33.0 from its own zip. Needs Codeware and RED Hot Tools (the Edgemodders build for archives with capital letters in their names).

Section Buttons Calls
1. An NPC Spawn by record, Spawn by template, Hold and friendly, Where is it; Keep in saves A DynamicEntitySpec with recordID (default Character.CitizenRichFemale), or templatePath read from the record’s EntityTemplatePath, through REDnodeWorld.Spawn; AIHoldPositionCommand (3600 s) through GetAIControllerComponent().SendCommand; GetAttitudeAgent().SetAttitudeTowards(V's agent, AIA_Friendly); the switch sets persistState and persistSpawn. Where the NPC is 5 s after a spawn and after Hold is logged by itself, and after each load whether what was spawned is still there
2. Near V Radius, Entity list, Targeting, Resources GameInstance.GetEntityList filtered by distance (V left out); TargetingSystem.GetTargetParts with a gameTargetSearchQuery (Complete, the radius) and api.$out; Codeware’s GetTemplatePath and GetComponents, then each component’s mesh, graph and resource as path hashes
3. Swap and refresh Spawn a prop (any mesh), Swap, Who uses it, look again for the users, through a missing appearance, everything near V, the spawned NPC; Respawn spawned archives.reload (which refreshes what V wears, as H2b does); the archive’s file table read in the mod; ScheduleAppearanceChange with the current name, or a missing name then back after 500 ms; remove and spawn again with the same spec

Checked before the game: every button runs end to end in plain Node against a stand-in rednode that answers each call (the scratchpad’s h2c/run.mjs). Not checked: anything the game does with these calls.

H2c-a test

Before: an archive to swap that changes something you can stand next to. The simplest: two versions of an archive that replaces one prop mesh (a different texture or colour is enough), with the same file name. If you have an NPC appearance mod at hand, two versions of it too (optional). Install version 1 of the archive in archive\pc\mod before starting the game, and keep version 2 somewhere else. Install the World objects test from its zip. Pick a quiet open spot outdoors for the save.

  1. Switch on Test timer in the launcher, press Start, and press Mark after each step.
  2. Load the save. F10, Mod Manager: switch on World objects test, and under it switch on Allowed on the line about swapping archives (without it every Swap is refused). Its top lines say OK for Codeware, RED Hot Tools and the world API. Mark.
  3. Press Spawn by record. A woman appears about 3 m in front of V, facing V. Watch her for 10 s: does she stand, walk off, talk, run or fight? The log adds where she is after 5 s. Mark.
  4. Press Hold and friendly, then walk around her and bump into her. Does she stay put? Does anything change? Mark.
  5. Press Spawn by template: a second one, from the record’s template. Same questions. Mark.
  6. Set the radius to 15 and press Entity list, then Targeting. The log lists what each found and how long it took. Did either one make the game stutter? Mark.
  7. Press Resources. Mark.
  8. In the mesh field, type the path of the mesh your test archive replaces, and press Spawn a prop. The prop shows version 1. In the archive field, type the full path of version 2 and press Swap. Did the prop change by itself? Press Who uses it. Mark.
  9. Press Users: look again. Did the prop change? Mark.
  10. Press Respawn spawned. Did it change now? Mark.
  11. Optional, with an NPC appearance mod: stand near an NPC it changes, press Entity list, swap its other version, then Users: look again and Users: through missing. Say what showed after each. Mark.
  12. Switch Keep in saves on, press Spawn by record, save the game, then load that save. The log says 3 s and 10 s after the load what is still there. Then load an older save. Mark.
  13. Press Remove spawned. Quit the game. Send rednode-mods.log and rednode-overlay.log.

H2c-a test: first run, game 2.5

Run on the dev PC on 2026-10-25: game 2.5, REDnode 0.38.1, Codeware 1.21.0, World objects test 0.1.0. RED Hot Tools has no 2.5 build, so the swap steps (7 to 10 above) were left out: this run covered spawning, holding, the lists near V and saves, with the steps renumbered (spawn a prop became step 7, Keep in saves step 8, Remove step 9). The app logged RED Hot Tools as missing and ran the rest. A mark for each step.

Step Result
Spawn by record Character.CitizenRichFemale in the world after 180 ms (254 ms in all), 3.0 m from V. She stayed on her spot (0.00 m moved after 5 s) and chatted; attitude to V neutral; a random appearance (citizen__rich_wa_rich_04)
Hold and friendly AIHoldPositionCommand for 3600 s and SetAttitudeTowards(AIA_Friendly) in 182 ms. She stayed put when walked round and bumped (0.00 m moved), now friendly; nothing else changed
Spawn by template From the record’s template in 190 ms (300 ms). Stayed put and talked; another random appearance (rich_21)
Entity list GetEntityList gave 1,077 entities in 22 ms; reading each one’s position, name and appearance took about 400 ms more (10 within 15 m: NPCs, lights, an item). No stutter
Targeting GetTargetParts answered true with 15 parts, but none led to an entity (0 found). The entity list is the way to find what is near V
Resources Not read: Targeting’s empty list replaced the entity list, so Resources had nothing to read. World objects test 0.1.1 keeps the last list when one comes back empty
Spawn a prop A base cardboard box mesh as a prop in 253 ms; it showed
Keep in saves Only the kept NPC came back after loading the save made with it, 8 s after the load, with the same entity id; none of the others did. In an older save it was not there. Remove found and removed it (80 ms)

What it decides for H2c-b:

Resources retest (same session’s game, a restart of the host; the player pressed Entity list then Resources, then spawned a record NPC and a template NPC again and ran both once more):

Run Result
10 entities near V (2 lights, 7 NPCs, an item) 166 files named, none with no files; 26 s, with presses made while it ran
12 entities, with the two new spawns 217 files named; one item had no components on the second read (0 files); 11.6 s
Per entity A light: 4 components, 2 files. An NPC: 122 to 143 components, 20 to 29 files (meshes and the template; mesh, graph, resource read on each component)

What it decides:

Still open, for a run with RED Hot Tools on 2.5: Who uses it, and the refresh after a swap (steps 7 to 10 above).

H2c-a swap run on 2.31: not run

2026-10-26 on the dev PC, in the 2.31 backup (L:\Backups\Cyberpunk 2077 (2026-10-21)): REDnode 0.37.0, RED Hot Tools 1.3.0, World objects test 0.1.1. Test archives made with REDbridge from the backup’s own files, both named zzz_rednode_box.archive (lowercase, so the official RED Hot Tools finds it): version 1 holds cardboard_box_a_closed.mesh unchanged, version 2 holds the barrel drum mesh barrel_drum_h_bound.mesh at the box’s path, so a swap turns the box into a barrel. Version 1 was installed in archive\pc\mod; both are kept in E:\Modding\Cyberpunk 2077\Projects\H2c_swap\v1 and v2.

No swap happened. Every Swap was refused with “Allow “World objects test” to swap archives in the REDnode launcher first”: the steps never said to switch on the app’s Allowed switch for swapping archives, the same gap H1’s first run had. So the box stayed a box after Swap, Users: look again, Through missing and Respawn, which says nothing about refreshing. The rest ran: the prop spawned (252 ms), respawns took about 200 ms, Entity list found 7 entities within 15 m in 347 ms, and Resources read 72 files from 7 entities in 23 s (app 0.1.1 kept the list), Remove worked. The steps above now name the switch.

Rerun the same night (same setup, the app allowed to swap archives):

Step Result
Spawn a prop The box, 244 ms
Swap to version 2 (the barrel) 1 swapped in 77 ms (523 ms in all); RED Hot Tools took it. The spawned box stayed a box
Who uses it, Users: look again, Users: through missing Not run: each answered “list what is near V first”. They look for users among the entities near V, and the steps never said to press Entity list first
Respawn spawned Removed and spawned again in 191 ms: now a barrel
Swap back to version 1 71 ms. Look again not run (same reason), still a barrel. Respawn spawned (179 ms): a box again
Faults None; the game quit cleanly

What it decides so far:

World objects test 0.1.2 lists what is near V by itself when Who uses it or a refresh button needs it (and again when this app’s spawns respawned since), and reads each entity’s files only once.

Appearance-again run (same night, app 0.1.2, same setup; the player’s marks run one step behind the button presses, so the table follows the log):

Press Result
Spawn a prop, Swap to the barrel 221 ms; swapped in 76 ms. Still a box
Who uses it Listed 6 entities within 15 m (401 ms), read their files (15 s), and found the one that names the swapped mesh: the spawned box (entEntity, appearance default, hash 0x061196a51cfabe2c)
Users: look again ScheduleAppearanceChange("default") in 16 ms: still a box
Users: through missing (twice) A missing appearance, 500 ms, then default again: still a box
All near: look again All 6 entities, 175 ms: still a box
Respawn spawned 177 ms: a barrel
Faults None

What it decides:

H2c-a: a game entity (the vending machine)

2026-10-26, the same 2.31 setup, World objects test 0.1.3 (adds Users: through another: a real second appearance for 500 ms, then back). The entity: the caged Cirrus vending machine (VendingMachine, appearance vending_machines_b_cirrus_cage of vending_machine_1.ent), whose .app appearance b_cirrus_cage has an entMeshComponent naming vending_machine_cage_b.mesh with mesh appearance device. Test archives zzz_rednode_cage.archive: version 1 the cage unchanged, version 2 another mesh at the cage’s path.

The first try used the barrel; its mesh has only a default appearance, so the component, which asks for device, drew nothing: “no cage” means the new file loaded. The lamp version (street_lamp_cz.mesh, its appearance renamed to device) also drew nothing; why is open (unverified: its materials, or its size for the component’s bounds), and it does not change the reading, since cage against no cage tells the versions apart.

Step (lamp run) Cage spot
Swap to version 2 (62 ms) Cage: the entity keeps what it loaded
Who uses it Found the vending machine by the cage’s hash 0x3e67627d3334300a (10 entities near V, 28 s to read their files)
Users: look again (the same appearance name) Cage: no change
Users: through another (vending_machines_b_cirrus, then back) Nothing: the new file
Swap back to version 1, Users: through missing The cage came back
Swap to version 2, walk out of sight and back Nothing: the new file
Faults None, four swaps

The barrel run (before) agrees: through missing and through another changed the cage, look again did not, and after walking away the new file showed.

What it decides for H2c-b:

H2c-b: plan

Proposed 2026-10-26 from H2c-a’s results and agreed with the owner the same day, with every recommendation: game entities near V refresh by default, the whole build ships now with part 4 unverified until RED Hot Tools supports 2.5, and scenes load meshes, entities and NPCs (no lights yet). One REDnode build (0.39.0), in five parts:

Part Builds Where
1. Spawns per package The host notes every entity a package spawns through world.spawn (the REDnodeWorld.Spawn and Delete calls it already routes per package) and removes them when the package stops or restarts, as it stops posted sounds and undoes TweakDB writes. world.spawned() lists a package’s own main.js, world.ts
2. NPCs world.spawn({ record: "Character.…", npc: { hold: true, friendly: true } }): the hold command and the friendly attitude H2c-a used, in one call; both on by default for a record of a person, as agreed (“stands where placed, friendly, idle”) world.ts
3. The files an entity uses, in the plugin world.files(entity): the template and every component’s mesh, graph and resource as path hashes, read natively in one call instead of about 130 bridge calls an NPC (2 to 3 s through api). world.near(radius): GetEntityList filtered by distance in the plugin reflect.cpp or a new world.cpp, world.ts
4. Refresh after a swap archives.reload refreshes, after what V wears: (a) REDnode’s own spawns that use a swapped file, by respawning them with the same spec (new id, reported in the answer and as a world.respawned event so their package can follow); (b) game entities within 30 m that use a swapped file, by switching their appearance to a missing name and back (H2c-a’s “through missing”). { refresh: false } still skips all of it. The answer’s refreshed lists each entity and how main.js
5. Scenes world.load(file or scene object, { name }) reads an EDGEbuilder scene (format 1, and format 2’s npc kind as drafted) and spawns its mesh, entity and npc objects; world.unload(name) removes them. Lights wait (no light spawn tried yet). MCP tools: world_near and world_spawned (read), world_spawn, world_remove, world_load (ask first) world.ts, mcp.js

Plus the World objects test 0.2.0 driving each part, and a sample scene file.

Testing: REDnode 0.39.0 runs only on game 2.5, which has no RED Hot Tools yet. Parts 1, 2, 3 and 5 test on 2.5 now. Part 4 (refresh after a swap) can only be checked in game once RED Hot Tools supports 2.5; until then it is checked in the mock game and marked unverified, and the release notes say so.

Left for later: the inventory preview’s old look (parked); light objects in scenes; NPC behaviour beyond idle; why the lamp mesh drew nothing.

H2c-b: built

Built on 2026-10-26 in REDnode 0.39.0, all five parts of the plan:

Part Where
Spawns per package: noted from the REDnodeWorld.Spawn and Delete calls the host routes, removed when the package stops; assistants’ spawns kept under mcp main.js (worldSpawns, noteWorldCall, removeSpawns, checkSpawns)
world.spawn takes mesh (on the bare suitcase placeholder entity), keep, and npc (on by default for Character.*: AIHoldPositionCommand for 24 h, AIA_Friendly towards V); world.spawned(), world.onRespawn() world.ts
world.near and world.files in the plugin: GetEntityList filtered by distance from V; every resource reference in each component’s own properties (not only mesh, graph, resource), and the template through Codeware’s GetTemplatePath; world.files also by entity id reflect.cpp
After a swap: the swapped archives’ file tables are read before the swap; packages’ spawns that use one get a world-refresh message and their package spawns them again; assistants’ spawns are spawned again by the host; the game’s entities within 30 m that use one go to the appearance rednode_refresh and back after 500 ms. The answer’s world lists them main.js (refreshWorld), archives.ts
world.load and world.unload: EDGEbuilder scenes, format 1 and format 2’s npc; .scene.json files read by the host (absolute, or in the package’s folder); lights skipped with a reason, an NPC behaviour other than idle noted scene.ts (pure, shared with the host), world.ts, main.js (readSceneFile, loadSceneForAgent)
MCP tools world_near, world_spawned (read), world_spawn, world_remove, world_load (ask first) mcp.js

World objects test 0.2.0 drives each part. Checked before the game: the plugin builds and its tests pass, the package compiles, the scene reader on a sample scene (scratchpad h2c/scene-check.mjs). Not checked: anything in the game; the refresh after a swap waits for RED Hot Tools on game 2.5.

H2c-b test

Game 2.5, REDnode 0.40.0 (built as 0.39.0), Codeware. RED Hot Tools is not needed (no 2.5 build yet): the swap section is left out. Pick a quiet open spot outdoors.

  1. Switch on Test timer in the launcher, press Start, and press Mark after each step.
  2. Load the save. F10, Mod Manager: switch on World objects test (its swap permission is already allowed), and open the Mod log. Its top lines say OK for REDnode and Codeware, and the world API. Mark.
  3. Press Spawn a person. A woman appears about 3 m in front of V, facing V. Walk around her and bump into her: she stays put and stays calm. Mark.
  4. Press Spawn a prop. A cardboard box appears 2 m ahead, to V’s right. Mark.
  5. Press Near V, then With files, then Files of the nearest. The log lists what is near V with distances and file counts. Did the game stutter? Mark.
  6. Paste base\environment\decoration\containers\packaging\cardboard_box\cardboard_box_a_closed.mesh into the field above Using this file, and press it. The log names the box (and any other box nearby). Mark.
  7. Press Spawned: it lists the woman and the box. Mark.
  8. Press Load a scene here. A box and a barrel appear about 4 m ahead, and a second woman 6 m ahead. The log says the lamp was skipped (lights are not spawned yet). Mark.
  9. Press Unload the scene: the scene’s box, barrel and woman go; the first woman and box stay. Mark.
  10. In the Mod Manager, switch World objects test off. The first woman and box disappear. Mark.
  11. Optional, with Claude Code connected: say so, and Claude spawns a prop and lists what is near V through the MCP tools (you approve the spawn). Mark.
  12. Quit the game.

H2c-b test: first run (2026-10-26)

Game 2.5, REDnode 0.40.1, World objects test 0.2.0, dev PC, Dogtown.

Step Result
1 The world API line said NOT READY: the app checked once, at 09:57:10, before the save loaded (09:58:15). Switching the app off and on made it OK. A test app fault, not REDnode’s
2 Passed: the woman spawned by record (302 ms)
3 Passed: the box spawned by mesh (188 ms)
4 Passed, no stutter: world.near 9 within 15 m in 21 ms, with files in 19 ms (H2c-a’s api loop took 11 to 26 s); files of the nearest in 33 ms
5 Passed: only the spawned box uses the box mesh (17 ms)
6 Passed: both spawns listed
7 Failed through the test app: the scene’s objects appeared, then went. The app wrote the scene file into its own folder, hot reload restarted it (“Changed: world-objects-test (world_objects_test.scene.json). Reloading.”), and the restart removed all 5 of its spawns, as it should
8 Failed for the same reason: the restarted app had no scene to unload, and the first woman and box were already gone
9 Nothing left to remove
10 Passed through the MCP server over HTTP (Claude Code’s /mcp could not reconnect the plugin’s server to load the new tools, so its own ask prompt was not shown; the player approved in chat): world_near 1,074 looked at in 1.2 ms, world_spawn put the box 3 m in front of V (seen with game_image), world_spawned listed it under mcp

World objects test 0.2.1 writes the scene into pkg.dataDir and checks the world API every 5 s. Steps 1, 7, 8 and 9 to run again with it.

H2c-b test: retest with World objects test 0.2.1 (2026-10-26): passed

Same game and REDnode 0.40.1. Every step passed:

Step Log
App switched on after the load world API OK
Spawn a person, a prop 317 ms, 184 ms
Load a scene here box, barrel and person spawned, the lamp skipped, 717 ms; they stayed
Unload the scene 3 removed in 54 ms; the first woman and box stayed
Switch the app off “Removed 2 entities world-objects-test spawned (the mod stopped)”

H2c-b passed in game, except the refresh after an archive swap, which waits for RED Hot Tools on game 2.5 (agreed to ship unverified).

A spawn that times out (#35)

Asked for by EDGEbuilder (#35, 2026-11-02): when world.spawn timed out waiting for the entity to attach, the entity had been created, but the caller got no id and the package’s own list (world.spawned(), world.move, the respawn after a swap) never had it. The host did remove it when the package stopped (it notes every REDnodeWorld.Spawn), but until then it stayed in the game, and showed up when V got near.

Built in REDnode 0.53.0 (packages/rednode/src/world.ts), both shapes the request offered:

Case Now
A spawn that is not in the world within timeoutMs (10 s by default) Removed before the call throws, so the error means nothing was spawned; it says wait: false keeps it
world.spawn({ ..., wait: false }) Resolves as soon as the entity is created, with entity: null, and is this package’s spawn at once: move, remove, the respawn after a swap and the clean-up at stop all work. A person is made to hold their place and stay friendly once they attach
world.spawned() Each entry has attached: true while it is in the world (Entity/AfterAttach, false again at Entity/Detach)
world.load(scene, { wait: false }) Spawns every object without waiting, so a scene far from V loads in full

The MCP server’s world_spawn already returned the id with inWorld: false and kept it, so it is unchanged. Checked against a stand-in host: 14 checks (scratchpad w35/check.mjs: a timeout removes and lists nothing, wait: false returns at once and lists, move works before the attach, attach and detach, a person settled only once in, a removed spawn’s late attach settles nothing, world.load with wait: false). World objects test 0.2.4 has Far, waiting and Far, wait: false, which spawn a box 4 km ahead of V.

#35 test

  1. Test timer: Start, Mark after each step.
  2. Load a save. In the launcher, switch on World objects test (these steps need no permission switch; its archives switch is only for Swap). Press Spawn a prop: a box in front of V, and a log line with its id. Mark.
  3. Press Far, waiting: about 3 s later the log says refused as it should be: world.spawn: the entity was created but not in the world after 3000 ms ..., so it was removed. Mark.
  4. Press Far, wait: false: at once, the log says ... entity null, listed and not in the world yet. Press Spawned: the far box says not in the world yet, the near box in the world. Mark.
  5. Switch the World objects test off and quit. Claude reads the host’s Removed 2 entities world-objects-test spawned (the package stopped): the near box and the far one kept with wait: false, and not the one that timed out (0.52 and before would have left it in the game, untracked by the package).

Passed in game on 2026-11-02 (REDnode 0.53.0, dev PC, game 2.5): Spawn a prop in 197 ms; Far, waiting refused after 3129 ms with “so it was removed”; Far, wait: false answered in 109 ms, entity null, listed and not in the world yet; Spawned listed the near box in the world and the far one not yet; the switch-off logged Removed 2 entities world-objects-test spawned (the mod stopped). #35 closed.

Objects far from V (#41)

Asked for by EDGEbuilder (#41, 2026-11-05): its camera flies free while V stays put, and an object about 320 m from V never came in, so it has no preview, outline or gizmo. wait: false (#35) only keeps an entity until V gets near.

Built in REDnode 0.58.0; passed in game on 2026-11-04 (results). Codeware’s wiki says an alwaysSpawned entity is kept spawned for the session rather than only when the player is around, and its code passes the field to the game’s population system (PopulationEntityRegisterRequest), so what it does is the engine’s.

Part Now
world.spawn({ ..., alwaysSpawned: true, wait: false }) Passed to DynamicEntitySpec, and left out unless asked for, so nothing changes for anyone else
world.load(scene, { wait: false, alwaysSpawned: true }) The same for every object in the scene
The respawn after an archive swap Keeps it, as it keeps the other spawn options
MCP world_spawn alwaysSpawned as an option

Checked against a stand-in host (scratchpad w41/check.mjs, 8 checks, and #35’s check again); the MCP line is not run outside the game. The probe is in World objects test 0.2.5: it logs each box when it comes in and leaves, with the time taken and V’s distance, and has a camera that goes to the newest box as EDGEbuilder’s does.

#41 test

What it must answer, from the request: does a box 300 m, 1 km and 4 km from V come in and show when a camera goes there; does the game draw the ground around it with V far away; does it leave when V goes far, or stay; does world.remove still remove it; what do a few hundred cost.

  1. Test timer: Start, Mark after each step. Stand in the open, facing down a long street if you can.
  2. Load a save. In the launcher, switch on World objects test (these steps need no permission switch; its archives switch is only for Swap). Press Always, 8 m and Not always, 8 m: two boxes ahead of V, and a log line for each saying it is in the world. Mark.
  3. Press Not always, 300 m, and wait 15 s: the control. It should say it was asked for, and no in the world line after. Mark.
  4. Press Always, 300 m, and read the log: does an in the world after ... s, V 300 m away line come? It may come at once, right under the asked for line. Press Camera to the newest box: the view jumps to 6 m from it. Say if the box shows, and the ground and buildings around it. Mark.
  5. Press Always, 1 km, wait 15 s, then Camera to the newest box. The same questions. Mark.
  6. Press Always, 4 km, wait 30 s, then Camera to the newest box. The same questions. A box at V’s height may be inside a building or below the ground out there, so look around the log’s answer too. Press Camera back: V’s view returns. Mark.
  7. Press Always, 200 boxes, and watch the frame rate. Press Batch count after about 10 s and again after about 30 s. Say if the game hitched or stayed slower. Mark.
  8. Press Spawned: each box says in the world or not in the world yet. Mark.
  9. Walk or fast travel far across the city, more than 1 km. Press Spawned again. The log says which boxes left; Not always, 8 m should have, and the question is whether the Always ones stayed. Mark.
  10. Press Remove spawned, then Spawned: nothing listed, and no errors. Mark.
  11. Switch the World objects test off and quit. Claude reads the logs. If the camera was still on at any point, say so.

If the boxes do not come in, the next thing to ask is whatever makes entities stream around a point, the last part of #24.

#41 test: results

Passed on 2026-11-04 on the dev PC, game 2.5, REDnode 0.58.0, World objects test 0.2.5. The owner: everything did what was written. From the mod log:

Question Found
Does it come in far from V? Yes: Always boxes at 300 m, 1 km and 4 km were each in the world 0.1 s after asking. The control, Not always at 300 m, never came in, in the 13 minutes it was listed
Does the game draw it there? At 300 m the owner saw the box from the camera (inside a structure, since a box goes at V’s height). At 1 km and 4 km the log shows them attached, and the owner reported nothing wrong; the 4 km look was cut short when EDGEbuilder’s Edit was switched on by accident. Whether the ground streams around a far camera was not read separately. EDGEbuilder’s own flight is the real check
Does it leave when V goes far? No: with V about 5 km away, all 204 Always boxes were still in, and they left only at Remove spawned. Not always at 8 m left with V 166 m away
Does world.remove remove it? Yes: 207 removed in 3.5 s, nothing listed after, no errors
What do a few hundred cost? 200 boxes: 9.3 s of calls (about 46 ms a spawn, the calls of one spawn taking a frame each), all 200 in by then, no hitching, and the frame rate a steady 130 to 133 throughout (the owner’s reading). These are the smallest of objects: heavier entities and people are untried

Also seen: the test’s camera entity, spawned without the option, left the world when V travelled, while it went on working with V still. So an editor camera should use alwaysSpawned too if V can move far. Camera back was not exercised (EDGEbuilder’s Edit took the camera, and gave V’s back). The MCP world_spawn option was not run. An alwaysSpawned object stays for the session until removed, wherever V goes, so a tool should remove what it no longer shows.

Animations on a spawned character (#39): plan

Proposed on 2026-11-04; agreed with the owner on 2026-11-15, A1 first, the rest after its test. EDGEquest’s request (not urgent: its Q8 H4 needs it) asks to play a game animation or a workspot on a character REDnode spawned beside V, such as the prologue’s Trauma Team medics, and to tell started, finished or failed.

What the game offers (read on 2026-11-04 from gameapi/2.5/rtti.json and, through REDbridge, the game’s files):

Fact Consequence
gameWorkspotGameSystem has PlayInDeviceSimple(device, actor, allowCameraMov, actorDataCompName, deviceDataCompName, syncSlotName, slideTime, slideBehaviour, callbackEventRecipient), PlayNpcInWorkspot(npc, master, referenceEntity, actorDataCompName, syncSlotName, slideTime, syncOffsetSourceCompName), SendJumpToAnimEnt(actor, animName, instant), IsActorInWorkspot(actor), SendFastExitSignal(...), StopNpcInWorkspot(actor) A workspot plays “in a device”, an entity with a workspot component; then an animation in it can be jumped to by name
workWorkspotResourceComponent (an entIPlacedComponent) has workspotResource (raRef<workWorkspotResource>), npcWorkspotResourceSync, deviceWorkspotResourceSync, syncSlotName, shouldCrouch The device can be any entity carrying this component: world.spawn already attaches components made with api.$new at Entity/Initialize (W1), and a path string fills an raRef (#3)
entAnimationControllerComponent has PushEvent, ApplyFeature, SetInput*, GetAnimationDuration(animationName), PreloadAnimations(...), but no “play this animation” Outside a workspot there is no base-game call to play an animation by name (unverified for Codeware): a workspot is the way
The medics’ workspots are base\workspots\quest\main_quests\prologue\q001\q001_00c_rescuing_girl\q001_00c_trauma_arrives___med_01_idle__01.workspot and ..._med_02_idle__01, ..._soldier_01_idle__01, ..._soldier_02_idle__01 (the request’s med_1 is med_01 in the file names). med_01’s tree loops one animation, q001_00c_trauma_arrives___med_1_idle__01, on the male rig base\characters\base_entities\man_base\man_base.rig, from base\animations\quest_custom\q001\q001_00c_rescuing_girl\q001_00c_trauma_arrives\q001_00c_trauma_arrives_male_average.anims The spawned character must be male (the rig)
Trauma Team characters: Character.trauma_team_paramedic, Character.mws_hey_07_trauma_medic_01 and _02, Character.mws_pac_06_trauma_medic_01; the AV Vehicle.av_trauma, with q001_00c_trauma_arrives_av.anims and synced__q001_00c__trauma_av.anims Real ids for the spike

A1, the spike (an app, Animation test, through api and world only, like H2a’s Refresh test: no REDnode change, so it runs on the REDnode in the game):

  1. Spawn the medic beside V: world.spawn({ record: "Character.trauma_team_paramedic", npc: true }) (a male one; the spike tries the others if it is not).
  2. Make a device: spawn REDnode’s bare entity at the medic’s place with a workWorkspotResourceComponent (name: "workspot", workspotResource the med_01 path).
  3. Play: PlayInDeviceSimple(device, medic, false, "", "workspot", "", 0.3, Teleport...), then IsActorInWorkspot(medic) and a picture (game_image). If the device way fails, PlayNpcInWorkspot(medic, V, device, ...).
  4. Pick an animation: SendJumpToAnimEnt(medic, "q001_00c_trauma_arrives___med_1_idle__01", false); GetAnimationDuration on the medic’s animation controller for the same name (whether the set is loaded on that rig).
  5. Stop: SendFastExitSignal or StopNpcInWorkspot, then remove the device and the medic. Each step’s result goes to the Mod log.
  6. Optional, the AV: spawn Vehicle.av_trauma and try its synced set the same way (EDGEquest’s second question).

What A1 decides: whether a quest’s workspot plays outside its scene on an ordinary spawned NPC (EDGEquest’s first question), whether the device needs more than the component (a sync slot, a navmesh), and what a failure looks like (wrong rig, missing set), for the answer started / finished / failed with a reason.

A2, the call (after A1, shaped by it): world.useWorkspot(id, { workspot, entry? }) and world.stopWorkspot(id) in the package, the device made and removed by REDnode, its state on world.spawned(); world.playAnimation(id, { anim, set?, loop? }) only if A1 finds a way to play an animation that no workspot holds (else it is a workspot’s SendJumpToAnimEnt, or a workspot REDnode makes for it: later, unverified); the MCP tool world_animate (asks first, as world_spawn does).

A1: built (Animation test 0.1.0)

The Animation test app (packages/overlay/apps/anim-test), through api and world only, so no REDnode part changed for it; it runs on REDnode 0.58.0 or later with Codeware. Not in the player zip. Each button is one step and logs what it called, the answer and the time:

Step Calls
1 Person world.spawn({ record, npc: { hold, friendly: true } }), 3 m in front of V, facing V. The record defaults to Character.trauma_team_paramedic, with two other medics as buttons; Hold still gives the hold command (off by default, since a hold is an AI command and a workspot may need the AI free)
2 Device world.spawn({ mesh: <a cardboard box>, components: [workWorkspotResourceComponent "workspot" naming the workspot] }) at the person’s place; FindComponentByName("workspot") to see the component took
3 Play PlayInDeviceSimple(box, person, false, "workspot", "", "", 0.3, PlayAtResourcePosition, null) (the component as the actor’s data, as other mods do), the same with it as the device’s data, or PlayNpcInWorkspot(person, V, box, "workspot", "", 0.3, ""); then IsActorInWorkspot after 0.6 s
4 Jump SendJumpToAnimEnt(person, anim, false), and GetAnimationDuration(anim) on the person’s animation controller (above 0 when the set is loaded on that rig)
5 State IsActorInWorkspot, IsWorkspotEnabled, GetExtendedInfo (active, entering, exiting, playing a sync animation, in a reaction, in motion)
6 Stop SendFastExitSignal (slow exit if it fails) or StopNpcInWorkspot, then Remove all

The workspots offered, read with REDbridge from the game’s files (2.5): the prologue’s q001_00c_trauma_arrives___med_01_idle__01.workspot, ___med_02_idle__01 and ___soldier_01_idle__01, each looping one animation (q001_00c_trauma_arrives___med_1_idle__01, ___med_2_idle__01, ___soldier_1_idle__01), and as a control a gameplay workspot, base\workspots\common\ground\generic__stand_ground_arms_crossed__stand_around__02.workspot, whose idle is stand__2h_on_sides__01. Any other .workspot path can be typed in.

Checked in the mock game only for its start and window (the mock does not answer the workspot system).

A2: built (REDnode 0.66.8)

Agreed with the owner on 2026-11-15 after A1: gameplay workspots ship first, quest clips get a second spike when EDGEquest’s Q8 needs them.

Part How
A person carries the workspot world.spawn({ record, workspot: "<.workspot path>" }) attaches a workWorkspotResourceComponent named rednode_workspot. A person with a workspot gets no hold command unless npc: { hold: true } asks. A swap’s respawn keeps it (it is one of the spawn’s options)
world.useWorkspot(id, { workspot?, at?, entry?, waitMs? }) Plays it on the person, who is their own device (PlayInDeviceSimple(person, person, ...)), where they stand (at: "here", the default) or at the workspot’s place ("workspot"). Another workspot spawns the person again in the same place carrying it, and answers the new id (world.onRespawn hears it too). entry jumps to an animation by name once started. Answers { id, started, why? }: not started after waitMs (2 s) says to check the path and the body (a male rig for a male workspot)
world.stopWorkspot(id, { fast? }) A fast exit by default; fast: false lets the game stop it its own way
world.workspotState(id) inWorkspot, the workspot carried, and the extended info’s flags (isActive, entering, exiting, playingSyncAnim, inReaction, inMotion)
MCP world_spawn takes workspot; world_animate { id, action: play / stop / state, workspot?, at?, entry? } for a person an assistant spawned, asking first, a new id when another workspot spawns the person again
Quest workspots Allowed, and documented as A1 found them: they play once, briefly, after a T pose

Checked in the mock game: scratchpad a2/ (7 package checks through a stand-in plugin: the component given at spawn, play with a jump, another workspot spawning the person again and heard by onRespawn, the state, stop, a person without a workspot and a spawn of another package refused; and 7 MCP checks through a client: the tool listed with the ask flag, spawn with a workspot, play, another workspot, state, stop, a refusal). The Animation test 0.4.0 has an A2 section for the game.

A2 test

REDnode 0.66.8, Codeware, game 2.5, Animation test 0.4.0 (in the apps folder). Stand V somewhere open, outside combat.

  1. In the Mod Manager switch on Animation test (no permission). Pose: arms crossed (gameplay) is chosen.
  2. Press A2 spawn. Expected: the paramedic 3 m ahead, standing (no hold command).
  3. Press A2 use. Expected: “started”; the medic goes into the arms-crossed pose and loops it.
  4. Press A2 state. Expected: inWorkspot true, isActive true, the workspot’s path.
  5. Press Pose: quest medic 1, then A2 use the chosen pose. Expected: “started; spawned again as "; the medic is spawned again in the same place and plays the quest idle (once, after a T pose, as A1 found).
  6. Press Pose: arms crossed (gameplay), then A2 use the chosen pose. Expected: spawned again, back in the looping pose.
  7. Press A2 stop. Expected: the medic leaves the pose.
  8. Switch the app off. Expected: the medic is gone.
  9. Optional, with Claude Code connected to the game: ask it to spawn a Trauma Team paramedic with the arms-crossed workspot and play it (world_spawn with workspot, then world_animate). Each call asks you first.

A2 test: results

Run on 2026-11-16 by the owner on the laptop, REDnode 0.66.8 (an update zip over 0.65.3), Animation test 0.4.0, game 2.5: steps 1 to 8 passed as written. The gameplay pose started and looped from world.useWorkspot on a person spawned with workspot, world.workspotState answered, a change of workspot spawned the person again in place, stop and the package’s stop gave everything back. Step 9 (the MCP route) was not run then; its tools passed the mock check. Quest clips stay for #46’s written workspot.

Step 9 passed in game on 2026-11-18 (dev PC, REDnode 0.67.3, Claude Code with the EDGE plugin’s REDnode server): world_spawn with record: Character.trauma_team_paramedic and the arms-crossed workspot placed the paramedic 3 m in front of V; world_animate play answered started, and she crossed her arms and held the pose; state read her in the workspot, active; stop and world_remove gave everything back. Claude Code asked the owner before each of the five calls.

A1 test: results

Run on 2026-11-15 by the owner on the dev PC, REDnode 0.66.0, game 2.5, with Animation test 0.1.0 to 0.3.0 (fixed between runs).

Round Found
0.1.0 Every play refused before the game saw it: the workspot system takes only game objects (handle:gameObject) as its device, master and reference, and REDnode’s bare entity (the box) is an entEntity. State printed functions: an object’s fields are read with $get
0.2.0 The person carries the workspot component (given at spawn, as world.spawn’s components) and is their own device. Every way plays: PlayInDeviceSimple(person, person, false, "workspot", ...) at the workspot’s place or where they stand, and PlayNpcInWorkspot(person, person, person, "workspot", ...), on three Trauma Team records, with or without the hold command. The gameplay workspot (arms crossed): the medic takes a couple of steps and crosses his arms, looping; its idle is loaded on the rig (25.5 s). A quest workspot plays outside its scene (EDGEquest’s question): medic 1, medic 2 and soldier 1 each show a brief T pose, then an armed stance with a rifle the person does not carry (the workspot spawns its own props, ItemPolicy_SpawnItemOnIdleChange), then the person stands normally again
0.3.0 The quest workspot lasts 2.4 s from the call (IsActorInWorkspot false 1.6 s after the 0.8 s check), every time. Keeping q001_00c_trauma_arrives_male_average.anims loaded through Codeware’s resource depot (loaded in 0.1 s) did not take the T pose away, on the same person or a fresh one: it is not the clips loading. Playing again each time it ends (“Keep it looping”) shows a hitch and the T pose at every start

Read from the files with REDbridge: the quest medic workspot is one sequence (no loop, loopInfinitely false) holding the idle for a 6 s pause clip, and lists its clips under finalAnimsets[0].animations.cinematics, with no workspot rig; the gameplay one lists four animation sets and loops. Why the quest one lasts 2.4 s rather than 6 s, and where its T pose comes from, are open (unverified leads: the clips sit in the cinematics slot that scenes drive, and the workspot enters the clip with no transition animation, where the gameplay one walks in).

What A1 decides:

A1 test

REDnode 0.66.0 (any since 0.58.0), Codeware, game 2.5, the Animation test copied into the apps folder. Stand V somewhere open and flat, outside combat.

  1. In the Mod Manager switch on Animation test (it asks for no permission). Its requirements line says OK for Codeware and the world API.
  2. Spawn the person (the paramedic, Hold still off). Expected: a Trauma Team medic 3 m ahead, facing V; the log has the appearance (and the gender if the game answers it).
  3. Press Arms crossed (gameplay), Make the device, then Play: device, actor data. Expected: a box at the medic’s feet; the medic walks or slides into the workspot and stands with arms at the sides or crossed. Say what you see. The log’s “in a workspot” should read true.
  4. State. Expected: in a workspot true, and its flags. Jump to it (stand__2h_on_sides__01), then Its length: a length above 0.
  5. Fast exit, then State. Expected: the medic leaves the pose; in a workspot false.
  6. Press Medic 1, Make the device (it replaces the box), Play: device, actor data. Expected, the question #39 asks: does the quest’s medic idle play on this spawned medic outside its scene? Say what you see (the loop, a T-pose, nothing). Then State, Its length and Jump to it.
  7. If step 6 did nothing: Stop, then Play: device, device data, State; then Stop, Play: NPC way, State. Say which, if any, played.
  8. Switch Hold still on, Spawn the person again, Make the device, and the way that worked. Expected: whether the hold command stops the workspot.
  9. Press Medic 2 and Soldier 1 in turn, each with Make the device and the way that worked. Expected: each plays its own loop (or the same failure).
  10. Remove all, then switch the app off. Expected: the medic and the box gone.

What the answers decide is in “What A1 decides” above; A2, the call, is built from them.

A written workspot (#46)

Asked for by EDGEdir in #46 on 2026-11-16 (agreed with the owner): EDGEdir is a director tool, a timeline of NPC actors each playing a track of animation clips, and its route into the game is the second spike A1 named: a .workspot written for each actor that holds that actor’s clips, played with world.useWorkspot and jumped through clip to clip. Taken the same day, after A2’s test.

What the game’s own workspot shows (the arms-crossed one, read with REDbridge, game 2.5):

Fact For a written workspot
The tree is workSequences; a sequence’s idleAnim is what the person loops while idle, and the workAnimClips in it play once A clip that should hold or loop is a sequence whose idleAnim is the clip
The animation sets are listed under finalAnimsets[].animations.cinematics, the same slot the quest workspots use, with a rig (man_base.rig) and loadingHandles The slot is not what gave the quest workspots their T pose (A1); the missing walk-in remains the lead (unverified)
Walk-ins and walk-outs are workEntryAnim/workExitAnim entries, reactions workReactionSequence, turns workLookAtDrivenTurn, a workFastExit at the end; customTransitionAnims names a transition between two idles; inertializationDurationEnter 0.5 The “bare” version keeps only the clips and the fast exit, to find the fields needed at the least
The resource also holds a compiled graph (rootNode, nodesToInit) Copied from the game’s file as it is; whether a different set of clips needs it changed is part of the test

The spike (the Director spike app, packages/overlay/apps/director-spike, through REDbridge, archives, api and world only, no REDnode change):

Step How
Build Extracts the game’s arms-crossed workspot through REDbridge, writes two workspots of its own into the app’s data folder, and packs them into zzz_rednode_s46.archive: full (the game’s tree kept, the test clips added) and bare (the test clips and the fast exit only). Each test clip is a sequence whose idle is the clip, holding the clip once. Nothing derived from the game is committed: the app makes it on the player’s PC
Clips Four on the male rig, from four .anims: A stand__2h_on_sides__01 (standing), B stand__arms_crossed_front__01 (arms crossed), C q001_00c_trauma_arrives___med_1_idle__01 (the prologue medic’s quest clip, from quest_custom), D stand__2h_on_sides__01__to__walk_0__turn0__01 (a step off, with root motion). Each name checked in its .anims with REDbridge
Swap archives.reload of the archive (REDswap)
Actors Two paramedics beside V carrying the chosen workspot (world.spawn({ workspot })), played with world.useWorkspot
Jumps SendJumpToAnimEnt to A, B or C on both actors, blended or instant (Snap)
Gap and root motion D on both, then nothing: how far each moved at 3 and 6 s, and whether they are still in the workspot
Timing Jumps on setTimeout at 0, 2, 4, 6 and 8 s for both actors: each timer’s lateness, the frame it fired on, and how far apart the two actors’ jumps went out
Weather Reads what the script API offers: on 2.5, worldWeatherScriptInterface only reads (rain intensity and type, listeners), and RED4ext’s address list names no weather function, so setting it is research (the engine’s weather system by static reading, or a quest node)

The two workspots were written, read back and packed outside the game the same day (scratchpad s46/make.py, the same steps the app takes): full 12,641 bytes, bare 3,866 bytes, both read back by REDbridge.

A written workspot: test

REDnode 0.66.8, Codeware, REDbridge found (the Mod Manager’s Get REDbridge), game 2.5. Stand V somewhere open, outside combat.

  1. Copy the Director spike into the apps folder. In the Mod Manager switch it on, with both its Allowed switches (bridge and archives).
  2. Press Build. Expected: “full” and “bare” with their sizes, and the archive’s path.
  3. Press Swap in. Expected: “1 swapped … via redswap”.
  4. Use bare is chosen. Press Spawn, then Play both. Expected: two paramedics, both “started”, standing in clip A with no walk-in. Say whether there is a T pose.
  5. Press B arms crossed, then C quest medic, then A standing. Say whether each change blends or snaps, and whether C (the quest clip) plays and holds, with or without a T pose.
  6. Switch Snap on and press B, then A. Say how it differs.
  7. Switch Snap off. Press Step off, then nothing. Say what the actors do at the end of the step: hold the last pose, loop it, or leave the workspot. The log has how far they moved.
  8. Press Timed run (8 s). Say whether the two actors change together. The log has each jump’s lateness.
  9. Press Use full, Spawn, Play both, and repeat steps 4 and 5. Say what differs (a walk-in, the T pose).
  10. Press Read the weather, then Remove the actors, and switch the app off.

A written workspot: first run

Run on 2026-11-16 by the owner on the laptop, REDnode 0.66.8, Director spike 0.1.0, game 2.5, steps 1 to 5 (the rest not reached).

Step Found
Build Both workspots written and packed through REDbridge in 23 s (the first REDbridge call of the session included)
Swap 75 ms through REDswap
Spawn and Play Both actors “started”; a brief T pose at the start
Jumps Unreliable: most presses changed nothing seen, or late. The workspot itself held: isActive true, our s46_bare.workspot
End 40 to 80 s after each Play both actors were out of the workspot, and the jumps after that did nothing

Why (from the workspot as written, unverified): each clip’s sequence had loopInfinitely off, so a sequence played its clip once and the workspot moved on to the next sequence by itself (disableAutoTransition off): A, B, C, D, then the fast exit, which ends the workspot. The actors were already running through the clips on their own, so a jump to a clip often landed on what was already playing or about to, and once past the fast exit there was nothing to jump in.

0.2.0 writes each clip’s sequence with loopInfinitely on (a switch, Clips loop until a jump, on by default; off writes them as 0.1.0 did), adds a second way to jump, by the sequence’s entry id (SendJumpCommandEnt, switch Jump by entry id), logs each actor’s state after a jump, and adds Watch 30 s, a line each time the actors’ state changes. Its test is the same steps, with these between steps 4 and 5: press Watch 30 s and say whether the actors hold A; and step 5 is run twice, by name and then by entry id.

A written workspot: second run (0.2.0)

Run on 2026-11-16 by the owner on the laptop, REDnode 0.66.8, Director spike 0.2.0 (clips loop until a jump), game 2.5, every step.

Question Found
Hold Yes: with loopInfinitely on, both actors stayed in clip A for the 30 s watch and in the workspot through every jump after
Start A brief T pose at the first play, with bare and with full
Jump, instant false (“blend”) The jump waits for the clip playing to reach its end: B came about 20 s after the press (A, stand__2h_on_sides__01, is 25.5 s long), and the timed run’s jumps all showed about 10 s late though each was sent on time. By name and by entry id behaved alike
Jump, instant true (“snap”) The one to use: at once, and a smooth blend from the current pose (the game’s inertialization), no T pose and no snap. The button’s name was wrong: instant is “now”, not “no blend”
The quest clip (C) A T pose that stays, by name and by entry id. Same rig (man_base.rig), same compressed buffer layout and joint count as the gameplay clips (checked with REDbridge), so the cause is not in the clip’s format (open)
Root motion (D, a step off into a walk) 0.00 m moved at 3 and 6 s, still in the workspot: a workspot does not move the person by a clip’s root motion (or the clip has none applied there); the actors paused and looped
Timing The timers fired 0 to 13 ms late, both actors’ jumps in the same frame (0 ms apart), the game at about 41 frames a second on the laptop
Full (the game’s tree kept) After the arms-crossed idle the actors walked a few steps away and were out of the workspot, and no jump worked after that: the game’s own entries, reactions and exits take over. The bare tree is the base to write from
Weather Read only (first run)

What it decides for EDGEdir (#46): a written workspot per actor works as a track: write each clip as a sequence whose idle is the clip with loopInfinitely on, keep only the clips and a fast exit, start it with world.useWorkspot, and move between clips with an instant jump (by name or by entry id), timed from the package. Open: quest clips (C’s T pose, as in A1), the T pose at the first play, and moving a person along a path (root motion is not applied: a walk needs the person moved, or the game’s own walk).

A written workspot: round 3 (quest clips and the first play)

Agreed with the owner on 2026-11-16 after the second run: one short round on the quest clip’s T pose and the T pose at the first play, then a REDnode call that writes the workspot.

What the game’s own quest medic workspot (q001_00c_trauma_arrives___med_01_idle__01.workspot, read with REDbridge) has that 0.2.0’s did not:

The game’s quest workspot 0.2.0’s
One animation set, the quest one, at priority 200 Four sets; the quest one at priority 128
The clip as the sequence’s idle, with a workPauseClip of 2.5 s inside (flags 32) The clip as the idle and as a workAnimClip (flags 2)
loopInfinitely off On

The quest clip’s own file matches the gameplay ones (rig man_base.rig, compressed buffers, 71 joints), and A1 saw the game’s quest workspot play after a T pose, so the clip can play on this person. REDbridge writes the game’s quest workspot back byte for byte the same size (2,387 bytes).

Director spike 0.3.0 adds one more person, Q, 4.5 m ahead, and six workspots for it, each changing one thing:

Variant What it is
game The game’s quest medic workspot as it is: the control
copy That workspot read and written back by REDbridge: our write path
copyloop The copy with its sequence looping
solo200 Ours, from the arms-crossed tree: the quest clip only, its set alone at priority 200
solo128 The same at priority 128
mixed200 0.2.0’s four clips with the quest set at priority 200

Each button removes the last Q, spawns a new one with that workspot, waits 1.5 s, plays it and logs Q’s state for 12 s. Spawn, wait 10 s, then play spawns the pair and waits before playing, to see whether the first play’s T pose is the animation sets loading.

A written workspot: round 3 test

REDnode 0.66.8, Director spike 0.3.0, REDbridge, game 2.5. Stand V somewhere open, outside combat.

  1. Switch on Director spike (#46) with both Allowed switches. Press Build (it now also says “quest variants: … written”), then Swap in.
  2. Press game. Say what Q does: plays the medic idle, a T pose first and then the idle, or a T pose that stays.
  3. Do the same for copy, copyloop, solo200, solo128 and mixed200, one at a time, waiting for each to finish (about 15 s).
  4. With Use bare chosen, press Spawn, wait 10 s, then play. Say whether the T pose comes at the play.
  5. Press Play both again on the same two. Say whether the T pose comes this time.
  6. Press Remove the actors and switch the app off.

A written workspot: round 3 results

Run on 2026-11-16 by the owner on the laptop, Director spike 0.3.0, every step.

Variant Q did
game Played the medic idle, no T pose
copy A brief T pose, then the medic idle
copyloop A brief T pose, then the medic idle, looping
solo200 A T pose that stays
solo128 A T pose that stays
mixed200 A brief T pose, then standing (clip A)
Spawn, wait 10 s, then play A brief T pose, then standing: waiting after the spawn does not help
Play both again on the same two No T pose

What it shows:

A written workspot: round 4 (the hash and preloading)

Director spike 0.4.0 keeps round 3’s controls and replaces its variants:

Variant What it is
game, copy Round 3’s controls
solo-keep The quest clip in ours, keeping the arms-crossed hash (round 3’s solo200)
solo-0 The same with the hash 0
solo-quest The same with the game’s quest workspot’s hash (a setup with the same one set)
solo-new The same with a new hash, FNV-1a 64 of the list of set paths
mixed-0, mixed-new 0.2.0’s four clips with the hash 0, or new: Q starts in A and jumps to C after 4 s
copy, preloaded The copy under its own file name, loaded first through Codeware’s ResourceDepot.LoadResource (the token kept), then spawned and played

If solo-0 or solo-new plays, the writer sets that hash and every set works; if only solo-quest plays, the hash must match how the engine makes it (research). If the preloaded copy has no T pose, the writer’s call preloads.

A written workspot: round 4 test

REDnode 0.66.8, Director spike 0.4.0, REDbridge, game 2.5. Stand V somewhere open, outside combat. Start from a fresh game start if you can, so no variant file has been played before.

  1. Switch on Director spike (#46) with both Allowed switches. Press Build, then Swap in.
  2. Press copy, preloaded (its own file) first. Say whether Q shows a T pose before the medic idle.
  3. Press solo-keep, solo-0, solo-quest and solo-new, one at a time, waiting for each (about 15 s). For each, say: the medic idle, a brief T pose then the idle, or a T pose that stays.
  4. Press mixed-0, then mixed-new. Q starts standing and jumps to the quest clip after 4 s. Say whether the quest clip plays.
  5. Press Remove the actors and switch the app off.

A written workspot: round 4 results

Run on 2026-11-16 by the owner on the laptop, Director spike 0.4.0, every step.

Variant Q did
copy, preloaded A T pose first, then the medic idle, then standing (the copy does not loop)
solo-keep A T pose that stays
solo-0 A T pose that stays
solo-quest A brief T pose, then the medic idle, looping
solo-new A brief T pose, then the medic idle, looping
mixed-0, mixed-new A brief T pose, standing for 4 s, then the medic idle after the jump (reported for both together)

What it decides:

A written workspot: the call (REDnode 0.66.9)

Agreed with the owner on 2026-11-16 after round 2: the spike’s writer as a REDnode call, so EDGEdir does not write game files itself. Built the same day with the four rounds’ recipe, in packages/rednode/src/workspot.ts:

Call What it does
world.writeWorkspot(name, { clips, rig?, swap? }) Writes rednode\workspots\<package>\<name>.workspot through REDbridge from the game’s arms-crossed workspot (read on the player’s PC): one sequence per clip, its idle the clip, looping unless loop: false, a fast exit, one animation setup on rig (default man_base.rig) listing the clips’ sets at priority 200, with a hash of its own (FNV-1a 64 of the rig and sets). Packs every workspot of the package into zzz_rednode_ws_<package>.archive in its data folder and swaps it in (archives.reload). Answers path, entries (name, anim, set, entry id), archive, ms, swap
world.jumpWorkspot(id, to, { instant? }) To a name writeWorkspot gave (by entry id), an animation’s name, or an entry id. Instant by default
world.useWorkspot(id, { entry }) Now jumps instantly, and takes the same names and ids

Needs the bridge and archives permissions and REDbridge. Checked against the real REDbridge with a stand-in host (scratchpad ws/check.mjs, 18 checks): the tree read back has the sequences, ids, loops, sets, hash and handles; two workspots share one archive; a rewrite replaces one; bad names, no clips and a repeated name are refused.

For EDGEdir’s questions on #46: a workspot entry has no in or out point, speed or repeat count (workAnimClip has only the animation’s name and a blend-out time; unverified for other entry types), so a clip cut short is a jump timed by the package, and speed is preview-only.

A written workspot: the call’s test

REDnode 0.66.9, Director spike 0.5.0, REDbridge, game 2.5. Stand V somewhere open, outside combat.

  1. Switch on Director spike (#46) with both Allowed switches.
  2. Under 11. world.writeWorkspot, press Write and swap. Expected: the workspot’s path, four entries (stand, crossed, worried, step) and “swapped”.
  3. Press Spawn two with it, then Play. Say whether there is a brief T pose, then both standing.
  4. Press worried (the quest clip), crossed, then stand, a few seconds apart. Expected: each at once, blended, and the quest clip plays and loops.
  5. Press A new person, same file. A third person spawns beside them with the same workspot and plays it. Say whether it shows a T pose: if not, a warm-up play per workspot file is enough.
  6. Press Remove the actors and switch the app off.

A written workspot: the call’s test results

Run on 2026-11-16 by the owner on the laptop, REDnode 0.66.9, Director spike 0.5.0. Passed.

Step Found
Write and swap The workspot, its four entries and the swap, in 29 s (REDbridge’s start and the template’s read included)
Spawn, Play, jumps The first try skipped Play (the log has no Play line), so the actors stood in their own idle and the jumps did nothing. After a respawn and Play: both started, and worried (the quest clip), crossed and stand each went at once, blended, the quest clip playing and looping. Jumps answer in about 70 ms for both
A new person, same file A brief T pose, then standing: the first play’s T pose comes once per person, not per file (round 3: none on the same people’s second play)

So a scene starts each actor’s workspot once while the actor is out of view. world.jumpWorkspot answered as if it jumped when the person was not in the workspot; it now answers false then (Director spike 0.5.1 says “press Play first”).

Weather (#46): the static reading

Game 2.5 has no script call that sets the weather: worldWeatherScriptInterface (GameInstance.GetWeatherSystem) only reads the rain, and the exe has no SetWeather string other than the quest node’s class name (2.31 had none either). Quests set it with the node questPlayEnv_SetWeather. A static reading of 2.5’s exe (scratchpad wx/; no game code committed) found what that node does:

Part What it is (2.5)
The node questPlayEnv_SetWeather: weatherID (a WeatherPresets record) at +0x30, source (CName) +0x38, blendTime +0x40 (default 5 s), priority +0x48, reset +0x4C. Its run function is slot 0x108 of its vtable
The run Reads the weather system from the quest context (+0x1C8). With reset, it sets the system’s flag at +0x8C to 1 and does nothing else. Otherwise it looks up the record’s name flat (the state’s name, WeatherPresets.Rain is 24h_weather_rain) and calls the weather system’s setter; when that answers true, it sets the flag to 0
The flag (+0x8C) 1 when the system is made (the game’s own weather cycle on), 0 while a quest holds the weather. Saved with the game
The setter bool (system, state name, source name, blend seconds, priority). Finds the state by name among the world’s states; the same state from the same source changes nothing (false). Then it stores the source (+0x98) and the priority (+0xA0, at most 7, passed on to the environment’s blending) and blends to the state. The game’s own cycle calls it with the source RuntimeSystemWeather and priority 0; a save load calls it too
The system worldRuntimeSystemWeather, the object the script interface keeps at +0x40 (its native GetRainIntensity reads +0x108 of it). The states are the world’s worldEnvironmentDefinition.weatherStates, reached through the system’s +0x60 and that object’s +0x120; the current state’s index is +0x90 (+0x88 while +0x84 is set)
The states The WeatherPresets records name 15: 24h_weather_sunny, _light_clouds, _cloudy, _heavy_clouds, _fog, _rain, _toxic_rain, _pollution, _sandstorm, and quest ones (q302_deep_blue, q302_light_rain, q302_squat_morning, q306_epilogue_cloudy_morning, q306_rainy_night, sa_courier_clouds). Which of them a world has is read from the game

Weather (#46): built (REDnode 0.66.10)

Agreed with the owner on 2026-11-16 (“Yes please proceed”, after the call’s test). The plugin does what the quest node does, with nothing found by a byte pattern over the whole exe:

Part Where
weather.state, weather.set, weather.reset native/src/overlay/weather.cpp, on the game thread, refused while V is not in the world (GetWeatherSystem crashed the game at its start, #25). The setter’s address and the flag’s place come from the node’s own run function (from an instance made through RTTI), read instruction by instruction (weather.hpp, unit test native/tests/weather_test.cpp on made-up code; on the real 2.5 exe it finds the setter at +0x97d1fc and the flag at +0x8C, scratchpad wx/realcheck.cpp). Every object on the way is checked by its class before it is used. Each set and reset is logged (Weather: ...)
world.weather(), world.setWeather(state, { blend, priority }), world.resetWeather() packages/rednode/src/world.ts. A state is a name from world.weather().states or a WeatherPresets record. No permission needed
The host weatherCall in main.js: sets come from the source REDnode, and the package holding the weather is kept. It is given back to the game’s cycle when that package stops. When V comes into the world (a load), the save’s own weather counts; one REDnode held when the save was made is given back (a set in the 2 s before is the package’s, not the save’s)
Assistants MCP world_weather (reads, no ask) and world_weather_set (a state or a preset, blend, or reset: true; asks first)
The spike Director spike 0.6.0: section 7 reads the weather, sets rain (10 s), fog (by its preset record, 10 s) and sunny at once, and gives it back

Unverified until the test: that the game’s cycle leaves a held weather alone, how long a reset takes to show (the cycle moves on in its own time), what the priority changes, and whether a quest overrides REDnode’s weather. Checked outside the game: the host with a stand-in plugin (scratchpad wx/check, 12 checks: sets name the source REDnode, a preset reaches the plugin as its state, unknown states and presets are refused, a quest’s hold is left alone, the hold is given back at a hot reload and at a load) and the MCP tools (6 checks).

Weather (#46): test

REDnode 0.66.10, Director spike 0.6.0, game 2.5. Stand V outside, in the open, at any time of day.

  1. Switch on Director spike (#46) in the Mod Manager (its Allowed switches are for the workspot steps; the weather needs none).
  2. Under 7. Weather, press Read the weather. Expected: the state now, “the game’s cycle”, and the list of states in the log.
  3. Press Rain. Expected: “applied … held”, and over about 10 s the sky clouds over and it rains. Say how long it took.
  4. Press Read the weather. Expected: 24h_weather_rain, held by REDnode (director-spike).
  5. Wait two or three in-game hours (the Pause menu’s Skip time, or just play) and say whether it still rains: the game’s own cycle must leave it alone.
  6. Press Fog. Expected: fog over about 10 s.
  7. Press Sunny, at once. Expected: a clear sky with no blend.
  8. Press Give it back, then Read the weather. Expected: “the game’s cycle”. Say whether the weather changes later on its own.
  9. Press Rain again, then switch the app off in the Mod Manager. Expected in the host log: “Weather of director-spike given back to the game’s cycle”.
  10. Optional: press Rain, make a save, load another save, then load that one. Expected: the rain from the save, given back to the game’s cycle (a host log line says so).

Weather (#46): first run (0.67.0, 2026-11-18)

Dev PC, REDnode 0.67.0 (it carries 0.66.10’s weather), Director spike 0.6.0. Every step passed but 9.

Step Result
2 24h_weather_light_clouds, the game’s cycle; 19 states listed
3 Rain at once, a smooth change over a couple of seconds (the blend asked for 10 s)
4 to 8 As expected: held by director-spike, still held after skipping time, fog, sunny at once, back to the game’s cycle
9 Failed: switching the app off did release the hold (host: “Weather of director-spike given back to the game’s cycle (the mod stopped)”; plugin: “back to the game’s own cycle”), but the rain stayed: releasing a hold leaves the weather as it is until the game’s cycle next moves on, which can take minutes. Step 8’s Give it back had done the same with the sunny sky

Decided with the owner the same day: giving the weather back blends back to the weather from before. Built in REDnode 0.67.2 (below).

Weather given back: built (0.67.2)

Piece What
The weather to come back to Read with weather.state just before REDnode’s first hold (a set while nothing REDnode holds it)
Giving it back world.resetWeather(), a package stopping, MCP world_weather_set with reset: a set of that weather with a 10 s blend. The game’s cycle had it: REDnode holds it through the blend and releases the hold 11 s later. A quest held it: the set is in the quest’s name and priority, so the quest’s hold is as it was
restore: false world.resetWeather({ restore: false }) only releases the hold, as before
A set during the blend back Holds again; the weather to come back to stays the same
A save loaded Forgets the weather to come back to: the save brought its own
Answer { held: false, was, restored, to }: restored names the weather blended back to, to is cycle or the quest’s name

Stand-in check (scratchpad wx/check, now with the quest’s hold put back at a hot reload, and a fog over the cycle’s rain given back to the rain, then released): all pass. Unverified in game: whether the game’s cycle leaves the weather alone during the 10 s blend once REDnode holds it (it held for skip time in the first run).

Weather given back: retest (0.67.2)

REDnode 0.67.2, Director spike 0.6.1. Stand V outside.

  1. Switch on Director spike (#46). Under 7. Weather, press Read the weather and note the weather now (for example light clouds).
  2. Press Rain and wait for the rain.
  3. Press Give it back. Expected: “blending back to <the weather of step 1> over 10 s, then the game’s cycle”, and over about 10 s the rain stops and the sky goes back to step 1’s weather.
  4. Press Read the weather after 15 s. Expected: step 1’s weather, the game’s cycle.
  5. Press Rain, wait for it, then switch the app off in the Mod Manager. Expected: as in step 3, the sky goes back to step 1’s weather (host log: “blending back to …, then the game’s cycle (the mod stopped)”).

Passed in game on 2026-11-18 (dev PC, REDnode 0.67.2, Director spike 0.6.1), every step. Host log: rain held at 03:42:41 with cloudy to come back to; Give it back at 03:42:55 blended back to 24h_weather_cloudy and released it at 03:43:06; the app switched off at 03:43:21 did the same, released at 03:43:32. #46’s weather is done.

World node registry (#24)

Asked for by EDGEbuilder in #24 for its world inspector: hover or click anything the game placed and see what it is and which sector and node it comes from, outline it, hide it for the session, list what is streamed in near the camera, and have the world stream around EDGEbuilder’s camera. Entities are covered by world.near and world.files; static nodes (most buildings, street furniture, decals, lights, foliage) are not: nothing in the game API names the node a click hit, and on 2.5 a sector keeps a node’s path only as a hash. RED Hot Tools solves it with hooks on sector loading and node-instance setup (its WorldNodeRegistry, MIT) but has no 2.5 build.

Agreed with the owner on 2026-11-15: a spike first, S24, with EDGEbuilder’s first needs (world.pick, world.highlight, world.setVisible), then the rest after its test.

Phase What
S24 Spike (built, REDnode 0.66.0) RED Hot Tools’ registry ported into the plugin (native/src/overlay/worldnodes.cpp), started on demand; world.pick in bounds mode with the static collision cast beside it, world.node, world.highlight, world.setVisible; the World nodes test app
N2 (after S24’s test) world.nodes({ at, radius, kinds }), world.lookup(text) (a node reference or hash), world.observer(point) (the world streaming around a point), world.near({ at }), MCP tools, entities in highlight and setVisible, the physics hit mapped to its node (RED Hot Tools’ GetPhysicsTraceObject), and whether the hooks start with the game rather than on demand; for EDGEbuilder’s picker (the owner’s idea, 2026-11-15: a list of object types with checkboxes, so a player who never wants decals never picks one), world.nodeKinds() (the node classes the registry has seen, with how many of each) and exclude: [...] on world.pick beside kinds

S24: built (REDnode 0.66.0)

Part How
The registry Hooks, through RED4ext and the address list’s hashes (the same names in 2.31 and 2.5, all present in 2.5’s list): StreamingSector_OnReady (a sector loaded: every node setup is copied, with its sector’s path hash, its instance and node indices, its node’s class, its place, orientation and scale, its global and proxy node ids and the interior flag), StreamingSector_dtor (forgotten), WorldNodeInstance_Initialize (a live instance tied to its setup, held by a weak handle) and WorldNodeInstance_Attach (a hidden node hidden again, on the game thread)
Started on demand world.nodeRegistry() and the first world.pick attach the hooks; sectors that load from then on are recorded, so a save loads after it. Players who never use it run none of it
The 2.5 layout RED4ext.SDK’s 2.5 types grew worldStreamingSector by 8 bytes between 0x40 and 0xA0, so the node buffer RED Hot Tools reads at +0x40 might be at +0x48. The 2.5 exe’s StreamingSector_OnReady (static reading, dumpbin) passes the sector plus 0x40 to a function and reads localInplaceResource at 0xA8, as the 2.5 SDK says, so +0x40 is likely. The plugin checks both at the first sectors (the setups’ size a whole number of 0x90 setups, the node array within its capacity, each of the first 16 setups’ node the one its index names) and logs the place that holds. The other layouts (the setup, the node instances, the render proxies) keep their sizes in the 2.5 SDK; their field offsets are RED Hot Tools’ for 2.31, unverified on 2.5. Every read of game memory is in a __try function, so a wrong offset answers an error and counts a fault instead of crashing
Ids "0x<sector path hash>:<instance index>": the same each time the sector loads, which is what EDGEbuilder stores (sector, index, hash), and what REDbridge reads in the same sector outside the game
world.pick Bounds mode: every recorded node near the ray whose box (the node’s own box, from its GetBoundingBox, by its setup’s scale, orientation and place) the ray crosses, nearest first, only attached instances unless all. Default ray: the camera’s. With physics (default) the static collision is cast too (as world pins do), and each hit says whether its box holds that point. Boxes are worked out the first time a pick needs them and kept
world.highlight The game’s outline (RenderProxy_SetHighlightParams and the scanning state) on the node instance’s render proxies, read by class as RED Hot Tools does: meshes, decals, bent meshes, destruction, instanced meshes, foliage, terrain, lights, particles
world.setVisible WorldNodeInstance_SetVisibility and the render proxies’ visibility, as RED Hot Tools does; the id is kept on a hidden list, so the node is hidden again when it streams back in
Clean-up The host keeps what each package hid or outlined; when it stops, its hidden nodes show again and its outlines go
Licence RED Hot Tools’ MIT licence ships beside the plugin as LICENSE-RedHotTools.txt, and in THIRD-PARTY-NOTICES.txt

Checked outside the game: the plugin builds and its tests pass; the host’s path (the calls, the per-package lists, the show-again when the package stops) in the mock game with a stand-in plugin (scratchpad n24/, 7 checks and the clean-up). The registry itself needs the game.

S24 first run: a crash, and the 2.5 layout (REDnode 0.66.0)

Run on 2026-11-15 by the owner on the dev PC. Start attached all four hooks; the save loaded with F9 crashed the game within a second. Every sector logged “found at neither +0x40 nor +0x48”, then the game’s crash report (ReportQueue, read with WinDbg’s cdbX64) put the fault in REDnode’s own buffer check, on a sector thread: it followed the node list’s pointer at buffer+0x28 and read address 0x44. Its __try did not catch it: the game’s crash handler takes the fault first, so in this game a guard must check memory before reading it.

What the dump and a static reading of 2.5’s code showed:

  RED Hot Tools (2.31) Game 2.5
The node buffer in a sector +0x40 +0x40 (the sector’s 8 new bytes are inside the buffer)
Setups (0x90 each) buffer+0x00 buffer+0x00 (a sector of 1,130 setups)
The node list buffer+0x28 buffer+0x30; buffer+0x28 holds a small number (0x44 there)
The node references buffer+0x38 buffer+0x40
A setup’s node index 16 bits at +0x78 +0x80 (the fields after +0x68 moved 8 bytes; +0x78 and +0x7C hold two distances, 150 and 187.5)
A node instance’s place, orientation, scale, node +0x30, +0x40, +0x50, +0x60 the same (2.5’s WorldNodeInstance_Initialize copies them there)
A node instance’s state bits +0x88 +0x8C (Initialize and Attach set the same bits there)
WorldNodeInstance_SetVisibility (instance, visible) the same: sets the visible bit at +0x8D and calls the instance’s visibility controller

REDnode 0.66.1 (built, awaiting the rerun of the S24 test):

S24 test: results (REDnode 0.66.1 to 0.66.7)

Run on 2026-11-15 by the owner on the dev PC, game 2.5, one build after another:

Build Found Fixed in the next
0.66.1 The layout was found (node index at setup+0x70, 19 bits, read after the game’s OnReady; the dump’s +0x80 held something else then), but the save load “hung” The detours pass every argument register and the return value through (OnReady turned out to be the sector’s PostLoad, which returns nothing: not the cause)
0.66.2 Still “hung”, with the sector hooks alone. A debugger attached to the running game (cdbX64 -pv) showed the sector hook in its setup loop, about 700 setups in several seconds out of 15,114 in one sector: two VirtualQuery calls per setup, milliseconds each in this game, while the game waited for the sector VirtualQuery only for unknown memory: the layout candidates at the first sector, an instance class’s fields the first time it is seen
0.66.3 The load took normal time (1,000 sectors recorded in 117 ms, 100,000 instances set up). The first pick crashed: a GI space instance’s +0xB8 held a mesh in the instance scanned and flags in the next The mesh field is trusted only for the mesh node instance families; a value that cannot be a pointer is never followed
0.66.4 Picks and hides worked; the pin showed what was chosen. The chosen node was often not the one aimed at: the ray starts inside a road’s and terrain pieces’ boxes, which hold the hit too. Hiding the bench worked; picks of a street lamp and a bin chose LOD stand-ins and terrain Fit order (the smallest box holding the hit first); LOD stand-ins, occluders, collision, smart objects, GI spaces and shapes skipped unless helpers; entity nodes give their entity’s id. The class lines located the render proxies at RED Hot Tools’ places (one vtable at +0xC8 for meshes, +0xB0 decals, +0xE0 bent meshes), so the outline went on
0.66.6 The outline worked, on a ground decal: decals had a made-up 1 m box, smaller than the bench’s real one Mesh boxes rank before made-up ones; decals get a box from their scale (unverified)
0.66.7 Passed, steps 1 to 4, 6 and 7 (the owner; step 5, the street lamp, not passed: entities are N2’s, below): the bench was line 1 with the pin under it (“box from mesh”, 2.57 m3, holds the hit), Outline and See-through, filled lit it, Hide hid it (the instance’s visible flag off) and Show all hidden brought it back. The registry knew 1,215 sectors and 270,065 nodes; a pick takes about 25 ms on the game thread (20 picks: median 25.7 ms, worst 27.3 ms; the first pick after a load 0.4 to 0.8 s while boxes are worked out)  

The 0.66.7 log has the bench steps and the timing; the decal’s outline and hide are in 0.66.6’s log, and the owner reported the bin and the clean-up as written. Step 5, the street lamp: not passed. The lamp is an entity node (crossing_light_1.ent, a worldEntityNode; its neighbour traffic_light_2.ent too): with no mesh of its own it got the made-up 1 m box at its node’s place, the static collision ray went through it (an entity’s collision is its own), so the road’s and decals’ boxes held the hit and came first; and its line had no entity id, so the entity is not the object at +0xA0 (or EntityOf’s check refused it). Entities in picks are N2’s: the entity found from its node instance, its box from its visual components, and the ray cast against dynamic collision too (or world.near’s entities merged in). Decal boxes from their scale came out large (6.7 to 74 m3): the scale may be the full size of a box twice as big as assumed, unverified.

Decided by the owner on 2026-11-18: step 5 does not block REDnode’s release. world.pick ships as experimental, for meshes, decals and other static nodes; entity nodes such as street lamps are N2’s, with the type filter.

Still to do in N2: a pick on the game thread costs about 25 ms (a grid of the nodes by place would cut it), decal boxes from their scale are unverified, entities are reached by id but not hidden or outlined by world.setVisible/world.highlight yet, instanced meshes and foliage (one node, many copies) have one box for all, and the rest of N2’s list.

S24 test

REDnode 0.66.1 (0.66.0 crashed at step 2, above), game 2.5, REDbridge found (the Mod Manager’s Get REDbridge, for names). Outdoors in the city, outside combat. The outline (steps 4, 5, 8) is not on 2.5 yet: those steps say “not done” with the reason, which is expected.

  1. In the Mod Manager switch on World nodes test and its Allowed (the bridge permission, for names). Press Start. Expected: “hooks sectorReady, sectorGone, nodeInitialize, nodeAttach”.
  2. Load a save (any, in the city). Open the overlay and press State. Expected: “Buffer at 0x40” (or 0x48), thousands of nodes, live above 0, faults 0, bad 0, hide and outline yes.
  3. Close the overlay, aim V’s crosshair at a building wall or a bench about 10 m away, press F10, and Pick. Expected: a list of nodes with their classes and sectors; one says HOLDS THE HIT; the physics hit about where you aimed.
  4. Outline. Expected: the chosen object outlined. Say what is outlined (the right object, a whole building block, nothing).
  5. See-through, filled, then Outline off. Expected: a filled outline seen through walls, then none.
  6. Hide. Expected: the object vanishes (its collision may stay). Again by id: it says HIDDEN.
  7. Show all hidden. Expected: it comes back.
  8. Pick a decal (graffiti or a poster) and a street lamp in turn, Choose the right line if it is not chosen, then Outline and Hide each. Say which work.
  9. Hide one object, then switch the app off in the Mod Manager. Expected: the object comes back.
  10. Switch it on again, Start, 20 picks (timing). Expected: a median and worst time in the game.
  11. Quit the game. Claude reads the plugin log’s World nodes: lines (where each hook went, where the buffer was found) and the host log.

World pins (#43): plan

Drafted on 2026-11-10 from EDGEfab’s request #43 and agreed with the owner the same day, every recommendation below. Then, in the order agreed the same day: #42, #39, #22, #24.

What is asked: a pin a modder, a mod or an assistant drops in the world: a glowing marker with a label above it (a title, an optional line of text, the distance), found again from far away. The label goes to the screen’s edge with an arrow when the pin is out of view. A player can drop one where V stands, save sets of pins to a file, and click a pin to teleport V to it. EDGEfab tried the game’s own two ways on 2026-11-09: DebugVisualizerSystem.DrawText3D draws nothing in the release game, and MappinSystem.RegisterMappin shows only on the minimap, with no caption.

How REDnode would draw them: on its overlay, placed by the plugin each frame. The overlay already draws on the game’s own frame. Two ways to use it:

Way How Trade-off
A page draws every pin A transparent page that fills the screen gets the camera from the plugin and places the labels itself Simple, but the page shows a frame or more late, so labels swim when the camera turns, and a full-screen page redraws on every turn
The plugin places each pin (recommended) The host draws each label once into a small picture, and again only when its text or distance changes. Each frame, the plugin reads the camera, works out where every pin lands on screen, and draws its marker (a glowing post, from the plugin’s own shader) and its label there, or at the screen’s edge with an arrow Labels stay fixed to the world whatever the camera does. The cost is a few quads a frame

A real light or glowing mesh spawned in the world (world.spawn) is a later option for a marker that is also part of the game’s own picture. The overlay’s marker can be seen through walls and from any distance, which the request needs more.

The scales (the owner’s idea):

scale Size Behind a wall or a hill
world A real size: shrinks with distance Hidden
screen The same size on screen at any distance Shown through
fit (recommended default) Shrinks with distance down to minScreenSize, then stays Shown through once hidden, dimmed

The overlay has no depth from the game, so “hidden” comes from the game’s own ray casts from the camera to each pin, a few times a second, not every frame (unverified: their cost and whether the scripts reach them).

The API, in the rednode package’s world:

Call What
world.pin({ at, title, text?, style?, until? }) at is a place or a spawned entity (the pin follows it). Answers a pin id
world.unpin(id), world.pins(), world.clearPins(), world.pinStyle(id, style) Remove, list, clear, restyle
style color, font, titleSize, textSize, pinHeight (metres), scale, minScreenSize; defaults in the HUD style
world.goTo(id) V to the pin, on the ground beside it, facing it (through game.player.teleport)
world.pinSet.save(file), .load(file), .show(name, on) Sets of pins in a .pins.json file a package or tool names (EDGEbuilder’s scene folder, a mod project)
label on world.spawn and world.load Pins what they spawn; the pin goes with the entity

Pins belong to the package that made them and go when it stops, as spawns do; pins from the API alone go at a save load, saved sets come back with Load. Pins only draw, so they need no permission, and the MCP tools world_pin, world_unpin, world_pins need no approval each time.

The Pins window, a built-in tool window: every pin with its distance and Go there, Drop a pin here (V’s place, a name typed in), the saved sets with show and hide, Hide all, and the switch Click a pin to go there (off by default; clicks reach pins only in the overlay’s interactive mode).

Steps:

Step What Test
WP1 Spike The plugin reads the camera each frame and draws a test pin set by a bridge method: a post and a plain label, with the edge arrow. Answers: the camera’s field of view and its axes, how many frames the pin lags when the camera turns fast, the cost a frame for 1 and 100 pins, and whether a ray cast can tell a pin is behind a wall In the game, with the Console
WP2 Pins The plugin’s pin drawing; the host’s label pictures; world.pin and the rest; the scales; following an entity; label on spawns; the MCP tools; the docs simulation By hand in the mock game, then in the game: ten spawned props with their names, found again from 100 m and from 1 km, and through a wall
WP3 Pins window The window, Drop a pin here, Go there, pin sets, click to teleport In the game

Open questions, with recommendations:

Question Recommendation
Draw on the overlay, placed by the plugin? Yes, as above; a spawned light later if a marker in the game’s own picture is wanted
The default scale? fit, with world and screen per pin and for all pins at once
Pins in which overlay modes? Shown in passive and interactive mode, gone in hidden mode, in menus and in photo mode
A key for Drop a pin here? No key at first: a button in the Pins window and the API. A key later, set by the player, since free keys are few
Click to teleport Off by default, a switch in the Pins window; Go there in the list always works
Minimap and world map, world.guide(pin) Later, after WP3

WP1: build

Built in REDnode 0.59.0 on 2026-11-10. The spike is a first working path: world.pin draws real pins, and the plugin’s log answers the spike’s questions.

Part Where What
Projection native/src/overlay/pins.hpp A point to the screen from the camera’s place, orientation, field of view and aspect, for both meanings of the field of view; an off-screen point held at the edge, behind the camera at the side to turn toward. Unit test native/tests/pins_test.cpp (14 checks)
Pins in the plugin native/src/overlay/pins.cpp pins.set from the host (the atlas window, each pin’s place, height and label rectangle, the post and the four arrows); the camera read on the game thread each frame with pins (ReadCamera in reflect.cpp: GetActiveCameraWorldTransform, GetActiveCameraFOV, GetAspectRatio); CollectPinDraws for the compositor; pins.camera to the host every 20 frames
The spike’s log pins.cpp Every 120 frames: the field of view and aspect, the first pin’s place by the game’s own ProjectPoint beside this projection read as vertical and as horizontal, the game’s forward beside this one’s, and the camera read’s and the placing’s cost
Drawing compositor.cpp The shader draws part of a texture (part); pins are drawn under every window, from the atlas window, which is never drawn whole ("atlas": true on window.open, a HUD window that takes no input)
Host packages/overlay/pins.js, packages/overlay/pins/ The pins per package, the distances from pins.camera, the hidden World pins page (1024 x 2048) that draws the labels, post and arrows and measures them; a pins.set once the page has laid them out. Pins go when their package stops and at REDnode.SessionEnd
Package world.ts world.pin, unpin, pins, clearPins, PinOptions, PinEntry

Checked in the mock game (scratchpad pins/run.sh with the scratch mod pins/apps/pin-check): three pins give one pins.set with their label rectangles, the camera event fills in the distances (23 m, 72 m, 1.5 km), a bad place and a missing title are refused, and an unpin sends the plugin the new layout only once the page has redrawn.

Not in WP1: the scales, following an entity, labels on spawns, the MCP tools, a post per colour (the post is the HUD’s cyan for every pin), occlusion. The field of view is read as vertical until the spike’s log says which it is.

WP1 test

In the game, with REDnode’s Console. Outdoors, in a loaded save.

Step Do Expect
1 Switch on Console in the launcher. Run const here = await game.player.position(); const a = await world.pin({ at: { x: here.x + 10, y: here.y, z: here.z }, title: 'Pin A', text: '10 m from where you stood' }) A glowing post with a label on top, about 10 m away. Say whether the post’s foot sits on the ground where it should
2 Turn slowly all the way round, then look up and down The label stays on its post. Out of view, it waits at the screen’s edge with an arrow pointing the way to turn
3 Turn fast with the mouse, left and right Say whether the label stays on the post or swims behind it, and by how much
4 Run for (let i = 0; i < 100; i++) { const t = i / 100 * Math.PI * 2; await world.pin({ at: { x: here.x + 30 * Math.cos(t), y: here.y + 30 * Math.sin(t), z: here.z }, title: 'Pin ' + i }); } 100 labels in a ring 30 m round you. Say whether the frame rate drops or stutters
5 Run await world.clearPins(); await world.pin({ at: here, title: 'Start' }), then walk or drive about 300 m away and look back The Start pin is found from far away, through buildings, its distance counting up
6 Stand so a wall is between you and the Start pin, and run const cam = (await (await api.GameInstance.GetCameraSystem(game.instance)).GetActiveCameraWorldTransform(api.$out)).out.transform.position; const sq = await api.GameInstance.GetSpatialQueriesSystem(game.instance); const t0 = performance.now(); const hit = await sq.SyncRaycastByCollisionGroup(cam, { X: here.x, Y: here.y, Z: here.z + 1.5, W: 1 }, 'Static', api.$out, false, false); [hit, Math.round(performance.now() - t0)] Copy what it prints. Then stand with a clear view of the pin and run the same line again
7 Open the pause menu, then photo mode The pins hide in both, and come back after
8 Run await world.clearPins(), then quit the game  
9 Once the game is gone from the screen, open Task Manager’s Details tab No REDnode-overlay.exe left. If Cyberpunk2077.exe is still there after a minute, the quit has stalled again: right-click it, Create memory dump file, tell Claude where it went, then end it

Claude then reads the plugin’s log: its Pins: lines say which meaning of the field of view matches the game’s own projection, and what the camera read and the placing cost.

WP1 test: results

Run on 2026-11-09 (the owner’s evening, dev PC, game 2.5, REDnode 0.59.0). Passed, every step.

What Found
The field of view Vertical. In every sample of the log, this projection read as vertical matched the game’s own ProjectPoint to four decimals (for example game (-0.0943, -0.2866), own (-0.0943, -0.2866)); read as horizontal it was off by the aspect. 51.01 degrees, aspect 1.7778 at 16:9
The camera’s axes Its forward (+Y rotated by the transform) matched the game’s GetActiveCameraForward in every sample
Cost a frame The camera read 16 to 20 us on the game thread; placing 1.3 us for one pin and 7 us for the ring of 100 (202 draws). No drop or stutter seen with 100
Turning fast The labels stayed on their posts
From 300 m, through buildings Found, the distance counting up
A ray cast for “behind a wall” SpatialQueriesSystem.SyncRaycastByCollisionGroup(camera, pin, "Static", out) answered true with the hit point on the wall (default_material.physmat) when a wall was between, false with a clear view. 27 to 29 ms through the Console, most of it the call’s wait for a game frame, so WP2 runs it in the plugin, a few pins a frame
Menus and photo mode The pins hid in both and came back
The quit The host ended at once (“the game is quitting: the host was ended”), so its files were free; the game’s own quit stalled again (below)

The stalled quits (2026-11-09). A full dump of the stalled game (Task Manager, 12.8 GB) read with a small reader of the dump’s streams (scratchpad crash/dumpthreads.py: each thread’s stop and the code addresses on its stack, named by module and nearest export; a scan, not a true unwind): the game thread waits in NVIDIA’s D3D12 driver (nvwgf2umx.dll, WaitForSingleObject), reached from the game’s release of its graphics device through Streamline, ReShade’s dxgi.dll, Steam’s overlay and Discord’s overlay, whose DiscordHook64.dll calls D3D11CreateDevice there; the driver never returns. REDnode is not on that stack, and RED4ext never got to unloading plugins (no Unloading line). The owner noticed the stalls began after ReShade was installed again with the RenoDX add-on, whose dxgi.dll is in the same chain, just above Discord’s hook: either, or the two together, may be the cause (unverified until quits with Discord’s overlay off, then with ReShade set aside, exit cleanly). 0.59.0’s host change keeps REDnode’s files free either way.

Found on 2026-11-09, later the same evening: the stalled quits are a crash in the RenoDX add-on. A quit with Discord closed stalled too. The game’s own crash report (%LOCALAPPDATA%\REDEngine\ReportQueue\Cyberpunk2077-20261109-203016-48136-7492, read with WinDbg’s cdbX64.exe, which the owner installed) says: an access violation on the game thread at renodx_dlss5_v8_5_model+0x15cc6d (vmovdqu ymm0,[rdx] reading 0x7FFFFC790000, memory no longer mapped), in ReShade’s RenoDX DLSS 5 add-on, renodx-dlss5-v8.5-model.addon64 (v8.5.0-rc10, a pre-release), as the game quits. The game’s crash handler catches it and its report dialog keeps the process open: the “hang”. The owner noticed it began after ReShade was installed again with RenoDX. The earlier dump’s wait under Discord’s hook came from the same teardown. REDnode is not involved; 0.59.0’s host change keeps its files free when it happens. Fix on the player’s side: leave that add-on out (move it out of bin\x64), or report it to RenoDX’s author.

WP1 settles for WP2: the field of view is vertical; the plugin can place every pin each frame at little cost; occlusion comes from the game’s ray casts, run by the plugin.

WP2: build

Built in REDnode 0.60.0 on 2026-11-10.

Part Where What
Scales native/src/overlay/pins.hpp (SizeFor, Blocked) fit (default): full size up to 15 m, then shrinks down to minScreenSize (0.45) and stays, post at least 36 px times that; world: 15 m over the depth, at most 2, not drawn below 0.05, post as projected; screen: full size and a 72 px post anywhere. Edge labels are drawn at 0.8. Unit test pins_test (24 checks, 10 new)
Walls pins.cpp (Cast), reflect.cpp (RaycastStatic) On the game thread, up to 4 rays a frame from the camera to the top of a pin’s post, SpatialQueriesSystem.SyncRaycastByCollisionGroup with "Static", the oldest first, each pin again after 10 frames; only pins in view, never screen ones. A hit more than 0.75 m short of the pin: behind a wall. A fit pin there is drawn at 45 % opacity (the shader’s new per-draw alpha); a world pin is not drawn
Following an entity pins.cpp (Follow), reflect.cpp (EntityPosition) Up to 24 FindEntityByID and GetWorldPosition lookups a frame, taking turns; a pin keeps its last place while the entity is out of the world. The places that moved go to the host in pins.camera’s follow, for the distances and world.pins()
Styles packages/overlay/pins.js, pins/ style: color, font, titleSize, textSize, pinHeight, scale, minScreenSize, checked (a wrong field or value is refused with its name); WP1’s color and height are still read. A pin’s style is the HUD style, then the package’s (world.pinStyle(style)), then its own (world.pinStyle(id, style)). The labels page is 2048 by 2048 and draws a post and four arrows per colour (up to 15 colours); labels that do not fit are logged and not drawn
Package world.ts PinStyle, PinLabel; at takes an entity id; world.pinStyle; label on world.spawn (the pin follows the entity, goes with world.remove and comes back with a respawn), label on world.load (true, or a function per object)
MCP mcp.js world_pin (a place, an entity or both, title, text, style), world_unpin (one, or all of the assistants’ pins; refuses a mod’s), world_pins (every pin). No ask: pins only draw
Atlas shown compositor.cpp Pins draw only while their atlas window is among the shown windows (menus, photo mode, the main menu and hidden mode)
Docs simulation docs/assets/examples/sim/rednode.js world.pin and the rest keep and list pins (the preview has no 3D view), labels on spawns
Log pins.cpp Every 30 s with pins: how many, how many behind a wall, and the cost a frame of the camera read, the placing, each entity lookup and each ray cast. The WP1 spike’s comparison with the game’s own projection is gone (settled)

Checked: the plugin builds and every native test passes; the mock game (scratchpad pins/run.sh, its own small stand-in for the plugin, pins/mock.mjs, and the scratch mod pins/apps/pin-check): 19 checks of styles, refusals, an entity pin placed by the plugin’s follow, distances, package and pin styles, a spawn’s label and its removal; with --render=cpu, a picture of the labels page (pins/atlas.png: three colours, a 24 px title, the followed pin’s 50 m); pins/run-mcp.sh: 8 checks of the three MCP tools over HTTP. Unverified until the game: the ray casts’ cost in the plugin, followed entities, and how the scales read on screen.

WP2 test

In the game, with REDnode’s Console. Outdoors in a loaded save, on open ground with a building or wall nearby.

Step Do Expect
1 Switch on Console in the launcher. Run const here = await game.player.position(); const box = 'base\\environment\\decoration\\containers\\packaging\\cardboard_box\\cardboard_box_a_closed.mesh'; const ids = []; for (let i = 0; i < 10; i++) { const t = i / 10 * Math.PI * 2; ids.push((await world.spawn({ mesh: box, position: { x: here.x + 12 * Math.cos(t), y: here.y + 12 * Math.sin(t), z: here.z }, label: 'Box ' + (i + 1) })).id); } Ten boxes in a ring 12 m round you, each with a cyan post and a label, Box 1 to Box 10, at full size
2 Walk about 100 m away, then look back at the ring The labels are smaller (the fit scale), not tiny, and the distances read about 100 m
3 Run await world.pin({ at: ids[0], title: 'Box 1 again', style: { color: '#ff4fd8', scale: 'screen' } }), then walk or drive about 1 km away and look back Box 1 has a second, pink pin. From 1 km both are found: the cyan labels at their smallest, the pink one at full size. Turn away: they wait at the screen’s edge with arrows in their own colours
4 Come back so a building or wall stands between you and the ring, still within about 100 m The cyan labels are dimmed behind the wall; the pink one is not. Step into a clear view: the cyan ones are bright again within a moment
5 Run await world.pinStyle({ scale: 'world' }) Behind the wall, the cyan labels are gone; in a clear view they are back, smaller the farther away, and very small at 100 m. The pink one does not change (its own style wins)
6 Run await world.pinStyle({ scale: 'fit', titleSize: 26, color: '#ffcf3f' }) Every box’s label turns yellow, with a larger title
7 Stand near a box and run await world.move(ids[1], { x: here.x, y: here.y + 3, z: here.z + 2 }) Box 2 jumps; its pin follows it within a moment
8 Run await world.remove(ids[2]) Box 3 and its pin are gone
9 Open the map, then photo mode, then press F10 until the overlay is hidden The pins hide in each and come back after
10 Run await world.clearPins(); for (const id of ids) await world.remove(id); Every pin and box is gone

Claude then reads the plugin’s Pins: lines: the ray casts’ and entity lookups’ cost a frame.

WP2 test: results

Run on 2026-11-10 (dev PC, game 2.5, REDnode 0.60.0). Passed, every step, as written: the ten labelled boxes, the smaller fit labels from 100 m, the pink screen pin at full size from 1 km, the edge arrows in each pin’s colour, dimmed labels behind a wall, the world scale hiding them there, the package restyle, a moved box’s pin following it, a removed box taking its pin, and the pins hidden in the map, photo mode and the overlay’s hidden mode.

The plugin’s cost lines, each over 1,800 frames with 10 or 11 pins:

What Cost
The camera read 12 to 18 us a frame
Placing the pins 2.0 to 2.5 us a frame, up to 22 draws
Following entities 2.2 to 2.7 us a lookup, 11 a frame (every box and the pink pin): about 26 us a frame
Ray casts 17.6 to 33.4 us a cast, about 0.9 a frame: about 20 us a frame
In all about 60 us a frame of the game thread with 11 followed pins

1 to 4 pins were behind a wall at each line. No errors in the plugin’s or the host’s log, and the game quit cleanly. WP3 (the Pins window) is next.

WP3: build

Built in REDnode 0.64.0 on 2026-11-13.

Part Where What
The Pins window packages/overlay/pinwindow (built in, id pinwindow, a tool window) Every pin, nearest first, with its colour, where it comes from (a set, a mod, an assistant), its distance and Go there; a filter; Drop a pin here with a name box (Enter drops too); the switches Click a pin to go there (off by default) and Hide all. The Sets tab: the player’s sets, each shown or hidden, the one in use for drops (USE / IN USE), New set, Open a .pins.json file by its full path (Windows’ Copy as path quotes are taken off), ✕ to take one off the list (its file stays). ✕ on a set’s pin removes it from the set and its file. Resizable
The player’s sets packages/overlay/pinsets.js (in package-host.mjs’s list) One set per .pins.json file ("format": "rednode-pins", version 1, places, titles, text, own style; a pin that follows an entity is saved at its place). Sets the player makes live in the host’s data folder (%APPDATA%\@rednode\overlay\pins); one opened from elsewhere stays there. settings.pinSets keeps the list, which are shown, the one in use and the switches. Their pins belong to set:<file>, are shown again at the host’s start and stay when a game session ends; a drop adds only the new pin, so the others keep their ids
Go there main.js (goToPin) V on the ground beside the pin, 2.5 m from it on the side V comes from, facing it, through the game’s teleportation facility. A pin that follows an entity is gone to where it was last seen
Click a pin pins.cpp (PinAt, NotePinsShown), windows.cpp, compositor.cpp "clicks": true on pins.set: each frame the plugin keeps where every label, post (at least 16 px wide) and edge arrow was drawn. In interactive mode a left press that no window takes, on a pin’s piece, sends the host {"event":"pin-click","pin":N} and the overlay stays interactive; the host moves V there when the switch is on. Nothing is clickable while the pins are hidden (menus, photo mode, hidden mode)
Hide all pins.js (options) Every pin hidden from the plugin, kept in the host; the list shows them dimmed
Package world.ts world.goTo(id); world.pinSet.save(file, { set?, title? }), .load(file, name?), .show(name, on), .remove(name): a file name without a folder is in pkg.dataDir (a relative path may not leave it), any path must end in .pins.json; loading a set again replaces it; world.pins() gives each pin’s set and hidden
Docs simulation docs/assets/examples/sim/rednode.js world.goTo moves the simulated V; world.pinSet keeps its files in memory

Checked: the plugin builds and every native test passes; the mock game (scratchpad wp3/check.mjs, its stand-in plugin wp3/mock.mjs answering teleports and sending clicks through a control file, the scratch mod wp3/apps/pin-check3): 43 checks of pinSet (save, load, replace, show, remove, four refusals), goTo (place and yaw), the window’s drop into a new My pins set, a drop with no name, clicks off and on, Go there, Hide all, a set hidden and shown, ✕ from a set’s file, a new set in use, Open from another folder, forget, the window’s calls refused from another page, the session’s end keeping only the player’s sets, and the settings kept. The mock found that the first click event named the pin id, which the host reads as a request’s answer: it is pin. Unverified until the game: where the teleport lands on slopes and roofs, and clicks on pins in the real compositor.

WP3 test

In the game, with REDnode’s Console. A loaded save, outdoors on open ground.

Step Do Expect
1 Press F10, switch on Pins in the launcher The Pins window opens on the right: “No pins yet”
2 Type Start in its name box and press Drop a pin here A cyan pin at V’s feet, listed as Start, “Set: My pins”, 0 to 3 m. The Sets tab shows My pins, IN USE, 1 pin
3 Walk about 50 m away, type Corner and press Enter A second pin; both distances follow you each second
4 In the Console (switch it on in the launcher), run const here = await game.player.position(); await world.pin({ at: { x: here.x + 30, y: here.y, z: here.z }, title: 'Console pin', style: { color: '#ff4fd8' } }) A pink pin 30 m away, listed “From Console”, with no ✕
5 Press Go there on Start V stands beside the Start pin, about 2.5 m from it, facing it
6 Switch on Click a pin to go there. With the overlay interactive, click the Corner label in the world, then the pink pin’s post V goes beside Corner, then beside the Console pin; the overlay stays interactive after each. A click on empty screen gives the game the mouse back, as before
7 Switch Hide all on, then off Every pin leaves the world (the list dims them), then comes back
8 On the Sets tab, type Scene B and press New set. Back on Pins, drop B1 Scene B is IN USE; B1 is listed “Set: Scene B”
9 On Sets, switch My pins off, then on Start and Corner leave the world and the list, then come back
10 Press ✕ on Corner It is gone; Sets shows My pins with 1 pin
11 In the Console, run const s = await world.pinSet.save('console.pins.json'); ui.copy(s.file); s. On Sets, paste into the path box (Ctrl+V) and press Open The answer names the file in the Console’s data folder. Opening it lists a set “console” with 1 pin, and a second pink Console pin shows at the same place
12 Load a save (or quit to the main menu and load) The Console’s own pin is gone (the session ended); My pins, Scene B and console come back with their pins
13 Quit the game, start it again, load a save, open Pins The sets and the switches are as you left them, the shown sets’ pins in the world

Claude then reads the host’s Pins: lines (drops, Go there, clicks) and the plugin’s log.

WP3 test: results

Run Result
First run, 2026-11-14, by the owner, dev PC, REDnode 0.64.0, game 2.5 The owner: every step worked. The host log shows steps 2 and 3 (Start and Corner dropped in My pins, 30 m apart), 5 and 6 (Go there to Start, then clicks on Corner and the Console pin, 1 s apart), 8 (B1 dropped in Scene B), 10 (My pins’ file rewritten at 17:13 with one pin left) and 12 (at the save load, “removed 1 pin(s) of every package (the game session ended)”: the Console’s pin, the sets kept). Not in the logs: step 11 (the saved sets list only My pins and Scene B, no “console” set, so it was not opened, or was forgotten after) and step 13 (the game ran from 17:04, before the test, to after it, so no restart yet). Steps 1 to 10 and 12 passed; 11 and 13 to confirm
Step 11 again, 2026-11-14, by the owner, same session Pass once the Console had a pin of its own: the first two saves wrote 0 pins (the Console pin of step 4 went at step 12’s save load, as designed, and only the save was run again); with the pin command and the save in one line, count: 1, and Open listed the set “console” with its pink pin, beside My pins (Start) and Scene B (B1), all shown. Found on the way: the Pins window cannot list a switched-off set’s pins, and ✕ removes a set’s pin from its file at once with no undo (both to improve)
Step 13, 2026-11-14, by the owner, dev PC, after a restart of the game Pass: the new host (18:36:18) logged “3 of the player’s pin set(s) shown” at its start, and the owner saw the sets and their pins after loading a save. WP3 passed; #43 closed

The WL build: scene filters, editor service calls, a pin’s id and facing (0.70.0)

Agreed with the owner on 2026-11-17 and 2026-11-18, built on 2026-11-21: EDGEbuilder’s #49 and EDGEdir’s #48 part 1, with #50 part 3 folded in. #48 part 2 (directing a person who does not carry the workspot) and #50 part 2 (a walk) wait for the scene spike that follows.

WL: build

Part Where What
Scene filters (#49, #48) packages/rednode/src/scene.ts (readScene(scene, { kinds, skip }), SCENE_KINDS), world.load in world.ts, loadSceneForAgent in main.js, MCP world_load kinds: mesh, entity, npc, light; others skipped as not in kinds. skip: object ids, skipped as skipped by id; an id the scene lacks is noted. An unknown kind, or either option not a list of texts, is refused. Both scene formats
Editor service call (#48) editor.js (POST /editor/service.call, 2 MB body), serviceCallFromEditor in main.js, editorAllowed(editor, label, pkg) with editorKey, the Editor request window (editorask) The router’s call with caller { editor, name: "editor:<tool>" }, a 30 s cap. The Allow is kept per tool and package, apart from the tool’s Try Live Allow; the window says “A tool asks to call a mod” and names both. Refusals in words: 404 no package or no service, 403 denied or no answer, 422 no such function, threw or timed out
A pin’s id and facing (#50 part 3) pins.js (key and yaw on a pin, newPinKey, pinKeyOf, yawOf; forSave gives a lasting key), pinsets.js (read and write id, yaw), playerPlace in main.js (V’s facing from GetWorldForward) Format version 1 still. Every pin gets a 10-hex id when REDnode writes its set; a duplicate or an id over 40 characters is dropped on reading and a new one given at the next write. yaw in degrees (-180 to 180, 0.1), 0 facing +Y as world.spawn’s. world.pins() lists key and yaw; world.pinSet keeps both; world.pin takes them

Checks: scratchpad wl/plain.mjs (32, plain Node: the filters on formats 1 and 2, the pin file, the player’s sets, a package’s load and save) and wl/run.sh (25, the mock game on the dev and packaged host: the Editor request window answered over DevTools, two scratch service packages, Drop a pin here with a stand-in V facing +X).

WL test

Claude drives the editor calls and the scene loads from VS Code while the owner plays; the owner answers the windows and watches. Load a save first, somewhere with open ground in front of V.

Step Do Expect
1 In the launcher, switch on Counter service It runs (the Mod log says its service is ready)
2 Claude calls Counter service’s add through the editor channel, as the tool “REDnode test”. Press F10 for the mouse The Editor request window says “A tool asks to call a mod”: REDnode test asks to call Counter service. Press Allow; Claude gets the new count
3 Claude calls get the same way No window this time; Claude gets the count
4 Claude calls Counter service as the tool “Deny test” The window asks again, naming Deny test. Press Deny; Claude gets “denied”
5 Claude loads a test scene 5 m in front of V with kinds: ["npc"] (a box and two people). Claude Code asks you first Two people stand there, and no box
6 Claude loads it again under the same name with skip naming one person The box and the other person; the first load is gone
7 Claude unloads it All of it goes
8 Open the Pins window. Face one way and press Drop a pin here, then turn V about a quarter turn and press it again Two pins. Claude reads the set’s file: each has an id, and their yaw values differ by about 90

WL test: results

Passed in game on 2026-11-23 (dev PC, game 2.5, REDnode 0.70.0), all 8 steps, with Claude making the calls from VS Code:

Step Result
1 to 4 The Editor request window named REDnode test and Counter service; Allow let add through (count 1, 8 s with the wait for the press); get asked nothing (24 ms); Deny test was asked about again and Deny refused it for the session (403, in words)
5 Only the two people, standing still; the box skipped as not in kinds
6 Loaded again under the same name with skip: the first load gone, the box and the other person in, person-left skipped by id
7 Unload removed both
8 Yaw -4.4 and 82 (86 degrees apart for a quarter turn); every pin in the set has an id, an older pin’s added at the write; pin format version 1

Closes #49, #48 part 1 and #50 part 3. #48 part 2 and #50 part 2 ride with the scene spike (SC1).

V as an actor (#47)

EDGEdir’s #47, for its phase D5: can V act out a workspot at a set time, as a spawned person does with world.useWorkspot? The owner chose on 2026-11-18 that the real V acts where the game allows it (way A), with a stand-in copy of V as the fallback (way B). The answer in words is on the issue (2026-11-16). Built on 2026-11-22 as a spike, at the owner’s request, with game.player.body().

#47: build

Part Where What
V’s body game.player.body() in game.ts "wa" or "ma", from the game’s GetResolvedGenderName (Female, Male); anything else is refused with what the game answered
The spike packages/overlay/apps/actor-spike (V actor spike 0.2.0; api, world, and world.writeWorkspot with the bridge and archives permissions) Read the body. Make the device at V: a bare entity at V’s feet facing V’s way, carrying the chosen workspot (V has no workspot component, so a device holds it, as the game’s own devices do). Play on V: PlayInDeviceSimple(device, V, allowCameraMov, "rednode_workspot", ...), then IsActorInWorkspot, V’s workspot tags (GetPlayerCurrentWorkspotTags) and the scene tier from V’s state machine blackboard (PlayerStateMachine.SceneTier). Watch 10 s logs them and how far V moved, each second. Three exits: fast, slow, StopInDevice. Third person: gameActivateTPPRepresentationEvent (and its Deactivate) queued on V, with the FPP camera’s local position moved back 0 to 5 m. The copy: the photo mode puppet for V’s body (player_wa_photomode.ent or player_ma_photomode.ent, or Phantom Liberty’s _ep1), dressed with preview copies of what V shows (GivePreviewItemByItemData, CreatePreviewItemID, AddItemToSlot, the slots REDnode’s refresh after a swap reads), and the workspot played on it through world.useWorkspot. Give V back exits, turns third person off, puts the camera back and removes the spawns

Section 7 (0.2.0, asked for by REDcode on #47 for its Animation Tools pack, whose clips are made from a text prompt): two workspots from world.writeWorkspot for V’s body. for V is on V’s own skeleton: V’s own clip (stand_thorton_mackinaw__2h_on_sides__01), then two NPC clips. NPC rig is on the NPC rig: the two NPC clips, then V’s own clip. Each plays on V through the device, with jumps to its entries by id (SendJumpCommandEnt, as world.jumpWorkspot does for a person), and NPC rig also plays on the copy. For an ma V the NPC clips are generic_male_average’s stand__2h_on_sides__01 and stand__arms_crossed_front__01 (the clip REDcode named); for a wa V, generic_female_average’s stand__2h_on_sides__01__wait_long__01 and __stretch_arms__03 (that set has no plain stand__2h_on_sides__01).

Rigs, from the game’s files (read with REDbridge, 2026-11-22): the game’s player workspots name V’s own skeleton, base\characters\entities\player\player_man_skeleton.rig or player_woman_skeleton.rig, and V’s own clips are made on it (player_male__stand_thorton_mackinaw__2h_on_sides__01.anims names player_man_skeleton.rig; the game’s player workspot uses that one set for both skeletons). NPC clips are on man_base.rig and woman_base.rig. The photo mode copy of V animates on the NPC rig (player_ma_photomode.ent’s animated component names man_base.rig, beside shadow_rig_ma.rig and man_base_deformations.rig). So the copy should take NPC clips as a spawned person does, and whether V takes clips made on the NPC rig is what section 7 shows (unverified).

The workspots in its dropdown are the game’s own player workspots (stand idle, dance, sit on the ground, kneel, a third-person bar seat) and one NPC workspot (arms crossed), to see whether an NPC’s plays on V’s body.

Not tried: raising the scene tier from a package (the game does it from quest nodes; the spike only reads it), the quest scene route (no call starts a quest node, Q-A), and the copy’s face: the photo mode puppet may or may not take V’s character creation by itself.

Check: scratchpad v47/stand/check.mjs (26, plain Node against a stand-in rednode that answers as the game would: each button, the calls’ arguments, the yaw facing V’s way, the hidden empty_appearance item left off the copy, the two written workspots on the right rig for V’s body, the jumps by entry on V and by name on the copy, Give V back).

#47 test

On the dev PC, game 2.5 with Codeware. Press F10 for the mouse to press a button, and F10 again to play. If V is stuck at any point, press Give V back; if that does not free V, load the save.

Step Do Expect
1 Load a save outdoors on flat open ground. In the Mod Manager, switch on V actor spike (#47)’s Allowed switches for bridge and archives, then switch the app on in the launcher. Press Read the body The log says wa for a feminine V, ma for a masculine one, and Female or Male beside it
2 Workspot Player: stand idle. Press Make the device at V, then Play on V The log says whether V is in the workspot, V’s workspot tags and the scene tier. Say what V’s view does
3 Press Watch 10 s, press F10, and try to walk and look around Say whether V could walk, turn or look. The log has the tier and metres moved each second
4 Third person on with the camera 3 m back Say whether V’s body shows and plays the workspot
5 Fast exit Say whether V walks again. If not, StopInDevice, then Give V back
6 Steps 2 to 5 again with Player: dance, and once with The camera follows the animation off Say what changed
7 Workspot An NPC’s: arms crossed, Make the device at V, Play on V, Third person on Say whether an NPC’s workspot plays on V’s body
8 Give V back. Press Spawn the copy A copy of V 2.5 m in front, facing V. Say whether its face, hair and body are V’s
9 Dress the copy Say whether it wears what V wears. The log lists each item
10 Workspot Player: stand idle, Spawn the copy, Dress the copy, Play on the copy Say whether the copy plays it
11 Switch on The Phantom Liberty copy, Spawn the copy Say whether it looks closer to V than the first
12 Give V back V walks in first person, and no copy or device is left
13 Press Write the two workspots The log lists two workspots with three entries each, and says they were swapped in
14 Play “for V” on V, Third person on, then V: entry 2 and V: entry 3, then V: entry 1 Entry 1 is V’s own clip, entries 2 and 3 NPC clips. Say for each whether V plays it, plays it warped, or stands in a T pose
15 Give V back. Play “NPC rig” on V, Third person on, then entries 2 and 3 The same question, with the workspot on the NPC rig (entry 3 is V’s own clip)
16 Give V back. Spawn the copy, Play “NPC rig” on the copy, then Copy: entry 2 and Copy: entry 3 Say whether the copy plays the NPC clips, and V’s own clip (entry 3)
17 Give V back V walks in first person, and nothing is left

#47 test: results

Run on 2026-11-23 on the dev PC (game 2.5, REDnode 0.70.0, V actor spike 0.2.1, a wa V). Partly run: the copy’s steps crashed the game and were left out after.

0.2.0’s device never spawned: base\spawner\empty_entity.ent is not in game 2.5’s archives, so Make the device at V answered world.spawn failed: no entity was created. Spike 0.2.1 uses the game’s own bare gameObject template, base\quest\minor_quests\mq061\entities\mq061_empty_entity.ent (no components; checked with REDbridge). The same wrong path in world.spawn’s TSDoc example is fixed.

Step Result
1 wa, Female (GetBodyType answers Undefined; not used)
2, 3 Player: stand idle on V: in the workspot (IsActorInWorkspot true), the view moved slightly, scene tier stayed 1. A second press of Play on V ended it within 5 s; V then walked freely
4 Third person on turns the camera upside down in front of V, V crouched, the camera jiggling, with or without a workspot: the event plus a moved FPP camera is not a usable third person view
6 Player: dance: V danced in first person, in the workspot for over 10 s without moving, out when the dance ended
7 An NPC’s workspot (arms crossed): the game puts V in it (in the workspot 10 s), the camera taken to look ahead; in third person V stands in a T pose
8 Spawn the copy crashed the game (player_wa_photomode.ent spawned as a plain entity with the workspot component; an access violation reading 0xD9 in the game’s own code, no REDnode frame on the stack; dump in %LOCALAPPDATA%\REDEngine\ReportQueue\Cyberpunk2077-20261123-172735-51352-56888). Steps 9 to 11 and 16 not run
13 Both workspots written and swapped in through REDswap (78 ms)
14 for V (V’s skeleton) on V, first person: all three jumps reached V. Entry 1, V’s own clip, a normal view; entry 2, an NPC clip, threw the camera upside down into a dark, broken view
15 NPC rig on V: in the workspot, a slight camera twitch, then nothing visible for NPC standing or V’s own clip (entry 3). Likely the clips do not drive V’s body on the wrong rig (unverified: no third person view)
17 V walks in first person, nothing left

What it answers:

V as an actor: the call (0.78.0)

The owner asked on 2026-11-29 to build #47 now. It is one call for both askers: REDcode’s Animation Tools (its comment of 2026-11-29: clips made for V, played on V on demand and watched in third person) and EDGEdir’s V track (2026-11-27: V as one more actor in the cue sheet, with the scene tier raised while V’s track plays). REDcode converts its clips to V’s skeleton itself (its Probe E: V’s skeleton has all 72 NPC rig bones within 1 cm, plus 81 control bones).

Part Where What
world.useWorkspot("player", { workspot, entry, camera, tier, at, waitMs }) playerWorkspot in packages/rednode/src/world.ts Way A as a call: a bare device (mq061_empty_entity.ent) spawned at V’s feet facing V’s way, carrying the workspot, and PlayInDeviceSimple(device, V, camera, ...). Answers { id: V's id, started, device, why? }. A second call replaces the first. A file of the game’s player workspots or one from world.writeWorkspot on V’s skeleton. camera is the game’s allowCameraMov (default true)
tier (experimental) setSceneTier in world.ts The scene tier as the game’s quest nodes set it: a gameSceneTier holding gameSceneTier<n>Data (tier by name, emptyHands from tier 3 up), queued on V as a gamestateMachineeventPostponedParameterScriptable with id SceneTier, aspect Permanent. The PSM’s SceneTier states read that parameter (GetCurrentSceneTierData in the game’s defaultTransition script). Given back as tier 1 data, not as no data: the states leave a raised tier only for a tier 1
world.jumpWorkspot("player", to) world.ts By a written entry’s name, an animation’s name, or an entry id, on V. False when V is not in a workspot this package started
world.stopWorkspot("player", { fast }) world.ts The fast exit (or the game’s own stop with fast: false), the game’s StopInDevice if V is still in after 2 s, then the tier back to 1 and the device removed
world.workspotState("player") world.ts As for a person, plus tier, read from V’s state machine blackboard
The workspot’s end world.ts Checked once a second while V acts (IsActorInWorkspot): a workspot that ends by itself gives V back the same way, and so does V’s reference going (a save load)
The host gives V back noteActor, actorGone in packages/overlay/main.js, op actor.note The package tells the host before the play and at the end. When the package stops first (switched off, a crash, hot reload), the host takes V out of the workspot and gives the tier back, and only then removes the package’s spawns, the device among them
V acting test 0.1.0 packages/overlay/apps/v-acting-test (bridge and archives; not in the player zip) Writes v_acting_wa or v_acting_ma on V’s skeleton: V’s idle (stand_thorton_mackinaw__2h_on_sides__01), a wave (stand__2h_on_sides__01__rh_hi__01) and a gesture (stand__2h_on_sides__01__me__01) from V’s own player_female__stand__2h_on_sides.anims or player_male__... (read with REDcode: each names V’s skeleton). Plays it or the game’s stand idle and dance on V, with the tier and camera choices, jumps, state, a 10 s watch, and Stop
The camera spike the same app, section 3 A third-person view through api and world only: a bare entity carrying a gameCameraComponent (added at its spawn, as world.spawn adds any component), placed 1.5 to 6 m in front of V at a chosen height, turned to look at V’s chest, switched on with Activate(blend, false) (optionally SetIsHighPriority(true) first); Around V moves it 45° with world.move; Camera off calls Deactivate and removes it. V’s third-person body (gameActivateTPPRepresentationEvent) is switched on and off on its own, since the spike’s run had it with the FPP camera moved back, not with a camera of its own

Unverified until the test: whether V stays put and the camera holds at each tier (a tier 3 quest scene limits the camera to its Tier3CameraSettings; the call leaves them at 0), whether a camera component on a spawned entity can take over from V’s own (the game’s own cameras sit on entities spawned by scenes and vehicles), whether world.move moves the view with it, and whether V’s third-person body plays the workspot in that view.

Checks: scratchpad v78/check.mjs (27, plain Node against the built package with a stand-in that answers as the game would: the device at V facing V’s way and carrying the workspot, the play’s arguments, the host told before the play, the tier event and its data, the state, jumps, stop, the end noticed, a refused tier, a play that does not start, a second play replacing the first) and v78/app-load.mjs (the app’s buttons pressed against a stand-in). The host’s give-back is not checked outside the game: the mock game is lost.

V as an actor: test (0.78.0)

On the dev PC, game 2.5 with Codeware, REDnode 0.78.0. Press F10 for the mouse to press a button, and F10 again to look at the game. If V is stuck, press Give V back; if that does not free V, load the save.

Step Do Expect
1 Load a save outdoors on flat open ground, out of combat. In the Mod Manager, switch on V acting test (#47)’s Allowed switches for bridge and archives, then switch the app on in the launcher. Press Write V’s workspot The log lists idle, wave and me with their entries, on player_woman_skeleton.rig (or the man’s), swapped in
2 Workspot V’s own, scene tier Leave it. Press Play on V started, in workspot true, scene tier 1. Say what V’s view does
3 Jump: wave, then Jump: me, then Jump: idle Say for each whether V’s arms play it, play it warped, or the camera is thrown about
4 Distance 3 m, height 1.6 m. Press Camera on Say what the screen shows: V from the front, the world from another place, black, or no change
5 V’s third-person body on, then Jump: wave Say whether V shows with a head and a whole body, and whether the body waves
6 Around V +45° twice Say whether the view moves round V each time
7 Camera off, then V’s third-person body off Say whether V’s own first person view comes back, and whether it looks right
8 Stop V out of the workspot, tier 1. Say whether V walks again
9 Scene tier 3: limited gameplay. Play on V, Watch 10 s, press F10 and try to walk, look round, and draw a weapon The log has tier 3 and the metres V moved each second. Say what V could do
10 Stop Tier 1 in the log. Say whether V walks and draws a weapon again
11 Scene tier 4, Play on V; then Stop, scene tier 5, Play on V, Stop Say what each tier did to the view and to control
12 Scene tier 3, Play on V. In the launcher, switch V acting test off The host log (rednode-overlay.log) has V given back from v-acting-test's workspot, scene tier back to 1. Say whether V walks again
13 Switch the app on again. Workspot The game’s: dance, scene tier 3, Play on V. Wait for the dance to end, then press State In workspot false, scene tier 1, workspot none. Say whether V walks after the dance
14 Give V back Nothing left; V walks in first person
15 Optional, REDcode’s check (needs REDcode a99cef0 or later): in REDcode’s Clip tab, make a clip For V (man or woman, as your V) From a GLB with C:\Users\VYRAL\Documents\AnimProbeD\uthana\mz78xjkXMWPK-moving.glb (REDcode’s docs/testing.md, “Clips for V”, step 2), then play it from REDcode’s Animation Tools pack. If steps 4 to 6 gave a view, switch the test’s camera on while it plays Say whether the clip plays right, warped, or throws the camera about. REDcode’s pack stops it with its own Stop

V as an actor: test results (0.78.0)

Run on 2026-11-29 on the dev PC (REDnode 0.78.0, V acting test 0.1.0, a woman V). Steps 1 to 8 and 12 to 14 passed; 9 to 11 could not say what the tiers do, because the tier read was wrong. Step 15 runs in REDcode’s own hand tests.

Step Result
1 Passed: idle 108, wave 110, me 112 on player_woman_skeleton.rig, swapped in through REDswap in 2.9 s
2, 3 Passed: V plays the written workspot in first person, and the three jumps play on V’s arms
4 to 7 Passed: the spawned camera works. An entity carrying a gameCameraComponent, switched on 3 m in front of V and 1.6 m up, shows V from the front; with V’s third-person body on, V shows whole, with a head, and waves; the view moves round V each time; Camera off and the body off bring V’s own first-person view back. So the third-person view can become a call
8 Passed: V out of the workspot, tier 1, walks again
9 V could not walk; the log said tier 1. The host had the tier (V acting for v-acting-test at scene tier 3), but the read was wrong: it read the blackboard’s SceneTier, which the game’s tier states do not write (they write HighLevel, which the game’s own scripts read). Whether tier 3 took is unknown: V cannot walk in a workspot at any tier. Fixed in 0.78.1
10 Passed: tier 1, V walks and draws a weapon
11 Tier 4 and 5: the camera jiggled slightly; no body animation could be seen. Tier 4’s camera parameters (Tier4Scene) may be the jiggle (unverified)
12 Passed with a fault: the host log has V given back from v-acting-test's workspot, scene tier back to 1 (the mod stopped) and V walked, but the device was removed 2 s before that (Removed 1 entity v-acting-test spawned (the package stopped)): only checkSolo’s path held the spawns back, not the mod’s stop. Fixed in 0.78.1
13 Passed: the game’s dance ended after 16 s and V was given back (the workspot ended); State: in workspot false, tier 1, workspot none
14 Passed: nothing left

REDnode 0.78.1 fixes both: workspotState("player").tier reads the blackboard’s HighLevel (gamePSMHighLevel, SceneTier1 to SceneTier5 are 1 to 5), and actorGone holds a package’s spawns back on every path. Its retest is below.

V as an actor: retest (0.78.1)

On the dev PC, game 2.5 with Codeware, REDnode 0.78.1. Load a save outdoors on flat open ground, out of combat. In the Mod Manager, switch on V acting test (#47)’s Allowed switches for bridge and archives, then switch the app on in the launcher.

Step Do Expect
1 Press Write V’s workspot. Workspot V’s own, scene tier 3: limited gameplay, Play on V The log says scene tier 3
2 Press Watch 10 s, then press F10 and try to look round and draw a weapon The log has tier 3 each second. Say whether V could look round and draw a weapon
3 Stop Tier 1. V walks and draws a weapon
4 Scene tier 4, Play on V, look at the view, Stop; then scene tier 5, Play on V, look, Stop The log says tier 4, then tier 5. Say what each did to the view
5 Scene tier 2, Play on V, Stop The log says tier 2
6 Scene tier 3, Play on V. In the launcher, switch V acting test off In the host log (rednode-overlay.log), V given back from v-acting-test's workspot, scene tier back to 1 comes before Removed 1 entity v-acting-test spawned. V walks

Retest passed on 2026-11-30 (laptop, REDnode 0.80.0, all 6 steps; docs/testing.md has the details): the tier read follows each tier, tier 3 keeps V from moving and drawing a weapon while the player can look round, tiers 4 and 5 only shift the view slightly in first person, and V is given back before the device goes. Next for #47: the spawned camera as a call, then answers to REDcode and EDGEdir.

A person on the ground, a ray, and pick groups (#59, #60; 0.71.0)

Asked for on 2026-11-24 by REDcode (#59, from its Animation Tools pack’s AT3 test) and EDGEbuilder (#60, from its Pick in a baked scene); the owner chose on 2026-11-25 to build the new requests now, ahead of the scene spike.

#59, #60: build

Part Where What
The ray cast over any group Raycast(from, to, group, ...) in reflect.cpp (RaycastStatic is it with "Static"), RaycastGroups (one cast per group, the hit nearest from winning), ReadGroups The game’s SyncRaycastByCollisionGroup, as before
The groups the game has native/src/overlay/raygroups.hpp (unit test native/tests/raygroups_test.cpp, 12 checks) Only the 31 names in the game’s engine\physics\collision_groups.json (its 20 collision groups and 11 query groups) reach the game; another name is refused in words with the list, since how the game takes a name it does not have is unverified. At most 8, each cast once
world.ray (#59, #60) bridge method world.ray in reflect.cpp; world.ray(from, to, { groups }) in world.ts Where a line first meets the collision: { point, distance, group }, or null. Default ["Static"]. No node registry needed
A person on the ground (#59) ground in SpawnOptions, groundUnder in world.ts; spawnForAgent in main.js and MCP world_spawn’s ground A line from 0.6 m above position to 3 m below, over Static, Terrain, PlayerBlocker and Dynamic (so EDGEbuilder’s baked floors count); the spawn goes where it first meets something, or at position with nothing there. On by default for a person (a Character.* record, or npc), off for the rest; ground: false keeps position. world.spawn answers position, and so does world_spawn. world.load spawns its people the same way
Pick groups (#60) nodes.pick’s groups in worldnodes.cpp, PickOptions.groups in world.ts The physics line cast over each group, the nearest hit winning; physicsHit.group names it. Default ["Static"], as before

Checks: raygroups_test (12, in tools/build-native.ps1) and the mock game on the dev and packaged host (scratchpad r71/run.sh, 25 checks with #58’s: a person’s spawn at the ground the stand-in’s ray gives, ground: false and a prop kept where given, a prop with ground: true grounded, the line from 0.6 m above to 3 m below over the four groups, world.ray’s answer and miss, world.pick passing its groups). The game’s own ray answers are unverified until the in-game test.

#59, #60 test

Passed in game on 2026-11-25 (dev PC, REDnode 0.72.0), all six steps; results in docs/testing.md. Step 4’s pose started with no T pose. Step 6: the ray over Static went through a baked floor and stopped 0.60 m below V’s feet; over Static and Dynamic it stopped at V’s feet, group Dynamic.

REDnode 0.71.0, Codeware, game 2.5. Load a save outside combat, somewhere a street or path slopes away in front of V (or at the top of a few steps, facing down). Steps 1 to 3 use the Console (launcher, Console); type each line and press Enter.

Step Do Expect
1 p = await pos(), then await world.ray({ ...p, z: p.z + 1 }, { ...p, z: p.z - 3 }, { groups: ["Static", "Terrain", "Dynamic"] }) A point whose z is within a few centimetres of p.z (V’s feet), a distance of about 1, and the group that stopped it
2 await world.ray({ ...p, z: p.z + 1 }, { ...p, z: p.z - 3 }, { groups: ["Floor"] }) Refused: “Floor” is not one of the game’s collision groups, with the list
3 s = await world.spawn({ record: "Character.trauma_team_paramedic", position: { ...p, x: p.x + 2, z: p.z + 1.5 } }), then s.position.z - p.z The paramedic stands on the ground 2 m from V, not 1.5 m up; the number is about 0 (more or less where the ground slopes). Then await world.remove(s.id)
4 In the Mod Manager switch on Animation test (no permission). With Pose: arms crossed (gameplay) chosen, press A2 spawn, then A2 use The paramedic 3 m ahead, down the slope, plays the arms-crossed pose with her feet on the ground: no rise as it starts, no hovering (before 0.71.0 she played it from V’s height). Then A2 stop and switch the app off
5 Optional, with Claude Code connected: Claude spawns a paramedic with the arms-crossed workspot down the slope (world_spawn) and plays it (world_animate); each call asks you first Feet on the ground, as in step 4; world_spawn answers the grounded position
6 Optional, at a scene baked by EDGEbuilder, standing on one of its floors: in the Console p = await pos(), then await world.ray({ ...p, z: p.z + 1 }, { ...p, z: p.z - 3 }) and the same with { groups: ["Static", "Dynamic"] } The first misses the baked floor (null, or a hit well below V’s feet); the second hits at V’s feet with group "Dynamic". EDGEbuilder’s own Pick then checks world.pick({ groups })

Fight events (#61): built

Asked for by EDGEmobile’s Chooms! on 2026-11-25 (#61): a gang remembers a fight with V (the gang, the district, the game time, how many V downed) and posts about it for a few game days. The owner’s rule: the game’s own events, never polling. Asked for by the owner through EDGEmobile on 2026-11-25, to build next. Built in REDnode 0.73.0.

Part Where What
"combat" native/scripts/REDnodeFights.reds: a wrap of PlayerPuppet.OnCombatStateChanged The game’s own listener on the player state machine’s Combat value (1 in combat; 0, 2 and 3, stealth, out). Sent with REDnode_Emit only when in or out changes, so value 1 or 0. The package adds inCombat
"npcDowned" The same file: wraps of ScriptedPuppet.HandleDeath(instigator) and HandleDefeated(), OnResurrected The two places the game finds and rewards the killer (FindAndRewardKiller, with kill type Normal and Defeat). After the game’s own code, for an NPCPuppet only: the killer the game rewarded (GetKiller(), set by RewardKiller), else the death’s instigator, else the last hit’s (GetLastHitInstigator()); by is player, companion (ScriptedPuppet.IsPlayerCompanion), other or none. The character record and its Affiliation() record go as their debug names (TDBID.ToStringDEBUG, empty when the game has none) and their numbers (TDBID.ToNumber), with the affiliation’s EnumName. Sent with REDnode_EntityText: the person’s entity id and a JSON text. Each person sends defeated once and killed once (a field on the puppet; OnResurrected clears it)
The event’s fields addFightFields in packages/rednode/src/game.ts; types CombatEvent, NpcDownedEvent, DownedBy entity, record and affiliation (a name when the game or the package knows it; the affiliation also from "Factions." + EnumName when its id matches; else the "0x..." id; null for none), killed, by, byPlayer (V or a companion)
Changes only (0.73.1) lastInCombat in main.js’s game case Each new player puppet (the main menu’s, every save load’s) reports V’s combat state once, so the first run saw “V left combat” twice with no fight between. The host passes combat on only when it differs from the last it passed on, starting from out of combat
Fight test 0.1.0 packages/overlay/apps/fight-test V’s combat state, every event in a list, the people V downed counted per affiliation (by entity), each event in the Mod log

Not built: district (no cheap read found yet; a package reads V’s district through api when an event comes). Unverified until the test: which kills reach HandleDeath and HandleDefeated (a non-lethal takedown, a quickhack’s damage over time, a thrown object, a car, a fall), who the game credits for each, and whether the game has debug names for records in a release build (without them the package’s own names and the enum name’s guess give "Factions.*"). The decompiled scripts read were from 2.31 (January 2026); 2.5’s type data has the same functions with the same flags.

Checks: the scripts compile with 0 errors alone, beside Codeware 1.21 and with the game’s own scc.exe (scratchpad f61/check.ps1); the package’s fields against a stand-in transport (scratchpad f61/check.mjs, 11: in and out of combat, names from the game, ids from numbers, the affiliation from its enum name alone, a companion counted as V’s, no affiliation, an unknown by, a broken text).

Fight events test

Passed in game on 2026-11-25 (dev PC): steps 1 to 8 on 0.73.0, step 9 on 0.73.1. Retest of step 9, 0.73.1: after a save load the first line was the Barghest soldier lying at the crash site (“by none”), with no “V left combat”; each fight then gave one “V entered combat” and one “V left combat”. In the same session a fight in Northside downed four Maelstrom (three killed, one defeated, Character.nid_maelstrom_*, Factions.Maelstrom, “by player”) and a civilian killed “by player” in it (likely the grenade, unverified); EDGEmobile’s Chooms! logged “A fight with Maelstrom: 4 downed, 3 killed” and its C3 step 12 passed (the gang posted). #61 closed.

First run, 2026-11-25 (dev PC, REDnode 0.73.0; Chooms!’s fights code was not in the game yet, so C3’s step 12 did not run): passed but step 9. Steps 2 to 8: combat in and out; Voodoo Boys killed “by player” with full names (Character.hpark_voodooboys_grunt1_ranged2_sidewinder_ma, Factions.VoodooBoys, so the game has debug names); one defeated then killed (entity 9013250), counted once; a System Collapse quickhack’s target defeated “by player” (the quickhack is credited to V); a grenade kill not told apart from gunfire (unverified); deaths V did not cause “by none”, not counted; tally “VoodooBoys 6” across a save load. Quickhacks, tried after: Overheat alone left two targets defeated (killed: false, still moving on the ground, never followed by a kill), Contagion then Overheat killed one; all “by player”. So killed: false is the game’s defeated state, decided by the damage, not “alive”: the docs said otherwise and are corrected. Step 9: a save load sent “V left combat” with no fight before it (fixed in 0.73.1, retest step 9). Also seen: people placed in the world already down (a Barghest soldier at a crash site, a dead Dogtown citizen) send npcDowned “by none” each time they stream in after a load: mods that count V’s fights keep to byPlayer.

REDnode 0.73.0. Load a save outside a fight.

Step Do Expect
1 In the Mod Manager switch on Fight test 0.1.0 (it needs no permission) Its window: “Combat: not heard yet”, “V has downed nobody yet.”
2 Start a fight with a gang (Maelstrom, Tyger Claws, Valentinos, 6th Street, …) “Combat: in combat” and a “V entered combat” line, once
3 Kill one ganger with a gun One “Killed” line with a Character.* record (or a 0x... id), Factions.<gang> and “by player”; the tally counts 1
4 Down one with a non-lethal weapon or a takedown (choke), then finish them off A “Defeated” line, then a “Killed” line with the same record; the tally still counts them once
5 Kill one with a quickhack (Overheat or Short Circuit) “Killed … by player” (unverified: the quickhack’s damage may credit no one)
6 Kill one with a thrown knife or a grenade, if you have one “by player” (unverified)
7 Let a gang member die by other means if one comes up (police, another gang, a car), or run over a civilian A line “by other” or “by none”, not counted in the tally; a civilian’s affiliation (unverified)
8 Leave the fight until combat ends “Combat: out of combat” and one “V left combat” line
9 Load another save No “V left combat” from the load (0.73.1); people already lying down there may give “by none” lines; a fight there gives lines again

The scene spike (SC1)

Next in the order agreed with the owner on 2026-11-23, started on 2026-11-25. It answers what EDGEdir’s scenes still need before REDnode can offer them as calls:

SC1: build

The Scene spike app (packages/overlay/apps/scene-spike, 0.1.0) uses api and world, with the bridge and archives permissions for world.writeWorkspot. No part of REDnode changes, so there is no version raise: it runs on REDnode 0.73.1.

Section What it tries
Workspots world.writeWorkspot writes sc1_ma: two clips on man_base.rig, standing and arms crossed. For a feminine V it also writes sc1_wa, two clips on woman_base.rig, for the copy
1. A walk A paramedic spawned with npc: { hold: true }, carrying sc1_ma. Walk to the target cancels the hold (CancelOrInterruptCommand("AIHoldPositionCommand")) and sends the game’s AIMoveToCommand through the AI component (SendCommand). Choices: the target as a place (a WorldPosition, in fixed point: metres times 2^17) or as a bare marker entity; Walk, Run or Sprint; the navmesh or a straight line (ignoreNavigation); desiredDistanceFromTarget 0.1 to 2 m; optionally, turning to face V at the end (rotateEntityTowardsFacingTarget). Each second it logs the command’s state (GetCommandState), the distance left, the speed and the height. At the end it logs where the person stopped and their facing, and gives them a new hold
2. The gap Stop, walk there, play there runs world.stopWorkspot (fast, or the game’s own stop), the walk, then world.useWorkspot at the target, and times each part: out of the workspot, the first step, the walk, back in. Walk while in the workspot sends the walk with no stop first
3. Moves Tried on the walker while it plays its workspot: world.move a step aside, a quarter turn, a 2 s drag at about 30 moves a second (EDGEdir’s Adjust), and, to compare, the game’s TeleportationFacility.Teleport. After each, at 0, 0.5 and 2 s: the distance from the aim, the yaw, and whether the workspot still runs
4. Directing A bare device (mq061_empty_entity.ent) is spawned at the person’s feet, facing their way, carrying the workspot, and PlayInDeviceSimple(device, person) plays it, as #47 did for V. Tried on a plain paramedic spawned with no workspot, and on the nearest of the game’s own people within 20 m, who is held for 10 minutes first. A woman nearby is refused when V is a man, since only the man’s workspot was written then. Jumps by entry id and a fast exit
5. The copy The game’s cutscene copy of V: Character.TPP_Player_Cutscene_Female or _Male, and the No_Impostor pair. It is an ordinary NPC record. Its template, player_wa_tpp_cutscene.ent, is an NPCPuppet with an AI component and the character customization controllers, animating on woman_base.rig (read with REDbridge). The copy is spawned by record with no workspot component and dressed with preview copies of V’s clothes, as #47’s spike did. Then it is directed through a device (section 4) and walked (section 1)

Why the cutscene copy (unverified until the test): the photo mode puppet is an NPCPuppet too, so the crash did not come from a second player. Three other things set it apart:

The cutscene copy has none of the three: it has its own record, and the workspot sits on a device.

Check: scratchpad sc1/stand/check.mjs (41 checks, plain Node against a stand-in rednode that walks people toward a move command’s target). It covers each button, the command’s fields, the hold cancelled and given back, the marker, the gap’s order, the moves, the device at the person’s feet, the game’s people, the copy for V’s body, and a man V refusing a woman nearby.

SC1 test

On the dev PC, game 2.5 with Codeware. Press F10 for the mouse to press a button, and F10 again to play. Save before step 12: spawning a copy of V crashed the game in #47’s test, by another route. If anything sticks, press Remove everything; if that does not help, load the save.

Step Do Expect
1 Load a save outdoors on a quiet sidewalk with open ground, a parked car or bench near, and people about. In the Mod Manager, switch on Scene spike (SC1)’s Allowed switches for bridge and archives, then switch the app on in the launcher. Press Write the workspots The log lists one workspot (a masculine V) or two (a feminine V), each with stand and crossed, swapped in
2 Stand where a mark should be and press Set the target here. Walk about 10 m away, with the car or bench between you and the pin if you can. Press Spawn the walker, then Walk to the target A Target pin, and the paramedic walks to it. Say whether he walks (feet moving) or slides, whether he goes round the car, and where he stops. The log has his state each second and where he stopped
3 Walk away again. Set Pace to Run and Stop short by to 0.1 m. Spawn the walker, Walk to the target Say whether he runs and how close he stops
4 Walk away so the car is between you and the pin. Switch on A straight line, Spawn the walker, Walk to the target Say whether he walks through the car, stops at it, or goes round it anyway
5 Switch A straight line off, set Pace to Walk and Stop short by to 0.5 m. Switch on Face V at the end and Target a marker entity, walk away, Spawn the walker, Walk to the target Say whether he turns to face V at the end, and whether the marker target works as the place did
6 Switch both off. Stand about 6 m from the pin. Spawn the walker, Play the workspot here, then crossed He stands, then crosses his arms
7 Stop, walk there, play there He leaves the workspot, walks to the pin and stands there again. Say whether there is a T pose or a pause, and whether he stands at the pin or snaps back. The log has the gaps in ms
8 Play the workspot here, then Walk while in the workspot Say whether he leaves the workspot to walk, or stays put
9 Walk up close. Play the workspot here, then in turn A step aside, A quarter turn, A 2 s drag, The game’s teleport. Wait for each one’s “say whether” line in the log (2.5 to 4.5 s) before pressing the next, or it is not run For each, say whether he moved, kept playing (standing or arms crossed), slid back, or left the workspot
9b (Scene spike 0.1.2) Play the workspot here, then Stop, move, play again He leaves the workspot, steps 1 m aside with a quarter turn, and plays again there. Say whether he ends up a step aside and turned, and whether there is a T pose or a pause. The log has the gaps in ms and where he stands 2 s later
10 Spawn a plain person, Direct the plain person, then Directed: crossed, Directed: stand, Directed: stop A second paramedic, directed with no workspot of his own. Say whether he plays each clip, and what he does after the stop
11 Walk to a street with people. Direct the nearest of the game’s people, Directed: crossed, Directed: stop Say who was picked, whether they play it, and what they do after
12 Save the game. Back on open ground, set Copy to The cutscene copy and press Spawn the copy A copy of V 2.5 m in front, facing V. Say whether its face, hair and body are V’s, or whether the game crashed
13 Dress the copy Say whether it wears what V wears. The log lists each item
14 Direct the copy, Directed: crossed, Directed: stop Say whether the copy plays the clips
15 Set the target here, walk 8 m away, Walk the copy to the target Say whether the copy walks to the pin
16 Set Copy to The cutscene copy, no impostor, and press Spawn the copy Say whether it looks any different from step 12
17 Remove everything Every spawn and the pin are gone; the game’s person from step 11 goes back to their day

First run, 2026-11-27 (dev PC, REDnode 0.76.1, Scene spike 0.1.0): steps 1 and 2 only. Step 1 passed (two workspots for a feminine V, stand 108 and crossed 110, swapped in through REDswap in 112 ms). Step 2 failed: the paramedic (Character.trauma_team_paramedic) was spawned 8.5 m from the target and holding; the walk cancelled his hold, the move command read Success 0.1 s later with him not moved, and the game detached him about 0.5 s after the walk was sent (“the walker left the world”). Nothing removed him on REDnode’s side (no remove call; the only other mod acting on Trauma Team people, edgex-trauma, acts on button presses only). The cause is unverified: the record inherits from the quest NPC base, and with no hold and no quest the game seems to drop him. Scene spike 0.1.1 adds a Walker and plain person choice, Character.CitizenRichMale by default with the paramedic kept, and logs when the walker leaves the world with the last command state.

Second run, same day (Scene spike 0.1.1):

Step Result
2 Failed again: the citizen left the world within 0.1 s of the walk being sent. Probed live through MCP: a citizen whose hold is cancelled, with no walk, stays (30 s), so the hold is not the cause. The cause is the walk’s target: an AIPositionSpec keeps whether it holds a place or an entity in 8 bytes the reflection does not name (RED4ext.SDK’s unk00), so one filled by its fields reads as empty (IsEmpty true, IsWorldPosition false, though GetWorldPosition reads the place back right; an entity filled by field reads empty too). With an empty target the game’s AIMoveToCommandHandler sets MovePolicies.GetInvalidPos(), and the person goes (the last link is a reading of the handler, unverified). Fixed in REDnode 0.76.2: api sets an AIPositionSpec through the game’s own SetWorldPosition (by script_ref), or SetEntity, and checks it with IsWorldPosition or IsEntity; an entity target the game leaves empty is refused with an error
6 Passed: the walker stands, then crosses his arms
9 world.move answers true but moves nothing while a person plays a workspot: a step aside (twice) left him 1.00 m from the aim, a 2 s drag (36 moves, none refused) 2.00 m, a quarter turn left his yaw at -87 (aimed 3), and the game’s teleport (TeleportationFacility.Teleport) left him 1.00 m from the aim. Each time he kept playing, in the workspot. So EDGEdir’s Adjust cannot move a person during a workspot: stop it, move, play again (step 7, after 0.76.2)

Steps 3 to 5, 7, 8 and 15 walk a person and wait for 0.76.2; steps 10 to 14, 16 and 17 are still to run.

Third run, same day (REDnode 0.76.2, Scene spike 0.1.2, Character.CitizenRichMale), steps 2 to 5:

Step Result
2 Passed: he walked (feet moving) to the pin, 10.8 m in 8.1 s, top speed 2.0 m/s, first step 136 ms after the command, Success. He stopped 0.00 m from it though 0.5 m short was asked: with a place as the target, desiredDistanceFromTarget is not used (unverified beyond these runs)
3 Run still walked: 15.6 m in 12.1 s, top 1.9 m/s, first step 574 ms; stopped 0.00 m (0.1 asked). The game’s handler passes Run on (Sprint only in combat), so a relaxed person likely walks whatever is asked (unverified: how to make one run outside combat)
4 ignoreNavigation did not walk a straight line: he went round the car and round people nearby, 31.3 m in 21.6 s, stopped at the pin. So it does not turn off avoidance, or is not what keeps him on the navmesh (unverified which)
5 The marker entity target works (set through SetEntity, so 0.76.2’s entity path is good): he stopped 0.50 m from it, as asked, so desiredDistanceFromTarget is used for an entity target. With Face V on he walked backwards to the pin: rotateEntityTowardsFacingTarget keeps him facing V for the whole walk, not only at the end. 15.9 m in 13.7 s, top 1.4 m/s

For EDGEdir (#50): a walk to a mark works; give the mark as an entity to stop short of it; a “face V at the end” needs a turn after the walk, not the facing target.

Scene format 3 read (#51 step 1; 0.74.0)

EDGEbuilder writes scene format 3 for a scene that changes the game’s own world: format 2’s objects, unchanged, plus a worldEdits list (its scene format, a draft until EDGEbuilder pins it). REDnode’s reader refused format 3 before (scene format 3 is newer than REDnode reads (1 and 2)). Built on 2026-11-25 in REDnode 0.74.0, step 1 of #51 as asked:

Part What it does
readScene in packages/rednode/src/scene.ts Takes formats 1 to 3; format 4 or later is refused with (1 to 3). A format 3 file’s objects load as format 2’s, with kinds and skip as before
notes The world edits are not applied. One note counts them by action, such as 2 world edits not applied (removals of the game's own objects) or 3 world edits not applied (2 removals of the game's own objects, 1 door state); an action REDnode does not know is named in quotes. No note when the list is empty or missing
Where world.load, the MCP tool world_load, and anything else using the shared reader (the host imports the package’s scene.js)

Step 2 (hide each remove edit through the world node registry, show it again at world.unload and when the package stops) waits for N2, the registry in full, in the agreed order. Plain Node check: scratchpad w51/check.mjs (9).

Scene format 3: test

With a save loaded, nothing else needed; Claude drives it through MCP. The file is w51.scene.json (a cardboard box and two remove edits naming made-up nodes), written beside V first.

Step Do Expect
1 Claude calls world_load with the file One box near V; the answer’s notes say 2 world edits not applied (removals of the game's own objects); no error
2 Claude calls world_load with the same file edited to "format": 4 Refused: scene format 4 is newer than REDnode reads (1 to 3)
3 Claude removes the box (world_remove, or the scene unloaded) The box is gone

Passed in game on 2026-11-26 on the dev PC (REDnode 0.75.0, all three steps, Claude driving MCP; docs/testing.md has the answers). Step 2 of #51 (applying the removals) waits for N2.

Bones (#62; 0.76.0, 0.76.1)

REDcode’s #62 asks for the live skeleton of a person in the running game, deformation helpers included, to check REDcode’s run of a body’s deformation graph (man_base_deformations.animgraph) against the game’s. Game 2.5 has no script call that reads bones: entAnimatedComponent has no functions, and FunctionalTestsGameSystem.GetBoneWorldTransform is a stub in the retail game that always answers false. Built on 2026-11-26 in REDnode 0.76.0 from a static reading of 2.5’s exe.

Bones: the static reading

A slot bound to a bone (entSlotComponent.GetSlotTransform, whose native is at +0xca2200) asks the entity’s animated component for the bone’s model-space transform through one function, “the model read” (+0xbf1ec4: QsTransform* (component, out, {meta rig index, bone name})). It:

Step What the code does 2.5’s offsets
The animated object The component’s cache, else the game’s lookup (+0x286a3c, from a registry the component names) component +0x178, registry +0x168
The meta rig The object’s meta rig: bone names and parent indices (the SDK’s anim::MetaRig) object +0x08; names +0x20, parents +0x10
The model transform Walks the bone’s parents, multiplying each bone’s local transform  
A bone’s local transform (“the local read”, +0xbf1f78) Walks a list of pose parts in the object; the first part whose own bone names hold the bone gives it from its pose buffer. A bone no part holds is the identity list +0x60, part +0x40, next +0x08, part names +0xD8
The pose buffer (“the buffer read”, +0x1b462c) One of two buffers of QsTransforms, chosen by comparing their counts +0x48 (count +0x5C) when they differ, +0xB8 (count +0xC4) when equal

A person’s helpers are in their own animated component: man_base_deformations.ent has one entAnimatedComponent named deformations, on man_base_deformations.rig with man_base_deformations.animgraph. So world.bones reads every animated component of the entity, each on its own meta rig.

Corrected after the first run (0.76.0). The “pose parts” above are the object’s rigs, animRig resources: names at +0xD8 are the rig’s boneMetaNames, +0x48 its referencePoseLS and +0xB8 its aPoseLS (the SDK’s anim::Rig). So the model read answers the bind pose; 0.76.0 read the A-pose as if it were the live one, the same in every read. The live pose is read by another function on the slot path, +0x32aa4c (component, bone, out world transform), which calls “the live read” +0x32b1e8 (animated object, bone, out): the object’s current pose is at +0x18, and its first field is an array of model-space QsTransforms in meta rig order (bones outside the meta rig are in a list at +0x38, count +0x44, 64 bytes each: name, then the transform at +0x10). The world transform is that times the component’s own (+0xE0 place, +0xF0 rotation). Every animated component of a person (root, face_rig, deformations) names the same animated object, whose meta rig holds all their bones: 512 on the paramedic, from rigs of 71 (the body), 344 and 181 (the deformation rig: the body’s 71 and 110 helpers).

Bones: build

Part What it does
native/src/overlay/bones.hpp The patterns and instruction forms. The model read is found by one byte pattern, which must match once in the game’s code; every offset above comes from its code and the two functions it calls, checked instruction by instruction. The local read as REDnode’s own memory read, and a QsTransform product for the test. Unit test native/tests/bones_test.cpp: made-up code and pose parts, and with REDNODE_GAME_EXE set, the real exe (it finds every 2.5 offset above)
native/src/overlay/bones.cpp The read, on the game thread: the object, its meta rig, its live pose and its rigs checked with VirtualQuery first (the game’s crash handler takes a fault before __try does). 0.76.1: model is the live pose copied at once, local is worked out from it (parent⁻¹ × child), bind (asked for) the bone’s own rig’s A-pose, else its reference pose, relative to its parent. The live read is found by its own pattern, unique in 2.5’s exe. Logs Bones: live read +0x... with every offset once a session
world.bones in reflect.cpp The entity by reference or id, its animated components through Codeware’s GetComponents, each one’s name and rig, then the read. Components that share an animated object are read once; the others answer sameAs. Options components, bones (names), space (local, model, both), bind
world.bones(entity, options) in packages/rednode/src/world.ts Answers { components: [{ name, rig, object, lod, rigs: [{ bones, path }], count, bones: [{ index, name, parent, rig, model, local, bind }] } or { name, rig, sameAs }], ms, at }; a transform is { t: [x,y,z], r: [x,y,z,w], s: [x,y,z] }
MCP world_bones The same read for assistants, by entity id, read only (no ask)
Bones test (packages/overlay/apps/bones-test 0.2.0) Spawns the Trauma Team paramedic (male average, man_base.rig) 2.5 m in front of V playing generic__stand_ground_arms_crossed__stand_around__02.workspot, then Read, Read 4 (a second apart), Read the nearest person and Remove. Each read is saved in full (model, local and bind) as bones-<n>.json in its data folder with the workspot and the seconds since it started. The log gives how far the pose moved since the last read, the left hand’s place, and a helper’s live and bind places

Unverified until the retest: that the live pose follows the animation (its bones move between reads and the arms are crossed in it), that the helpers’ live transforms are the deformation graph’s output, and whether the read stays near 300 ms on the game thread (0.76.0 read the same object three times). The clip’s time is the seconds since the workspot started, not the animation’s own time, which REDnode does not read. The pose is the last one the game’s animation wrote; the read runs on the game thread and may meet an animation job writing (unverified).

Bones test

With a save loaded in an open place, the Bones test switched on in the launcher (it needs no permission switches), and Codeware installed.

Step Do Expect
1 Press Spawn The paramedic stands 2.5 m in front of V and crosses the arms within a few seconds; the log says workspot started
2 Press Read A line per component: root (man_base.rig) and deformations (man_base_deformations.rig), each with its bone count, pose parts, how many bones no part holds, its level of detail, and model vs parent x local a fraction of a millimetre at worst; bones-1.json written. The plugin log has one Bones: model read +0xbf1ec4 ... line
3 Press Read 4 Four lines a second apart; the helper l_chest_front_B_top_out_JNT’s local place shows on the deformations line
4 Walk about 40 m away, keeping the paramedic in sight, and press Read It still reads; note whether the level of detail numbers change
5 Walk up to anyone in the street and press Read the nearest person Their components with rig and bone count, or an error that says why
6 Claude calls MCP world_bones with the paramedic’s id and space: "both" The same shape as the app’s reads
7 Press Remove The paramedic is gone

The files go to REDcode for its check; the plugin log, rednode-mods.log and the files are read after the run.

Bones test: first run (0.76.0)

On 2026-11-26 on the dev PC, by the owner, Bones test 0.1.0. Steps 1 to 5 ran; step 6 could not, since this session’s tool list was read before the deploy (world_bones was not in it).

Step Result
1 The paramedic spawned (11120272) and the workspot started
2 to 3 Seven reads, 300 to 360 ms each. face_rig (rig 0xD2A7FDDB49ED3AFE), root (man_base.rig) and deformations (man_base_deformations.rig) each answered the same object: 512 bones, rigs of 71, 344 and 181 bones, none in no rig; root from the component’s cache, the other two through the game’s lookup
4 At 28 to 30 m the level of detail read 4/3, against 0/4 at 1.5 m: the fields follow the distance
5 Not read from the log
Found Every read gave the same transforms to four decimals, near and far, with the elbow helpers 36 cm out from the body: the bind pose, not the live one. The static reading was corrected (above) and the live read built in 0.76.1

Bones test: retest (0.76.1)

On 2026-11-26 on the dev PC, by the owner, Bones test 0.2.0. Every step passed: steps 1 to 4 and 6 in the app, step 5 the same night from a new Claude Code session (the two sessions running at the deploy had read their tool lists before it, so neither had world_bones). #62 is done.

Step Result
1 The paramedic spawned (11120245) and crossed the arms
2 Four reads, 157 ms (the first) then 68 to 71 ms. face_rig, read first, answered the skeleton; root and deformations said same skeleton as face_rig. 512 bones; rigs man_base.rig 71, the face rig (0xD2A7FDDB49ED3AFE) 344, man_base_deformations.rig 181; none in no rig. The pose moved between reads (up to 181 mm at the head tip); LeftHand at about [0.05, 0.14, 1.33], in front of the chest: the arms crossed. The helper l_chest_front_B_top_out_JNT’s live local differed from its bind pose
3 At 20 m the level of detail read 3/2, and the helper’s live local was exactly its bind pose: past some distance the deformation graph does not run, and the helpers keep their bind pose. Sample close
4 A street person (0xBF7667454C2B918E face rig): the same shape, 512 bones on the same three rig sizes, 69.8 ms
5 A new Claude Code session called world_near (radius 10) and world_bones with space: "both", bind: true on the nearest person (10542429, outcast__wa_homeless_02, 3.8 m): 69.8 ms. face_rig answered the skeleton (lod 1/4 at 5.0 m, 512 bones with unique names and indices 0 to 511, every parent a bone in the list, only Root without one, rigs of 71, 344 and 181, every bone with model, local and bind); root and deformations said sameAs: "face_rig". 186,608 characters of compact JSON (about 364 a bone). A bone’s rig is the first rig holding its name, so the deformation rig’s copies of the 71 body bones count on the body rig: 71, 335 and 106
6 The paramedic removed

REDcode compared reads 1 to 4 with its own run of man_base_deformations.animgraph on the game’s 71 body bones: 116 helpers at a median 1.6 mm and 0.01°, all 16 twist helpers exact, curves, points and set-transforms within 2 mm; left for REDcode: one wrist helper (4.3 cm) and the elbow and thumb bulges (up to 3 cm). A read of about 70 ms holds the game thread: checking the rigs once a session, not at every read, would cut it (later).