Author Topic: Add command before and after emulator launch  (Read 1805 times)

bionictoothpick

  • Sr. Member
  • ****
  • Posts: 320
  • He who laughs lasts.
    • View Profile
Add command before and after emulator launch
« on: September 24, 2020, 04:25:32 PM »
Windows 10:

I want to add the following command to my working setup:

Start of emulator launch taskkill /IM antimicro.exe
After exit of emulator antimicro.exe --notray

_____Working cfg below_______
# Generated by Attract-Mode v2.6.1
#
executable           c:\launchbox\RetroArch\retroarch.exe
args                 -L cores\stella2014_libretro.dll "[romfilename]"
rompath              c:\launchbox\games\atari 2600
romext               .zip;a26
system               Atari 2600
info_source          thegamesdb.net
artwork    fanart          ../../am/scraper/stella/fanart
artwork    flyer           ../../am/scraper/stella/flyer
artwork    marquee         ../../am/scraper/stella/marquee
artwork    snap            ../../am/scraper/stella/snap
artwork    wheel           ../../am/scraper/stella/wheel

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: Add command before and after emulator launch
« Reply #1 on: September 25, 2020, 01:58:17 AM »
via NUT script:
Here
Here

or

external software, that checks if specific .exe is started (Autoit + winwaitactive command)

or (but not very handy)

change emulator settings to command line + different start commands
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM

bionictoothpick

  • Sr. Member
  • ****
  • Posts: 320
  • He who laughs lasts.
    • View Profile
Re: Add command before and after emulator launch
« Reply #2 on: September 25, 2020, 06:14:30 AM »
Thank you for the response. I have more than enough now.

All this because my joysticks don't work properly with SFML so they are hidden from attractmode.