Author Topic: Mixing roms and exe on a screen.  (Read 1963 times)

justintime

  • Jr. Member
  • **
  • Posts: 18
    • View Profile
Mixing roms and exe on a screen.
« 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?
« Last Edit: October 06, 2024, 08:52:17 PM by justintime »

zestful

  • Full Member
  • ***
  • Posts: 35
    • View Profile
Re: Mixing roms and exe on a screen.
« Reply #1 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
« Last Edit: October 08, 2024, 03:38:01 AM by zestful »

justintime

  • Jr. Member
  • **
  • Posts: 18
    • View Profile
Re: Mixing roms and exe on a screen.
« Reply #2 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 ?