rscore-web 2.16.0: the website's emulators: rscore (apps/native/core, the apps' emulator frontend) with one of RetroBU's emulators linked into each WebAssembly module (its ES module glue beside it), with the Session API (rscore-session.mjs: it loads the module a game's system needs) and the AudioWorklet that plays their sound (rscore-audio.worklet.js): rscore-rbemu.wasm, rscore-rbemu.mjs Game Boy, Game Boy Color, Game Boy Advance and Nintendo DS: RetroBU's emulator, rbemu (cores/skyemu: based on SkyEmu 9b6bbb6aa73cebae6cb52ea60d04f803acadc480, with RetroBU's changes) rscore-rbemu-mt.wasm, rscore-rbemu-mt.mjs the same, threaded: a DS game's 3D and 2D drawn on threads of rbemu's own (Web Workers), for a cross-origin isolated page rscore-rbsnes.wasm, rscore-rbsnes.mjs Super Nintendo: RetroBU's SNES emulator, rbsnes (cores/lakesnes: based on LakeSnes 048a0d72568668f74e0cdf371dcd9e8efd614965, with RetroBU's changes) rscore-rbps2.wasm, rscore-rbps2.mjs PlayStation 2: RetroBU's PS2 emulator, rbps2 (cores/play: based on Play! 1f27232772e484bfb79364b751b84f41f4c87481, with RetroBU's changes), threaded, with rscore-ps2.mjs (its page API) and its workers rscore-rbps2-host.mjs and rscore-rbps2-disc.mjs Built by apps/native/core/build-web.sh (never in CI) with emscripten 4.0.8, llvm 21.1.8, cmake 3.31.9, ninja 1.12.1 (the pins are in BUILD.json), from rscore's tree 6b4a618583c1f93f5737f4037d10f6fc79cfdd4d, rbemu's tree 7ddee4afafcf892d3fd057345d4bf2a497e904c0 and rbsnes's tree 85b2ae25c84235090a20f8c3631d5e21394baa09 and rbps2's tree 43fd804a069569af7978020a6150c33ec85e211c; copied here unmodified by `build-web.sh vendor 2.16.0`. rscore-rbemu and rscore-rbsnes are single-threaded (no SharedArrayBuffer, no COOP/COEP); rscore-rbemu-mt's memory is a SharedArrayBuffer, so it runs only on a cross-origin isolated page (COOP same-origin, COEP require-corp), and the website loads it only there, for a DS game. All need WebAssembly exception handling (legacy encoding) and AudioWorklet. rbemu's ARM recompiler (a DS game's two CPUs; a GBA game's, 2.8.0 on) compiles the WebAssembly it writes as a game runs (a page's Content-Security-Policy allows it with 'wasm-unsafe-eval'), and where that's refused runs its portable backend; the modules it writes carry WebAssembly's branch hints (2.9.0 on: a custom section, metadata.code.branch_hint, which an engine that doesn't read it skips), and on a page each goes first to a Web Worker of its own made from a Blob (2.10.0 on: a page's worker-src allows it with blob:), which calls its functions, so the browser's compile of each is that worker's, not the page's; without one the module is instantiated as before. rscore-rbps2's memory is a SharedArrayBuffer too (Play!'s VM runs on a thread of its own): it runs in a worker of a cross-origin isolated page (rscore-ps2.mjs's host worker), never on the page's thread, draws with WebGL 2 on an OffscreenCanvas the page transfers, and Play!'s recompiler compiles the WebAssembly it writes as a game runs ('wasm-unsafe-eval'). The same build from any folder gives the same bytes. Hashes: SHA256SUMS.txt (`sha256sum -c SHA256SUMS.txt`; it lists every file here but itself and this one). The version is in the path: a deployed folder never changes; a rebuilt module is a new version (2.0.1, ...). Licences (served to browsers = distribution): licenses/rscore-NOTICE.txt lists rscore-rbemu's, licenses/rscore-rbsnes-NOTICE.txt rscore-rbsnes's, licenses/rscore-rbps2-NOTICE.txt rscore-rbps2's. RetroBU's emulator (rbemu): SkyEmu's code - MIT - licenses/rbemu-LICENSE.txt with the Cult-of-GBA BIOS (MIT), Gilead Kutnick's DS BIOS replacement (BSD-style), the DS ROM database (MIT, melonDS team), LakeSnes's SPC700 and S-DSP, the Super Game Boy's sound unit (MIT), SameBoy's Game Boy Color boot tables, a Game Boy game's colours on a Game Boy Color (MIT), and libretro.h (MIT) - licenses/rbemu-NOTICE.txt RetroBU's SNES emulator (rbsnes): LakeSnes's code - MIT - licenses/rbsnes-LICENSE.txt with rules of ares's SA-1 (ISC) and libretro.h (MIT) - licenses/rbsnes-NOTICE.txt RetroBU's PS2 emulator (rbps2): Play!'s code, its Framework and CodeGen - BSD 2-Clause - licenses/rbps2-LICENSE.txt, with libchdr (BSD 3-Clause), dr_flac, the LZMA SDK, zlib, Zstandard's decoder (BSD 3-Clause), xxHash (BSD 2-Clause), ghc::filesystem (MIT) and libretro.h (MIT) - licenses/rbps2-NOTICE.txt; Play!'s high-level BIOS, no Sony BIOS, firmware or keys miniaudio 0.11.25 - public domain or MIT-0; libretro.h - MIT; Emscripten's runtime and system code, with Node.js's path functions - MIT; musl - MIT, and its math from Sun and Arm under their own notices; dlmalloc - public domain; LLVM libc++, libc++abi, libunwind, compiler-rt - Apache-2.0 WITH LLVM-exception - licenses/ rscore (the frontend, rscore-session.mjs, rscore-audio.worklet.js) and RetroBU's changes to SkyEmu and LakeSnes - RetroBU's, not open source Source: none is owed (nothing in the modules is under a licence that asks for it); rbemu's is this repository's cores/skyemu, rbsnes's cores/lakesnes. No BIOS, boot ROM or firmware files from Nintendo or Sony are included or used: the DS firmware rbemu gives games is its own, made from the hardware's documented layout (cores/skyemu/retrobu/nds_firmware.c), and the program rbsnes's SNES sound CPU starts from is RetroBU's own (cores/lakesnes/retrobu/spc_boot.h); nor is any cartridge chip's program: rbsnes emulates what the NEC DSPs (DSP-1, DSP-2) and the ST010 do (cores/lakesnes/UPSTREAM.md, "The NEC DSPs and the ST010"); nor is the Super Game Boy's: rbemu does what its SNES program does (cores/skyemu/retrobu/gb_sgb.h), and the sound program its SPC700 runs, with its effects, instruments and samples, is RetroBU's own (cores/skyemu/retrobu/gb_sgb_sound.c).