making it boot to a specific game

Thinking about getting a RaspberryJAMMA, or have just purchased one and have a newbie question? Walls here are padded, come on in and bounce your question off of them!

Moderator: dee2eR

Post Reply
fud
Community Member
Community Member
Posts: 11
Joined: Sun Apr 28, 2019 4:23 pm

making it boot to a specific game

Post by fud » Mon May 06, 2019 8:34 am

is there an easy way to make this boot up to a specific game?
I want it to load the same game every time I turn the cabinet on.
Thank you.

cool_factor
Legendary Contributor
Legendary Contributor
Posts: 164
Joined: Tue Sep 26, 2017 10:55 am

Re: making it boot to a specific game

Post by cool_factor » Mon May 06, 2019 8:15 pm

viewtopic.php?f=5&t=961

use notepad++ to edit (Google it,free dowload) the run.sh file as noted in link above.

# If you want to auto load a game put it here
/boot/launchers/mame106.sh 1943 >/dev/null 2>&1

mame106.sh 1943 is the example in the link

1943 will always launch first in this example

dee2eR
Inventor
Inventor
Posts: 915
Joined: Tue Aug 22, 2017 2:07 pm

Re: making it boot to a specific game

Post by dee2eR » Tue May 07, 2019 12:16 am

Following the example in run.sh will set the board to boot to a single game. If that is the only change you make exiting the game will load the game selection menu.

If you want the board to only run one game you can add a reset command to the next line and disable the exit hotkey. With it set like this there is no way to exit the game and if it did happen to crash the system would reboot into the same game again.

As @cool_factor mentioned use Notepad++ to edit any Linux related files on a Windows box. The built in Windows editors will change (unseen) details of the file and tend to break things.

fud
Community Member
Community Member
Posts: 11
Joined: Sun Apr 28, 2019 4:23 pm

Re: making it boot to a specific game

Post by fud » Tue May 07, 2019 1:35 am

Thanks very much guys. I'll give it a try after I backup my SD card!

fud
Community Member
Community Member
Posts: 11
Joined: Sun Apr 28, 2019 4:23 pm

Re: making it boot to a specific game

Post by fud » Tue May 07, 2019 6:28 am

You guys are both awesome. Got it working perfectly with your help.
Much appreciated.

Post Reply