Skip to content

Releases

EmuLibrary 1.0.7

Choose a tag to compare

@jkoehler11 jkoehler11 released this 01 Dec 14:04

EmuLibrary 1.0.7

Fixed

  • The native core now matches device profiles. device_json() read the DMI strings
    and returned a hard-coded "Linux desktop / detected: false" without ever opening
    devices.json, so on every machine where the native core loads — every desktop, a
    Steam Deck included — the answer was the same and the Deck profile could never apply.
    The Python core matched correctly, which is why a Pi looked right and a Deck did not.

    It now matches as Python does: vendor against sys_vendor and the model string
    (a device tree has no separate vendor field), products and boards by
    exact-or-substring, the device tree read when DMI is absent, and the family default
    marked detected: false when nothing matches.

  • EMULIBRARY_DMI_ROOT and EMULIBRARY_DEVICE_TREE override the two sources, like
    EMULIBRARY_LIBRETRO_DIR does for cores — also what makes it testable without the
    hardware.

Notes

1.0.6 tagged this work but its native test asserted a Linux device on macOS, so that
leg was red; 1.0.7 guards the Linux-only cases. Library behaviour is identical.
Verified through a client: Valve/Jupiter → steamdeck (detected, high), a Pi 5
device tree → raspberry-pi-5 (detected, high), nothing → linux-desktop undetected.

EmuLibrary 1.0.5

Choose a tag to compare

@jkoehler11 jkoehler11 released this 01 Dec 04:59

EmuLibrary 1.0.5

Both fixes came from running 1.0.4 on a Raspberry Pi 4B (DietPi, Debian 13, aarch64)
with RetroArch from apt.

Fixed

  • A Pi has no DMI. /sys/devices/virtual/dmi/id/ does not exist on a Raspberry
    Pi, so every real board matched no device profile and reported
    linux-desktop, detected: false — the Pi entries added in 1.0.2 could only ever
    match a fixture. The model is read from /proc/device-tree/model when SMBIOS is
    absent, and the vendor check looks at the model string too, since a device tree
    has no separate vendor field.
  • A rom could be launched in another console's core. When a platform names its
    cores and none is installed, the resolver fell back to "the first core found": a
    machine with snes9x and mgba installed ran NES and Genesis roms inside mgba. A
    named platform now refuses, naming the cores it tried. Platforms the catalogue
    does not enumerate keep the old fallback.

Both rules exist in the C++ core as well as in Python; the native test covers the
core rule and the device test covers a device-tree host.

78 Python tests and the native test pass.

EmuLibrary 1.0.4

Choose a tag to compare

@jkoehler11 jkoehler11 released this 01 Dec 04:21

EmuLibrary 1.0.4

Two fixes that had to land together for a Raspberry Pi to launch a game — plus the
reason the first one looked like it had not worked.

Fixed

  • The native core now knows libretro_dir. 1.0.2 added the variable to the
    catalogue and to the Python path context, but the C++ core keeps its own
    variable table, so on any host where libemulibrary loads — every desktop, and
    every build a client ships — the data promised a token the core could not
    expand, the directory was skipped, and RetroArch still answered
    CORE_REQUIRED. It now answers EMULIBRARY_LIBRETRO_DIR when set and
    /usr/lib/libretro otherwise, matching PathContext exactly.
  • The native core reports its real version. EMULIBRARY_VERSION comes from
    the CMake project version, which nothing had bumped since 1.0.1: builds 1.0.2 and
    1.0.3 both called themselves 1.0.1, which is why a fixed build was
    indistinguishable from a broken one in a client's status page.

Added

  • The native test covers the distribution core directory: a stub retroarch on
    PATH, a core in $EMULIBRARY_LIBRETRO_DIR, and a NES plan that must be
    available and must name that core.
  • tests/test_version.py fails if CMakeLists.txt, emulibrary.__version__ and
    pyproject.toml ever disagree, so the version cannot drift again.

Notes

v1.0.3 was tagged with the core fix but the stale version string; use 1.0.4.
Data, ABI and the Python API are unchanged since 1.0.3, so a client only needs the
new binaries and the pin.

73 Python tests and the native test pass.

EmuLibrary 1.0.2

Choose a tag to compare

@jkoehler11 jkoehler11 released this 01 Dec 03:56

EmuLibrary 1.0.2

Patch release for Raspberry Pi 4 and 5.

Added

  • Raspberry Pi 4 and 5 are recognised as devices. devices.json gains
    raspberry-pi-4 (Pi 4, 400, CM4) and raspberry-pi-5, matched by DMI vendor
    and product instead of a hostname. Those are the supported cabinet floor; Pi 3
    and Zero are deliberately not included, because the webview is the limit there,
    not the emulator.
  • Raspberry Pi OS is documented in os.json, and ID=raspbian — what older
    images report — now resolves to debian, so the existing Debian package tables
    and install methods apply unchanged. 64-bit images report ID=debian.

Fixed

  • RetroArch could not find cores installed by the distribution. Cores were
    looked for only in a flatpak's config directory, ~/.config/retroarch/cores and
    the EmuDeck tools tree. On Raspberry Pi OS, Debian and Arch the core comes from
    apt/pacman and lives in /usr/lib/libretro, so a Pi with a working
    RetroArch answered no libretro core is installed for this platform and refused
    to launch. The catalogue's core directories now include {libretro_dir}
    (default /usr/lib/libretro, overridable with EMULIBRARY_LIBRETRO_DIR) and
    Debian's multiarch path, producing the plain
    retroarch -L /usr/lib/libretro/mesen_libretro.so <rom> a cabinet expects.

Notes

Data only: the native core, its header and the Python bindings are unchanged, so
a client can take the new JSON without rebuilding anything. 73 tests pass,
including three new ones for cores in a distribution directory, the Pi device
profile, and the raspbian-to-debian mapping.

EmuLibrary 1.0.1

Choose a tag to compare

@jkoehler11 jkoehler11 released this 30 Nov 23:58

EmuLibrary 1.0.1

Patch release for the native C++ library and its Python compatibility layer.

Fixed

  • Flatpak verification: use flatpak info <app-id> to read the installed version; the previous --show-version flag is not supported by Flatpak.
  • Flatpak failure guidance: user-scoped installs now say to check the network and Flathub availability instead of implying that a system-scope authorization prompt was needed. User-scoped Flatpak installs never require sudo.
  • Compatibility tests: the Flatpak test double now emits the real Version: line from flatpak info.

Artifacts

  • EmuLibrary-linux-x86_64.zip
  • EmuLibrary-macos-arm64.zip
  • EmuLibrary-windows-x64.zip

Each archive contains the shared library (.so / .dylib / .dll + import library), the public C header, the Python ctypes binding, and the data catalogue. The C ABI is unchanged.

EmuLibrary 1.0

Choose a tag to compare

@jkoehler11 jkoehler11 released this 30 Nov 22:17

Native cross-platform EmuLibrary. This is the C++ core with a stable C ABI, JSON catalogue, launch plans, layout presets, BIOS/save inventory and detection for Linux, macOS and Windows. Packages contain the shared library, public header, Python ctypes binding and data files; the old HTTP service is retired.

EmuLibrary 1.0 native preview

Pre-release

Choose a tag to compare

@jkoehler11 jkoehler11 released this 30 Nov 22:01

First native C++ build of EmuLibrary. Packages contain the shared library, the public C header, the Python ctypes binding and the JSON catalogue for Linux x86_64, macOS arm64 and Windows x64.