The NEW Build Your Own Arcade Controls
Main => Main Forum => Topic started by: mikeveli20 on February 20, 2009, 01:05:51 pm
-
Hey all,
I'm in the process of trying to get my USB steering wheel configured to work with MAME. The wheel I have is a Logitech MOMO Force Feedback racing wheel. I don't really care about the Force Feedback in MAME and I doubt it would work anyways, so the focus is just on getting the wheel, pedals and gear shift to work properly. I have the wheel installed in Windows and it is recognized by Windows and works fine with PC games.
However, in MAME it doesn't work at all. I am using California Speed as my test game. For those that are familiar with it, when you first load the game you have to calibrate the wheel by turning it left and right, pressing the pedals, etc. Well when I do this on my wheel, nothing happens. I checked the controls for the game by pressing Tab, and it says that Paddle Analog is set to Joy 1 X Axis, Paddle Analog Dec set to Joy 1 Left, and Paddle Analog Inc set to Joy 1 Right. P1 Buttons 2-5 are set to keyboard buttons Alt, Space, Shift, Z. There is no Button 1 under the options.
Excuse my noobness if the solution is painfully obvious. Thanks.
-
There is a chance that MAME is seeing your steering wheel as Joy 2, or something different. You can check by pressing Tab in MAME, press enter on Paddle Analog, and then turn your wheel. It will register the correct Joy #. If you don't plug-in and remove your wheel often, you should make this change in the Input All Games settings instead of the Input for This Game setting.
Hope this makes sense, I am not at my MAME computer right now.
-
I checked the controls for the game by pressing Tab, and it says that Paddle Analog is set to Joy 1 X Axis, Paddle Analog Dec set to Joy 1 Left, and Paddle Analog Inc set to Joy 1 Right. P1 Buttons 2-5 are set to keyboard buttons Alt, Space, Shift, Z. There is no Button 1 under the options.
In addition to what Neverending Project said (I'll lay money that your wheel is joy 2 or up), to get true analog control, make sure only the Paddle Analog is set to you wheel's axis. If you set the Paddle Dec and Paddle Inc to left & right, the wheel will act like you're using the keyboard or a dpad.
BTW, the reason the game doesn't have a "Button 1" is that the pedal's default map is to the same as button 1's default key & button. Your MOMO has an analog pedal, so you might want to remap mame's pedal so it only looks aat your wheel's pedals, and maybe remap the game's buttons 2-5 to you wheel's buttons 1-4.
-
Thanks for the replies, I will give that a try. Another question before I attempt this. This wheel is going to be part of my MAME cab, but it wont be connected all the time. My other USB connections are as follows: Gun1, Gun2, Trackball, UltraStik 360. These things will be connected all the time, but the wheel will only be plugged in when it's in use. I've designed my control panel so that the wheel can be connected with ease. I have a USB extension cable going from the back of the computer to underneath the control panel which the wheel just plugs in to when it's going to be used.
So the question is, will the wheel be assigned a different Joy # each time it's plugged in, or am I able to force it to use a certain Joy # each time (or will it do this on it's own since everything else remains plugged in all the time)?
Also, u_rebelscum mentioned that I should not set my Paddle Inc and Dec to Joy Right and Left, so what should I set them to instead, or should I just delete whatever is there so it says None?
-
My other USB connections are as follows: Gun1, Gun2, Trackball, UltraStik 360. These things will be connected all the time, but the wheel will only be plugged in when it's in use.
<snip>
So the question is, will the wheel be assigned a different Joy # each time it's plugged in, or am I able to force it to use a certain Joy # each time (or will it do this on it's own since everything else remains plugged in all the time)?
In this case you should be fine. Your wheel will probably be JOY2 as your guns & trackball will be mouse devices.
On my cab my pedals are incorporated & always plugged in so assigned to Joy 1 & Joy 2 (the interface I use is effectively 2x joysticks). When I plug my yoke in it always appears as Joy 3.
Also, u_rebelscum mentioned that I should not set my Paddle Inc and Dec to Joy Right and Left, so what should I set them to instead, or should I just delete whatever is there so it says None?
Yes, delete them. Same goes for the pedal inc/dec inputs if you have an analog pedal.
-
Great timing on the thread, I just got the G25 and was able to configure it for a couple of games, but it's been acting screwy in others. I especially can't get it to work in Roadblasters. I'll try out these settings as I know I have them wrong now!
George
-
I have a Logitech Momo Racing wheel too, and have just been trying it out in various emulators with little success. I've been setting the steering to X Axis by turning the wheel (so I know it's recognised) and the pedals to Y Axis.
--Taito games (Chase HQ, Continental Circus, etc) don't list a seperate axis for the pedals, all you get is "AD Stick Analog X" for the steering, so I can't get the pedals to work (the steering was far too unsensitive anyway)
--Jaleco games (Grand Prix Star, Big Run, etc) work ok but the pedals appear to be digital according to mame's input controls, I don't know if the original machines were like this?
--Sega games (Outrun, Power Drift, etc) are really weird, controls seem to be mapped okay but the accelerator fluctuates on its own, making your speed drop then pick up again at random, unplayable.
--Capcom's Slipstream the steering works but pedals only worked on the select screens and not in game
--Namco's Final Lap kinda works but the steering is so wildly over sensitive I can't play it without spinning out at the slightest touch (altho I seem to remember the original arcade being a bit like this too)
I then tried games in other emulators since Mame was proving frustrating:
--Ridge Racer (VivaNonno) steering works but couldn't get pedals to work. You have to edit the *.xml file to change the config here but I tried listing "Y" or "-Y" for the pedals and could only get them to work in reverse at best (full acceleration = no pedal pressure)
--Daytona USA (Nebula Model 2) finally a game that works properly!! I set steering to X Axis, Accelerate to Y Axis Inverted, and Brake to Y Axis... everything works pretty good
--Sega Rally, Sega Touring Car, etc (Nebula Model 2) the other games you'd think would be the same, but I'm getting some weird behaviour where if I steer while accelerate isn't depressed the car spins 180, making it really difficult to play, I don't remember the arcades doing this
So, one game out of several hours testing, better than nothing I suppose :/
If anyone else with this wheel can shed some light on how to get things working good with some games, please let me know. I've been searching google for help but there's a big lack of information (that's how I found this thread in the first place).
-
Thanks, Rebelscum! I've only tried out Power Drift so far, but I now have analog control. :)
-
Well looks like I'm on the right track now thanks to all of you! Apparently my wheel is Joy 1 afterall, so not sure why it wasn't working before. I've decided to test with Cruis'n USA instead for no particular reason. The wheel and pedals work pretty good. Is there a way to adjust the sensitivity of the wheel? It's pretty tight right now. I have to turn it about 25 degrees before the game even registers that I'm turning the wheel. In the wheel calibration in Windows if I move it even the slightest it registers perfectly. I tried adjusting it's sensitivity (down to 0 and all the way up to 200) in the Analog controls menu but nothing seemed to be affected by it.
Also, in regards to the gear shift, how (if possible) do I set it up so that I can go up and down all the gears with the shifter? The shifter is a simple up/down meaning if you're in gear one and press up on the shifter it goes to 2, press up again it goes to 3, press down it goes back to 2, etc. etc. The way I have it configured now the shifter only goes up and down between gears 3 and 4 and I have to press other assigned buttons to move between 1 and 2. Here is what my config file looks like:
P1 Button 2: Joy 1 Button 3
P1 Button 3: Joy 1 Button 5
P1 Button 4: Joy 1 Shifter Forward
P1 Button 5: Joy 1 Shifter Backward
P1 Button 6: Joy 1 Button 6
Paddle Analog: Joy 1 Wheel axis
Paddle Analog Dec: None
Paddle Analog Inc: None
P1 Pedal 1 Analog: Joy 1 Combined pedals -
P1 Pedal 1 Analog Dec: None
P1 Pedal 1 Analog Inc: None
P2 Pedal 1 Analog: Joy 1 Combined pedals +
P2 Pedal 1 Analog Dec: None
P2 Pedal 1 Analog Inc: None
If I change P1 Button 2/3 to Joy 1 Shifter Forward/Backward as well, I can then move between 1 and 2, but can never get to 3 and 4. Also, when I press down on the shifter it moves to the higher gear out of the 2 (whether it's 1 and 2 or 3 and 4) and when I press up it moves to the lower. I know the actual version of Cruis'n USA had a 4 position shifter so that might be where the issues are coming from, but I'm hoping there is a way around that.
Thanks again for all your help.
EDIT: In addition to the above issues I'm having, I went back to California Speed to configure that, but there is no way for me to configure the brake pedal. In the input menu there is only 1 pedal to configure. I can't get passed the calibration screen at the beginning because I need to press brake to calibrate the controls within the game itself.
-
Sorry to go off topic, mikeveli20, but what speed proecessor do you have? I can't play Cruis'n USA and I don't know if it's my processor speed or if I have other settings incorrect like I did my steering wheel. For the record I have the Intel Q6600 2.4G quad core. ( I know MAME doesn't use multi-cores, but this is my everyday computer as well.)
Nevermind, I just saw your other thread about Blitz. I have a ways to go, and a lot to consider when I build my cabinet.
Thanks,
Geo
-
Sorry to go off topic, mikeveli20, but what speed proecessor do you have? I can't play Cruis'n USA and I don't know if it's my processor speed or if I have other settings incorrect like I did my steering wheel. For the record I have the Intel Q6600 2.4G quad core. ( I know MAME doesn't use multi-cores, but this is my everyday computer as well.)
Thanks,
Geo
I have a Core2Duo E8400 3.0GHz overclocked to 3.7GHz. That's probably what the difference is.
-
I just OC'd to 3.2 Ghz and now Ridge Racer is almost runnable so that is definitely my shortfall. When I build my cabinet, I will get the fastest processor I can for the MAME computer.
I'll test more games after I finish running OCCT.
Thanks for the info,
Geo
-
Great timing on the thread, I just got the G25 and was able to configure it for a couple of games, but it's been acting screwy in others. I especially can't get it to work in Roadblasters. I'll try out these settings as I know I have them wrong now!
You won't get it to work with RoadBlasters...it used a (limited travel) optical type wheel. It plays well with a 360deg wheel...
I had a play with altering the inputs in Mame so an anlog joy could be used. Unfortunately I couldn't get it to work right. It would work ok for a while but would become 'uncalibrated', specifically at points such as when you blow up IIRC. I think the game must somehow 'centre' the input values during certain events in the game...and of course your wheel might not be centered when this happens. I am not 100% sure if this is how the game works or if it is to do with Mame. The reason I say that is that I tried a real RB controller once and it seemed to also become uncalibrated in much the same way. I am not competant enough to be able to tell from the Mame source code :-\
-
--Taito games (Chase HQ, Continental Circus, etc) don't list a seperate axis for the pedals, all you get is "AD Stick Analog X" for the steering, so I can't get the pedals to work (the steering was far too unsensitive anyway)
Gas is digital in this game, so it will probably be a Button input.
--Jaleco games (Grand Prix Star, Big Run, etc) work ok but the pedals appear to be digital according to mame's input controls, I don't know if the original machines were like this?
Not 100% sure but I *think* yes they were digital.
--Sega games (Outrun, Power Drift, etc) are really weird, controls seem to be mapped okay but the accelerator fluctuates on its own, making your speed drop then pick up again at random, unplayable.
Not sure, have you calibrated them in Control Panel?
--Capcom's Slipstream the steering works but pedals only worked on the select screens and not in game
I'm pretty sure I have this working...but with Mame v0.125.
--Namco's Final Lap kinda works but the steering is so wildly over sensitive I can't play it without spinning out at the slightest touch (altho I seem to remember the original arcade being a bit like this too)
I couldn't get this to work right either...but I think you are right it had quite a loose feel to it. Maybe a slight nod to Pole Position ?
Not sure about the other emulators...
-
Thank you for that info Minwah.
Do you happen to know if you can increase the sensitivity of the wheel, mainly for the Taito games? I tried playing with the settings in the 'Analogue Controls' menu but couldn't notice a difference. In those games I can turn the wheel a fair way before the car starts to move.
-
In MAMEUI there's a setting called Joystick Deadzone in the Controllers tab that I have to set to 0, because it defaults to .30, for my wheel to start moving immediately. I don't know how to change it in other FE's or just in MAME itself though, but that's probably what you need to do.
Hope that gives you an idea anywway.
-
Thank you for that info Minwah.
Do you happen to know if you can increase the sensitivity of the wheel, mainly for the Taito games? I tried playing with the settings in the 'Analogue Controls' menu but couldn't notice a difference. In those games I can turn the wheel a fair way before the car starts to move.
I've also been trying to figure out how to do this as stated in one of my posts above. Nothing in the analog controls seemed to affect anything. I know it's not the wheel because in Windows under calibration for the wheel if I move it even the slightest it registers as me turning the wheel.
EDIT: Problem solved. Thanks to geocab for his post. I found the joystick deadzone setting in the mame.ini file. It was set to 0.3 so I changed it to 0.0 and now it works perfectly. Now, if anyone knows how to solve my problem above relating to the gear shifter as well as the California Speed config problem, that would be great!
-
Thanks geocab! :cheers: That improved it quite a bit, but it still wasn't as sensitive as I wanted. So I also tried the slider underneath, "joystick saturation", I lowered that one too and now it's perfect, any slight touch on the wheel makes the car move. (If I lowered it all the way to zero then mame just locks up on the 'initializing' screen, but it's fine around 0.2).
Still can't get over chase hq and continental circus having digital pedals, they do of course, it's just I played those SO many times as a kid and can't believe I never noticed :P
-
Still can't get over chase hq and continental circus having digital pedals, they do of course, it's just I played those SO many times as a kid and can't believe I never noticed :P
You were probably like every other kid and just squashed the pedal to the floor ;)
-
No problem, glad I could help.
-
Hi all,
Can anyone tell me what their mame.ini settings were set to in order to set up the MOMO steering wheel and pedal? I got it working by enabling the joystick in the mame.ini file but I was wondering what the other settings were for. Namely "pedal" and "adstick"?
My mame.ini file (mame .119) look like this:
mouse 1
joystick 1
lightgun 0
multikeyboard 0
multimouse 0
steadykey 0
offscreen_reload 0
joystick_map auto
joystick_deadzone 0.3
joystick_saturation 0.8
# core input automatic enable options
#
paddle_device mouse
adstick_device keyboard
pedal_device keyboard
dial_device keyboard
trackball_device mouse
lightgun_device keyboard
positional_device keyboard
mouse_device mouse
Thanks!
DeLuSioNaL29
-
DeLuSioNal29, I haven't used it in a while but I think I just set it up with the tab options menu inside Mame when it's running. I wrote above "I've been setting the steering to X Axis by turning the wheel, and the pedals to Y Axis". If it wasn't in Mames tab menu then I must have done it in Mame32UI's options. I definitely don't remember editing the .ini file.
-
Can anyone tell me what their mame.ini settings were set to in order to set up the MOMO steering wheel and pedal? I got it working by enabling the joystick in the mame.ini file but I was wondering what the other settings were for. Namely "pedal" and "adstick"?
The "core input automatic enable options" automatically enables controller types if the game has that input. They are redundant if you have mouse 1 & joystick 1 already in the mame.ini.
"AD Stick" is what mame calls "analog joystick" input, just like mame calls spinners "dial". Look in the UI "input" menus. Don't confuse these with your physical inputs or the encoder your physical controllers are hooked to the computer; mame looks at the game's inputs, and if they have that type, it enables the second part.
Example:
mouse 0
joystick 0
lightgun 0
...
# core input automatic enable options
#
paddle_device joystick
adstick_device joystick
pedal_device joystick
dial_device mouse
trackball_device mouse
lightgun_device lightgun
For arkanoid (with dial input), mouse will be enabled even though it says "mouse 0"; for harddrivin (with paddle & pedel inputs) joysticks are enabled. For Pole position (with dial and pedal inputs), both mouse and joystick are enabled. For neogeo games, however, mouse & joystick remain disabled.
It's much easier to say "enable mice by changing 'mouse 1'", than explain the above, but the above is better if you want some inputs enabled or disabled depending on game and the game's input types.
-
The problem with these wheels is that there is about 20% turning in either direction that does not register. Until it reaches the force back, it doesn't turn. I replaced mine with a cheaper wheel and it works much better...
This is an old video when I still had a 4 Player control panel and used Maximus Arcade (Now using Hyperspin, the ONLY way to go!!!).
http://smg.photobucket.com/albums/v622/lemoncade/?action=view¤t=MOV02926.flv (http://smg.photobucket.com/albums/v622/lemoncade/?action=view¤t=MOV02926.flv)
-
The problem with these wheels is that there is about 20% turning in either direction that does not register. Until it reaches the force back, it doesn't turn. I replaced mine with a cheaper wheel and it works much better...
Which reminds me of the other option that should be changed. Drop mame's deadzone to close to zero, down from the default 0.3 (aka 30%). Depending on the wheels, its "slop", and other analog gamepad/joystick/wheels/pedals that you have connected, set it to 0.0 to 0.04 (between ~0% and ~4%):
joystick_deadzone 0.02
You may also want to increase mame's analog satuation point, too, but most people don't seem to notice a difference. I advice not going all to way to 100%, but increasing to 90%-95% feels better for me.
joystick_saturation 0.95
Which brings me to why I was reminded: Is the MOMO really that bad? Or was it a combo of the no feedback zone matching mame's default deadzon? Or did you have a bad lemon? If the wheel was that bad, I don't think it would have reviewed or sold as well as it had, and that 20% number is close to mame's default (IMO huge) 30% deadzone.
-
it was bad for me. I did not like force pushing back against me. Also, my new wheel required no additional setup. I guess it's what works for the person who owns the equipment that matters. I would have liked to try to change those values and see what happened, but eh.. i really like the new wheel, looks more acrade.
-
I have a MOMO as well...I haven't tried using it in MAME, but in general, I love it. It's on my list of things to try setting up before I build my next cab. ;)