RetroArch: Difference between revisions
imported>JasonWoof Show how to install/run RetroArch with cores |
imported>Puffnfresh add details about assets and cores |
||
Line 1: | Line 1: | ||
== RetroArch == | == RetroArch == | ||
You can install retroarch with some cores (actual emulators) by putting something like this in your /etc/nixos/configuration.nix | You can install retroarch with some cores (actual emulators) by putting something like this in your <code>/etc/nixos/configuration.nix</code> | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
environment.systemPackages = with pkgs; [ | environment.systemPackages = with pkgs; [ | ||
(retroarch.override { cores = | (retroarch.override { | ||
cores = [ | |||
libretro.genesis-plus-gx | |||
libretro.snes9x | |||
libretro.beetle-psx-hw | |||
]; | |||
}) | |||
libretro.genesis-plus-gx | libretro.genesis-plus-gx | ||
libretro.snes9x | libretro.snes9x | ||
Line 12: | Line 18: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
The cores are defined here: | |||
https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/emulators/retroarch/cores.nix#L121 | |||
Once you update your system you can run <code>retroarch</code> to access the main gui, or eg <code>retroarch-mednafen-psx-hw my-game-file.cue</code> to run a game directly. | Once you update your system you can run <code>retroarch</code> to access the main gui, or eg <code>retroarch-mednafen-psx-hw my-game-file.cue</code> to run a game directly. | ||
== Gotchas == | == 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 | 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 <code>Main Menu -> Quick Menu -> Options</code> | ||
== Bugs == | == 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'''. | beetle-psx-hw input (by keyboard anyway) only works if you go to <code>Settings -> Input -> Port 1 Controls -> Device Type</code> and set it to PlayStation Controller '''every time you run the emulator'''. | ||
No icons show in the | No icons show in the GUI, including the mouse cursor. You need to go to <code>Online Updater > Update Assets</code> to download the icons. You can navigate the GUI with only the keyboard. Press enter to open sections/pages, backspace to go back out, arrow keys to choose between options (left/right change some values). |
Revision as of 06:24, 5 August 2022
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 = [
libretro.genesis-plus-gx
libretro.snes9x
libretro.beetle-psx-hw
];
})
libretro.genesis-plus-gx
libretro.snes9x
libretro.beetle-psx-hw
];
The cores are defined here:
https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/emulators/retroarch/cores.nix#L121
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 need to go to Online Updater > Update Assets
to download the icons. You can navigate the GUI with only the keyboard. Press enter to open sections/pages, backspace to go back out, arrow keys to choose between options (left/right change some values).