Analog Pedal Patch Readme (2002-5-2) |
This patch is designed to fix the problem the official Mame has with the IPT_PEDAL input type (bug pedal055yel). IPT_PEDAL is an analog input type designed to emulate arcade analog pedals. Official Mame, however, does not read analog data from analog input devices; instead it converts the analog input to a digital on/off, and then uses this digital data to simulate an analog input. This patch allows Mame to use the analog data from analog input devices correctly. About 20 racing games use this input type for the game's pedal.
The patch also allows Mame to go back and use the older input method if you want (with a new command line/.ini/.cfg file option).
The patch works for both windows and dos versions of Mame.
(this is just the basics)
How can I test if the pedal patch is working with my pedal/joystick?
Why doesn't the pedal patch also do xxx?
This is a patch with only one change to Mame. If you want more patches to Mame's analog input, try my Mame:Analog+ patch. If you want different features from other mame variations patched in, you will have to compile it yourself. Sorry, I am busy enough as is.
However, I am open to new ideas, improvements, suggestions, bug reports, etc, that is related to mame's analog input handling, games with analog inputs, and maybe inputs in general. Just write to me with your input, and I'll see if I can help. No geranties, though
Can you add xxx to this patch?
If it isn't related to the analog pedal input, no. I might add it to my Mame:Analog+ patch, but maybe not. If not, you can compile this patch into most other versions of (dos or windows) Mame without much problems (see table in appendix).
Why so many limits with this patch?
Work is getting in the way of Mame, so I don't have very much time to do much more to the patch. Also, I want this patch to be as "clean" as possible, so it can be easily be added to the official Mame. Mame:Analog+ includes the pedal patch feature as well as more related to mame's analog inputs.
How do I disable the patch for a specific game?
Look at step five, getting started.
When will this pedal patch be part of the official mame?
I submitted it. I don't know if it will or won't, let alone when it will be added.
Is this pedal patch part of any other variations of Mame?
AFAIK, Mame:Analog+ is the only my other version of mame that has this patch. If any of the other variations want to use this patch, be my guest. If you let me know, I'll post it on my web sites. If anyone can improve my changes, please do. I am sure there are lots of places improvements are needed. I want all Mames to have better analog input, and that will only happen if changes are made.
Game Name Driver Rom Set
TestedPatch Work? Notes ver.60 Datsun 280 Zzzap 8080bw.c 280zzzap Yes APB - All Points Bulletin atarisy2.c apb Yes Chequered Flag chqflag.c chqflag Yes Championship Sprint
atarisy2.c csprint Yes Dirt Fox namcos2.c dirtfoxj Yes* Conflict: Y axis aready in use. User needs to re-assign gear shift buttons to remove conflict. Grand Champion grchamp.c grchamp Yes Game not fully emulated Hard Drivin' harddriv.c harddriv Yes Game not fully emulated. Hydra atarig1.c hydra Partial Conflict: Y axis aready in use. Game needs 3 analog axes for complete emulation. Use disable option "-noanalogpedal" Danny Sullivan's
Indy Heatataxx.c indyheat Yes Laguna Racer 8080bw.c lagunar Yes Max RPM mcr3.c maxrpm Yes Ironman Stewart's Super Off-Road leland.c offroad Yes Pole Position polepos.c polepos Yes Although has 2 pedals, only the first pedal is fixed. This is the same as the original hardware; the brake is a switch (button) that feeds an analog variable in both the arcade and in mame. Pole Position II polepos.c polepos2 Yes Redline Racer leland.c redlin2p Yes*
*needs a change in driver/leland.c, included Road Blasters atarisy1.c roadblst Yes Spy Hunter mcr3.c spyhunt Yes Spy Hunter 2 mcr68.c spyhunt2 Yes Super Sprint atarisy2.c ssprint Yes Turbo Tag mcr3.c turbotag Yes
** there are more games that currently don't work yet, but whose drivers use the IPT_PEDAL analog device. (Final Lap is one, for example)