I'm running MAME32Plus! 0.105. Should I be using a different emulator for Pole Position?
That's a REALLY ancient version of MAME.
You might want a more recent version, especially if changing the shifter output to a gamepad button doesn't work for you.
https://forum.arcadecontrols.com/index.php/topic,161022.0.htmlI have the opti-pac working (I think, because I can move the mouse pointer left and right on the windows desktop with the steering wheel) but it doesn't seem to steer the car in-game.
Windows recognizes the steering wheel as mouse X-axis. That is good.
I also followed your instructions on wiring the pedal with the U-hid nano, and it seems to work, but for whatever reason, when I press the pedal, the car rotates left/right (what the wheel should be doing).
Mame accepts analog input from the pedal. That is good, but you might want to consider changing the U-HID configuration for that input from X-axis (left/right) to Y-axis. (up/down)
So, I'm guessing there is just some sort of setup in MAME that I am missing. I'm running MAME32Plus! 0.105.
1.) Do you already have mame.ini in your installation?
- if not, you'll need to launch mame
one time with the "-cc" (create config) software switch to create a mame.ini file. (i.e. "mame.exe -cc")
2.) Edit mame.ini using notepad.
- Under "CORE INPUT OPTIONS", you want both mouse and joystick to be enabled (1) not disabled. (0)
- Save file and exit.
#
# CORE INPUT OPTIONS
#
coin_lockout 1
ctrlr
mouse 1
joystick 1
lightgun 0
3.) Map the controls in MAME.
- Start Pole Position in MAME.
- Hit TAB to bring up the MAME menu system.
- Go to the "Inputs (this Game)" menu.
- Highlight "P1 Pedal 1 Analog".
- Press ENTER. (Tells MAME to remap this input)
- Step on the pedal. (MAME should see the change and map the pedal to this input)
- Highlight "P1 Pedal 1 Analog DEC". (The DEC and INC inputs are used to generate fake analog/mouse inputs using button presses -- you've got real analog and mouse inputs so you don't want these inputs active)
- Press ENTER.
- Press ESC. (MAME should map this input to "none") NOTE: In some releases of MAME, you'll need to press DELETE to set the input to "none".
- Highlight "P1 Pedal 1 Analog INC".
- Press ENTER.
- Press ESC. (MAME should map this input to "none")
- Highlight "Dial Analog".
- Press ENTER.
- Turn the steering wheel. (MAME should see the change and map the steering wheel to this input)
- Highlight "Dial Analog DEC".
- Press ENTER.
- Press ESC. (MAME should map this input to "none")
- Highlight "Dial Analog INC".
- Press ENTER.
- Press ESC. (MAME should map this input to "none")
That should get you pretty close to running right, other than configuring the shifter as a gamepad button and remapping that input in MAME. (see link at the beginning of the post)
Scott