Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Help! Trying to build a dedicated Star Wars!  (Read 2236 times)

0 Members and 1 Guest are viewing this topic.

Viewsonix

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:January 05, 2018, 09:31:07 pm
Help! Trying to build a dedicated Star Wars!
« 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!

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9674
  • Last login:Today at 03:43:39 pm
  • Designated spam hunter
Re: Help! Trying to build a dedicated Star Wars!
« Reply #1 on: September 21, 2015, 07:53:33 am »
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 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

Viewsonix

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:January 05, 2018, 09:31:07 pm
Re: Help! Trying to build a dedicated Star Wars!
« Reply #2 on: September 21, 2015, 12:28:14 pm »
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.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9674
  • Last login:Today at 03:43:39 pm
  • Designated spam hunter
Re: Help! Trying to build a dedicated Star Wars!
« Reply #3 on: September 21, 2015, 02:52:54 pm »
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.
Code: [Select]
#
# 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

Viewsonix

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:January 05, 2018, 09:31:07 pm
Re: Help! Trying to build a dedicated Star Wars!
« Reply #4 on: September 21, 2015, 04:52:44 pm »
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.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9674
  • Last login:Today at 03:43:39 pm
  • Designated spam hunter
Re: Help! Trying to build a dedicated Star Wars!
« Reply #5 on: September 21, 2015, 08:47:43 pm »
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

Viewsonix

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:January 05, 2018, 09:31:07 pm
Re: Help! Trying to build a dedicated Star Wars!
« Reply #6 on: September 23, 2015, 04:17:09 pm »
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.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9674
  • Last login:Today at 03:43:39 pm
  • Designated spam hunter
Re: Help! Trying to build a dedicated Star Wars!
« Reply #7 on: September 23, 2015, 05:35:30 pm »
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