Boot straight to game to be 'more console like'

I’d really like a menu option of selecting a game to boot into once my Raspberry PI is switched on.

Switching on my PI goes straight to Sonic the Hedgehog for example, no Lakka menu, or even the little Lakka Flower during boot!

This would mean Lakka would be even more console like in it’s behaviour.

Is it possible?

I think you can probably modify the retroarch service to include CLI arguments for launching a game.

Great, but I’d love to see some kind of option perhaps in a playlist, to select a switch to allow the system to boot into a game from start up, bypassing the initial Lakka boot menu. I don’t think it would be much fun for amateurs like myself to be messing around with CLI arguments each time I want to set a game to boot at lakka launch!

hunterk is right, the retroarch.service file. SSH into Lakka and append your args to ExecStart=retroarch.

Alternatively, you could get involved with RetroArch code, and work on adding the menu item and callbacks. Would be easier to do it through SSHing into Lakka though.

1 Like

While we in the subject of the retroarch.service file, can anyone explain to me what does this line mean?

ConditionKernelCommandLine=!retroarch=0

As I understand it the service will only run if the Kernel Command Line does not contain retroarch=0?

That is interesting idea. it could almost be like modern consoles, where you boot up and start where you left off.

You could code to launch last played game and its save state.

1 Like