Build Your Own Arcade Controls Forum

Main => Driving & Racing Cabinets => Topic started by: BadMouth on October 26, 2013, 07:29:59 pm

Title: Option to turn hi/lo shifter toggle off added to official MAME build (v1.51)
Post by: BadMouth on October 26, 2013, 07:29:59 pm
hap gave us a way to turn off the hi/lo toggle in the official MAME build.  :applaud:

From MAMEworld Emuchat forum:
Quote
Ok, the toggle on hi/lo gearshift can now be turned off by editing the game cfg file. I won't add it to the MAME internal UI though.

From the MAME commits:
Quote
Hardcoded toggled inputs (eg. simulated hi-lo gearshift-lock in racing games)...
http://git.redump.net/mame/ (http://git.redump.net/mame/)

Quote
For example, to disable the toggle on the shifter in outrun, open /cfg/outrun.cfg and add toggle="no" to the port tag, like so:
<port tag=":SERVICE" type="P1_BUTTON1" mask="16" defvalue="0" toggle="no">

(http://images2.wikia.nocookie.net/legomessageboards/images/3/3c/Stephen-colbert-celebration-gif.gif)
Title: Re: Option to turn hi/lo shifter toggle off added to official MAME build
Post by: Xiaou2 on October 27, 2013, 09:54:32 pm
 :applaud:

 :cheers:

Thanks to the Devs for finally adding this much needed and desired option.

Title: Re: Option to turn hi/lo shifter toggle off added to official MAME build
Post by: Fursphere on October 27, 2013, 11:59:16 pm
What version is that available in?!?!??!
Title: Re: Option to turn hi/lo shifter toggle off added to official MAME build
Post by: BadMouth on October 28, 2013, 08:52:34 am
What version is that available in?!?!??!

It will be in the next official one on http://www.mamedev.org/ (http://www.mamedev.org/)

0.150u1 if you get the interim updates and compile your own.
0.151 would be the next official main release.

Here is hap's diff file if you want to try to roll it into the current version v0.150
http://git.redump.net/mame/commit/?id=f799e3e599a74e2960a1574721cab43c3bf22a0e (http://git.redump.net/mame/commit/?id=f799e3e599a74e2960a1574721cab43c3bf22a0e)
Title: Re: Option to turn hi/lo shifter toggle off added to official MAME build (v1.51)
Post by: BadMouth on November 05, 2013, 03:33:53 pm
.151 is out and includes this feature.

To repeat how to use it:
Quote
For example, to disable the toggle on the shifter in outrun, open /cfg/outrun.cfg and add toggle="no" to the port tag, like so:
<port tag=":SERVICE" type="P1_BUTTON1" mask="16" defvalue="0" toggle="no">

This will only make the game behave like it original did, so if you have a sequential shifter that returns to center, it's not going to help.
Most older games with a Hi/Lo shifter only had one switch.  If the Hi switch wasn't being pressed, the game would default to Lo (or vice versa).
If you have a Hi/Lo or H shifter that stays in gear, then this will solve the toggle issue for you.
Title: Re: Option to turn hi/lo shifter toggle off added to official MAME build (v1.51)
Post by: Howard_Casto on November 06, 2013, 08:07:37 pm
Yeah unfortunately this still isn't the best solution for most. 

We need yet another option that splits the hi/low into separate buttons. 
Title: Re: Option to turn hi/lo shifter toggle off added to official MAME build (v1.51)
Post by: dee22 on November 07, 2013, 12:48:36 am
Thanks for sharing the information. I found the information very helpful.
Title: Re: Option to turn hi/lo shifter toggle off added to official MAME build (v1.51)
Post by: Fursphere on November 07, 2013, 07:56:45 am
Yeah unfortunately this still isn't the best solution for most. 

We need yet another option that splits the hi/low into separate buttons.

Just set it up so that on your wheel - "in gear" = high, "in neutral" = low

Title: RE: Option to turn hi/lo shifter toggle off added to official MAME build (v1.51)
Post by: BadMouth on November 07, 2013, 08:38:28 am
The current change does what I was doing manually, removes the toggle and nothing more.  You need to have a shifter that stays in place.  It works fine on my H shifter.  Some games default to hi and some default to low, so it takes a little trial and error as to which gear on the shifter to map to the single shifter input.

A full solution would add inputs for both gears and have them latch.  That would work for those with paddle or sequential shifters that don't stay in gear and hold th switch closed.

sent from my phone while driving