Build Your Own Arcade Controls Forum
Main => Driving & Racing Cabinets => Topic started 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:
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:
Hardcoded toggled inputs (eg. simulated hi-lo gearshift-lock in racing games)...
http://git.redump.net/mame/ (http://git.redump.net/mame/)
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)
-
:applaud:
:cheers:
Thanks to the Devs for finally adding this much needed and desired option.
-
What version is that available in?!?!??!
-
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)
-
.151 is out and includes this feature.
To repeat how to use it:
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.
-
Yeah unfortunately this still isn't the best solution for most.
We need yet another option that splits the hi/low into separate buttons.
-
Thanks for sharing the information. I found the information very helpful.
-
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
-
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