Author Topic: Multi-emulator setting?  (Read 665 times)

placebo_yue

  • Full Member
  • ***
  • Posts: 52
  • sup
    • View Profile
    • Instagram
Multi-emulator setting?
« on: June 22, 2021, 08:49:35 AM »
I asked this on the themes subforum but i probably should've asked here.
Is there a way (AKA did someone come up with a plugin) to have more than one .exe in a single emulator? meaning, swapping between snes9x and bsnes inside the same AM "emulator".
I'd like to have the option to go back and forth between the two, i already have the savestates and such set up and working. All i need is for a way to avoid having to create duplicate emulators inside AM just for this thing.

sorry for spamming this across two subforums i'm excited about the idea

hermine.potter

  • Hero Member
  • *****
  • Posts: 730
    • View Profile
Re: Multi-emulator setting?
« Reply #1 on: June 23, 2021, 07:49:52 AM »
Something similar:

You can add another .exe in same display as told as here:
-set snes9x as usual in display executable and command arguments
-set a button in controls for : "Edit Game"
-press this button in display gamelist
-in this Edit Menu, set executable and command arguments for this specifc game for BSNES
-if not longer necessary : remove it from Edit Menu

OR

Switch between configurations. Problem is, that attract must be closed.
-create two cfg-files each system:
C:\attract\emulators\TwoSystems\BSNES.cfg
C:\attract\emulators\TwoSystems\SNES9X.cfg

-create two batch-files each system:
C:\attract\emulators\TwoSystems\CHANGE_BSNES.bat
Code: [Select]
@echo off
taskkill /F /IM "attract.exe"
copy /Y "C:\attract\emulators\TwoSystems\BSNES.cfg" "C:\attract\emulators\SNES.cfg"
cd "C:\attract"
start "" "attract.exe"
C:\attract\emulators\TwoSystems\CHANGE_SNES9X.bat
Code: [Select]
@echo off
taskkill /F /IM "attract.exe"
copy /Y "C:\attract\emulators\TwoSystems\SNES9X.cfg" "C:\attract\emulators\SNES.cfg"
cd "C:\attract"
start "" "attract.exe"

start AM > press TAB key > Plug-Ins > UtilityMenu
Enabled : Yes
Control : u
Item 1 Menu Text : BSNES
Item 1 Command : "C:\attract\emulators\TwoSystems\CHANGE_BSNES.bat"
Item 1 Menu Text : SNES9X
Item 1 Command : "C:\attract\emulators\TwoSystems\CHANGE_SNES9X.bat"

if you press U button in display gamelist, a menu pop up:
if you choose BSNES, the batch-file CHANGE_BSNES starts.
it kills AM window > replace SNES.cfg with the BSNES.cfg > start attract.exe
if you choose SNES9X, the batch-file CHANGE_SNES9X starts.
it kills AM window > replace SNES.cfg with the SNES9X.cfg > start attract.exe
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