How to launch games from Kodi file browser?



I’m trying to figure out how to directly launch Linux games from Kodi, without going through a launcher add-on.  To be clear – I’m talking about running native Linux games, not ROMs or games through wine or steam or some other intermediary layer.

I know Kodi doesn’t have full library, but according to https://kodi.wiki/view/Game_management I can add a source for Games (which I’ve done), and would expect I could at least browse to it (which I can do) and run files from with in it (which I can’t).  I’m not sure what I’m missing, but I’m not really clear on what I even can or can’t do with Kodi here, so not sure how to proceed with troubleshooting.

At this point I have the following directory added as a games source:

/home/media/data/games/PC/Kodi
└── Slay the Princess
    └── Slay the Princess.sh

My intention is to essentially have a list of scripts or links in this directory that can be used to launch any installed game.

When I browse to Games in the Estuary UI, the content window only gives me choices to “Enter add-on browser” or “Remove this main menu item”.  But if I select Games, it takes me to a file browser where I can add sources.  I added a source for the above directory as mentioned, and when i browse into the source I see the Slay the Princess directory, but when I enter the directory it doesn’t list the launcher script.  It only seems to display directories – I created a bunch of dummy files with various extensions to see if I could get it to list anything else, but I get nothing.

I don’t understand the behavior at this point.  How do I get Kodi to launch a game from here?

Kodi supports videoextensions and similar in advancedsettings.xml to tell it what file extensions to load, but I see nothing like that for games.

Maybe my methodology is wrong.  I could try installing and running my games directly from that source instead of using launcher scripts, but if it’s not displaying any files at all then I don’t see how that would make any difference.

or maybe Kodi simply cannot browse and run games at all?  But then why even bother adding support for game sources if all it can do is browse and display only directories?

I’m obviously missing something here.  Would appreciate any pointers.

Note:  I understand I can install something like Advanced Launcher (if that even still works – I don’t see it in the v21 repo), but my preference is to do this without an add-on if possible.  My goal is so basic – just browse a list of executables and run one when I hit select – that it seems like this must be possible even with the rudimentary games support built into Kodi.