Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: justintime on October 06, 2024, 08:05:53 PM

Title: Mixing roms and exe on a screen.
Post by: justintime on October 06, 2024, 08:05:53 PM
I searched and couldn't find an answer to this. 

Is there a way to have my layout set up so that on the list of games I can run regular mame roms but also mix in there some executables?   I have some autoit exe files that perform some actions on my arcade cabinet that I would like to be able to launch from within AM.   If not possible then at least I believe I can create a separate layout that hosts the scripts and launch from that screen instead. 

Edit:
 The homepage info states the following which I think is what I'm after:
Supports per-game customization of the game launch commandline (executable and parameters).

How is this implemented?
Title: Re: Mixing roms and exe on a screen.
Post by: zestful on October 07, 2024, 08:19:28 AM
in emulators folder just add it to the config file for that system

Code: [Select]
#
executable           mame
workdir              $PROGDIR/emulators/mame
rompath              $PROGDIR/emulators/mame/roms
romext               .zip;.chd;.exe
system               Arcade
args               [name]

artwork    box2d           $PROGDIR/collections/MAME/box2d
artwork    box3d           $PROGDIR/collections/MAME/box3d
artwork    cab             $PROGDIR/collections/MAME/cab
artwork    fanart          $PROGDIR/collections/MAME/fanart
artwork    snap            $PROGDIR/collections/MAME/snap
artwork    wheel          $PROGDIR/collections/MAME/wheel
Title: Re: Mixing roms and exe on a screen.
Post by: justintime on October 11, 2024, 08:00:42 PM
Not sure I follow.  You added .exe is all?

I want to have a specific exe  file let's say "autoitscript.exe" among all the games in my mame display.   When I select that exe it would know to launch the corresponding exe file? How would I even configure this in the romlist  file ?