Skip to content

EmuLibrary 1.0.4

Choose a tag to compare

@jkoehler11 jkoehler11 released this 01 Dec 04:21
· 11 commits to main since this release

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.