Flathub is the central place for building and hosting Flatpak builds. Go to https://flathub.org/builds/ to see Flathub in action.
RetroArch is a frontend for emulators, game engines and media players.
To install RetroArch through Flathub, use the following:
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install --user -y flathub org.libretro.RetroArch
-
Run RetroArch through Flatpak:
flatpak run org.libretro.RetroArch
-
Install some libretro cores using the Online Updater. There is no need to update core info files, assets, joypad profiles, cheats, database, cg, glsl, or slang shaders, as those are shipped with the Flatpak.
-
Import content by scanning the folder where your games are kept.
-
Launch content through RetroArch either through the menu, or through the command line:
flatpak run org.libretro.RetroArch -L ~/.var/app/org.libretro.RetroArch/config/retroarch/cores/chailove_libretro.so FloppyBird.chailove
To update RetroArch through Flathub, use the follow command:
flatpak update --user org.libretro.RetroArch
Through the Flatpak command line arguments, it is possible to change how RetroArch is used.
Allow Flatpak access to different mounted drives through using the --filesystem
option:
flatpak run --filesystem=host --filesystem=/media/NAS/roms org.libretro.RetroArch
To test the application locally, use flatpak-builder with:
git clone https://github.com/flathub/org.libretro.RetroArch.git
cd org.libretro.RetroArch
git submodule update --init
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak-builder builddir --install-deps-from=flathub --user --install --force-clean org.libretro.RetroArch.json
flatpak run org.libretro.RetroArch --verbose
flatpak uninstall --user org.libretro.RetroArch
rm -rf ~/.var/app/org.libretro.RetroArch .flatpak-builder