Build Your Own Arcade Controls Forum
Main => Main Forum => Topic started by: Viewsonix on September 20, 2015, 11:08:26 pm
-
I've been doing some searches but I can't find a clear enough answer for my old brain.
I am trying to build a dedicated Star Wars machine and I think I'm probably 90% done.
Here is what is done:
Got an Atari yoke and interfaced it with the dual strike board. Windows sees all controls from this ok on test screen
Got Star Wars mame running on the PC by just typing it in with the cmd dos box.
What I need is help getting the machine to use the yoke in the game when I start mame. Once I get the yoke working I want to boot directly into Star Wars. I am guessing my command line is not done right but I'm banging my head here. Does anyone else have a command line they can share with me to figure this out?
I tried using atomic fe but that also seems somewhat confusing
Thanks in advance!
-
Welcome aboard, Viewsonix. ;D
What I need is help getting the machine to use the yoke in the game when I start mame.
Have you gone into the MAME menus (press TAB) to set up the controls?
"Input (this Game)" menu
- Set the AD Stick Analog X and Y axes (press Enter then move that axis)
- Set the four individual "Inc" and "Dec" inputs to "none" (press Enter then ESC)
Reason for doing this from the Driving forum:
Do not map the pedals to PEDAL INC and PEDAL DEC!
Do not map the wheel to DIAL INC and DIAL DEC!
Those are reserved for key presses being substituted for analogue input.
"Analog Controls" menu
- Adjust settings as desired.
Are there any other analog games like these (http://newwiki.arcadecontrols.com/index.php?title=Joysticks#Analog_Joysticks) that you'd like to add, or is this a going to be a dedicated single-game machine?
If you are doing a dedicated cab, there's no need for a Front End.
Scott
-
Thanks for the reply!
I went into the mame TAB screen and saw the settings you mentioned. When I hit enter to change something the program doesn't change when I move the yoke. However, the system does see the yoke enough to scroll up and down thru the options when I move the yoke. Also I can see the yoke works when I go into windows to test it.
Yes it will be a dedicated Star Wars for now at least. I plan to boot directly into the game with as little other screens as possible.
-
I went into the mame TAB screen and saw the settings you mentioned. When I hit enter to change something the program doesn't change when I move the yoke. However, the system does see the yoke enough to scroll up and down thru the options when I move the yoke. Also I can see the yoke works when I go into windows to test it.
Do you have joysticks enabled (1) in mame.ini?
Lightguns are disabled (0) in this example.
#
# CORE INPUT OPTIONS
#
coin_lockout 1
ctrlr
mouse 1
joystick 1
lightgun 0
Use command "mame -cc" to create configuration file (a.k.a. mame.ini) if needed.
In the "Input (this Game)" menu, does the X axis default show up as "Joy1 X axis or Mouse X" or just "Mouse X"?
(Enter, ESC, Enter, ESC to restore default setting)
Scott
-
Joysticks is enabled / value is 1
On tab menu
P1 button (fire button does nothing)
Ad stick x analog none
Ad stick analog dec. none
Ad stick x analog inc. none
Ad stick y analog Joy 1 y axis or mouse y
Ad stick y analog dec. none
Ad stick y analog inc. none
I didn't set the stick y value, it came up that way. Hitting enter to change a value and then using the yoke does nothing
Yoke still doesn't work in game.
-
Ad stick y analog Joy 1 y axis or mouse y
Looks like MAME recognizes that the joystick is connected so at least the Y-axis should be working.
P1 button (fire button does nothing)
Ad stick x analog none
Highight the input you want to change. Press Enter then ESC -- repeat until the default settings are restored to these two.
Other than these two inputs, I'm not sure what is wrong. :dunno
Scott
-
We are getting closer!
I looked thru the settings on the dual strike screen in windows and found out it was set to dual strike fx instead of joystick. After selecting it to be used as joystick i now have some x and y axis movement and control.
YES!!!
Two problems left though:
1) fire button still not recognized by game. Windows sees it but game doesn't. Value in mame is
P1 button 4. None
P1 button 1 none
P1 button 3. Space or j1 button 2
P1 button 2 left alt or j1 button 1
2) up and down controls are fine but reversed? And left /right controls are wonky and not very responsive. Seems to need calibration or something.
-
1) fire button still not recognized by game. Windows sees it but game doesn't. Value in mame is
. . .
P1 button 1 none
Highight the input you want to change. Press Enter then ESC -- repeat until the default settings are restored to these two.
Did you try to return button 1 to the default setting? :dizzy:
2) up and down controls are fine but reversed?
Step one
In windows calibration, if you pull the top of the handle toward you and the cursor moves down, it is working normally.
If not, you need to swap the wires on tabs 1 and 3 of the potentiometer to reverse the axis.
Step two
In Star Wars, if you pull the top of the handle toward you and the nose of the X-wing goes up, it is working normally -- just like flying an aircraft.
If not, go into the analog menu and change the "AD Stick Y Reverse" setting.
And left /right controls are wonky and not very responsive. Seems to need calibration or something.
If it is not moving smoothly in the windows calibration window, you may need to either fix a poor/intermittent connection or replace the potentiometer.
You may also want to mess with deadzone, sensitivity, etc. settings.
Star Wars will auto-calibrate, if you turn the yoke to its furthest positions a few times.
Scott