Docs / README
SNES: Kit’s Rooftop Run
Source: examples/snes/README.md
This example demonstrates a browser-local SNES session using the Kiri runtime, EmulatorJS 4.2.3, and the Kit’s Rooftop Run homebrew game. It requires no local ROM or emulator download: gamecomposer.yml declares HTTPS URLs and SHA-256 digests for both assets. gamecompose up fetches and verifies them before starting the session.
Run
From the repository root:
gamecompose --file examples/snes/gamecomposer.yml config
gamecompose --file examples/snes/gamecomposer.yml up
Open the returned player URL and press Start Game before playing. That click is required: a programmatic auto-start is not a trusted user gesture, so Chromium keeps the AudioContext suspended and the WebGL canvas stays black until the player clicks. The local server also implements HEAD for the mounted ROM because EmulatorJS probes the game URL with HEAD before downloading it.
The returned player URL is bound to 127.0.0.1. The page itself contacts the EmulatorJS CDN at the pinned 4.2.3 data path to load its SNES core and WebAssembly. The host browser therefore needs internet access to cdn.emulatorjs.org. The Game Composer service only serves its local page, downloaded loader, and mounted ROM.
Sources and rights
- Game:
k0b3n4irb/opensnesKit’s Rooftop Run ROM. The source project is MIT-licensed; its README describes its sample assets as CC0. The manifest pins the repository commit and ROM SHA-256. - Emulator: EmulatorJS 4.2.3 CDN. EmulatorJS documents CDN embedding and the SNES core. Its own license and third-party core notices remain applicable.
No commercial game ROM or BIOS is included. The selected homebrew title and its attribution are explicit so the example can be redistributed with provenance.
Scope
This is an interactive local browser player, not a hosted cloud gaming service. Video/audio rendering and controller input happen in the operator's browser through EmulatorJS; Kiri runs a small Linux container that serves the pinned assets. The manifest's controller mapping is descriptive and does not itself pair or forward a physical controller. Keyboard input was observed reaching the SNES core in the recorded run; gamepad behavior remains unverified. See EVIDENCE.md for the scoped result, exact commands, and screenshots.

