Docs / N64-URL-SOURCES

N64 URL sources (gopher64 + Tortimer homebrew)

Source: docs/N64-URL-SOURCES.md

Additive support for entering an emulator URL and a game URL in the
Create wizard. NES and SNES templates/library/local flows are unchanged.

Pinned assets

Asset URL SHA-256 Size License
gopher64 v1.2.4 (Linux aarch64) https://github.com/gopher64/gopher64/releases/download/v1.2.4/gopher64-linux-aarch64 738390197d834093246d1055b578399c7935a873b855edf5a4a442c57012144b 55,385,392 GPL-3.0 (GitHub repo license: gpl-3.0)
gopher64 v1.2.4 (Linux x86_64) https://github.com/gopher64/gopher64/releases/download/v1.2.4/gopher64-linux-x86_64 d8d342936d5178ec9eccf7e9d793ae11b8fae57c9b98481d65cc3542901d9ab3 60,960,792 GPL-3.0
Tortimer r1 (N64 homebrew by celerizer) https://github.com/celerizer/Tortimer/releases/download/r1/Tortimer.z64 fee3ad2e7e3bed2e60f2722c5cb828e8831a800a8a09013dff548f17651ae241 229,376 MIT (registry-staging/licenses/tortimer-MIT.txt)

Digests were computed from the bytes actually downloaded from those URLs
(Tortimer re-checked 2026-11-29: SHA-256 and size match). Item 193 booted
Tortimer in real gopher64 (tests/registry-expansion/evidence/game-tortimer.json).
The v0.2.0 pre-release ran it again through sandbox.createFromUrls with the
exact preset (disposable sandbox, removed afterwards). The player rendered
Tortimer's menu and /status frames advanced 594 → 599. See
desktop/docs/screenshots/player-shell-contrast/session/.

Policy. Kitty never points to, bundles or suggests commercial ROMs. The
example game is open-licensed homebrew, pinned by URL and SHA-256. Users can
still load any file they own from their own disk.

History note (v0.2.0 pre-release, 2026-11-29). Item 189 originally used a
commercial N64 ROM URL as the example. That URL was removed from the app,
catalog, docs and tests, redacted in the historical report below, and the
screenshots and frames of that game were deleted from the repo. The
capability evidence table below describes the item 189 run and is kept as a
record of what was proven about gopher64; re-running
tests/e2e-n64-real/run.cjs now uses Tortimer. A second entry with the same digest for the same
kind is deduplicated in the SQLite catalog.

How it runs

  • gamecomposer/local_catalog.py merges an n64 console, an n64-pad
    controller and a descriptor for the game URL into the catalog when the
    default pinned registry is used. The remote index.json and its SHA-256
    pin are not modified.
  • sandbox.composeFromUrls previews a manifest with both URL sources pinned
    (sha256 + maxBytes); library.inspectUrl computes those pins on demand.
  • sandbox.createFromUrls fetches both assets, verifies digest and size,
    stores them in the content-addressed library store, writes catalog rows with
    provenance = 'url', and creates a Kiri project whose manifest uses verified
    local asset paths. Launch needs no network.
  • examples/n64/image/ builds an Ubuntu 24.04 Linux guest: Xvfb + Mesa
    lavapipe (gopher64 needs VK_KHR_surface, missing from plain Xvfb) + a small
    HTTP player. The player publishes real X11 frames as frame.jpg, a status
    endpoint, and an input endpoint that sends X11 key events to the gopher64
    window with xdotool.

Capability evidence (real run, not a claim)

Command:

GAMECOMPOSER_PYTHON=/path/to/python node tests/e2e-n64-real/run.cjs

The script drives the real Electron shell (URL source → N64 preset → Create),
lets the wizard start the sandbox in Kiri, then opens the published player URL
in Chromium. Raw results are in
tests/e2e-n64-real/artifacts/n64-e2e-report.json (game URL redacted; the
original screenshots and frames showed a commercial game and were removed). outcome: PASS in that report required a rendered frame, a player
<img> with naturalWidth > 0, three acknowledged inputs and a changed frame.

Capability Status Evidence / boundary
Video PROVEN The item 189 run captured player screenshots and raw Xvfb JPEG frames (frame-before.jpg 23,313 B, SHA-256 cf09689f…; frame-after.jpg 29,438 B, 670788cf…); those images showed a commercial game and were removed from the repo in the v0.2.0 pre-release. /status reported window=2097167, frames increasing 31 → 44.
Input PROVEN (delivery + visible state change) Player button A was clicked and three POST /input calls returned ok:true, x11:"Return", window:2097167; frame SHA-256 changed. A separate manual probe on the same wizard-created sandbox advanced the title screen into the game intro after four START presses (images since removed; see the history note). Strict frame-by-frame causal attribution is not claimed for the splash frame, which also animates on its own.
Audio NOT PROVEN (disabled) The manifest declares outputs.audio: none and the guest runs with SDL_AUDIODRIVER=dummy. No audio device, stream or capture was configured or tested. gopher64 itself supports audio; this setup does not claim it.
Saves NOT PROVEN Kiri mounts ./data/saves and ./data/user, and gopher64 runs with cwd=/gamecomposer/user, but no save → restart → load round-trip was executed. No persistence claim is made.

Blocker found and resolved during this run: plain Xvfb has no
VK_KHR_surface, so gopher64 panicked with Could not create window: Installed Vulkan doesn't implement the VK_KHR_surface extension (exit status 101,
src/ui/video.rs:105). The guest now installs Mesa libvulkan1 +
mesa-vulkan-drivers and sets VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/lvp_icd.json
(lavapipe/llvmpipe). With that ICD the real emulator created a 640×480 swapchain
and rendered the ROM. No Kiri daemon restart or tunnel change was used.

The pinned remote NES/SNES registry and its SHA-256 were not modified; the N64
console/controller are merged locally only when the default registry is in use.

Back to all docs