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: SW Yoke question in MAME - Dualstrike Hack....  (Read 2486 times)

0 Members and 1 Guest are viewing this topic.

ZEN

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 87
  • Last login:March 20, 2013, 12:01:07 am
  • go get it....
SW Yoke question in MAME - Dualstrike Hack....
« on: December 23, 2009, 09:45:31 pm »
Having some issues after converting my SW yoke with a dualstike hack.  the DS software test show that the yoke is working up down and left right, but I cant get the steering in the game to work....anyone have settings for this?  I may just be slow enough not to catch the obvious, however, I would like to think I have checked everything......thanks for the help guys....
GO BIG RED

ZEN

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 87
  • Last login:March 20, 2013, 12:01:07 am
  • go get it....
Re: SW Yoke question in MAME - Dualstrike Hack....
« Reply #1 on: December 24, 2009, 02:55:50 pm »
bumpo, anyone have a SW yoke in MAME?
GO BIG RED

unclet

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3561
  • Last login:March 17, 2025, 11:51:15 am
Re: SW Yoke question in MAME - Dualstrike Hack....
« Reply #2 on: December 24, 2009, 03:42:41 pm »
Did you set the analog settings for Star Wars within Mame itself?

ZEN

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 87
  • Last login:March 20, 2013, 12:01:07 am
  • go get it....
Re: SW Yoke question in MAME - Dualstrike Hack....
« Reply #3 on: December 27, 2009, 01:42:56 am »
Hey unclet, thanks for the reply, I have tried this in both the DS software and in Mame, but I am missing somthing?  The DS software sees the yoke moving when I test it, I just cant figure out what keystrokes to assign to up down left rt in mame.....What settings are needed and how (if you know the answer0, apparently I am too slow to figure this out....
GO BIG RED

bkenobi

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1668
  • Last login:August 16, 2021, 10:41:52 pm
Re: SW Yoke question in MAME - Dualstrike Hack....
« Reply #4 on: December 27, 2009, 11:03:01 am »
You don't set left AND right or up AND down in MAME with an analog stick.  You need to set the axis only!  The stick will be down near the bottom of the General P1 controls section.  Once you find it, you will see 3 settings for each axis (axis, inc and dec).  Since you have an actual analog stick, you can unmap the inc and dec and just map the axis itself.  You can switch the axis around in the analog settings if you find the axis is reversed.

Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re: SW Yoke question in MAME - Dualstrike Hack....
« Reply #5 on: December 27, 2009, 11:48:20 am »
btw, in starwars, when you launch the game, you have to move the controller around to all the corners... it self calibrates every power on...  Probably your problem

ZEN

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 87
  • Last login:March 20, 2013, 12:01:07 am
  • go get it....
Re: SW Yoke question in MAME - Dualstrike Hack....
« Reply #6 on: December 27, 2009, 06:24:22 pm »
Thanks for the reply, if I only need to set the axis, it will not let me "map" it.  I see the x and y axis and it shows n/a, and when I hit enter to change it, it will not accept any keystrokes or anything...so in MAME I should have the inc and dec set to ...what?  I am not understanding this concept fellas, apparently, I cant do this alone..... :banghead:

Should I have the DS setup set to joystick or FX?

thx in advance.....and hopefully some laymans terms, this is like trying to hit a rubiks cube with no hands...
GO BIG RED

bkenobi

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1668
  • Last login:August 16, 2021, 10:41:52 pm
Re: SW Yoke question in MAME - Dualstrike Hack....
« Reply #7 on: December 27, 2009, 07:22:50 pm »
Oh, if SW is set up to use a joystick rather than an analog stick, I don't know how that would be set up.  Urebelscum is the most knowledgeable person here AFAIK when it comes to analog stuff.  Perhaps he'll step in and offer some advise.

ZEN

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 87
  • Last login:March 20, 2013, 12:01:07 am
  • go get it....
Re: SW Yoke question in MAME - Dualstrike Hack....
« Reply #8 on: January 04, 2010, 07:46:06 pm »
Well I sent a pm to Urebelscum , no answer, so I will give it another shot here. 

-How do you set your mame settings for the analog , x-y, for the yoke, here is where I am at, any help?  I cant select anything for the x or y axis, it will let me assign keys to the inc and dec.....I know the sidewinder hack works in that the software configuration for the dualstrike shows it moving....what does this setting need to look like.....
GO BIG RED

Bobulus

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 165
  • Last login:July 11, 2014, 10:42:28 am
Re: SW Yoke question in MAME - Dualstrike Hack....
« Reply #9 on: January 04, 2010, 09:39:48 pm »
Inc and Dec are used if you don't have an analog control, so just unmap them. Set them to nothing. If everything is working right, you should be able to select 'AD Stick Y Analog', move your yoke vertically, and it should map.

If it doesn't, make sure you've got mame.ini set up correctly.

ZEN

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 87
  • Last login:March 20, 2013, 12:01:07 am
  • go get it....
Re: SW Yoke question in MAME - Dualstrike Hack....
« Reply #10 on: January 05, 2010, 12:20:48 am »
My problem is I dont know how to set them to nothing,  does "none" = nothing?  I presumed so....thus I hit "esc" to set them to "none" as in the photo above.. I am not a mame settings wiz as you can tell.....
What would the mame.ini settings have to be for an analog controller, a "1" for mouse? I guess I dont know what to set there either, sorry all if it seems redundant...
GO BIG RED

Bobulus

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 165
  • Last login:July 11, 2014, 10:42:28 am
Re: SW Yoke question in MAME - Dualstrike Hack....
« Reply #11 on: January 05, 2010, 04:02:17 am »
Yeah, 'none' is what you what Inc and Dec to. :)

You said you hacked a dualstrike joystick to make this yoke, right? Then windows (and mame) should see it as a joystick.

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: SW Yoke question in MAME - Dualstrike Hack....
« Reply #12 on: January 05, 2010, 01:05:23 pm »
Yeah, 'none' is what you what Inc and Dec to. :)

You said you hacked a dualstrike joystick to make this yoke, right? Then windows (and mame) should see it as a joystick.

Well, the OP keeps saying "key" and "keystoke" when talking about the analog in stick.  Keys are digital, on or off.  The analog joystick is analog, a range of values.  IOW, if you're changing the joystick's analog axes to keys in the joystick driver, that's your problem.

Quick troubleshooting rules for joysticks.
Does the joystick work in windows?  (optional) Or in other games?  Does it act analog?
Are you running any joy2key software?  Are you using a frontend?  (they can interfere)
Are joysticks enabled in mame?  (joystick 1 in mame.ini)
Does mame think the joystick exists?  (verbose 1 in mame.ini, and look at the commandline)
Do the buttons work?  As joystick buttons to mame?
Are the analog axes mapped to "... analog" and not "... inc" nor "... dec"?
Robin
Knowledge is Power

MameMaster!

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2058
  • Last login:June 02, 2020, 11:01:15 pm
  • Engage number one!
    • Mame Invaders!
Re: SW Yoke question in MAME - Dualstrike Hack....
« Reply #13 on: January 05, 2010, 02:45:36 pm »
You can always wait for Ram Control's plug/play usb SWs Yoke PC connector-- he promised it will be avail soon.

Instant success!
Seriously. Will it fit in my basement or what?

Hoopz

  • Don't brand me a troublemaker!
  • Trade Count: (+8)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5285
  • Last login:June 13, 2025, 09:18:32 pm
  • Intellivision Rocks!
Re: SW Yoke question in MAME - Dualstrike Hack....
« Reply #14 on: January 05, 2010, 02:52:13 pm »
You can always wait for Ram Control's plug/play usb SWs Yoke PC connector-- he promised it will be avail soon.

Instant success!
The issue isn't with the hack though.  It's about getting it setup in Mame.

ZEN

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 87
  • Last login:March 20, 2013, 12:01:07 am
  • go get it....
Re: SW Yoke question in MAME - Dualstrike Hack....
« Reply #15 on: January 05, 2010, 10:29:33 pm »
I hacked the dualstrike, just was not sure how to set it up in mame.  I changed the mouse in the .ini file to "1", this woke up the yoke and it will now track, I was able to map it as you suggested Bobulus, I had no idea that keystrokes were digital, nor the essence of analog multiple values , that now makes sense, now I have to get the analog settings correct in mame.  I found a few archived posts about it, if anyone has a good settings list, let me know or post it, I would be glad to document the whole thing in laymans terms and post it.........
GO BIG RED

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: SW Yoke question in MAME - Dualstrike Hack....
« Reply #16 on: January 06, 2010, 12:20:24 pm »
... now I have to get the analog settings correct in mame.

No, you shouldn't.  Calibrate the yoke in windows, and play the game; that's all you need.  (Assuming you're using the default mame values.)

The original game self calibrates quickly*, and any adjustments you make to have it "centered" at the start of the game will mess up the game's internal calibration.  This is exactly what happens on the original arcade cabinet; the yoke self calibrates shortly after the cab is turned on.

*It takes a couple full range movements of the yoke.  To speed up calibration even more, just do full left ful right full up full down twice in the select level screen imediately after first loading the game.
Robin
Knowledge is Power

bkenobi

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1668
  • Last login:August 16, 2021, 10:41:52 pm
Re: SW Yoke question in MAME - Dualstrike Hack....
« Reply #17 on: January 06, 2010, 12:39:01 pm »
He may need to adjust the recenter speed and axis inversion which are MAME settings though, right?

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: SW Yoke question in MAME - Dualstrike Hack....
« Reply #18 on: January 06, 2010, 05:42:04 pm »
He may need to adjust the recenter speed and axis inversion which are MAME settings though, right?

Ahh, you're right, there are a couple things that should/could be changed, but recenter is not one.  Recenter is for digital controllers faking as analog inputs, and he has real analog controllers, so no faking wanted.  IOW, if changing recenter does something, something else is wrong.

Invert axes is possible, but only 50-50 chance it needs to be changed (depending if the the hack was done correctly and what the player likes).  The other one is setting the joystick deadzone to almost zero (such as "joystick_deadzone 0.01").  0.0 is the best if the hack was done well, but 1%-3% (0.01-0.03) isn't too bad. 

The default of 0.3 (or 30%) is way too big for starwars, and if left at 30%, the recenter setting will have effects the game in that middle part
Robin
Knowledge is Power