# Inventory: the family's tools today (2026-11-19, GPL part updated 2026-11-24) The map for the refactor after the licensing clean-up. The GPL tools are gathered in emu-tools-gpl and emu-tools-gpl2 (below); nothing has moved into this repository yet. Paths are relative to the folder that holds the family's checkouts. Consumers find each tool repository through one variable (`EMU_TOOLS`, `EMU_TOOLS_GPL`, `EMU_TOOLS_GPL2`) and each tool at its fixed path under it ([contract.md](contract.md), section 5). ## In emu-tools-gpl (GPL-3.0-or-later; gathered 2026-11-22, regrouping since 2026-11-23) The history clean-up (waves B to G) took these out of the emulator repositories and their histories. The refactor regroups them by upstream; what is not regrouped yet stays in `emu-tools-gpl/tools//`, which is also its documented path until it is (`emu-tools-gpl/tools/README.md`). ### Regrouped by upstream | Tool | Path under `EMU_TOOLS_GPL` | Replaces | Upstream (licence) | | --- | --- | --- | --- | | mesen2-runner 0.1.0 (NES, SNES, Cx4, PC Engine adapters; the Mesen2 patch) | `tools/mesen2/run.py` (build `tools/mesen2/build.sh`) | the Mesen2 runners of famicom-, snes-, pcengine- and huc6280-python and `hg51b-mesen-harness` (old files kept as shims in the consumer folders) | Mesen2 (GPL-3.0) | | nuked-harness 0.1.0 (six harnesses, four models) | `tools/nuked/run.py`, binaries in `tools/nuked/build/` (build `tools/nuked/build.sh`) | the Nuked harnesses of ym2612-, ym2413-, sn76489-, ym2151- and megadrive-python (old files kept as include shims) | Nuked-OPN2, Nuked-OPM (LGPL-2.1-or-later), Nuked-OPLL, Nuked-PSG (GPL-2.0-or-later) | ### Not regrouped yet (in `tools//`) | Tool | Came from | Upstream (licence) | | --- | --- | --- | | AY die-model and YM2203-LLE SSG drivers | `ay8910-python/validation/ay_tb.v`, `ssg_ref.c` | lvd's AY model (GPL-3.0-or-later), YM2203-LLE (GPL-2.0-or-later) | | FPGA-core testbenches | `65816-python/tests/p65c816/tb_p65c816.vhd`, `huc6280-python/tests/huc6280_vhdl/` | srg320's P65C816 and HUC6280 (GPL) | | NanoBoyAdvance drivers | `gba-python/scripts/nba_driver/`, `arm7tdmi-python/referees/nba/` | NanoBoyAdvance (GPL-3.0-or-later) | | jgenesis harness | `sh2-python/validation/jgenesis_harness/`, `scripts/build_jgenesis_harness.py` | jgenesis (GPL-3.0) | | snes_spc referee drivers | `s-dsp-python` and `snes-python` `scripts/dsp_referee/spc_dump.cpp` | snes_spc 0.9.0 (LGPL-2.1-or-later) | | Mednafen PSG referee | `pcengine-python/scripts/psg_referees/` (Mednafen parts) | Mednafen's `pce_psg.cpp` from mednafenPceDev (GPL-2.0-or-later) | | n6800 crosscheck harness | `m6800-python/scripts/crosscheck/n6800_harness.py` | n6800 (GPL-3.0-or-later) | ## In emu-tools-gpl2 (GPL-2.0-only; moved from emu-tools-gpl 2026-11-24) By Aubrey's rule of 2026-11-24 (a file with no "or later" grant, in a repository whose LICENSE is the GPL-2.0 text, is GPL-2.0-only), these could not stay with GPL-3.0 code (`emu-tools-gpl2/tools/README.md`). Paths are under `EMU_TOOLS_GPL2`. | Tool | Path under `EMU_TOOLS_GPL2` | Came from | Upstream | | --- | --- | --- | --- | | YM2610 closed-box probe | `tools/ym2608-lle/lle2610_probe.c` | `ym2610-python/validation/lle2610_probe.c` | YM2608-LLE (`7a2aca7`) | | YM2612 event-file harness (no user) | `tools/ym2608-lle/lle2612_ref.c`, `build_lle2612_ref.sh` | megadrive-python's old `validation/lle2612_ref.c` | YM2608-LLE (`7a2aca7`) | | MC6800 single-step harness | `tools/sim68xx/sim68xx_harness.c` | `m6800-python/scripts/crosscheck/sim68xx_harness.c` | sim68xx (`d49c99a`) | | libatari800 driver, 5200 mode | `tools/atari800/atari800_run.py` | `a5200-python/scripts/atari800_run.py` | Atari800 (`98cc2dc`) | | Mednafen PC Engine trace patch | `tools/mednafen/patches/mednafen-trace.patch` | `huc6280-python/tools/mednafen-trace.patch` | Mednafen 1.32.1 | ## Separate GPL tool repositories (moved out 2026-11-19) | Tool | Where it is | Upstream (licence) | | --- | --- | --- | | WinUAE referee | `m68000-winuae-referee/` (to fold in at the refactor) | WinUAE cputest (GPL-2.0-or-later) | | Mesen2 Cx4 harness | `hg51b-mesen-harness/` (superseded by `tools/mesen2`'s `snes-cx4` machine and the shim `emu-tools-gpl/tools/hg51b-python/mesen_cx4_trace.py`; archiving is Aubrey's call) | Mesen2 (GPL-3.0) | | Nuked-MD harness | `megadrive-nuked-md-harness/` (GPL-2.0-only by the 2026-11-24 rule; stays its own repository) | Nuked-MD | ## Still in emulator repositories, to decide at the refactor | Tool | Where it is now | Upstream (licence) | Why it stayed (2026-11-22) | | --- | --- | --- | --- | | mGBA drivers | `gba-python/scripts/mgba_driver.c`, `arm7tdmi-python/referees/mgba/` (MPL-2.0 files) | mGBA (MPL-2.0) | MPL is file-level copyleft, not GPL or LGPL: outside wave G's scope | | libretro frontends | `a2600-python/scripts/stella_run.py`, `a7800-python/scripts/prosystem_run.py`, `megadrive-python/scripts/blastem_frames.py`, `pcenginecd-python/scripts/drive_probe.py`, `sega32x-python/scripts/libretro_frames.py`, `libretro_run.py` in colecovision-, lynx-, pcengine- and segacd-python | Stella, ProSystem, BlastEm, Geargrafx, PicoDrive, Gearcoleco, ... (GPL or non-commercial cores) | they speak only the libretro API (MIT) to a core built as shipped: the proposal's first preference, no GPL declarations | | Breaknes PPUSim/APUSim boards | `famicom-python/scripts/ppusim_board.py`, `apusim_board.py`, `ppusim_compare.py`, `ppusim/`, `apusim/` | Breaknes (CC0-1.0) | permissive | | dmg-sim probe | `sm83-python/scripts/dmgsim/bus_probe.sv` | msinger's dmg-sim (CC BY-SA 4.0) | share-alike, not GPL; it reads internal nets of the netlist: to look at | | POKEY testbench | `pokey-python/validation/pokey_tb.vhd` | `atari_pokey` VHDL (no licence stated) | not GPL; unlicensed, run only | ## Bound for emu-tools | Tool | Where it is now | | --- | --- | | MAME trace and Lua scripts | `*/scripts/mame_trace.py`, `*/validation/mame_replay.py`, `*/scripts/mame_*` | | SameBoy runner | `gameboy-python/scripts/sameboy_run.py` | | Musashi referee | `m68000-python/validation/referees/musashi_referee.c` | | Lockstep runners | `*/scripts/lockstep.py` | | Fault seeders | `*/validation/faults.py`, `*/scripts/faults*` | | Layout-aware A/B | `*-rust-fast/scripts/ab.sh`, `ab.py` | | Provenance checker | `pcengine-python/scripts/provenance_check.py` | | ROM census, fetch and pin helpers | `*/scripts/*census*`, `*/scripts/fetch_*` | | Probe-cart result readers | `md-probe-cart`, the SNES probe suite decoder in `snes-python` |