Skip to content

romi v0.6.1

Choose a tag to compare

@github-actions github-actions released this 04 Nov 03:51
· 26 commits to main since this release

Mostly for anyone setting romi up for the first time: this comes from following the README on clean installs of Ubuntu 24.04 and Fedora 43.

Setting up

  • More cores count. The built-in system list wanted one core per system, so Ubuntu's Snes9x was "no emulator installed" because it wasn't bsnes-hd. It now takes the common others (Snes9x, Gambatte, Nestopia, VBA-M, PicoDrive and more) after its first choice.
  • RetroArch that's never been opened. Ubuntu's core packages install RetroArch, and its folders don't exist until it's first opened, so cores got no system folder at all. A new config now makes it.
  • Where to get a core. romi init and romi check now point to distro packages and libretro's nightly builds, instead of only saying needs: mgba_libretro.so.
  • Rust 1.90 or newer is now stated in the README and in the crate. Ubuntu 24.04's Rust is too old and fails with feature edition2024 is required; rustup gets a current one.

Fixes

  • romi run <file> picks the right system. It took the first system that listed the file's extension, so a Dreamcast .chd went to Genesis Plus GX and failed, and a PlayStation game could "run" in it. A file now belongs to the system whose ROM folder it's in, or a folder named after a system, or the only system that takes its extension. If it still can't tell, it lists them and exits with 65, and --system says which. A script that passes a loose .chd or .iso with neither --system nor --core will now get that exit code instead of a guess.
  • No more offering an emulator that isn't there. With a core and no RetroArch, a game's menu still offered retroarch · mgba. It's gone from the menu, and romi play now plays those games through the core, in Ghostty or kitty.
  • Signals during romi run --live stop the game as Esc does: it saves, and the terminal is put back.

Install

With Rust 1.90 or newer, a C compiler and the headers for udev and ALSA:

cargo install --locked romi

Prebuilt binaries for x86_64 and aarch64 Linux are below. They run on glibc 2.35 and newer (Ubuntu 22.04, Debian 12, Fedora 36 and later). They need libudev and ALSA's libasound, which nearly every desktop already has, and libEGL for 3D games.

tar -xzf romi-v0.6.1-x86_64-linux.tar.gz
install -Dm755 romi-v0.6.1-x86_64-linux/romi ~/.local/bin/romi

On Arch, build the package with makepkg -si in packaging/arch. There's also an edge build of main, rebuilt after every change that passes the tests.

Full changelog: v0.6.0...v0.6.1