FunKey-Project / FunKey-OS

Buildroot-based embedded Linux OS for the FunKey S retro-gaming console
https://www.funkey-project.com/
GNU General Public License v2.0
242 stars 65 forks source link

[Enhancement] Plug libopk to RetroFE so we can launch OPKs from this frontend #35

Closed DrUm78 closed 2 years ago

DrUm78 commented 3 years ago

For now, RetroFE users must launch GMenu2X to execute OPKs, which is not very convenient for them.. Would be nice to plug libopk to RetroFE so we can launch OPKs from this frontend in a dedicated section.

DrUm78 commented 2 years ago

Found an easy workaround with the help of Robbi and funkboydog on Discord: https://github.com/DrUm78/FunKey-OS/blob/ee1deec649c73f4131b3d7713b72d232801f3feb/FunKey/board/funkey/rootfs-overlay/usr/games/launchers/native_launch.sh#L6 I thought opkrun would need more work to be plugged to RetroFE but it's usable with a command line directly in a shell script. One limitation though: when you want to launch an OPK (within the "Native games" section we created with reno) that is designed to pick a rom (typically an emulator with "%f" in the .desktop file): that's not possible here as RetroFE won't prompt another file selector, but at least for now that allows to easily launch any other OPK, still a great improvement.