Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: Jedah on February 01, 2022, 08:09:58 AM

Title: Timed quit button
Post by: Jedah on February 01, 2022, 08:09:58 AM
Hi all,

I wondered if there is a way of setting the quit game button so that it has to be held for a few seconds before it quits?

I have had some 2 player games quit back to menu because both players have pressed Start 1 and 2 at the same time.

Thanks
Title: Re: Timed quit button
Post by: Mark Norville on February 01, 2022, 08:25:00 AM
You would have to rewrite the code for Attract Mode for this to happen.

It would be much easier, if you just got new friends, or failing that changing your buttons to exit.

Regards

Mark
Title: Re: Timed quit button
Post by: Jedah on February 01, 2022, 11:14:09 AM
 ;D

Thanks for the advice, Mark. I will reorganize the buttons
Title: Re: Timed quit button
Post by: Mark Norville on February 01, 2022, 11:48:44 AM
Damm I was hoping you would get new friends, no one ever picks that option. Always the easy way out.

Make it as akward as possible, I have not tried the quit function, in fact give me a couple of minutes to test it out.
Title: Re: Timed quit button
Post by: Jedah on February 01, 2022, 12:18:16 PM
It has been such a long time since I set it up. I honestly can't remember if the default to quit back to menu was on Attract Mode or a setting on jpac.

Currently, holding player 1 start then pressing player 2 start quits. 

I am pretty sure it is an Attract Mode setting
Title: Re: Timed quit button
Post by: Mark Norville on February 01, 2022, 12:41:53 PM
I gave it a try and I could only confirm one button at a time, e.g I either press escape on a keyboard, or I press one button on my controller

I can press shift and 0 to escape, but I could not manage two controller buttons at the same time to quit, an iPac might be different.

However, you have a nag selector which asks you if you want to leave, yes or no so really that is your delay already built in.

Regards

Mark
Title: Re: Timed quit button
Post by: Jedah on February 02, 2022, 01:03:53 AM
I have checked. I have Start buttons set as MAME default (5 and 6). On JPAC, holding 5 acts as shift. I have a shifted quit key mapped to Start 2.

If there isn't a way of setting Attract Mode to only quit back to menu after the quit button has been held for a few seconds then I will move the button to somewhere else on the cab.

Thanks for you help :)
Title: Re: Timed quit button
Post by: Mark Norville on February 02, 2022, 01:13:43 AM
You have three different exits


Back (Exit) - asks you if you want to quit, and if you are in a sub menu, it will take you back one page
Exit - Will exit you from where ever you are
Exit to desktop - This is instant 

If you have a keyboard set up with it, then I would suggest setting a computer keyboard shortcut, which no one apart from you can touch. I know that might be a pain, but at least it saves other people from shutting down your system.

Regards

Mark
Title: Re: Timed quit button
Post by: progets on February 02, 2022, 01:28:50 AM
I have checked. I have Start buttons set as MAME default (5 and 6). On JPAC, holding 5 acts as shift. I have a shifted quit key mapped to Start 2.

If there isn't a way of setting Attract Mode to only quit back to menu after the quit button has been held for a few seconds then I will move the button to somewhere else on the cab.

Thanks for you help :)

First, if you use a quit option in the emulator (MAME in your case) there is no need to set an exit emulator button in AttractMode. I can only think of a handful of emulators that this option needs to be used in AttractMode. This can sometimes be more hurtful then helpful and shouldn't be used unless it's really needed (i.e. no other way to exit the emulator).

Second, if you want to hold a button for a period of time to exit an emulator (or anything else) you can use a third party tool like JoyToKey or Xpadder. These will make your setup a little more complicated but will give you maximum flexibility on controller/button setup per program/emulator.

Third, it's ideal to have non-gaming buttons on you cabinet. These buttons are never used in games and are not located near the game play buttons. I use these for the game start, game end type of function.

Fourth, if your cabinet has side buttons (normally used for pinball flippers) these are good to use as an exit button (preferably in the emulator vs AttractMode, if possible) to exit games because they won't be used in any game other than pinball.

Title: Re: Timed quit button
Post by: Jedah on February 05, 2022, 07:57:49 AM
Hi progets,

Thanks for your suggestions. That is a great idea with regards to Xpadder. Failing that, the button will be moved.

Thanks