Adding a new menu with custom entries


#1

Hi all,

I want to adding some entries into a new menu (with submenu entry like the one who is displayed to start a game), to launch some custom bash script. Does anyone knows how to do this ?

Thanks by advance :wink:


#2

Unfortunately, that’s a very tall order. You would actually probably be better off making a core that launches the script, similar to this one:


#3

Hi @hunterk,

Thanks for your reply. I see quickly the code of this core, specially the libretro-dolphin-launcher.c but it seem’s to search for an entry into the game database, for one or more extension (defined into dolphin_launcher_libretro.info) and use it to launch the rom file. Maybe it can be altered to make another behavior but I need some documentation to do this :slight_smile:

Could you tell me where I can found some documentation to dev it ? Or some source / documentation to modify the main lakka menu / submenu system ? All of this may be helpful :smile:

Thanks by advance :wink:


#4

I figured you would want to use a playlist to list your scripts in the GUI, then pass them to the launcher core.


#5

I actually have a modded core based on the one by RobLoach that does just this.

Just make a playlist containing the paths to the scripts and you can launch them from the menu.

I’m using it in Ubuntu, but I think it would work in any linux version. I’m planning to upload to github when I have corrected the install instructions.


#6

I also have forwarders that launch the standalone versions of Redream, Citra and Cemu (Cemu via Wine)…