Author Topic: Launching native Linux games?  (Read 1727 times)

erwan

  • Newbie
  • *
  • Posts: 3
    • View Profile
Launching native Linux games?
« 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.

raygun

  • Administrator
  • Sr. Member
  • *****
  • Posts: 383
    • View Profile
Re: Launching native Linux games?
« Reply #1 on: March 02, 2015, 11:26:00 PM »
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.

bionictoothpick

  • Sr. Member
  • ****
  • Posts: 247
  • He who laughs lasts.
    • View Profile
Re: Launching native Linux games?
« Reply #2 on: July 22, 2017, 08:04:44 AM »
Has this been solved?

rcampbel3

  • Jr. Member
  • **
  • Posts: 13
    • View Profile
Re: Launching native Linux games?
« Reply #3 on: July 26, 2017, 10:33:48 PM »
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"

Code: [Select]
# 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