Attract-Mode Support Forum
Attract-Mode Support => General => Topic started by: pacman_fan on October 13, 2023, 12:37:48 PM
-
I've narrowed the problem down to a key being pressed while mame is loading.
I believe its a windows thing, same happens opening up any application in wndows. if ctrl, alt or shift are pressed or held when starting word, IE, or MAME, that app launches in the back.
As hard as I try to start it, sometimes a player will just pressed buttons after selecting their game, then the game isn't visable, or the coin/start commands goto the background, app not functioning, until I Alt-Tab with a keyboard! not fun.
-
Experimenting with this some more, its when the user presses a key multiple time after selecting the game!
usually it's the CTRL (fire) or Coinin (5) keys
-
Try Configure-->Emulator--(your_emulator_name)-->Non-Blocking Mode Wait = 10.
If this works you can play with the 10 number and reduce it as low as possible before the problem returns. BTW - 10 equals the number of seconds AttractMode will wait before putting focus on the emulator when launching a game so be patient when testing.
-
Thank you for the suggestion, but that had no effect.
I managed to find an article with a solution using autohotkey, it works well!
https://www.autohotkey.com/boards/viewtopic.php?style=19&t=93082
-
Looks like the issue might be related to Windows handling of key presses during startup. Maybe try disabling sticky keys or adjusting your input settings to prevent unintended behavior when MAME or other apps are loading.