I’ve backported RetroArch for SailfishOS 4.5
It is available at: Release release-20240113173734 · smokku/RetroArch · GitHub
First thing to do after installation is to go to:
Online updater / Update assets
It will download assets required to properly render the User Interface.
Then update the basic information files. The rest is not necessary (but recommended).
Then the Emulation core download should work.
The cores are extracted from Lakka-RPi3.aarch64-4.3.
Unfortunately SailfishOS has very old GCC 8 with old libstdc++ library incompatible with cores using C++, so I removed these.
In order to be able to play using touch screen, you need to enable controller overlay.
Download overlays using online updater.
Go to: Settings / User interface / On Screen Display / Screen Overlay
Enable overlay and select an overlay from gamepads/ directory.
I tried configuring the Assistant button to open the core menu (default binding F1), but failed to do so.
It should be possible when using udev keyboard driver according to Xperia 10 III support - #173 by remote
DO NOT CLOSE THE EMULATOR USING TOUCH GESTURE / CLOSE ICON!
Always use the “Close RetroArch” menu item.
Closing the app using gesture will keep the emulator in background and eat your battery.
- app stays in background
- sometimes crashes when reinitializing Wayland window (I probably messed up something when restoring wl_shell support)
- landscape mode - This is not supported by RetroArch. RetroArch assumes the OS does the screen rotation (either on the system framebuffer or XRandr)