GRS yoke in Mame 2003 plus
-
Re: Mame DEADZONE with Analog Controller
@icebear81 I've just swapped over from a Pi3B+ and Alan-1 repro yoke to Pi4 with GRS yoke. I too was having problems with control. The crosshairs would linger in the centre of the screen and then jump to the edge, totally unplayable. I had a eureka moment tonight and had another look at my setup. The direction controls listed in the Mame 2003 plus settings were described as RP1 Dpad up, down, left and right. I went back into EmulationStation and reconfigured my input settings. This time instead of mapping the yoke to the dpad, I mapped it to the left analog stick. Et voila, proper analog control of Star Wars in Mame 2003 plus after reconfiguring the input there again. This time direction (up, down etc) came in as RP1 X+, X-, Y+ and Y-. Give it a try yourself. I had already eliminated the deadzone as in your thread. I was the person who helped @wstanek with his setup a while back. I was all set to give up and junk the Pi and replace with an Intel NUC. Guess perseverance has saved me a few bucks. If you need any help, message me.
-
Is there an .ini file for the controller mapping? I have the same issue.
-
@mafiasilk sorry for the delay in replying. I reconfigured the input on the main menu in Emulationstation for the GRS yoke. Instead of mapping the axes (up, down, left and right) to up, down left and right as you would normally for a joystick device, I mapped the axes to the left analog stick. here is my es_input.cfg file. Look at the last 4 lines of the joystick config and you'll see what I mean.
<?xml version="1.0"?> <inputList> <inputAction type="onfinish"> <command>/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh</command> </inputAction> <inputConfig type="keyboard" deviceName="Keyboard" deviceGUID="-1"> <input name="up" type="key" id="1073741906" value="1"/> <input name="left" type="key" id="1073741904" value="1"/> <input name="select" type="key" id="32" value="1"/> <input name="right" type="key" id="1073741903" value="1"/> <input name="y" type="key" id="108" value="1"/> <input name="x" type="key" id="112" value="1"/> <input name="down" type="key" id="1073741905" value="1"/> <input name="start" type="key" id="13" value="1"/> <input name="b" type="key" id="97" value="1"/> <input name="a" type="key" id="115" value="1"/> </inputConfig> <inputConfig type="joystick" deviceName="Baolian industry Co., Ltd. BL flight yoke #1" deviceGUID="03000000be3200000214000011010000"> <input name="up" type="button" id="1" value="1"/> <input name="left" type="axis" id="0" value="-1"/> <input name="right" type="axis" id="0" value="1"/> <input name="y" type="button" id="3" value="1"/> <input name="x" type="button" id="2" value="1"/> <input name="down" type="button" id="1" value="1"/> <input name="b" type="button" id="1" value="1"/> <input name="a" type="button" id="0" value="1"/> <input name="leftanalogdown" type="axis" id="1" value="1"/> <input name="leftanalogright" type="axis" id="0" value="1"/> <input name="leftanalogleft" type="axis" id="0" value="-1"/> <input name="leftanalogup" type="axis" id="1" value="-1"/> </inputConfig> </inputList>
-
Sorry to post to an old topic, but I'm having problems with this configuration.
I have used your .ini for emulationstation and am able to navigate the emulatationstation menus with the yoke.
My current setup results in the yoke giving digital controls to the game instead of proportional controls.
Here are my game-specific retroarch settings for the PORT 1 controls:
Type: RetroPad w/Analog
A to D Type: Left Analog
...(various button settings)...
D-Pad (4 directions): set to ---
...(various button settings)...
Auto: +0 (N/A): Joystick Right
Auto: -0 (N/A): Joystick Left
Auto: +1 (N/A): Joystick Down
Auto: -1 (N/A): Joystick UpCould you share the your RetroArch config (in detail) for any game successfully using the GRS Yoke? I think I've tried every variation for the in-game [retroarch-->Controls-->PORT 1 Controls] without success. Either there is no control, or the control is discreet.
Thanks!
-
It's been a while since I've had my machine on. It's a ¾ scale Star Wars upright replica running only Star Wars currently in MAME2003 Plus. I'll have a look and see how I configured the controls. IIRC I mapped the yoke axes to the left analog stick on the retropie controller.
-
Thanks for the reply. I did get it working with a minor glitch mentioned at the bottom of this reply.
All I had to do was follow the directions "Retropie setup guide(Pi 4- Mame2003)" for the GRS Flight Yoke. So, for posterity, here's what worked for me:
EmulationStation Setup:
- Shut Down RetroPie
- Plug in a joystick already defined in EmulationStation (so you can navigate for the setup)
- Plug in the GRS Yoke (StarWars yoke) to an open USB port
- Start up RetroPie
- Press "Player 1/Start" button to bring up menu
- Select "Configure Input"
DON'T use the yoke for the D-Pad controls
Set up buttons as desired
Set up yoke on Left Analogs
Retroarch Setup:
- Follow the instructions given in the GRS document
NOTE: I had to reverse Left Analog Up/Down
Left Analog Y+ (Down)= -1
Left Anaoly Y- (Up) = +1
In-Game RetroArch Setup:
The axis controls are all set to "---", including:
Auto +0, Auto -0, Left Analog Y+, Left Analog Y-My only remaining issue is the GRS yoke is not centered in Star Wars games. I move it through it's extremes on the difficulty selection screen, but it still centers a little left & down off center.
-
@Quietman2000 , great to hear you've got it working in Retroarch. It is a bit contrived to setup on the Pi. The crosshairs are a bit off on Star Wars, but it doesn't affect gameplay. You clearly already know about the calibration of the yoke on the difficulty select screen. How about the analog deadzone? have you sorted that out yet? I have posts up on the forum about how to remedy this but I can dig out the required settings if need be. I'm in the process of swapping out the Pi4 in my setup and replacing it with an Intel NUC. I got really fed up with all the configuration issues and imperfect emulation. I'll be running the latest MAME with HLSL effects so it'll look more like it's running on a vector monitor. Also the GRS yoke is full plug and play on Windows and works straight off, no fiddling. Got my NUC off of eBay for a good price so its not really much more expensive than the Pi4 and Picade X combo I'm using already.
-
I'm haven't noticed any issues other than the not-centering. I haven't done any research, so I don't know what issues can be resolved with the analog deadzone.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.