Main > Main Forum
Gear shift in MAME ?
slider2732:
Does anyone know how to make a driving games gear shift run in MAME ?
I can't seem to find relevant info anywhere.
Basic problem is the microswitch basis...at the moment it needs an up then a down movement to change a gear, rather than up for Low, down for High.
Angry_Radish:
It really depends on the game... I wish they would have some sort of global option to alter it, but for now you have to tweak each driver.
I ended up recompiling the poleposition driver as per this thread http://forum.arcadecontrols.com/index.php?topic=66254.msg671758#msg671758
Works great now, just a shame that the shifter functions arent done properly.
It's set up for people to play on keyboards, not the actual arcade controls. I could go on some sort of rant about the mame devs and their stated goals vs what actually comes out, but it's been done before ;D
SavannahLion:
--- Quote from: Angry_Radish on July 11, 2007, 10:46:22 am ---It's set up for people to play on keyboards, not the actual arcade controls. I could go on some sort of rant about the mame devs and their stated goals vs what actually comes out, but it's been done before ;D
--- End quote ---
Makes me wonder why there hasn't been a fork yet.
slider2732:
Thanks :)
I'll have a look at that.
From one article I read it does seem that games don't have a 'general' method of incorporating shifting. There are of course different methods of shifting that manufacturers built anyway.
What needs to happen is: no input = gear is low, an input = gear is high. Is that so difficult ? Wish I knew some C, but BASIC and COBOL are my only languages (even English can be a struggle on a Friday night).
Experiments today will probably include wiring the 3rd terminal on the microswitch and running it to 2 keyboard hack inputs. That way, it's low gear in one state and high gear when the switched is pressed. Can't see it working, but will give it a go.
As things are, it's like double clutching on an old car lol
Angry_Radish:
Hehe, exactly like double clutching :-)
I wouldn't bother with the 3rd terminal thing, I even suggested it in that thread I referenced, but then I tried it :banghead:
It needs a toggle to shift the way it is... you could try using a cap to maybe debounce it, but even then I don't know if it would work.
You are right, there are tons of variables when it comes to shifters and driving controls, though it would be nice to have the option per rom to set the type of controls.
Ah well, just makes some of my dedicated cabinets that much more fun ;D
Navigation
[0] Message Index
[#] Next page
Go to full version