Author Topic: Running windows .exe through shortcut attract mode  (Read 217 times)

jordwaine

  • Newbie
  • *
  • Posts: 1
    • View Profile
Running windows .exe through shortcut attract mode
« on: March 12, 2024, 11:47:04 PM »
Hey there apologies for the simple question but im struggling here.
How do I get my generic windows games to boot through attract mode.
Ive tried a couple of old suggestions and I'll describe whats going on now.

.Lnk files are stored here D:\Windows games\Links

Executable : cmd
args : /c "[romfilename]"
rompaths:  D:\Windows games\Links
romextensions : .lnk

the error i get is the following
Error getting emulator info for launch
 ! Unexpectedly lost focus to: explorer.exe (17052)

NightshadowON

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Running windows .exe through shortcut attract mode
« Reply #1 on: March 14, 2024, 04:56:19 PM »
I am not expert with AM and I currently use AM+, but this is how I have setup up an "emulator" to run Sonic Mania.

Create 'C:\Emulation\attract-mode\emulators\Sonic Mania.cfg' and add below text, then save. (use your own folders and filenames to match).
# Generated by Attract-Mode Plus v3.0.6
#
executable           C:\Games\Sonic Mania\SonicMania.exe
workdir              C:\Games\Sonic Mania\
system               Sonic Mania
info_source          thegamesdb.net
artwork    box             C:\Games\Sonic Mania\snap
artwork    boxart          C:\Games\Sonic Mania\snap
artwork    cart            C:\Games\Sonic Mania\flyer
artwork    cartart         C:\Games\Sonic Mania\flyer
artwork    flyer           C:\Games\Sonic Mania\flyer
artwork    marquee         C:\Games\Sonic Mania\marquee
artwork    snap            C:\Games\Sonic Mania\video;C:\Games\Sonic Mania\snap
artwork    wheel           C:\Games\Sonic Mania\wheel

Use AM to then setup an emulator with the name Sonic Mania.