Attract-Mode Support Forum
Attract-Mode Support => General => Topic started by: erwan on February 26, 2015, 02:48:03 AM
-
I mostly have Mame and emulated games in my arcade cabinet, but I also have a couple native Linux games (Bit trip runner, Jamestown, etc.).
Is there a way to launch them from Attract Mode? I've seen a default file for Windows games and tried to tweak it but I couldn't get it to work.
-
Doing something like the windows one should work if you use /bin/sh as the executable and -c "[romname]" as the parameters.
I would expect that to allow you to launch shell scripts (or maybe you could use symlinks?) that would then launch the corresponding game.
Something like that should work. I haven't tried using attractmode with linux games myself so I can't be any more help.
-
Has this been solved?
-
Maybe not "solved" in the sense that it's silly to require a dummy executable to launch a shell script, but this works fine for me -- my "Linux Games.cfg"
# Generated by Attract-Mode v2.2.1-41-dirty
#
executable /bin/bash
args "[romfilename]"
rompath /usr/local/share/games/ports/
romext .sh;.SH
system PC
info_source thegamesdb.net
artwork boxart /usr/local/share/games/ports/boxart
artwork cartart /usr/local/share/games/ports/cartart
artwork flyer /usr/local/share/games/ports/boxart
artwork marquee /usr/local/share/games/ports/marquee
artwork snap /usr/local/share/games/ports/videos;/usr/local/share/games/ports/snap
artwork wheel /usr/local/share/games/ports/wheel