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 because of a tutorial from @elav, I met the mari0 game to which I have become a bit flawed. The fact is that to run the game you have to open folders and then run the .love file and I prefer to have the game at the stroke of a command when I log in to fluxbox or in the menu when I log in to 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


9 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   seachello said

    An interesting tip. I have a question, just by putting the bash script in / usr / bin (and putting the path to the .love file in the home of course) it would work the same right?

    1.    neysonv said

      exact, in this case the script would be
      #! / Bin / bash
      love /home/user_name/mari0_1.6.love
      although keep in mind that we tend to move the home files, in which case we will have to modify the script, so you better create a special directory for this type of files
      and perhaps a certain user on your system cannot access the game if they do not have the permissions to access the home of other users, that is the advantage of leaving the game in a folder on the XD system

  2.   angel blade said

    You didn't specify which level 1-1 so I did it with the mappack «The lost worlds» http://twitpic.com/dgbypy

    1.    neysonv said

      You have surpassed me hehe, mine was in the first world XD

  3.   elruiz1993 said

    Which bird are you referring to? because what you have there are a Koopa (the turtle) and a Goomba (the mushroom with legs)

    1.    neysonv said

      I saw the fungus more like an owl. thanks for the clarification XD

  4.   eliotime3000 said

    I've barely gotten used to using Mari0's controls, but I don't know if I'll make it to level 3 with a portal gun.

  5.   vidagnu said

    It would only be necessary to add the access in .fluxbox / menu so that it appears in the menu.

    Regards!

  6.   alex said

    install love the latest version and when running mari0 it gives me this error
    https://docs.google.com/file/d/0B07RiAlBzLm_Wjhmd2ZxOGFRZG8/edit?usp=sharing

    I have Linux Trisquel 6 installed. Any solution?