1920 × 1080 hero render · source: assets/hero.html
A browser the world is looking at.
Spawnable cinema and television screens for Open77, rendered by a real Chromium surface on a world-space quad.
Cyberpunk 2077 2.31 · Open77 · CEF 144 · 40 measured display records · 7 Lua suites
A web browser on a spawnable prop's screen, for Open77.
Spawn a television, give it a URL, and it renders inside the game world on a quad attached to that prop — visible to everyone who can see the prop, with transport and audio controls. The page is a real Chromium surface (CEF) hosted by the client plugin, so it is not a texture the server pushes: it is a browser the world happens to be looking at.
Start here: Quick start · Requirements · Installation · Configuration · Remote and console · Optional modules · Troubleshooting · Tests
open77_media/ the resource -- this is the television
open77.lua manifest: permissions, the page, what ships to clients
server/main.lua authority: which screen exists, on which prop, showing what;
`media.move` / `media.rotate` nudge and turn a set
server/config.lua the operator's ad-blocklist seed, and where their edits are kept
server/adblock.lua the rule grammar a server pushes; the browser host validates
every rule again before it enforces it
client/main.lua binds a surface to a prop, keeps the quad on it, decides
which sets are worth materialising, releases pages on exit
shared/records.lua the catalogue: 40 records -- the game's real televisions,
monitors, panels, frames, a security monitor, and a
scaled pair of room panels (a 100 ft and a 150 ft 16:9
screen, both named open77-TV-ROOM and put up showing the
room -- the shared browser's home screen) -- each with a quad measured from its
own mesh (see below)
shared/placement.lua where "nudge it left" points, as arithmetic
web/tv.html|css|js the page one television shows: YouTube's own player, a
framed third-party site, the shared browser, or the host's
decode route for a link this CEF build cannot play itself;
and its control strip, under the picture while someone is
using the screen (F8)
web/remote.html|css|js the remote: the panel a player opens at a set, toggled
with F5 (or `/tv`) while one is in reach. It spawns from
the catalogue, sets the source URL, plays, mutes, moves
and turns the cabinet, opens and closes the curtain,
fires the reveal, and removes a set. The key is each
player's own (the panel's CHANGE button, or `/tvkey`);
the panel owns no state and every button is a request
the server answers
shared/keys.lua which keys the panel may be opened with and what each is
called; the client keeps a player's key per server and
the server answers `/tv` and `/tvkey` from it
shared/clock.lua where in its programme a set is: the server owns the
playhead, so two screens showing one link stay together
and a set that joins late opens where the others are
tests/ seven suites: records (1675 assertions), placement (132),
clock (30), adblock (351), keys (65), linked (19),
client (251)
native/
MediaScreens.hpp|cpp the host-side module: bind a surface to a prop, project
its screen quad, publish overlay items, line-of-sight test
ScreenQuad.hpp the quad arithmetic and the declared-front (facing) gate
ScreenMotion.hpp blending the last two projected corner sets (or a cut
screen's maps) at the frame being presented, so a
moving set's picture does not step
ScreenTessellation.hpp the plane's own map from four projected corners, and the
smallest grid that draws it within a pixel
PerspectiveImage.hpp that grid into an ImGui draw list; and a screen cut at
the camera, as cells halved until each is within a pixel
ScreenClip.hpp a screen with part of it behind the camera: the part in
front, and its map from points the engine can project
SceneDepth.hpp|cpp finding the game's depth buffer, copying it at present,
drawing a screen through it
SceneDepthPolicy.hpp which buffer is the scene's, what its values mean, when
to copy it
ScreenDepth.hpp, ScreenDepth.hlsli, ScreenDepthComposite.hlsl,
ScreenDepthShaderSource.hpp, ScreenDepthPass.hpp|cpp
the pass that draws a picture behind what is in front of
it, and the shader arithmetic the tests run as C++
PagePolicy.hpp which page may load what -- the CSP directives and the
host's own request gate, as one decision in one place
TranscodePlan.hpp what to do with a link this build cannot decode: the
probe/stream decision and the decoder argv that carries it out
Decoder.hpp running the decoder tools: probe, stream, seek, cleanup
FramePolicy.hpp whether a pasted link may be framed at all, and which
page to frame instead when the link is a shell that
refuses framing around the app that really plays
FrameResolver.hpp|cpp the WinHTTP probe that answers that: response headers,
embed discovery, and the best page to frame
AdBlock.hpp the popup/navigation/request policy -- a window with no
click behind it is advertising, and a click is followed
only when the window stays inside the site that asked
ScreenInput.hpp which world screen holds the pointer and keyboard, and
where on that screen the page pointer has landed
AudioSink.hpp|cpp browser audio into the game's mixer
patches/ TV-only hunks of the host-side seams (see docs/integration.md)
open77-base/ the picture fixes as a clean series for `git am` on
open77-base main (its pull request #66)
docs/
integration.md every seam, what it does, and the gotcha that bites
webui-media-and-audio.md what this CEF build can and cannot actually play
depth-and-occlusion.md the picture: in perspective, behind whatever is in front
of it, and cut at the camera
tests/
MediaRecordsTests.cs the catalogue suite inside the C# test host
MediaPlacementIntegrationTests.cs the placement path through the real resource
host and the real prop registry
ScreenQuadTests.cpp, ScreenMotionTests.cpp the two pure host modules
ScreenTessellationTests.cpp, PerspectiveImageTests.cpp, ScreenDepthTests.cpp,
SceneDepthPolicyTests.cpp, ScreenDepthShaderSourceTests.cpp, ScreenClipTests.cpp
the picture fixes, against ray-traced cameras and
a real ImGui draw list
TranscodePlanTests.cpp, DecoderE2ETests.cpp the decode decision, and the real
decoder over real HTTP (skips if ffmpeg is absent)
WebUiAssetTests.cs the wire between the page and the host's frame
probe, pinned across the three languages it spans
tv-page/run.mjs the television page in a real Chromium against a
stub host: DRM links named, the host's malformed
probe answer read, sites framed with the decoder off,
the shared browser's network check and stream log,
its sound following the television's volume,
the control strip under the picture, never over it,
and the picture read in pixels on a non-16:9 set
fixtures/ a snapshot of open77_admin's prop-model aliases
shared-browser/ a real Chromium on the server streamed to a television
over WebRTC, the same for everyone at it: the resource
(/browser, the TV menu's two room panels), the
container (no DRM module baked in; the host's own
Widevine is mounted at run), Ctrl+V pasting a link
copied on the player's PC into it, the TV's volume and
mute on its sound, the input guard, the room service
that is its home screen, and Android's native screen
(shared-browser/README.md)
watch-party/ Netflix watch parties: everyone plays the film in their
own browser on their own account, and the party keeps
them in step -- the server resource (opx_watchparty),
the Edge/Chrome extension, its store listing and its
privacy policy (watch-party/README.md)
tools/
suite-runner/ check the manifest declares every module, run the seven
Lua suites and maintain the vendored snapshot, with no
Lua interpreter (KeraLua)
run-suite.py the same seven suites through a real lua5.4
extract-tv-patches.py regenerate patches/ from a checkout
tvkit/ the scripts that fixed the four TV rooms in place on
2026-11-06/07 (address, clicks, room service, Android's
page, one cursor, keys, Netflix), each with look, fix
and put-back (tools/tvkit/README.md)
The in-game phone -- F1 takes out a phone showing the TV rooms' Android, driven with the mouse and keyboard, one player at a time -- has its own repository: nobody71004/open77-phone.
There are two halves to a working television, and they fail differently:
| Half | What it is | What happens without it |
|---|---|---|
open77_media/ |
The server resource: the catalogue, the screen authority, the page, the remote, the ad-block policy and the tests. | Nothing spawns, or a prop spawns with no browser state. |
native/ + the host seams |
The Open77 client's CEF surface, world-quad projection, input handoff, audio and page policy. | The resource can load, but a set never draws: native media API unavailable or prop_not_projected. |
This repository is the television feature, not the whole Open77 client or server. The host-side build tree, CEF runtime, prop-host asset scripts and open77-base checkout are separate. docs/integration.md is the map of every seam; patches/open77-base/ is the clean patch series, while the other patches/*.diff files are TV-only hunks of files that carry other work and must be reviewed by hand.
git clone https://github.com/nobody71004/open77-tv.git
cp -R open77-tv/open77_media <open77-base>/resources/open77_mediaAdd "open77_media" to resources.load in server/server.jsonc and server/server.pvplab.jsonc, and to the "resources" array in templates/freeroam/template.json. Those server files set resources.root to ../resources, so the copy above belongs at <open77-base>/resources/open77_media. Then restart the server, or run refresh from the server console if the resource tree was already started. The resource is auto_start true and reload_policy "local".
Confirm it loaded before touching a television. The server log prints:
[resource:open77_media] discovered
[resource:open77_media] open77_media ready -- 40 television records
[resource:open77_media] started generation=1
A resource whose files exist but whose refresh never ran is not loaded, and the server looks healthy while it is simply absent.
-
Start from a clean Open77 host checkout at the picture-series base
36772b3b, or a tree that already contains those nine commits. Do not apply the series into unrelated work; the patches are commits against that base. -
Apply the clean picture series from inside the host checkout:
cd <open77-base> git switch -c open77-tv-picture 36772b3b git am /path/to/open77-tv/patches/open77-base/*.patch
-
Copy the feature-only modules from
native/into the matchingclient/src/...,webhost/src/...andwebui/...paths listed in the render-seam table. Add the new sources to the host's CMake lists, and apply the remainingpatches/*.diffhunks by hand; they share files with unreleased work. -
Build the host with its own script. This calls
scripts/setup-cef.ps1, prepares the pinned dependencies, buildsvs2022-x64, and can deploy the client, web host and CEF into the game:cd <open77-base> pwsh .\scripts\build.ps1 -Configuration Release pwsh .\scripts\build.ps1 -Configuration Release -Deploy -GameDirectory "C:\Path\To\Cyberpunk 2077"
-
If pasted H.264/HLS links should work, copy
ffprobe.exeandffmpeg.exeinto<game>\red4ext\plugins\Open77\decoder. The decoder is found by-open77-decoder-dir, never by a search ofPATH. -
Build the prop-host entities and the archive with the host's asset script. This step is not optional: a record whose authored host is missing spawns a marker mesh or nothing, not a screen.
cd <open77-base> pwsh .\scripts\build-assets.ps1 -Configuration Release ` -GameDirectory "C:\Path\To\Cyberpunk 2077" ` -WolvenKitCli "C:\Tools\WolvenKit.CLI.exe"
build-assets.ps1invokesbuild-prop-hosts.ps1itself and writesartifacts\Release\Open77.archive.-OnlyAliasis for iterating on one host, not a replacement for the full asset run before packing.
After the archive is deployed, verify both the build artifact and the installed bytes instead of guessing:
python /path/to/open77-tv/tools/check-prop-hosts.py --archive "<open77-base>\artifacts\Release\Open77.archive"
python /path/to/open77-tv/tools/check-prop-hosts.py --archive "<game>\archive\pc\mod\Open77.archive"An Open77 launcher run can re-project its own archive over the install and silently remove the TV hosts; run the check after a launcher update and restore the asset-build archive when it fails.
media.records
media.spawn tv.16x9 0 https://www.youtube.com/watch?v=<id>
media.list
Stand in front of the set and press F8 to hand it the pointer and keyboard; press F5 (or type /tv) to open the remote. If the screen shows the colour-bar test pattern, the whole chain is alive — page, CEF surface, projection and world quad. If it shows a dark rectangle, the failure is upstream of the page.
cinema.100ft and cinema.150ft — the two 16:9 room panels, including the panels used by the shared browser and watch party — now switch on a fabricated display cabinet. It is a neutral brushed-metal chassis with a recessed gasket, inner glass lip, four fasteners, a status LED and an etched OPEN77 badge. The old record-coloured outline and glow are gone; border is now only the marker that tells the page this set is a cinema display. The cabinet is pure CSS in web/tv.css, so it scales from a 100 ft panel to an apartment set and needs no new texture, mesh or asset build.
| Layer | Required | Notes |
|---|---|---|
| Game host | Windows 10/11, Cyberpunk 2077 2.31, RED4ext, Open77 client plugin | The render seams are client-side. The server can run elsewhere. |
| Host tree | A clean open77-base checkout at the picture-series base 36772b3b |
The nine patches/open77-base/ commits are a series against that base. Use a clean branch or worktree. |
| Client build | Visual Studio 2022 with Desktop C++ and Windows SDK, CMake; the host's scripts/build.ps1 |
The script prepares the pinned CEF 144 and GameNetworkingSockets dependencies; do not substitute a different CEF build. |
| Server | Open77 server tree matching the client; resources.load access |
The resource is Lua and data, with no native server dependency. |
| Assets | WolvenKit CLI, PowerShell 7, the game installation | scripts/build-assets.ps1 writes artifacts/Release/Open77.archive; the asset run also needs the game's vanilla archive data. |
| Tests | .NET 10 SDK; Node 20+ with Playwright for the browser test | The Lua suites need no Lua interpreter: tools/suite-runner carries Lua 5.4 through KeraLua. |
| Optional decoder | ffprobe.exe, ffmpeg.exe with VP9/Opus WebM output |
Without it, the page reports disabled and H.264/HLS links do not play. |
| Optional services | Docker, Node, nginx or Caddy, a TLS hostname | Only for the shared browser, watch party and screen mirror. |
cp -R open77_media <open77-base>/resources/open77_mediaAdd "open77_media" to resources.load in server/server.jsonc and server/server.pvplab.jsonc; add it to the "resources" array in templates/freeroam/template.json when that template is used. Those files use "root": "../resources", so the copy above is <open77-base>/resources/open77_media. The resource declares:
auto_start truereload_policy "local"web_ui_page "web/tv.html"withweb_ui_auto_create false- permissions
network.events,world.props,world.effects,input.actions,webui.policy,filesystem.read,filesystem.writeandacl.read
Restart, or run refresh in the console. The server does not rescan an arbitrary resource folder unless its watch interval is enabled.
The resource alone is not a screen. The client host must expose the Open77.media API and the WorldOverlay::Style::Screen path. Follow docs/integration.md in order: new native modules, Lua surface, client backend, render seam, page policy, audio, decoder. The nine patches/open77-base/ files are a clean series against open77-base main at 36772b3b:
cd <open77-base>
git switch -c open77-tv-picture 36772b3b
git am /path/to/open77-tv/patches/open77-base/*.patchIf the host tree already contains the picture fixes, skip the series; applying it twice will conflict. Do not apply it onto a dirty unrelated branch. The other patches/*.diff files are not a clean series: apply their TV-only hunks by hand and keep the host tree's other work.
Copy the feature modules whole into these host paths:
native/ source |
Host destination |
|---|---|
MediaScreens.hpp, MediaScreens.cpp, ScreenQuad.hpp |
client/src/api/ |
ScreenMotion.hpp, ScreenInput.hpp |
client/src/webui/ |
PagePolicy.hpp, FramePolicy.hpp, AdBlock.hpp, TranscodePlan.hpp, Decoder.hpp |
webui/include/op77/WebUI/ |
AudioSink.hpp, AudioSink.cpp, FrameResolver.hpp, FrameResolver.cpp |
webhost/src/ |
The picture-fix files (PerspectiveImage.hpp, SceneDepth*, ScreenClip.hpp, ScreenDepth*, ScreenTessellation.hpp, and the shaders) belong in the paths named by docs/depth-and-occlusion.md; not every file in native/ goes in one directory. Add MediaScreens.cpp/.hpp to client/CMakeLists.txt and the new webhost sources to webhost/CMakeLists.txt; the patch hunks show the exact insertion points.
The client hosts a real Chromium surface. Build it with the host's own script; it calls scripts/setup-cef.ps1, prepares the pinned CEF 144 and GameNetworkingSockets dependencies, and builds Open77.Client plus Open77.WebHost:
cd <open77-base>
pwsh .\scripts\build.ps1 -Configuration Release
# the supported deployment path:
pwsh .\scripts\build.ps1 -Configuration Release -Deploy -GameDirectory "C:\Path\To\Cyberpunk 2077"With -Deploy, deploy-client copies Open77.dll and the web host plus its CEF runtime from artifacts\Release\web into <game>\red4ext\plugins\Open77\web. Do not manually drop a second CEF build on top of that deployment.
For links this Chromium cannot decode (H.264/AAC, HLS, .mkv, .mp4, .mov, and the rest), create <game>\red4ext\plugins\Open77\decoder and stage:
<game>\red4ext\plugins\Open77\decoder\ffprobe.exe
<game>\red4ext\plugins\Open77\decoder\ffmpeg.exe
The game passes -open77-decoder-dir=<plugin>\decoder when it starts Open77.WebHost.exe; the decoder is deliberately found by that path, never by a search of PATH. Without the directory the page reports disabled with a reason; it does not show a silent black rectangle. The decoder is not optional for a server that expects ordinary web MP4 links to work, but it is not needed for YouTube, WebM/VP9, Vimeo embeds, the shared browser, or framed websites.
The catalogue names game meshes; a mesh is not a spawnable prop until the asset build emits cyberm\entities\props\open77_prop_<slug>.ent. Build the complete asset archive from the host tree:
cd <open77-base>
pwsh .\scripts\build-assets.ps1 -Configuration Release `
-GameDirectory "C:\Path\To\Cyberpunk 2077" `
-WolvenKitCli "C:\Tools\WolvenKit.CLI.exe"build-assets.ps1 invokes scripts/build-prop-hosts.ps1 itself and writes artifacts\Release\Open77.archive. A full run regenerates all hosts (roughly twenty minutes at the host's 184 generated aliases). To iterate on one host, run the prop-host script directly:
pwsh .\scripts\build-prop-hosts.ps1 `
-WolvenKitCli "C:\Tools\WolvenKit.CLI.exe" `
-GameRoot "C:\Path\To\Cyberpunk 2077" `
-OutputRoot "assets\archive\Open77" `
-WorkRoot "build\generated\prop-hosts" `
-OnlyAlias <alias>Then run the full build-assets.ps1 before packing; -OnlyAlias is not a replacement for the complete run.
Deploy the archive with the CMake target when the cache has OP77_WOLVENKIT_CLI configured:
cmake --build build\vs2022-x64 --config Release --target deploy-assetsOtherwise copy artifacts\Release\Open77.archive to <game>\archive\pc\mod\Open77.archive. Verify both the build artifact and the installed bytes; tools/check-prop-hosts.py checks the hashed depot paths and names every missing host:
python /path/to/open77-tv/tools/check-prop-hosts.py --archive "<open77-base>\artifacts\Release\Open77.archive"
python /path/to/open77-tv/tools/check-prop-hosts.py --archive "<game>\archive\pc\mod\Open77.archive"The two cinema panels are the easiest check: spawn cinema.100ft; a panel with a picture but a missing host is exactly the silent failure this check exists for. An Open77 launcher run can re-project its own archive over the install and silently remove the TV hosts; run the check after a launcher update and restore the asset-build archive when it fails.
Server-side checks:
media.records
media.spawn cinema.150ft 0
media.list
Client-side check: the set should show the test pattern with no URL. Press F8 to take the screen, then F5 or /tv to open the remote. Paste a link with Ctrl+V, press LOAD, and watch the client log for MediaScreens: bound screen ... and player_state (playing at Ns).
- No render, resource loaded: the client plugin is missing the TV seams or an older plugin is running. Look for
native media API unavailableandprop_not_projectedin the client log. - No prop, catalogue answers: the archive does not carry the host entity. Run the archive check above and rebuild the asset archive.
- No page, prop visible: the web host or CEF runtime is not starting; the screen stays at the prop's material or the idle pattern without a page.
- No H.264 picture: this is the codec, not the link. Stage the decoder or use the shared browser.
- No F5 panel: the client half of
open77_mediadid not start, or the player is out of the set's reach./tvworks even when no key is bound;/tvkey resetrestores F5.
server/config.lua is the operator-editable file. It is loaded with server/adblock.lua before server/main.lua.
| Key | Default | What it changes |
|---|---|---|
adminOnlyControl |
true |
Only holders of command.media.lock may drive an unlocked set. Set false to let any player drive any set no admin has locked. The console is always admin. |
enabled |
true |
Reads and pushes the server ad-block list. The compiled client list remains active regardless. |
dataFile |
"adblock.json" |
Live ad-block store, relative to the resource's data/ directory. |
venueDataFile |
"venue-sets.json" |
Saved positions for the world's venue screens; deleting it returns to the survey in MediaVenueSets. |
hosts, tokens |
empty | Seed rules for a new server. They are used only until a live store exists. |
MediaVenueSets |
one 150 ft panel | Scenery screens spawned at start. Each record is a normal set afterwards and can be saved from the F5 panel with SAVE THIS SPOT. |
The admin gate is the ACE command.media.lock; the same ACE controls both the whole-panel adminOnlyControl gate and an individual screen's LOCK button. The lock is enforced on the server, not in the page. Per-player ad-block changes are written to data/adblock.json; media.adblock.reload re-reads the store, never the seed.
| Input | Action |
|---|---|
| F5 | Open/close the remote at the nearest set in reach. Each player can change it from the panel's CHANGE button or /tvkey <key>; /tvkey reset restores F5. |
| F8 | Hand the pointer and keyboard to the screen under the crosshair. The page's control strip appears under the picture, never over it. |
| Ctrl+V | Paste a link into the remote's URL field, then LOAD. The field is focused when the panel opens. |
tv / /tv |
Open the panel with no key at all. |
tvkey <key> / /tvkey reset |
Choose or reset the player's own panel key. |
media.* commands are server-console/admin commands; the console is always admin. The important ones:
| Command | Purpose |
|---|---|
media.records |
Print the catalogue and its measured quads. |
media.spawn <record> [yaw] [url] |
Spawn a set and optionally load a link. |
media.place <record> <x> <y> <z> [yaw] [url] |
Place a set at a world position. |
media.url <id> <url> |
Change the source. |
media.list |
Show id, prop, label, surface, facing and refuse reason. |
media.volume, media.mute, media.pause |
Transport and audio. |
media.move <id> <forward|back|left|right|up|down> [m] |
Nudge along the set's own axes. |
media.rotate <id> <left|right> [degrees] |
Turn the cabinet. |
media.quad, media.quad.reset |
Retune or reset the measured screen rectangle. |
media.curtain <id> <open|closed|reveal> |
Draw, open or replay the cinema curtain. |
media.lock <id> <on|off> |
Admin screen lock. |
media.remove <id> |
Remove a set. |
media.adblock.* |
Add, remove, clear, reload and inspect the ad-block list. |
The remote's buttons are requests, not local state. Every change goes to open77:media:control; the server answers, and a refused control is reported instead of being optimistically drawn.
These are separate installs. They are not required for a television to show a page, and each has its own README with the full operator notes.
A real Chromium on a server, streamed over WebRTC to the television's page. This is how sites using H.264, Twitch and other players this CEF build cannot decode become watchable, and how everyone at a set sees the same browser. It needs Docker and a TLS host.
cd shared-browser/server
./up.sh production # builds the image and recreates the role's container
./nginx.sh production # publishes the WebSocket path
./install-tv-config.sh production
cd ../..Add opx_tvbrowser to the server's resource load list, then run shared-browser/server/test/e2e.sh production. NEKO_WEBRTC_UDPMUX must carry the role's own port; up.sh prints both tcpmux and udpmux, and both must match. The browser is shared: sign-ins, history and a pasted clipboard are visible to everyone at that television. The viewer password is in the television link, not a player secret. See shared-browser/README.md.
Netflix and other DRM services do not play in the television's CEF surface. A watch party keeps each viewer's own browser in step instead: the film stays in each account, and only the title, playhead and party membership are shared. Install watch-party/opx_watchparty as a resource, add it to the load list, set opx_watchparty_public_base to the public HTTPS path, and install the Edge/Chrome extension from watch-party/extension (or the store package when listed). Tests: cd watch-party/opx_watchparty && lua5.4 tests/run.lua; cd watch-party/extension && node tests/sync-core.test.js; the full e2e needs Playwright and Lua. See watch-party/README.md.
A view-only JPEG relay for showing a PC screen on a television. It does not capture DRM-protected video; use the watch party for that. Local loop:
node screen-mirror/test.mjsFor a TLS host:
sudo MIRROR_TOKEN=$(openssl rand -hex 16) ./screen-mirror/deploy/up.sh tv.example.comThe installer prints the sender and receiver URLs. On the game box, use deploy/install-live-nginx.sh or deploy/install-relay.sh, add opx_screenmirror to the resource list, and verify /health. Treat the token and sender URL as secrets. See screen-mirror/README.md.
The phone-sized Android surface has its own repository: nobody71004/open77-phone. The television-sized Android/waydroid room stack and its input path are documented in shared-browser/android-native/README.md.
| Symptom | First check | Fix |
|---|---|---|
open77_media absent from the log |
Resource list / process start time | Add it to the list, restart, or run refresh. |
native media API unavailable |
Client plugin build | Install the host seams from native/; restart the game after the plugin change. |
| Set exists but is invisible | Open77.archive prop host |
Run python tools/check-prop-hosts.py; rebuild prop hosts and assets. |
| Set is visible, page is not | CEF/web host startup | Check the web host log, CEF runtime path and the page's web_ui_page; a missing host can leave the idle surface. |
prop_not_projected |
Archive / prop streaming | The prop's host entity is not installed or not streamed; check the archive and the prop registry. |
not drawing -- occluded + facing: behind |
Player position | You are behind the cabinet; that is the facing gate working. facing: undeclared means the record has no declared front. |
.mp4 / HLS is black or refused |
Decoder | Stage ffprobe.exe/ffmpeg.exe and pass -open77-decoder-dir; check media.list and the page notice. |
| YouTube error 153 | Embedder referrer | The host page pins unsafe-url; test in the actual CEF host, not an automation browser. |
| F5 does nothing | Client resource half / reach | Use /tv; check media.list for the set's reach; /tvkey reset. |
| Screen budget exhausted | Six surfaces per client | Move closer; the client materialises six by distance, with a 5 m hysteresis. |
| Two screens drift | Shared link / clock | The server owns the playhead; a set that joins late seeks to it. Check the link is the same and the page is playing, not paused. |
For the render, the client log is the ground truth: MediaScreens: bound screen ..., not drawing -- ..., and the page's own player_state / embed_framed reports. For the server, media.list names the screen, prop, surface and reason.
- The URL policy is an allow-list of
httpandhttpswith no whitespace or control characters, enforced inserver/main.lua. The page is not the boundary; a custom client can send any message shape. adminOnlyControland the per-set lock both usecommand.media.lock. A locked set refuses non-admin changes on the server, not just in the panel.- The server ad-block list can only add to the compiled client list. A server cannot unblock something the build refuses.
- The shared browser is shared: its cookies, sign-ins, history and clipboard belong to everyone at that set. Do not put a personal account in it and call it private.
- The television does not bypass DRM. Widevine/PlayReady services remain unavailable unless a build has a licensed CDM and the service accepts the host; the watch party is the honest path for those titles.
- The game HUD is not in the depth buffer used by the picture pass, so a world screen still draws over the HUD where they overlap. This is stated in
docs/depth-and-occlusion.mdand is a known limitation, not a bug in a particular set. - A screen surface is capped at 1280 px on its long side. A 100 ft panel is therefore about DVD resolution across its width; the shared browser reaches the panel's edges but does not add source pixels.
The first version of this catalogue reached for whatever props already had host entities -- signage, a painting, a vending machine -- and sized their screen rectangles by eye. It spawned, and it was honest about what it was, but none of it was a television: picking "Framed panel" put a web page on a painting.
These records are the game's own screens. Every model is a 2.31 mesh from the
cooked-archive inventory, and every quad is that mesh's measured bounding box:
WolvenKit.CLI extract -gp <game> -r '.*(television_|screen_device_|smart_frame_|...)' -o work -q
WolvenKit.CLI convert serialize work -o json -q # read Data.RootChunk.boundingBox
Two shapes occur and they are quoted differently. A screen mesh is the display,
so the rectangle is the whole mesh and offset is where its geometry sits inside
its own origin (0.42 m up the television's body, for the 16:9 set). A body mesh
with a separate screen mesh beside it -- television_a_16x9 plus
television_a_16x9_screen_a -- spawns the body and places the screen mesh's
box on it, which is only valid while the two share an origin; the suite asserts
containment so a re-authored asset cannot quietly paint outside the cabinet. A few
meshes are housings with no screen submesh at all (tv_large_a, the device
panels, the security monitor) and there the rectangle is the measured front face,
labelled as such rather than dressed up as a screen measurement.
A surface is one CEF surface mapped 1:1 onto the quad with UVs 0..1, so a surface
of the wrong shape stretches the picture. The game's real screens are 16:9, 21:9
(2.39), 4:3-ish, 2.35 ultrawide, 2:1, square, and portrait 9:16 / 3:4 / 9:21, so
the surface is derived from the rectangle by Open77MediaSurfaceFor -- long side
1280, short side rounded to the nearest even pixel -- and the client calls it with
the quad it was actually sent, so media.quad retunes the surface too. A 21:9
screen showing a 16:9 video letterboxes it, which is what a 21:9 screen does —
that is the <video> path, and the letterbox there is a choice
(shared/records.lua). The live picture in the frame is the other way round, and
is left alone: the frame is the screen box exactly, on every shape, and the
picture inside it keeps the stream's own 16:9 — a television that scaled the
picture to the box would crop it, which is what a 32:9 client reported the day
that was tried (2026-10-16; tests/tv-page/run.mjs sections 32–33 pin the frame
to the box in pixels). What is left over is filled inside the frame by the shared
browser's own page — a blurred copy of the same stream under the picture
(open77-fit.js in the image; shared-browser/README.md, "A box the picture
does not fill") — so a shared browser reaches the edges of a set of any shape
with nothing cut off.
server/main.lua creates a television at volume 75 (DEFAULT_VOLUME), and the
page starts at the same 75 so the slider and the mixer agree from the first frame.
A pasted link auto-detects and plays: the page puts autoplay=1 on the embed, and
the CEF host runs --autoplay-policy=no-user-gesture-required because the URL is
set by the server and the player looking at the set often cannot click it.
The cinema.* records are the catalogue's bare 16:9 display plane at a large
scale rather than a re-authored asset: cinema.100ft is 30.48 x 17.34 m and
cinema.150ft is 45.72 x 26.01 m, both exact 16:9, and both are priced the same
way a prop is -- the engine scales the mesh, and nothing scales our quad,
which is our own arithmetic. Write one of them wrong and a 1.16 m picture hangs in
the middle of a 30 m panel. records_test.lua therefore derives each scaled
record's expected quad from the same model's record at scale 1, so an edit to
either half fails in the suite instead of on a cinema screen in front of an
audience. The two room panels (cinema.100ft, cinema.150ft) are those records,
and the suite holds them to it: same scale, quad, reach and collider,
linkFrom = "opx_tvbrowser" on them and nothing else, and their label
(open77-TV-ROOM (100 ft) / (150 ft)) spelled out there too.
The other half is where it lands. The spawn stand-off used to be a flat 1.1 m in
front of the player, which for the 100 ft panel puts its centre almost 2 m
behind you -- standing inside your own screen, looking at the back of it. The
rule is now one screen-height in front of the picture's own centre, floored at the
old distance, and it lives in the tested placement module: every furniture record
lands within 3 cm of where it used to (tv.large 1.126 m, monitors floored to
1.100 m), while the cinema lands at 20.4 m and 30.6 m.
streamingRadius is set to 300 m and 400 m on those two so a panel that large
does not stop replicating at the default distance, and the client stops drawing a
screen past 150 m -- so on a big lot the far end of the audience sees nothing. The
picture is also 1280 px across 30 m: about DVD, because that is the surface long
side.
This is the part that bites. An alias in Props.cpp is not a spawnable prop until
the asset build emits cyberm\entities\props\open77_prop_<slug>.ent for it, and a
record whose host is missing does not fail -- the prop creation falls back to the
marker mesh, so you get a floor decal with a page stretched over it.
So adding a record is two steps, in this order:
pwsh scripts/build-prop-hosts.ps1 -WolvenKitCli <cp77tools> -GameRoot <game> \
-OutputRoot assets\archive\Open77 -WorkRoot build\generated\prop-hosts \
-OnlyAlias <alias,alias,...>
# then a full build-assets.ps1 run to pack Open77.archive
and EveryCataloguePropHasAGeneratedHost in the server suite fails until it has
been run (docs/generated/prop-hosts.json is the asset build's own manifest).
Measured against the CEF build the client hosts, not assumed — the full figures
and the method are in docs/webui-media-and-audio.md:
| Source | Result |
|---|---|
YouTube (watch?v=, youtu.be/, /shorts/, /live/, /embed/) |
works, and is controllable — it serves VP9/AV1 to a Chromium that says it has no H.264 |
| WebM / Ogg (VP9 + Opus, Vorbis) | works, with seek |
| Vimeo | works as an embed |
plain .mp4 / .m4v / .mov |
refused — no H.264/AAC decoder in this build |
.mp3 / .m4a / .aac |
decoded by the host through the transcode route, like .mp4 |
a link this build cannot decode (.mp4, .m4v, .mov, .m3u8, .mpd, .ts, .flv, .mkv) |
the host decodes it — /op77/media/probe asks ffprobe what the link is, and /op77/media/stream hands the page the same link re-encoded to VP9/Opus WebM. The page shows the decoder's first picture, and the seek bar disables itself until the stream declares a duration rather than lying. Without the decoder staged the verdict is disabled and the screen says which tools are missing. |
a site somebody pasted (hdtoday-style pages, anything without a media extension) |
framed, and its own player decides — the media policy frames any https: origin, so the site's page is shown in a sandboxed frame and the log says embed_framed when a document arrived. If the link is a shell that refuses framing (X-Frame-Options / frame-ancestors) the host resolves it first and the app inside is framed instead — that is what 123movie-tv.it.com turned out to be: 5.7 KB that refuses framing, wrapping two apps that do not. Whether its video plays is then the site's own business: these sites are JS shells over HLS/MP4 that is H.264 + AAC, the pair this build cannot decode, so a site whose player does no codec detection will show its UI and refuse the stream. Nothing about the site is the problem; the codec is. |
any site, through the shared browser (/browser, or a browser cinema from the TV menu) |
plays in a real Chromium on the server — its picture and sound reach the television over WebRTC as VP8 and Opus, which this build decodes, so H.264 players and Twitch play there; everyone at the television sees the same browser, F8 drives it, and Ctrl+V pastes a link copied on your PC into it. The image has no DRM module of its own; the host's own Widevine is mounted into it at run, so protected video can play there too (shared-browser/, "DRM via the host's own CDM"). |
| Netflix, and any Widevine/PlayReady service | measured, and gated twice over — the page now asks requestMediaKeySystemAccess(com.widevine.alpha) (PROTECTED_SERVICES in web/tv.js) instead of assuming no CDM. Playback needs Google's official Widevine CDM and a top-level surface (Netflix refuses to be framed) and Netflix accepting that host — a CDM alone is not enough, and we do not forge Netflix's device check. Wire the CDM in per docs/widevine-cdm-integration.md; the shared browser is the surface that can carry it. For Netflix, a watch party (watch-party/) keeps everyone's own browser in step instead; from the /watch panel a host can also put the Android emulator on the room's screen (/watch android), with a mouse and a keyboard (shared-browser/room/). |
The refusals are deliberate and visible: the page names the codec and why, on
screen. Handing an .mp4 to a <video> element produces a silent black
rectangle, which is the same picture as "the composite is broken" and costs an
afternoon to tell apart.
The figures above are from a probe run inside the real host, kept in
docs/webui-media-and-audio.md: canPlayType('video/mp4; codecs="avc1…"')
answers empty, MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E, mp4a.40.2"') answers false, a real <video> load fails with
NotSupportedError, and EME exists while both Widevine and PlayReady answer
NotSupportedError. WebM/VP9 answers probably and plays.
So an H.264 source can only reach a world screen after something has changed its codec, and there are exactly two honest ways to do that:
- A transcode proxy in front of the page. Resolve the page to its real
stream and hand the screen a VP9/Opus version of it —
ffmpegwill take an HLS/MP4 source and produce either a WebM file or an HLS playlist whose segments are VP9, which this build plays. That makes "paste a link" work for H.264 sites and changes nothing else, at the cost of a process and the CPU to transcode. It does not help DRM services, and it cannot: the key is never handed over. - A CEF build with proprietary codecs. The decoders are absent from this
Chromium build, not from the platform, so a build with
proprietary_codecsenabled plays H.264/AAC directly — no proxy, no transcode, no extra process. It is a bigger change (the runtime ships next to the host and is staged by the host's CMake), and it is the one that makes the page capable instead of making a stream compatible.
Neither route makes a paid service playable. Both make the free, unencrypted H.264 web work, which is what a pasted link usually is.
The repository started as a snapshot. Everything below landed afterwards, and each one is in the suites as well as in the code:
media.move/media.rotate— a set can be nudged along its own axes (forward/back/left/right/up/down) and turned on the spot, from the console or the menu. The prop is patched, never respawned, so every player watching sees the cabinet slide rather than disappear and reappear, and the screen needs nothing at all: the quad is in the prop's own frame, so it follows for free. The arithmetic (shared/placement.lua) is pinned by its own suite, andtests/MediaPlacementIntegrationTests.csdrives the path end to end through the real resource host and the real prop registry — the fourth seam, where a command can report success while the registry still holds the old transform.- A venue's screen keeps the spot an operator gave it. The screens in
MediaVenueSetsare scenery: they come back after every restart, at the coordinates inserver/config.lua— which are a one-off survey, and a survey is wrong in the one place that matters (the drive-in shipped a few metres off). Lining one up used to last until the next restart unless somebody copied the numbers back into a Lua file by hand. The F5 panel now has two controls on those sets: SAVE THIS SPOT writes the place the nudge pad left the screen in, and IN FRONT OF ME takes the coarse step — stand where the audience sits, face the wall, and the screen is put the record's own hanging distance ahead, facing back — then saves that. The spot isdata/venue-sets.json(server/venuesets.lua, one record key per venue), read at start in place of the survey; deleting the file is how an operator goes back to it. Both actions take the position from the server's own read of the player, so a page cannot name a spot to keep, and both are refused on a session set, which has no next start (tests/venuesets_test.lua). - A page no longer outlives its world. The native half releases every screen
when the world goes away; this resource is not stopped by a world change. That
mismatch composited a television over the next loading screen. The client now
releases on
open77:session:endedand, once a second, drops and rebuilds any page whose native screen is gone. - The screen budget is by distance. Six surfaces per client, and the ranking used to give every already-materialised screen absolute priority — so a set spawned at your feet could never win a slot while six others were up anywhere within 90 m, and it stood there as a prop with a page and no picture. Nearest first now, with a 5 m hysteresis so a page is not swapped away by a set that is marginally closer.
- Volume and mute are reported. The page says which channel carried a command and what the player ended up applying; the client logs the on-screen control at the click, before the round trip; the server answers a control that names a set it does not hold instead of returning silently. Without that, "the slider does nothing" and "the slider changed a television three kilometres away" look identical in a log.
- A set's picture is anchored to the frame that is presented
(
native/ScreenMotion.hpp). Corners are projected once per game tick (24–69 Hz, jittery) while the overlay draws per presented frame — with frame generation, frames that sit between those ticks. The picture used to hold a corner set for up to 42 ms and then jump, which read as the image sliding around on its own cabinet while you walked. - A record can declare which side its picture is on (
native/ScreenQuad.hpp). Without it a screen is drawn from whichever side you stand on — "the television is playing on both sides" — and the snapshot now reportsfacingso the log says which of the three it is: behind it, in front of it, or undeclared. - A pasted site is framed, and the page can say so. The media policy granted
frames to YouTube and its no-cookie host and nothing else, so a website link
was refused by our own header before the request left the process — the screen
sat on the idle pattern and the log said only
embed_unverified. It now frames anyhttps:origin (never plaintext), the frame runs sandboxed withallow-top-navigation-by-user-activationso a click can follow a site's own player but a silent redirect cannot take the screen, and the frame'sloadevent is reported asembed_framed: the one thing this side can honestly observe about somebody else's document.webhost/tests/WebHostTests.cppserves the same page under both policies and asserts the pair — media frames, strict refuses — against the real host and real Chromium. - A link that refuses to be framed is resolved instead of given up on
(
native/FramePolicy.hpp,native/FrameResolver.cpp). A pasted site is often a shell: a few kilobytes that sendX-Frame-Options: SAMEORIGINand wrap the application that actually plays. The page cannot see that — a refusal arrives as an error page and is invisible to the embedder, which is why the log saidembed_unverifiedand the screen stayed empty — so the host is asked, from outside, by/op77/web/frame. The answer names both halves: whether the link may be framed, and, when it may not, the embed inside it that may. It is a probe and not a proxy — headers read, markup only when framing was refused, no cookies sent — so the app is then framed by CEF with the site's own origin and session.webhost/tests/WebHostTests.cppresolves the real shell over real HTTP and frames what came back. - An advertisement cannot take the screen (
native/AdBlock.hpp).OnBeforePopupwas unimplemented, so every window a page opened was created — and painted as an overlay, because this host implementsOnPopupShow. The rule that separates an advertisement from a player is the user gesture: a window with no click behind it is advertising by definition, a window a click asked for is followed in place (a television has no tabs, and a player that opens its video in a popup has to play somewhere). Ad hosts are also cancelled as requests and refused as navigations, which is what stops the silent redirect that otherwise eats the page with no click and no way back. - One pointer, not two. A screen session drew two:
WebUiService's cursor at the raw pointer's viewport coordinates, and aStyle::Dotitem at the projection of the pointed-at page pixel onto the panel. They coincide only when the panel fills the viewport, which a television in the world never does — so you aimed with one and clicked with the other. The panel now publishes where its quad landed (native/ScreenInput.hpp) and the cursor is drawn there; a tick that publishes nothing (prop unstreamed, camera behind the screen) falls back to the raw pointer, which is what happens with no session open. - A page is no longer mistaken for a dead stream. The probe is where every
unknown link goes (ffprobe is the only thing here that knows what a link is),
and its
nothingverdict used to be terminal:probing (https://…/hdtoday/)followed bynot_media (the decoder refused the link), with the frame that was waiting on the other side never built. The extension now decides which of the two it is — a link that names a media container and that nothing claimed is dead and says so; a link that names no container is a site and gets framed (not_stream_site, then the framed path). - A link this build cannot decode is decoded by the host
(
native/TranscodePlan.hpp,native/Decoder.hpp).ffprobeanswers what a link is;ffmpegre-encodes what this Chromium cannot play into VP9/Opus WebM and serves it from inside the browser process, so the element, the transport, the volume and the seek logic are the same ones a native WebM uses. The decoder tools are staged next to the host and named at launch, so a host without them answersdisabledwith the reason instead of showing a black rectangle. - Remote content is one decision in two files. A CSP directive is a
permission; the host's
GetResourceRequestHandleris the gate. The header described a privilege the host then cancelled, and the only symptom was a player script that said it had been refused. Both now come fromnative/PagePolicy.hpp. media.spawn/media.placeaccept an omitted URL. The usage string said[url]; the code refused nil withurl_must_be_a_string, so "spawn a television here" failed with a message about an argument the operator had deliberately left out.- The host-name check derives instead of transcribing.
tests/MediaRecordsTests.csused to carry a hand-written list of the host's functions, and it went stale: it namedOpen77.propsas create/remove/all only, so the placement feature'ssetTransform— a real binding on both runtimes — failed as if it were a typo. It now parses the two registration sites, is per runtime (the client and the server surfaces differ, and the bug it exists for was a name used on the side that does not have it), and asserts on its own output so a parser that stops matching fails loudly. - Each player's own TV key (
shared/keys.lua). F5 opened the panel and nothing could move it: the engine's key mapping takes its default at registration. The client now reads the key itself, a player moves it with the panel's CHANGE button or/tvkey <key>(/tvkey resetputs F5 back), the choice is kept per server, and/tvopens the panel with no key at all. A key the host cannot read, or one the game already uses for walking, is refused by name. This ran on XBUNIVERSE staging before it was in this repository. - Two screens showing one link play in step (
shared/clock.lua). Every set plays its link in its own browser, and a player starts at zero the moment it is built, so two cinema screens on one film ran visibly apart and a set that came back into range opened at the beginning of a film an hour in. The server owns the playhead now, and a YouTube set more than a second away from it seeks to it. - The TV's volume and mute reach the shared browser. Its page is the
server's, which the television cannot reach into, so the slider did nothing to
it. The level is posted to the shared browser's client page, where
open77-volume.jsplays the stream through Web Audio: a leveler, the television's gain and a limiter. That is the only way the level reaches the game, which takes a page's sound before an element's volume would apply. 100 is as loud as sound gets without distortion (shared-browser/README.md, "Volume and mute"). - The control strip sits under the picture, not over it. The strip (the
transport, the volume, the address bar, Curtain and Reveal) is shown exactly
while someone is using the screen (F8), and it used to lie across the bottom
fifth of the picture, over the part of the shared browser they were trying to
click. The page is now the screen with the strip under it. While the strip is
shown the picture gives up its height (one row, about 7 % of a 16:9 screen);
when it hides, the picture fills the screen again. The shared browser's strip
leaves out the transport, which does nothing to another browser, and the
on-screen notice no longer takes clicks (
docs/webui-media-and-audio.md,tests/tv-page/run.mjs).
The drive-in in the Badlands (the Bushido film Johnny takes Rogue to) is a level-local screen fed by the game's own movie system, not a CEF surface: the film is shipped media played into a material the level owns. Hijacking it would be engine-side work against a system this repository has not reverse-engineered, and none of it is verifiable from here.
What is the same idea and is reachable: a spawned large screen prop — a billboard, a 33:10 sign, one of the cinema-sized quads in the catalogue — placed wherever the operator wants, running this feature's page, with the menu showing which set is in front of you. Proximity is already how a client decides what to materialise, so "walk up to it and it is the nearest set" is a property of the existing code rather than a new system.
- The HUD. With the picture fixes (
patches/open77-base/), a picture is drawn behind whatever the game drew in front of it, from the game's own depth buffer (see "The picture" below). The game's HUD is not in that buffer: where it overlaps a screen, the picture is still drawn over it, because the overlay composites after the whole frame, HUD included (docs/depth-and-occlusion.md). - Volume on a foreign embed. A YouTube embed is driven through its
postMessagetransport, so volume, mute, pause and seek all work. Any other site's player lives in a document this page cannot reach: the slider moves and nothing happens, and the page says so rather than pretending. The shared browser is the exception: its client page is ours, so it takes the level (shared-browser/README.md, "Volume and mute"). - Screen budget. Eight CEF surfaces per resource, held by the client. A server may hold far more televisions than any one client will materialise, so the client decides which are worth building from the distances the server publishes.
- Facing. The screen's position is server-authoritative (read from the player's own snapshot), but the yaw is accepted from the caller and clamped, because nothing in the player snapshot publishes a heading.
A screen used to be one image quad over its four projected corners, drawn over
everything after the game's frame. That bent the picture along its diagonal on
any set not seen square, painted it over hands, bodies and door frames, and --
with the near end of the cinema behind the camera -- shot it across the sky from
the middle of the view. docs/depth-and-occlusion.md describes the three fixes:
the picture in its plane's own perspective, behind whatever the game drew in
front of it (from the game's own depth buffer), and cut at the camera's near
plane. The depth test also takes its scale only from points on the screen that
agree with each other at different distances (0008). In third person the
player's own back, standing in front of the middle of a screen, had convinced it
that the screen was ten times nearer than it was, and the picture was drawn over
the player's body again. They are a patch series for open77-base in
patches/open77-base/ (its pull request #66), and the files they add are mirrored
in native/ and tests/. One thing they do not change: where the game's HUD
overlaps a screen, the picture is still drawn over it.
dotnet run --project tools/suite-runner # vendored snapshot
dotnet run --project tools/suite-runner -- --from /path/to/open77-baseNo Lua interpreter is needed: tools/suite-runner carries Lua 5.4 through
KeraLua, the binding the monorepo's Open77.Server.Tests already uses, so the
seven suites run anywhere dotnet does — and CI runs them on Linux and Windows
(.github/workflows/ci.yml), which is the first time these suites have been a
gate rather than something somebody remembers to run.
The television page has a browser-level test of its own, which needs Playwright:
npm i -D playwright && npx playwright install chromium
node tests/tv-page/run.mjstools/run-suite.py runs the same six files through a real lua5.4 (pass
--lua /path/to/lua if it is not on PATH). It refreshes the snapshot too. Both
runners write it byte for byte, so the file does not depend on which one you used.
The suite cross-checks every record's model against the prop-model aliases that
open77_admin publishes — the list the prop-host build above emits — which is why
it needs one of the two sources. The vendored snapshot lets it run with no
checkout, but only the --from form cannot drift, and that difference is real:
pointed at a checkout that predates this work, the records suite fails, because
38 records name 36 electronics.* aliases (9 tv, 14 monitor, 7 screen,
6 frame) that such a checkout does not publish. The snapshot is the list the
catalogue was written against; --from is how you find out whether a given
server can spawn these sets at all.
dotnet run --project tools/suite-runner -- --check-fixture
dotnet run --project tools/suite-runner -- --check-fixture --from /path/to/open77-base
dotnet run --project tools/suite-runner -- --refresh-fixture --from /path/to/open77-baseA generated file is only as good as its last regeneration, and the records suite
cannot tell you whether it is current: it proves the snapshot is big enough —
no record names an alias the list lacks — and never that it is up to date.
--check-fixture is that second question. It fails when the file is not in the
form the generator writes (a hand-edited alias, a count line left behind, a lost
CRLF ending, a truncated list), when an alias is listed twice, when it is missing
an alias this repository's own open77_admin hunk in patches/ adds, and —
with --from — when it differs from the live list, naming both directions of the
difference. CI runs the first form on every push, before the suites, so a
malformed snapshot reports as a malformed snapshot.
The snapshot cannot be fresher than the tree it was taken from, and refreshing
from a tree that predates the television work is destructive rather than
informative: pointed at such a checkout today, --refresh-fixture would write the
185 aliases it has and drop the 37 it does not, after which every television
record fails its cross-check. Refresh from a tree that carries the work.
CI cannot see upstream growth by itself, because that needs a checkout of a
private repository: the snapshot is only ever as fresh as its last regeneration
from a tree that carries the work. --check-fixture --from <checkout> is how you
ask that question when you have one.
The complete procedure is in Installation. The two traps below are the ones that otherwise cost an evening.
The resource is self-contained; the render is not, because a browser on a
world quad is host-side work. docs/integration.md names every seam, and
patches/ carries the TV-only hunks of each one.
Two things bite during install, both written up in that document:
- A newly added resource is not picked up because its files appeared. The
automatic rescan is opt-in, so either restart the server or run the console
command
refresh— and until that happens the server looks healthy while the resource simply is not there. - The panel is reached with F5 while a set is in reach (each player can move
that key with the panel's CHANGE button or
/tvkey <key>, and/tvopens it with no key at all), and it is served by this resource (web/remote.html), not by a menu tab. It used to live in thefreeroamresource's menu; that entry is gone, sofreeroamno longer has to be current for a set to be controllable. What F5 needs is the client host seam — the overlay and the page it draws — plus the client half of this resource, which is what decides that a set is in reach at all.
Extracted from Open2077/open77-base (branch feat/cynosure-dev2), which is
where this was developed and verified. open77_media/ and native/ are
verbatim; patches/ holds only the television-relevant hunks of files that
carry other unreleased work, selected mechanically by
tools/extract-tv-patches.py and therefore not a clean patch series — apply
them by hand. The exception is patches/open77-base/: the picture fixes, which
were made as commits on open77-base main and apply with git am; native/ and
tests/ carry their files as that series leaves them.
