Legal
Open-Source Software
The RetroBU website plays games on RetroBU’s emulators, which are built on open-source software made by other people. This page lists everything of theirs that the website ships, its licence and where its source code is.
Each component is under its own licence, not our Terms of Service, and nothing in our terms limits the rights those licences give you. The components come with no warranty from their authors, as their licences explain.
The website’s emulators
The website plays every game on RetroBU’s three emulators, and on nothing else: rscore-web 2.16.0, served from lib/rscore-web/2.16.0/, has one for Game Boy, Game Boy Color, Game Boy Advance and Nintendo DS games, one for Super Nintendo games and one for PS2 games, each in a WebAssembly module of its own, with two JavaScript files they share, rscore-session.mjs and rscore-audio.worklet.js, and three of the PS2’s own. A page loads only the module its game needs.
RetroBU’s emulator: rscore-web 2.16.0, for Game Boy, Game Boy Color, Game Boy Advance and Nintendo DS
rscore, RetroBU’s own emulation layer, compiled to WebAssembly together with rbemu, RetroBU’s emulator core. rbemu is based on SkyEmu, by Skyler “Sky” Saleh and contributors, under the MIT licence. It’s a modified version: we changed SkyEmu, and SkyEmu’s authors didn’t make, review or endorse our changes. It’s rscore-rbemu.wasm and rscore-rbemu.mjs, and, for a DS game in a browser that can run it, their threaded twin, rscore-rbemu-mt.wasm and rscore-rbemu-mt.mjs: the same, built with Emscripten’s threads, so that the DS’s 3D and 2D drawing runs on threads of its own. It contains:
| Component | What it does | Licence | Source |
|---|---|---|---|
| rscore | Runs the core: its picture, sound, saves and save states | RetroBU’s own code | Not published |
| rbemu, our version of SkyEmu | Game Boy, Game Boy Color, Game Boy Advance and Nintendo DS | SkyEmu’s code: MIT. Our changes are RetroBU’s own | SkyEmu: github.com/skylersaleh/SkyEmu, commit 9b6bbb6, the version ours started from |
| The Cult-of-GBA BIOS, part of rbemu | The Game Boy Advance BIOS replacement it runs GBA games on | MIT | github.com/Cult-of-GBA/BIOS, commit 0d9dd3e |
| The DS BIOS replacement by Gilead Kutnick, part of rbemu | The ARM7 and ARM9 BIOS it runs DS games on | A BSD-style licence (below) | In SkyEmu’s source, src/freebios |
| The DS ROM database, part of rbemu | Which save chip each DS game has | MIT (the melonDS team relicensed it for SkyEmu) | In SkyEmu’s source, src/nds_rom_database.h |
| LakeSnes’s SPC700 and S-DSP, part of rbemu | The Super Game Boy’s sound unit, on which our own sound program plays a game’s sound effects and tunes | MIT | LakeSnes: github.com/dinkc64/LakeSnes, commit 048a0d7 |
| SameBoy’s Game Boy Color boot tables, part of rbemu | The colours a Game Boy game gets on a Game Boy Color: the palettes its boot picks by the game’s title, and the twelve a player picks with a key combination (none of Nintendo’s boot ROM) | MIT (Expat), Lior Halphon | SameBoy: github.com/LIJI32/SameBoy, commit 912a17d, BootROMs/cgb_boot.asm |
| miniaudio 0.11.25 | Converts the sound to your device’s sample rate | Public domain or MIT No Attribution (your choice) | github.com/mackron/miniaudio |
| libretro API header | The interface between rscore and the core | MIT | github.com/libretro/RetroArch |
| Emscripten 4.0.8’s runtime and system code, with Node.js’s path functions | Runs C and C++ code in the browser (and the threaded module’s threads) | MIT (Emscripten is also offered under the University of Illinois/NCSA licence) | github.com/emscripten-core/emscripten, tag 4.0.8 |
| musl, Emscripten’s C library, with math functions from Sun Microsystems and Arm | The C standard library | MIT; Sun’s code under Sun’s notice | In Emscripten’s source, system/lib/libc/musl |
| dlmalloc 2.8.6, by Doug Lea | Hands out the emulator’s memory | Public domain (CC0) | In Emscripten’s source, system/lib/dlmalloc.c |
| LLVM’s libc++, libc++abi, libunwind and compiler-rt, as Emscripten 4.0.8 ships them (LLVM 19.1.6) | The C++ standard library, its exceptions, and the compiler’s support code | Apache License 2.0 with LLVM Exceptions | In Emscripten’s source, system/lib |
- Nothing else is built into it. It contains no GPL, LGPL or MPL code, and no BIOS, firmware or sound program from Nintendo: rbemu’s own GBA and DS BIOS replacements run the games, the DS firmware it gives them is RetroBU’s own, made from the hardware’s documented layout, and so is the Super Game Boy’s sound program, with its sound effects, instruments and samples.
- None of these licences asks for the source code to be published, so the website has no source archive. SkyEmu’s and LakeSnes’s source is at the links above.
- Every licence and notice in full, as the website serves them with the emulator: what it contains, SkyEmu’s licence, rbemu’s notices (the BIOS replacements, the ROM database, LakeSnes, SameBoy’s boot tables, libretro.h), miniaudio, libretro.h, Emscripten (with Node.js’s notice), musl, musl’s math notices, dlmalloc, libc++, libc++abi, libunwind and compiler-rt. VENDOR.txt says how the emulators were built.
RetroBU’s SNES emulator: rscore-web 2.16.0, for Super Nintendo
rscore compiled to WebAssembly together with rbsnes, RetroBU’s SNES emulator core. rbsnes is based on LakeSnes, by angelo_wf and contributors (dinkc64’s version of it, with dink’s CX4 chip emulation), under the MIT licence. It’s a modified version: we changed LakeSnes, and LakeSnes’s authors didn’t make, review or endorse our changes. It’s rscore-rbsnes.wasm and rscore-rbsnes.mjs. It contains:
| Component | What it does | Licence | Source |
|---|---|---|---|
| rscore | Runs the core: its picture, sound, saves and save states | RetroBU’s own code | Not published |
| rbsnes, our version of LakeSnes | Super Nintendo, with its cartridges’ chips: the CX4, and our own emulation of the SA-1, the Super FX, the DSP-1 and DSP-2, the ST010, the S-DD1, the SPC7110, the OBC1 and the S-RTC | LakeSnes’s code: MIT. Our changes and chips are RetroBU’s own | LakeSnes: github.com/dinkc64/LakeSnes, commit 048a0d7, the version ours started from |
| Rules of ares’s SA-1 | In our SA-1: how it behaves where its documentation leaves it open | ISC | github.com/ares-emulator/ares |
| miniaudio 0.11.25 | Converts the sound to your device’s sample rate | Public domain or MIT No Attribution (your choice) | github.com/mackron/miniaudio |
| libretro API header | The interface between rscore and the core | MIT | github.com/libretro/RetroArch |
| Emscripten 4.0.8’s runtime and system code, musl, dlmalloc, and LLVM’s libc++, libc++abi, libunwind and compiler-rt | As in the emulator above | As above | As above |
- Nothing else is built into it. It contains no GPL, LGPL or MPL code, and no BIOS, boot ROM or firmware from Nintendo or Sony: the program the SNES’s sound processor starts from is RetroBU’s own, written from the documentation of the protocol games use with it, and the CX4 chip’s data tables are worked out from their formulas. Nor does it contain any cartridge chip’s program: our DSP-1, DSP-2 and ST010 work out what each of the chips’ commands gives, written from Nintendo’s SNES Development Manual, nocash’s fullsnes and Overload’s write-ups of the chips (the Snes9x DSP team’s research, used with the credit they ask for), with no code from them.
- None of these licences asks for the source code to be published. LakeSnes’s source is at the link above.
- Its licences and notices in full: what it contains, LakeSnes’s licence and rbsnes’s notices (LakeSnes, ares, libretro.h), with the files the emulator above links for the parts they share.
RetroBU’s PS2 emulator: rscore-web 2.16.0, for PS2
rscore compiled to WebAssembly together with rbps2, RetroBU’s PS2 emulator core, in rscore-web 2.15.0 and later. rbps2 is based on Play!, by Jean-Philip Desjardins and contributors, under the BSD 2-Clause licence. It’s a modified version: we changed Play!, and Play!’s authors didn’t make, review or endorse our changes. It’s rscore-rbps2.wasm and rscore-rbps2.mjs, built with Emscripten’s threads, with three JavaScript files of its own: rscore-ps2.mjs (the page’s side), rscore-rbps2-host.mjs (the worker that runs the game) and rscore-rbps2-disc.mjs (the worker that reads the disc and keeps what it read on your device). It contains:
| Component | What it does | Licence | Source |
|---|---|---|---|
| rscore | Runs the core: its picture, sound, saves and save states | RetroBU’s own code | Not published |
| rbps2, our version of Play! | PS2, with its own replacement for the console’s BIOS, and the memory card and the disc as files of their own | Play!’s code: BSD 2-Clause. Our changes are RetroBU’s own | Play!: github.com/jpd002/Play-, commit 1f27232, the version ours started from |
| Play!’s Framework | Its streams, XML, the save states’ zip files, MPEG-2’s tables and OpenGL’s helpers | BSD 2-Clause | github.com/jpd002/Play--Framework, commit 587f278 |
| Play!’s CodeGen | The recompiler that turns the PS2’s code into WebAssembly as the game runs | BSD 2-Clause | github.com/jpd002/Play--CodeGen, commit a5009f7 |
| libchdr | Reads CHD disc images | BSD 3-Clause | github.com/jpd002/libchdr, commit 284e38b |
| dr_flac, by David Reid, in libchdr | A CHD’s FLAC-coded parts | Public domain or MIT No Attribution (your choice) | In libchdr’s source, include/dr_libs/dr_flac.h |
| The LZMA SDK 24.05, by Igor Pavlov, in libchdr | A CHD’s LZMA-coded parts | Public domain | In libchdr’s source, deps/lzma-24.05 |
| zlib 1.3.1, in libchdr | A CHD’s and a CSO’s deflated parts, and the save states’ zip files | The zlib licence | In libchdr’s source, deps/zlib-1.3.1 |
| Zstandard 1.5.6, in libchdr | A CHD’s Zstandard-coded parts | BSD 3-Clause (Zstandard is offered under BSD or GPLv2; we take it under BSD) | In libchdr’s source, deps/zstd-1.5.6 |
| xxHash 0.8.3 | The recompiler’s checks of the code it compiled | BSD 2-Clause | github.com/Cyan4973/xxHash |
| miniaudio 0.11.25 | Converts the sound to your device’s sample rate | Public domain or MIT No Attribution (your choice) | github.com/mackron/miniaudio |
| libretro API header | The interface between rscore and the core | MIT | github.com/libretro/RetroArch |
| Emscripten 4.0.8’s runtime and system code, musl, dlmalloc, and LLVM’s libc++, libc++abi, libunwind and compiler-rt | As in the emulator above, with Emscripten’s threads | As above | As above |
- Nothing else is built into it. It contains no GPL, LGPL or MPL code, and no BIOS, firmware or keys from Sony: Play!’s own replacement for the console’s BIOS runs the games, and the memory card it starts a game with is one it formats itself. It reads no RAR files (Play!’s RAR reader, under a licence that isn’t open source, isn’t in it), and the picture decoder’s inverse DCT is RetroBU’s own, written from the IEEE 1180 standard’s definition.
- None of these licences asks for the source code to be published. Play!’s source, with its Framework, CodeGen, libchdr and xxHash, is at the links above.
- Its licences and notices in full: what it contains, Play!’s licence and rbps2’s notices (Play!’s Framework and CodeGen, libchdr, dr_flac, the LZMA SDK, zlib, Zstandard, xxHash, libretro.h), with the files the emulator above links for the parts they share.
Fonts
| Font | Copyright | Licence |
|---|---|---|
| Outfit | Copyright 2021 The Outfit Project Authors | SIL Open Font License 1.1 |
| Sora | Copyright 2019 The Sora Project Authors | SIL Open Font License 1.1 |
| Space Grotesk | Copyright 2020 The Space Grotesk Project Authors | SIL Open Font License 1.1 |
Licence texts
- Apache License 2.0, and Apache License 2.0 with LLVM Exceptions
- SIL Open Font License 1.1
- MIT License, the ISC License, Sun Microsystems’ notice, the DS BIOS replacement’s licence, the BSD 2-Clause and BSD 3-Clause licences, the zlib licence and the LZMA SDK’s dedication to the public domain (below)
MIT License
These components are under the MIT License:
- SkyEmu, which rbemu is based on: Copyright (c) 2021 Skyler “Sky” Saleh
- LakeSnes, which rbsnes is based on: Copyright (c) 2021-2023 angelo_wf and contributors; its CX4 emulation: (c) 2023 dink
- The Cult-of-GBA BIOS, in rbemu: Copyright 2020 - 2021 DenSinH and fleroviux
- The DS ROM database, in rbemu: Copyright (c) 2016-2022 melonDS team
- libretro.h: Copyright (C) 2010-2024 The RetroArch team (rbemu’s copy: Copyright (C) 2010-2020 The RetroArch team), in rscore, rbemu, rbsnes and rbps2
- Emscripten’s runtime and system code: Copyright (c) 2010-2014 Emscripten authors, see the AUTHORS file in Emscripten’s source
- Node.js’s path functions, in Emscripten’s runtime: Copyright Joyent, Inc. and other Node contributors
- musl, Emscripten’s C library: Copyright © 2005-2020 Rich Felker, et al.
- musl’s exp, log and pow, from Arm’s optimized routines: Copyright (c) 2018, Arm Limited
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
ISC License
The rules of ares’s SA-1 in rbsnes are under the ISC License: Copyright (c) 2004-2025 ares team, Near et al
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Sun Microsystems’ notice
musl’s cosine, sine and the argument reduction they use, from FreeBSD’s math library, carry this notice (the sine itself says “Developed at SunPro”):
Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
Developed at SunSoft, a Sun Microsystems, Inc. business. Permission to use, copy, modify, and distribute this software is freely granted, provided that this notice is preserved.
The DS BIOS replacement’s licence
The ARM7 and ARM9 BIOS replacement in rbemu is distributed under this licence:
Custom NDS ARM7/ARM9 BIOS replacement
Copyright (c) 2013, Gilead Kutnick
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
BSD 2-Clause License
These components are under the BSD 2-Clause License:
- Play!, which rbps2 is based on: Copyright (c) 2006-2026, Jean-Philip Desjardins. All rights reserved.
- Play!’s Framework, in rbps2: Copyright (c) 2006-2026, Jean-Philip Desjardins. All rights reserved.
- Play!’s CodeGen, in rbps2: Copyright (c) 2010-2026, Jean-Philip Desjardins. All rights reserved.
- xxHash, in rbps2: Copyright (c) 2012-2021 Yann Collet. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
xxHash’s copy has the same conditions, and this disclaimer: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
BSD 3-Clause License
These components are under the BSD 3-Clause License:
- libchdr, in rbps2: Copyright Romain Tisserand. All rights reserved.
- Zstandard, in libchdr (its BSD licence, “For Zstandard software”): Copyright (c) Meta Platforms, Inc. and affiliates. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- libchdr’s: Neither the name of the <organization> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. Zstandard’s: Neither the name Facebook, nor Meta, nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The zlib licence
zlib 1.3.1, in libchdr: (C) 1995-2022 Jean-loup Gailly and Mark Adler
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
- The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
- Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
- This notice may not be removed or altered from any source distribution.
The LZMA SDK
The LZMA SDK 24.05, by Igor Pavlov, in libchdr: “LZMA SDK is placed in the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute the original LZMA SDK code, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.”