RetroArch
RetroArch
You can install retroarch with some cores (actual emulators) by putting something like this in your /etc/nixos/configuration.nix
environment.systemPackages = with pkgs; [
(retroarch.override { cores = with libretro; [ genesis-plus-gx snes9x beetle-psx-hw ]; })
libretro.genesis-plus-gx
libretro.snes9x
libretro.beetle-psx-hw
];
FIXME: where is the list of cores that libretro exports?
In the meantime, maybe these strings work: https://gist.github.com/GrahamcOfBorg/fa41301565a858134941b91179822b7d
Once you update your system you can run retroarch
to access the main gui, or eg retroarch-mednafen-psx-hw my-game-file.cue
to run a game directly.
Gotchas
Not all the graphics settings are in the same place. You'll want to look under the top-level Settings (in the left column under Main Menu) and also under Main Menu -> Quick Menu -> Options
Bugs
beetle-psx-hw input (by keyboard anyway) only works if you go to Settings -> Input -> Port 1 Controls -> Device Type and set it to PlayStation Controller every time you run the emulator.
No icons show in the gui, including the mouse cursor. you can use the gui with only the keyboard though. Press enter to open sections/pages, backspace to go back out. arrow keys to choose between options (left/right change some values).