Access emulator games quickly in Fluxbox (for Debian and derivatives)

love is not an emulator but when accessing the game it behaves as such

A few days ago, thanks to a tutorial by @elav, I discovered the game mari0, which I've become a little addicted to. The thing is, to run the game you have to open folders and then run the .love file, and I'd prefer to have the game available with a single command when I log into Fluxbox, or even in the menu when I log into LXDE.

I assume you have done the tutorial from @elav and that you also have the .love file in your main directory / home / username /

1) copy to / usr / bin and give execution permissions

sudo cp mari0_1.6.love /usr/bin

sudo chmod +x /usr/bin/mari0_1.6.love

3) we create a script with leafpad or any plain text editor and save it in / home / username with the name of mari0

#!/bin/bash
love /usr/bin/mari0_1.6.love

4) copy the script to / usr / bin / and give execution permissions

sudo cp mari0 /usr/bin
chmod +x /usr/bin/mari0

Now when we want to run the game from fluxbox we do ALT + F2 and run with the mari0 command

by the way, let's see who reaches the goal in the first level with a turtle and a bird XD, if you succeed, make a screenshot and put it in the comments

mario


Add as preferred source in Google