Docs / REGISTRY-EXPANSION

Registry expansion — audit, additions and evidence

Source: docs/REGISTRY-EXPANSION.md

Branch EnzoVezzaro/gc-registry-expand, base 8db94f4 (item 189 SQLite catalog +
URL/N64 wizard, item 184 catalog seed). Local commits only; no push, PR, merge,
public-registry edit, credentials, tunnel change or spend. Work is confined to
this worktree; the main checkout was not touched.

The audit below was compiled before any catalog entry was added. Phase 3 is
filled in with real, one-by-one sessions after the additions.

1. What exists today

Surface Reality
Public registry EnzoVezzaro/game-composer-registry at pinned commit fddd40bd… 2 real consoles (jsnes-nes, emulatorjs-snes), 2 games (8bit-table-tennis, pocket-bugs), 3 controllers (nes-pad, snes-pad, keyboard); 10 templates. N64 trio is merged locally by gamecomposer/local_catalog.py at read time.
Item 184 local catalog seed 10/10/10, but 7 of the 10 consoles and 6 of the 10 controllers are saved configurations of the same three/four registry items, and all 10 games are synthetic Composer Test Cart ROMs (tests/catalog_seed/FINAL-REPORT.md). Not real platform coverage.
Source of truth catalog.sqlite3 via CatalogDB; library.json is a mirror. Library.resolve_parts turns saved configs back into registry ids.
Runtime preview.compose builds a v0.2 manifest from a console's manifest fragment + a game + a controller. sandboxes.create* writes it with verified assets, then gamecompose up builds/runs it on Kiri. Linux is the target guest; macOS is only the dev host.

Pin update (item 212): the public registry has since advanced to commit
ecdb90a49a0a7e5115421c53731a61543dde1f9a (tag 2026.11.29), which now
ships the full 15 consoles / 38 games / 14 controllers / 10 templates. The
fddd40bd… row above is the historical snapshot that this audit was taken
against; see REGISTRY.md for the current pin.

What a console entry needs to actually run

  1. manifest.environment: Linux guest, build: ./image, command/args/workingDir/env.
  2. manifest.emulator: pinned HTTPS source (SHA-256, size cap), executable and argv; {game} is replaced with the mounted ROM.
  3. manifest.outputs: video: browser-local plus a port; the guest serves a player page on that port.
  4. buildContext + files: the image context (Dockerfile, player.html, serve.py) copied into the sandbox.
  5. supportedControls and at least one controller with a defaultMapping for the console's platform.
  6. A game whose platform equals the console's platform, with a fetchable, verified ROM.
  7. A BIOS-free core — the architecture has no legal BIOS distribution path.

Existing consoles:

Console Emulator/core Image Player page Port Input Game source
jsnes-nes JSNES 2.1.0 (Apache-2.0) python:3.12-alpine, JSNES + license bundled consoles/jsnes-nes/image/player.html (JSNES browser canvas, gamepad polling, save/load) 8080 NES pad / keyboard MIT table_tennis_v1.0.nes (bundled)
emulatorjs-snes EmulatorJS 4.2.3 / snes9x (GPL-3.0) python:3.12-alpine, loader at runtime from pinned CDN consoles/emulatorjs-snes/image/player.html (EJS_core='snes9x', window.__GC_SNES_INPUT__) 8084 SNES pad MIT pocket-bugs.sfc by pinned URL
gopher64-n64 gopher64 1.2.4 (GPL-3.0) ubuntu:24.04 + Xvfb/xdotool/ImageMagick examples/n64/image/player.html (/frame.jpg, /input) 8086 N64 pad via X11 key events user-supplied URL, SHA-pinned

2. Console candidates (EmulatorJS / libretro browser player model)

Core names, BIOS requirements and licensing were read from
https://emulatorjs.org/docs/systems/* and /docs4devs/cores (EmulatorJS 4.2.3);
the loader at https://cdn.emulatorjs.org/4.2.3/data/loader.js is pinned by
SHA-256 in the existing registry. Core binaries are fetched by the browser at
run time and are not re-hosted, so the GPL/MPL license is honored without
redistributing emulator bytes.

System EJS core Core license BIOS Runs in current architecture? Disposition
NES/Famicom nes → fceumm GPL-2.0 none (Disk System/Game Genie only) yes, browser player added ejs-nes-fceumm
NES/Famicom nestopia GPL-2.0 none yes added ejs-nes-nestopia
SNES snes9x GPL-2.0 none (BS-X optional) yes added ejs-snes-snes9x
SNES bsnes GPL-3.0 none core did not start in a real browser session (90 s timeout, also with the upstream pocket-bugs ROM) blocked, not added: ejs-snes-bsnes
Game Boy gb → gambatte GPL-2.0 optional yes added ejs-gb-gambatte
Game Boy mgba MPL-2.0 optional yes added ejs-gb-mgba
Game Boy Color gb → gambatte (accepts .gbc) GPL-2.0 optional yes added ejs-gbc-gambatte
Game Boy Color mgba MPL-2.0 optional yes added ejs-gbc-mgba
Game Boy Advance gba → mGBA MPL-2.0 optional yes added ejs-gba-mgba
Nintendo 64 mupen64plus_next GPL-2.0 none started but frame counter stayed at 1 (table index is out of bounds) blocked, not added: ejs-n64-mupen
Nintendo 64 parallel-n64 GPL-2.0 none core did not start in a real browser session (90 s timeout) blocked, not added: ejs-n64-parallel
Atari 2600 stella2014 GPL-2.0 none yes added ejs-a2600-stella
Sega Master System segaMS → smsplus GPL-2.0 none required by smsplus yes added ejs-sms-smsplus (MIT RoboZZle ROM)
Sega Game Gear segaGG → genesis_plus_gx GPL-2.0 optional core starts but the captured canvas stays black (no visible game/input response) blocked, not added: ejs-gg-genesis
Mega Drive / Genesis segaMD → genesis_plus_gx GPL-2.0 TMSS optional core starts, frame counter advances, but title screen never changes on input blocked, not added: ejs-md-genesis
Atari 5200 atari5200 → a5200 GPL-2.0 none yes blocked: no licensed game found.
Atari 7800 atari7800 → prosystem GPL-2.0 optional yes blocked: no licensed game found.
PC Engine / TurboGrafx-16 pce → mednafen_pce GPL-2.0 none PAGEERROR: memory access out of bounds, frame counter stuck at 1 blocked, not added: ejs-pce-mednafen
Neo Geo Pocket ngp → mednafen_ngp GPL-2.0 none yes added ejs-ngp-mednafen (GPLv3+ Fast And Fourier ROM)
WonderSwan ws → mednafen_wswan GPL-2.0 none yes added ejs-ws-mednafen (GPLv3+ Ihmesorsa ROM)
Virtual Boy vb → beetle_vb GPL-2.0 none yes added ejs-vb-beetle (GPLv3+ Hover Demo ROM)
Sega 32X sega32x → picodrive GPL-2.0 none yes (docs warn some picodrive cores are broken) blocked: no licensed game found.
Atari Lynx handy GPL-2.0 required proprietary lynxboot.img no skipped: no legal BIOS path.
ColecoVision gearcoleco GPL-2.0 required proprietary colecovision.rom no skipped.
Nintendo DS melonds/desmume GPL-2.0 required proprietary ARM BIOS + firmware no skipped.
PlayStation pcsx_rearmed/mednafen_psx_hw GPL-2.0 required proprietary BIOS no skipped.
Sega CD / Saturn / 3DO / PSP / C64 etc. picodrive / yabause / opera / ppsspp / vice various proprietary BIOS or system ROMs no skipped.
MSX no core in EJS 4.2.3 — — no skipped: unsupported core.

3. Game candidates

/Users/mac/Desktop/Github/awesome-homebrew-games/data/collection.json was the
first source: 70 entries, all hubs/scenes/tools/links; only 7 are named games,
none has a license field, a direct ROM URL, a size or a digest. It is useful as
a discovery index but cannot evidence redistribution rights, so no entry was
taken from it.

Licensed games were instead taken from three authoritative Homebrew Hub
databases, whose game.json carries an explicit gameLicense and developer:

Source Pinned commit Entries scanned With explicit game license
nesdev-org/homebrew-db 7410c2d3e7cebbea4b4c68fd151c76c4aa46791c 25 8
gbdev/database da546b35b9f732177a417701d527d3d9ce1df39d 1377 90 (filtered to MIT/GPL/Zlib/CC-BY/Unlicense)
gbadev-org/games fa2a53895c130c37d4a49533f8f28b559b0618a8 255 14

Plus well-known single-project homebrew from canonical release/raw URLs with
the author's MIT/GPL license in the source repository. Every selected game is
pinned by canonical HTTPS URL + SHA-256 + byte size; the license metadata (or
license text) is stored in registry-staging/licenses/ next to the asset
descriptor. No commercial ROM, abandonware, BIOS or unclear-license file was
added. Game files larger than 5 MiB are pinned by URL+SHA only; in fact all
staged games are URL+SHA pins, so no third-party ROM bytes are committed.

4. Controller candidates

One real input profile per supported system (layout, button names, default
keyboard and gamepad mapping) plus generic Xbox/PlayStation/phone profiles.
The phone virtual pad uses the wire names from item 187
(desktop/virtual-controller/input-map.cjs: A/B/SELECT/START/UP/DOWN/LEFT/RIGHT)
and gamepads: 0. No saved-configuration variants were used as filler.

5. What was added

  • registry-staging/ — catalog-spec.json, generate.py, generated index.json
    (64 entries in the public one-kind format), image contexts, icons, layouts
    and 40 license files. Every file is pinned by path/size/SHA-256.
  • gamecomposer/staging_catalog.py — additive merge of the staged index into
    the default catalog; local files get localPath so Registry.file reads them.
  • gamecomposer/local_catalog.py — one additive call to the staging merge.
  • gamecomposer/catalog_seed.py — install_expansion() installs all staged
    entries through the real Library/SQLite API; games go through
    add_from_url with SHA/size verification. Existing install() unchanged.
  • tests/registry-expansion/test_staging_catalog.py — 10 tests, no network.
  • tests/registry-expansion/e2e.py + capture.cjs — one real Kiri/browser session per staged entry.

Counts after merge (real entries, excluding config variants): 16 consoles
(3 existing + 13 new), 43 games (3 existing + 40 new), 15 controllers
(4 existing + 11 new).

6. Phase 3 — real sessions, one entry at a time

Evidence is produced by tests/registry-expansion/e2e.py (Python/API lifecycle)
and tests/registry-expansion/capture.cjs (Playwright). Each row uses a fresh
disposable sandbox, a real gamecompose up against Kiri, a real browser click
on Start Game, deterministic input through the page's input boundary, before/
after canvas captures with SHA-256, and down of only that disposable sandbox.
No existing sandbox (including gc174-acceptance) is stopped or removed.

The PASS/FAIL table is written to tests/registry-expansion/evidence/REPORT.md
and reproduced in section 8. A row is PASS only when all of: container up,
player HTTP 200, emulator started, a frame captured, input delivered to the
core, and a distinct after-frame. Static checks or API-only evidence never
count as PASS. Result: all 64 staged entries PASS (13 consoles, 40 games,
11 controllers). Eight additional candidates failed this bar and were removed
from the staged catalog; they are recorded in section 9.

7. Honest boundary

Adding an entry is not the same as publishing it: the public registry and its
pinned digest are untouched. Hosting ROM bytes or the emulator cores in that
repo would require a separate license review and the owner's approval.

8. Final per-entry report

Every row below has a real Kiri session behind it. PASS requires: container up, player HTTP 200, emulator started, canvas frame captured, input delivered to the core, and a distinct after-frame. No static check is counted.

PASS counts: 13/13 consoles, 40/40 games, 11/11 controllers.

kind id license SHA-256 (ROM) status evidence
console ejs-nes-fceumm GPL-3.0 — PASS tests/registry-expansion/evidence/console-ejs-nes-fceumm.json
console ejs-nes-nestopia GPL-2.0 — PASS tests/registry-expansion/evidence/console-ejs-nes-nestopia.json
console ejs-snes-snes9x GPL-2.0 — PASS tests/registry-expansion/evidence/console-ejs-snes-snes9x.json
console ejs-gb-gambatte GPL-2.0 — PASS tests/registry-expansion/evidence/console-ejs-gb-gambatte.json
console ejs-gb-mgba MPL-2.0 — PASS tests/registry-expansion/evidence/console-ejs-gb-mgba.json
console ejs-gbc-gambatte GPL-2.0 — PASS tests/registry-expansion/evidence/console-ejs-gbc-gambatte.json
console ejs-gbc-mgba MPL-2.0 — PASS tests/registry-expansion/evidence/console-ejs-gbc-mgba.json
console ejs-gba-mgba MPL-2.0 — PASS tests/registry-expansion/evidence/console-ejs-gba-mgba.json
console ejs-a2600-stella GPL-2.0 — PASS tests/registry-expansion/evidence/console-ejs-a2600-stella.json
console ejs-sms-smsplus GPL-2.0 — PASS tests/registry-expansion/evidence/console-ejs-sms-smsplus.json
console ejs-ngp-mednafen GPL-2.0 — PASS tests/registry-expansion/evidence/console-ejs-ngp-mednafen.json
console ejs-ws-mednafen GPL-2.0 — PASS tests/registry-expansion/evidence/console-ejs-ws-mednafen.json
console ejs-vb-beetle GPL-2.0 — PASS tests/registry-expansion/evidence/console-ejs-vb-beetle.json
game db-annalog GPL-3.0-or-later 4f485e6583b3543ec6976c618c0bcfccd2a164ed7018cf92ff8c0f27b507061d PASS tests/registry-expansion/evidence/game-db-annalog.json
game db-croom GPL-3.0-or-later 9b0b1e9b14b07a2e69db287e04f711e16af42b6cc85523b66bdfa640df80507a PASS tests/registry-expansion/evidence/game-db-croom.json
game db-cybercoaster CC-BY-4.0 40a7631e1ae15b2120437f080b623ea23c11d475429d568f11d33b0f80e234b1 PASS tests/registry-expansion/evidence/game-db-cybercoaster.json
game db-novathesquirrel GPL-3.0-or-later e4780e90b9d1587489bfb797d2ca395be21371ea9262fa9f87f99324ec6960ab PASS tests/registry-expansion/evidence/game-db-novathesquirrel.json
game db-rhde FSFAP b2c4748a5b3651e393572046daf126213653b58b55472cdfdf4b863834dd0241 PASS tests/registry-expansion/evidence/game-db-rhde.json
game db-thwaite GPL-3.0-or-later 80e0918ea17577477c2f1b16beefadf457f207931ffbeae7612d8d230f999843 PASS tests/registry-expansion/evidence/game-db-thwaite.json
game db-zap-ruder Zlib dc007ccbeeb8aebe19e8ec08091c0a1140a22254804d7443dc82f3b955934d8b PASS tests/registry-expansion/evidence/game-db-zap-ruder.json
game db-flooder MIT fc5b3c68dc9a8685eabe3dc69f937a0e703a236821b3d710bc60c797a85957e4 PASS tests/registry-expansion/evidence/game-db-flooder.json
game db-tobutobugirl MIT 5d3871cae77db2287807e8914fd21f76203e73aa3fec20955489d45cb4571d8f PASS tests/registry-expansion/evidence/game-db-tobutobugirl.json
game db-porklike-gb MIT d4ee86833a580c92aa789aef03407b90a6cc6eb27e70d3477c41c970d0cf3f11 PASS tests/registry-expansion/evidence/game-db-porklike-gb.json
game db-droneboy MIT 5c7aeadb6ee836f6091975d5e57c0759705c4c3d5ead5d19cd6496f7c7e8134a PASS tests/registry-expansion/evidence/game-db-droneboy.json
game db-wyrmhole MIT a5e07f89119ee9c93aa50ec1ff828b2441781fa9b1a137f03af7b6c53ce03252 PASS tests/registry-expansion/evidence/game-db-wyrmhole.json
game db-plantboy MIT 4b62569dfa8eda20912166b66306ff71885282916e78d760e2a7e3ec4ab3aa01 PASS tests/registry-expansion/evidence/game-db-plantboy.json
game db-shock-lobster ZLib f14efd0340903b1b00d7e8b4b39687d4bc33355ac7742267ccfddfe92f54a611 PASS tests/registry-expansion/evidence/game-db-shock-lobster.json
game db-carazu GPL-3.0-or-later eef9dea9ecba15be7b21f3495e8c8bad937a0b2245cac09eec8baf61dfc91fb5 PASS tests/registry-expansion/evidence/game-db-carazu.json
game db-maxpirate MIT ade748a976cc87d382cf538daf441a3545c324c81d5fcda1f89ec0511b227d7a PASS tests/registry-expansion/evidence/game-db-maxpirate.json
game db-bit-bang GPL-3.0-or-later 2a4e25370cab3fa7b76a7ca630321b585be70aa4030ac776228c0641154c7735 PASS tests/registry-expansion/evidence/game-db-bit-bang.json
game db-tobutobugirldeluxe MIT 0a0e8018dbbc8d7f8cd99f05e7cdc7b4cc9e358ecfe9377ebfb2291a84c6e310 PASS tests/registry-expansion/evidence/game-db-tobutobugirldeluxe.json
game db-gbhack MIT f93a27e8b6272771bbba96105a2754f27ffc3f8317d71c063bdbd60dd0d74527 PASS tests/registry-expansion/evidence/game-db-gbhack.json
game db-a-slime-travel Zlib a92919a1e0d78683f0a245de55d3fc1a0fc07df74a758084ab2e552cb3bc115c PASS tests/registry-expansion/evidence/game-db-a-slime-travel.json
game db-minicraft-gba GPL-3.0-or-later d0a62b6457b0d6fab383c417dca7ce9bcb9e239ced4c047e5fcbd1e010844caf PASS tests/registry-expansion/evidence/game-db-minicraft-gba.json
game db-grimlight MIT 440759f57cde56652713421c1d537c9742363981fe5a3190960962a46f6f8132 PASS tests/registry-expansion/evidence/game-db-grimlight.json
game db-meteorain-gba-jam-2021 MIT ce45d4624c385bf2aa4545aee8613cfff5f4b1f3879a0c704dfc5e349f64798d PASS tests/registry-expansion/evidence/game-db-meteorain-gba-jam-2021.json
game db-ucity-advance GPL-3.0-or-later c94413b46c45af5d4ba050f69a53db0df7a4bd5f58b13e347f64f8eed03cff7a PASS tests/registry-expansion/evidence/game-db-ucity-advance.json
game db-gbatris GPL-3.0-or-later 607ba9f6ad2a3b7af9863bc8ee979fe77c77619119c22e8ab04cfa4729255c67 PASS tests/registry-expansion/evidence/game-db-gbatris.json
game db-xniq MIT 49da35070ebfc3760a07354a0f90a68c16bd0590046cc99d8a7dfcd947563cc1 PASS tests/registry-expansion/evidence/game-db-xniq.json
game galaxy-patrol MIT 97c1757ffd6a5bc1a591809b2b0f8988741f61f6abd82889c148ecae8a2f471f PASS tests/registry-expansion/evidence/game-galaxy-patrol.json
game falling-nes MIT e22b947542c2d7e595bf84725b333be7af8189c5965b9c53e356a249c7d79943 PASS tests/registry-expansion/evidence/game-falling-nes.json
game stallar MIT b5584e142db178fc356b70d635cb290f250a85569461b5915969617740c551f0 PASS tests/registry-expansion/evidence/game-stallar.json
game famidash MIT 128910cf18ed312d9623249e32751329cd2696f5f870bbd65cd7ca50cece859d PASS tests/registry-expansion/evidence/game-famidash.json
game poachermon MIT 67a4109d6aad21a59c3f9f267966e838fa04d24a7a04e2359f5052b3548dfa3c PASS tests/registry-expansion/evidence/game-poachermon.json
game roborun-nes GPL-3.0-or-later 16a3c5d52d8f4d71322e2e24530c66292c015f5969d38ace826a9231eb5ea516 PASS tests/registry-expansion/evidence/game-roborun-nes.json
game tortimer MIT fee3ad2e7e3bed2e60f2722c5cb828e8831a800a8a09013dff548f17651ae241 PASS tests/registry-expansion/evidence/game-tortimer.json
game pipes-2600 MIT 5313fe8d2733d7d8e0ce5b53c4708552b8fb4daffe25fb5fb841cee350e7ff60 PASS tests/registry-expansion/evidence/game-pipes-2600.json
game atari-pong MIT 1d0a3c775cdebcc161b7db10e6f6c0701126d11bd8ebb91fe9a7fdd17e571ea2 PASS tests/registry-expansion/evidence/game-atari-pong.json
game cyloid MIT 1f000378288dedd61cbb4970f53d66cbd82406bad5f48127db683d2c3954e12a PASS tests/registry-expansion/evidence/game-cyloid.json
game robozzle-sms MIT c6ce30e7f0aaec6e2fdc951734c50778dd8b265522fd3ffdc6b8178177a2ce5d PASS tests/registry-expansion/evidence/game-robozzle-sms.json
game fast-and-fourier-ngp GPL-3.0-or-later (ps5-payload-dev/websrv repository license) 12f983e9f688357e71060d781cf59da02733f7d1e08f3503906bf3a4a46ee46a PASS tests/registry-expansion/evidence/game-fast-and-fourier-ngp.json
game ihmesorsa-ws GPL-3.0-or-later (ps5-payload-dev/websrv repository license) a068b9506ccb646acd0bbf99d97d63a112b385acee72ebaeccd9915e1888a7f6 PASS tests/registry-expansion/evidence/game-ihmesorsa-ws.json
game hover-vb GPL-3.0-or-later (ps5-payload-dev/websrv repository license) 60c02282f65caa7e0dec750c839fdf3da3ade545227138572795660f90319bcf PASS tests/registry-expansion/evidence/game-hover-vb.json
controller gb-pad MIT — PASS tests/registry-expansion/evidence/controller-gb-pad.json
controller gbc-pad MIT — PASS tests/registry-expansion/evidence/controller-gbc-pad.json
controller gba-pad MIT — PASS tests/registry-expansion/evidence/controller-gba-pad.json
controller sms-pad MIT — PASS tests/registry-expansion/evidence/controller-sms-pad.json
controller a2600-pad MIT — PASS tests/registry-expansion/evidence/controller-a2600-pad.json
controller ngp-pad MIT — PASS tests/registry-expansion/evidence/controller-ngp-pad.json
controller ws-pad MIT — PASS tests/registry-expansion/evidence/controller-ws-pad.json
controller vb-pad MIT — PASS tests/registry-expansion/evidence/controller-vb-pad.json
controller xbox-pad MIT — PASS tests/registry-expansion/evidence/controller-xbox-pad.json
controller playstation-pad MIT — PASS tests/registry-expansion/evidence/controller-playstation-pad.json
controller phone-virtual MIT — PASS tests/registry-expansion/evidence/controller-phone-virtual.json

9. Runtime-blocked and removed candidates

Every candidate below was staged and exercised in a real session, then removed
because it did not meet the evidence bar (or had no console at all). Raw
evidence files remain under tests/registry-expansion/evidence/.

Candidate Exact reason Evidence
ejs-snes-bsnes page.waitForFunction: Timeout 90000ms exceeded; core never set EJS_emulator.started, also with the upstream pocket-bugs ROM. console-ejs-snes-bsnes.json
ejs-n64-mupen Core started but frame counter stayed at 1 and PAGEERROR: table index is out of bounds; frames identical. console-ejs-n64-mupen.json
ejs-n64-parallel page.waitForFunction: Timeout 90000ms exceeded; core never started. console-ejs-n64-parallel.json
ejs-gg-genesis / gg-pad with Sega Tween Core started and frames advanced, but the captured canvas stayed black (no visible game or input response), including a requestAnimationFrame / toDataURL capture. session-01fix2.json, diag-gg-rAF-before.png
ejs-md-genesis / md-pad with the MIT test ROM and The Kessler Incident Core started and frames advanced, but the title screen never changed after 14 gamepad indexes and keyboard input; no input-to-display proof. session-02fix2.json, session-03fix1.json
ejs-pce-mednafen / pce-pad PAGEERROR: memory access out of bounds, frame counter stuck at 1; after fixing the unsafe ROM filename the core still did not render. session-03fix2.json
a5200-pad, a7800-pad staged, no console yet: no open-licensed homebrew ROM with a canonical URL could be found for Atari 5200/7800; their earlier PASS rows were on GB systems and proved nothing, so they were removed. controller-a5200-pad.json, controller-a7800-pad.json (historical, invalid)
gg-pad, md-pad, pce-pad Removed together with their consoles above: staged, no console that passes the evidence bar. see rows above

The four replacement pads were fixed with real consoles and games of their
own systems: sms-pad → ejs-sms-smsplus + MIT RoboZZle SMS, ngp-pad →
ejs-ngp-mednafen + Fast And Fourier, ws-pad → ejs-ws-mednafen +
Ihmesorsa, vb-pad → ejs-vb-beetle + Hover Demo. The three generic profiles
were re-checked against real games: xbox-pad on RoboRun NES 1.1
(ejs-nes-nestopia), playstation-pad on Annalog (ejs-nes-fceumm), and
phone-virtual on Annalog (ejs-nes-fceumm). All three show a captured
frame pair with input delivered to the core.

10. Runtime network dependency (loader.js / cores)

The EmulatorJS player page requests /emulator.js, which the guest serves from
the manifest's pinned emulator source:
https://cdn.emulatorjs.org/4.2.3/data/loader.js, SHA-256
69e0903bf1e2f62ced78895e7e511fa26e11316f7eb734925c35e919ba1287b2 (7,594 bytes). The digest is verified on every fetch and the
player also sets EJS_pathtodata to the same pinned 4.2.3 CDN directory, so the
libretro core WASM/data are downloaded by the browser at run time. This is a
real network dependency
; offline runs need those bytes cached. Vendoring
loader.js would be cheap (7.6 KB per console image), but the cores are much
larger and still CDN-hosted, and changing the player contract would require
re-running all 64 sessions, so it was not done in this review. Pinning is
already in place and enforced by registry.py.

11. Verification and cleanup (review follow-up)

  • npm --prefix desktop test: 303 tests, 303 pass, 0 fail.
  • npm --prefix desktop run check: clean, exit 0.
  • npm --prefix sdk test: 18 tests, 18 pass, 0 fail.
  • Python suite (PYTHONPATH=. .venv/bin/python -m pytest -q --ignore=tests/url-source --ignore=tests/url-swarm):
    256 passed, 11 subtests passed.
  • git diff --check: clean.
  • All disposable sandboxes created by the original run and this review were
    down-ed and removed. gc174-acceptance and every pre-existing sandbox
    were left untouched.

Back to all docs