Repository navigation
romi v0.6.0
Save states are here, and romi no longer needs RetroArch's folders.
Highlights
-
Save states while you play. Each game has ten slots and remembers which one it was last on.
On a controller On a keyboard Select+R F2 Save to the current slot Select+L F4 Load the current slot Select+Down F3 Undo the last load, or undo that undo Select+Left, Select+Right F6, F7 Change slot On a controller, R, L and those d-pad directions don't reach the game while Select is held, but Select itself does, and there's no way to turn the combos off yet, so games that use Select as a held button may notice.
-
RetroArch's format, in romi's folder. States are compressed the way RetroArch compresses them, so a state can be copied between the two, but romi keeps its own in
~/.local/share/romi/statesso neither writes over the other. States belong to the core that made them, and often to its version. -
Your in-game save is looked after. Loading a state can take back the game's in-game save, as it does in RetroArch, on cores that keep it in the state. romi tells you when that happens and keeps the last five saves it replaced.
-
Achievements carry over. A state remembers how far along the game's achievements were. Unlocks are still softcore.
-
A folder of its own. When romi makes a new config on a machine with no RetroArch, BIOS files, in-game saves and downloaded cores go in
~/.local/share/romi. Installing RetroArch later doesn't move them. If you already have a config, nothing changes, and the setup docs say how to move if you'd like to. -
romi checksays where things go: the folders it's using for BIOS files, saves and states. -
romi run --save-stateand--load-statelet a scripted run skip to the part it's testing, with--achievementstoo.
Fixes
- PSP games often wouldn't start, with "the core crashed while starting", and stopping one while it was still booting crashed romi. PPSSPP finishes booting as it unloads, and needed its OpenGL context for that.
romi runreports its own result. A core that crashed as it unloaded could give scripts the wrong exit code and hide the reason a run failed. A run no longer unloads its core.
Still missing: rewind, hardcore achievements and Vulkan renderers. 3D and states have only been tested on one laptop so far, so reports from other GPUs are welcome. PPSSPP can refuse to save a state while a game is still booting; trying again a moment later should work.
Install
With Rust, 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.0-x86_64-linux.tar.gz
install -Dm755 romi-v0.6.0-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.5.1...v0.6.0