Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: damonxxx on November 28, 2019, 03:30:00 AM

Title: High-Score won't save using AM-Hotkeys to exit MAME 2003+/FBneo RA-Cores
Post by: damonxxx on November 28, 2019, 03:30:00 AM
Hi,
I am on Windows and using the retroarch cores for MAME 2003+ and Final Nurn Neo and all works fine...
I want all controlls on my joypad so I set Hotkeys in AttractMode - to exit the RetroarchCores - to Select+Start and it works fine...except it won't save the High-Score - old scores get loaded...

(You can set Hotkeys Select+Start in Retroarch and High-Scores will be saved but it blocks the coin input(also Select) in several games so this is not an option)

But...
When I exit with the Escape-Key which is a Retroarch command to exit emulation - the High-Score would be saved...
You can also quick call the retroarch-menu via controller and end the game and use AM-Hotkeys to quick go back to the AM-Menu and the HighScore is saved also...
One advantage of taking an extra step ito get the High-Score saved is...when a friend comes over....who is to good at a game...ooops...forgot something ;)

Maybe emulate pressing the ESC key...
Is there a simple solution to this...
Title: Re: High-Score won't save using AM-Hotkeys to exit MAME 2003+/FBneo RA-Cores
Post by: hermine.potter on November 28, 2019, 04:46:10 AM
try autohotkey or autoit (http://forum.attractmode.org/index.php?topic=3119)

or program like joytokey
Title: Re: High-Score won't save using AM-Hotkeys to exit MAME 2003+/FBneo RA-Cores
Post by: damonxxx on November 28, 2019, 04:52:37 AM
Thanx for reply..I try later...all work no play...
Title: Re: High-Score won't save using AM-Hotkeys to exit MAME 2003+/FBneo RA-Cores
Post by: damonxxx on November 28, 2019, 06:44:16 AM
So... I have done this...

cleaned Hotkeys in AttractMode EmulatorMenu

configurated Xpadder select+start=esc key (like joytokey)

created "start.bat"-file to start xpadder with AttractMode
@ECHO OFF
START x:\Attract-Mode\Xpadder\Xpadder.exe
START x:\Attract-Mode\attract.exe

Exits Final Burn Neo AND saves the High-SCORES...yeahh

to end xpadder when exiting AttractMode I created another file "Exit.bat"
@ECHO OFF
cd "x:\Attract-Mode\Xpadder\"
Xpadder.exe
taskkill /IM Xpadder.exe /f

went to AttractModeMenu-Configure-General-EXIT COMMAND
Entered EXIT COMMAND Exit.bat
When exiting AM it ends xpadder too...but my PC shows the icon until I hover the mousepointer over it...

works for now...

Have to test if it interferes with any of the other emulators because it is running all the time in the background...

If anyone has a better solution or a tip how to start and end xpadder with a specific emulator...