Restunts SDL3 packages - third-party notices
===========================================

Nuked OPL2 Lite
--------------
Copyright (C) 2026 Nuke.YKT.
https://github.com/nukeykt/Nuked-OPL2-Lite
Upstream revision: f3209b087da9117a5cd0e6db2fb8bea4df4e181a (0.9 beta).

The desktop/browser game, renderer dumper, and audio regression use this library under
GNU Lesser General Public License version 2.1 or, at your option, any later
version. It is provided WITHOUT ANY WARRANTY; without even the implied warranty
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the complete license
in share/licenses/restunts/Nuked-OPL2-LICENSE (or LICENSE beside its source).

Desktop builds link the library dynamically. Browser builds link it statically. You may modify this application for your own
use and reverse engineer it for debugging modifications to the LGPL-covered
library. No restriction in these distribution terms limits those permissions.
This notice does not change the licenses of unrelated code or game assets.

The complete corresponding library source, dated local modification notices,
and standalone build script are in share/restunts/nuked-opl2-lite/. Its README.md
explains how to rebuild and replace the library without rebuilding the game;
nuked-build-info.txt records the distributed build's compiler and options.
The build-context/ directory preserves the parent project's build-control files.
Keep these source files, notices and license with any redistributed package,
and follow the LGPL for any further changes or redistribution.

On Linux, replace lib/libnuked-opl2.so. On macOS, replace
lib/libnuked-opl2.dylib. On Windows, replace bin/nuked-opl2.dll.
Use the same CPU architecture and compatible public API and structure layouts.
The game does not check library signatures or prohibit modified replacements.

Browser packages include the same library source and license, plus a standalone
relink kit in share/restunts/wasm-relink/. It contains the application, WebM
decoder and SDL object/archive files, enhanced artwork, HTML shell, and build
instructions needed
to relink the application with a modified Nuked library using the recorded
Emscripten SDK. No original game data is included or needed to relink. Keep the
complete kit with a redistributed browser package, even though only the HTML is
needed to run it. The own-use modification and debugging permissions above also
apply to browser builds.

MAME NCR8496 / PSSJ-3 PSG core
----------------------------
Copyright (c) Nicola Salmoria and contributors.
https://github.com/mamedev/mame

The SDL3 desktop, Android and browser Tandy synthesizer contains a C adaptation
of MAME's individually BSD-3-Clause-licensed sn76496.cpp and sn76496.h. The
adaptation includes the NCR8496 and PSSJ-3 variants; upstream revision and local
changes are recorded in share/restunts/mame-psg/README.md. It does not include
the MAME framework. The full copyright notice, license conditions and warranty
disclaimer are in share/licenses/restunts/MAME-PSG-LICENSE (or
third_party/mame-psg/LICENSE in the source checkout).

Keep these notices and the license with redistributed source and binaries.
The copyright holders and contributors do not endorse this product. This
license covers the emulator code; original Stunts game resources retain their
own terms. DOS32, DOS16, Amiga and TempleOS builds do not include this core.

Munt libmt32emu
--------------
Copyright (C) 2003-2026 the Munt contributors.
https://github.com/munt/munt
Upstream revision: 91d2205eb8f2591d177b257b92e2c75f830508de (libmt32emu 2.8.6).
The complete copyright roster is in share/restunts/mt32emu/AUTHORS.txt and the
individual source files.

Desktop, Android and browser builds use this library under LGPL version 2.1 or,
at your option, any later version. The complete LGPL and referenced GPL texts
are in share/licenses/restunts/MT32EMU-COPYING.LESSER.txt and MT32EMU-COPYING.txt.
The library is provided WITHOUT ANY WARRANTY, including MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.

Desktop and Android builds link it dynamically; browser builds link it
statically. You may modify the application for your own use and reverse engineer
it to debug modifications to this LGPL-covered library. The game does not check
library signatures or prevent compatible modified replacements.

The complete corresponding source is in share/restunts/mt32emu/. Restunts
combines its CMake library install rules for OpenBSD compatibility; the
synthesizer sources are unmodified from the revision above. README-restunts.md
explains shared-library replacement and Android rebuild/repacking;
mt32emu-build-info.txt records compiler/options.
The rebuild/ wrapper supplies a standalone compatible build. Keep this complete
source tree and licenses with redistributed packages. Browser packages also
require the adjoining share/restunts/wasm-relink/ application objects, build
settings and instructions for relinking with a modified mt32emu library.

Roland control and PCM ROM images are proprietary data supplied separately by
the player. They are not part of Munt's LGPL license and are never included in
these packages, source trees, browser HTML or relink kits. Original Stunts music
and instrument resources retain their own terms and are also supplied separately.
DOS32/DOS16, Amiga and TempleOS builds do not include libmt32emu.

stb_vorbis
----------
Copyright (c) 2017 Sean Barrett.
https://github.com/nothings/stb
Upstream revision: 2c980bb59875b0d32144a71867fbdebb2f77cd20 (stb_vorbis 1.22).
Source: https://github.com/nothings/stb/blob/2c980bb59875b0d32144a71867fbdebb2f77cd20/stb_vorbis.c

All SDL3 builds include this Ogg Vorbis decoder under its MIT license option.
See the complete license in share/licenses/restunts/stb-LICENSE (or LICENSE
beside its source in third_party/stb). Memory seeks check offsets against the
buffer length before forming a pointer. The unused push-data API is disabled
when compiling.

libvpx and nestegg
------------------
The SDL3 builds decode external WebM VP8 opponent animations with libvpx 1.17.0
(BSD-3-Clause) and Mozilla nestegg (ISC).
libvpx source: https://github.com/webmproject/libvpx/tree/v1.17.0
nestegg source: https://github.com/mozilla/nestegg/tree/767aab25013acefbdcc6d68a2a7a2c9081303e3f

Copyright (c) 2010, The WebM Project authors. All rights reserved.
Copyright (c) 2010, Mozilla Foundation.
Complete licenses and the additional WebM patent grant are installed as
share/licenses/restunts/libvpx-LICENSE, libvpx-PATENTS and nestegg-LICENSE.
The upstream sources are unmodified; only the portable VP8 decoder is built,
without encoders, VP9, assembly, threads or external codec dependencies.
The generated libvpx configuration is in third_party/libvpx-config/.

wxWidgets
---------
The native desktop startup window normally uses bundled wxWidgets 3.2.12.
https://github.com/wxWidgets/wxWidgets/releases/tag/v3.2.12
Haiku instead uses HaikuPorts' patched wxQt 3.2.4 system package by default.
https://github.com/haikuports/haikuports/tree/master/dev-qt/wxqt
wxWidgets uses the wxWindows Library Licence, a modified LGPL with an exception
allowing static linking without applying the LGPL to this application. Complete terms are installed as share/licenses/restunts/wxWidgets-LICENSE
and wxWidgets-LGPL.txt. The launcher uses system GTK on Linux/BSD, Cocoa on macOS,
and Qt with Haiku platform/style plugins on Haiku. Those system libraries retain
their own licenses. Web, Android and DOS builds do not include wxWidgets.
Builds explicitly using system wxWidgets use that installation's version and
accompanying license instead of the bundled source.

GCC compiler runtimes
---------------------
Windows x86/x64 launcher builds statically link GCC's libstdc++ and libgcc.
Those runtime libraries use GNU GPL version 3 or later with GCC Runtime
Library Exception version 3.1. The complete license, exception and compiler
package copyright notices are installed in share/licenses/gcc-runtime/.
Its README.md records the source and verified package provenance. AppImages
include the matching notices from their pinned legacy GCC SDK in the same
license directory. Windows ARM64 uses LLVM's libc++ and support runtimes;
their complete upstream license texts and provenance are installed in
share/licenses/llvm-runtime/.

SDL3
----
Bundled SDL3 builds include SDL's zlib license in
share/licenses/restunts/SDL-LICENSE.txt. Builds using a system SDL3 installation
use that installation's library and accompanying license instead.
The Android game adds deprecation annotations to SDL's Java compatibility
classes and marks those changes in the prepared source.

DOS builds write the hardware AdLib chip and do not include Nuked OPL2 Lite.
Original game resources are supplied separately and retain their own terms.

McMurtry Speirling model reference
---------------------------------
Title: 2026 McMurtry Spéirling
Author: Dave Love SketchFab (https://sketchfab.com/Tyler_Dave)
Source: https://sketchfab.com/3d-models/2026-mcmurtry-speirling-24a39a15bde049acbb3ede571cee0c8b
License: Creative Commons Attribution 4.0 International (CC BY 4.0)
http://creativecommons.org/licenses/by/4.0/

The user-supplied GLB identifies the author, title, source and license above
in its embedded asset.extras metadata. MCMU's classic exterior adapts that
reference into completely rebuilt low-polygon topology for the showroom and
both racing detail levels. Changes include uniform length scaling,
integer-quantized native animated wheels, rounded and enlarged wheel areas
for visible tyre clearance, simplified lamps and rear details, native materials
and seven paint schemes. The editable classic geometry is exported as MCMU.obj
and MCMU.mtl; its runtime geometry is in STMCMU.3SH.

The optional STMCMU.H3D companion adapts the source exterior triangles directly.
Changes include node transforms, uniform scaling and coordinate alignment,
quadric error mesh simplification, spatial vertex clustering and fixed-point
coordinate quantization for HyperVision, local fender-opening expansion for
native tyre steering, palette material mapping, seven paints, and replacement
of source wheel assemblies with the existing native animated wheels. Hidden cockpit geometry
and alpha decals are omitted. A compact transformed mesh with precomputed
detail levels is retained in
tools/scripts/cars/mcmurtry_hypervision_source.json.gz for reproducible generation
with tools/scripts/mcmurtry_hypervision.py.

The internal filename suggests an earlier prototype despite its 2026 title.
The original high-polygon GLB and its textures are not included. Attribution
and source hashes are also recorded in MCMU.json and READMCMU.TXT. These
changes do not imply endorsement by the source author.


puff raw DEFLATE decoder
-----------------------
SDL3 ZIP car loading uses puff from zlib v1.3.1, copyright Mark Adler.
The source and its license notice are in third_party/puff/; the full license
is installed at share/licenses/restunts/puff-LICENSE. No system zlib is required.
