Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: theamity9 on May 03, 2018, 01:40:34 AM

Title: Open File With ROM
Post by: theamity9 on May 03, 2018, 01:40:34 AM
I'm using AM to frontend my MAME build. I was wondering if there's a way to run a 2nd file along with certain ROMs. IE:
If game X is ran open file.bat
Title: Re: Open File With ROM
Post by: hermine.potter on May 03, 2018, 03:56:04 AM
@theamity9
it's similar to the settings of OpenBor (http://forum.attractmode.org/index.php?topic=503.msg4231#msg4231)

Code: [Select]
executable           cmd
args                 /c cd C:\attract\EMU\OpenBOR\[name] & start OpenBOR.exe & start C:\attract\EMU\OpenBOR\wait_for_ESC.exe
rompath              C:\attract\EMU\OpenBOR
romext               <DIR>

using cmd, /c, & and start