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: Correct Analog Settings For Space Harrier?  (Read 9581 times)

0 Members and 1 Guest are viewing this topic.

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Correct Analog Settings For Space Harrier?
« on: September 12, 2015, 03:37:00 pm »
So i have a Xbox 360 pad and am trying to set it up so the stick 'feels' right in space harrier, i have played the version YS Game Works on the Dreamcast and that analog stick control feels great but i just cant get it to feel right on MAME, any tips??

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9270
  • Last login:July 14, 2025, 01:30:54 pm
  • ...
Re: Correct Analog Settings For Space Harrier?
« Reply #1 on: September 12, 2015, 04:54:15 pm »
So i have a Xbox 360 pad and am trying to set it up so the stick 'feels' right in space harrier, i have played the version YS Game Works on the Dreamcast and that analog stick control feels great but i just cant get it to feel right on MAME, any tips??
See the mame section of the driving cab info thread stickied in the driving subforum  (IIRC your driving cab is xbox, so maybe you haven't messed with this stuff). 

After fixing the deadzone and saturation in mame.ini, the only setting in game is sensetivity.  Anything marked digital is only for keyboard keys or buttons.

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: Correct Analog Settings For Space Harrier?
« Reply #2 on: September 12, 2015, 05:35:15 pm »
Thanks for the link....or though it seems thats just for racing wheels, where Space Harrier is an analog Joystick.

I guess i should change the set the joystick deadzone from the default .3  to .05. Is there any other settings in the mame.ini that effects analog joysticks??

Also in Space Harrier settings (TAB Key) there is a return to center settings or something, i have change that to '0' but harrier still centres himself

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9270
  • Last login:July 14, 2025, 01:30:54 pm
  • ...
Re: Correct Analog Settings For Space Harrier?
« Reply #3 on: September 12, 2015, 05:50:33 pm »
Thanks for the link....or though it seems thats just for racing wheels, where Space Harrier is an analog Joystick.

I guess i should change the set the joystick deadzone from the default .3  to .05. Is there any other settings in the mame.ini that effects analog joysticks??

Also in Space Harrier settings (TAB Key) there is a return to center settings or something, i have change that to '0' but harrier still centres himself
Analog settings do the same thing whether you are using a wheel or joystick.  The default deadzone is still too much.  Never map anything to INC or DEC ( it will make the analog controller behave like a non-analog controller).

Return to center is a DIGITAL adjustment.  As already stated,  It has no effect on analog controls.  Those (and INC/DEC) are for when you don't have an analog controller and are substituting a regular on/off joystick or button.

When using real analog controls, only map the axis and your only adjustment is sensetivity.



adder

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 640
  • Last login:February 04, 2021, 10:51:51 am
  • Location: Easy St.
Re: Correct Analog Settings For Space Harrier?
« Reply #4 on: September 12, 2015, 05:52:13 pm »

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: Correct Analog Settings For Space Harrier?
« Reply #5 on: September 12, 2015, 06:07:59 pm »
Thanks for the info. Have change deadzone to .05 and seems lets 'jittery'

What does the joystick_saturation effect, its on 0.85 atm

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9270
  • Last login:July 14, 2025, 01:30:54 pm
  • ...
Re: Correct Analog Settings For Space Harrier?
« Reply #6 on: September 12, 2015, 06:32:15 pm »
Thanks for the info. Have change deadzone to .05 and seems lets 'jittery'

What does the joystick_saturation effect, its on 0.85 atm
Covered in the thread I directed you to.

.05 might be too low.  Experiment.

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: Correct Analog Settings For Space Harrier?
« Reply #7 on: September 12, 2015, 07:32:50 pm »
Hmmm correct me if im wrong but isnt 'deadzone' supposed to refer to an area in the centre of the stick where moving it will not register anything in game and increasing/decreasing this value increases or decrease this area??

If my assumption is correct then MAME does not treat deadzone in this manner.

Let me explain, i changed the deadzone to '0.90' fired up Spacer Harrier and harrier move the full width of the screen left, right, down and up (as he should do) but when trying the diagonals harrier didn't hardly move at all from his centre position! As i slowly lowered the deadzone value harrier moved further away from the centre when trying the diagonals with setting '0.1' being the sweet spot where he move just as far in the diagonals as he does for left, right, up and down.

So the MAME deadzone setting only seems to have an effect on digionals inputs and doesnt effect left, right, up or down inputs what so ever!
« Last Edit: September 12, 2015, 07:37:49 pm by lettuce »

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9270
  • Last login:July 14, 2025, 01:30:54 pm
  • ...
Re: Correct Analog Settings For Space Harrier?
« Reply #8 on: September 12, 2015, 08:15:06 pm »
Post a pic of your control mapping in MAME.

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: Correct Analog Settings For Space Harrier?
« Reply #9 on: September 12, 2015, 08:33:17 pm »
Here you go...

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9270
  • Last login:July 14, 2025, 01:30:54 pm
  • ...
Re: Correct Analog Settings For Space Harrier?
« Reply #10 on: September 13, 2015, 12:56:32 pm »
Here you go...
Bah.  Based on your description of how the dead zone setting behaved, I was betting that you had INC and DEC mapped.  Mapping looks ok to me.

Not sure if there is a service menu in tgis game where you would need to calibrated the joystick.
I'll mess around with it later today and see if there's anything else to figure out.

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: Correct Analog Settings For Space Harrier?
« Reply #11 on: September 13, 2015, 02:31:54 pm »
Here you go...
Bah.  Based on your description of how the dead zone setting behaved, I was betting that you had INC and DEC mapped.  Mapping looks ok to me.

Not sure if there is a service menu in tgis game where you would need to calibrated the joystick.
I'll mess around with it later today and see if there's anything else to figure out.

Ok thanks.

Also if you have any pointer for Road Blasters as well, as with an analog pad its impossible to control the car :(
« Last Edit: September 13, 2015, 02:33:26 pm by lettuce »

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9270
  • Last login:July 14, 2025, 01:30:54 pm
  • ...
Re: Correct Analog Settings For Space Harrier?
« Reply #12 on: September 13, 2015, 03:22:13 pm »
I'm still on MAME 151 on my laptop.  Not sure if anything has changed since then.

Fired up Space Harrier.

Increased saturation to 1 (100%), this gives you more of the stick movement to work with.  The default 85% means that MAME sees the joystick as being all the way in a direction when physically it's only 85% in that direction.  It's like reducing the already tiny amount of travel on the thumbsticks even further.  The broader the movement of the analog stick, the easier it is to find and hold the correct position.

Decreased deadzone to .05 (the version of MAMEUI I use on my laptop jumps in 5% increments) - again we want more range of motion reported as an analog position data.  We also don't want to be moving the stick and nothing happen

Increased sensitivity to 200 - I didn't mess with trying to fine tune this too much.  200 was much better than the default 100.  255 (the maximum) felt overly sensitive.  There is probably room for more fine tuning here.

I could get into the service menu, but couldn't select most of the options.  Not sure what is going on there.
I get a pop-up when launching it saying there might have been a bad dump.

I think it plays much better with these settings.  Never played it on the dreamcast, so can't compare.
« Last Edit: September 13, 2015, 04:11:05 pm by BadMouth »

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9270
  • Last login:July 14, 2025, 01:30:54 pm
  • ...
Re: Correct Analog Settings For Space Harrier?
« Reply #13 on: September 13, 2015, 03:55:48 pm »
Road Blasters originally used an optical encoder, but had stops so it wouldn't spin all the way around.
I think something is screwy with the way MAME is translating analog input to the original optical controls.
It's way too sensitive.
It could probably be tweaked in the MAME code to work better, but I am not a coder.

Here is what I came up with for the way it is now:

Saturation to 1 (as always)
Cranking the sensitivity all the way down to 1 gets it fairly playable, but far from perfect.
Raising the dead zone to 10 or 15% will prevent the car from turning automatically when you take off.




« Last Edit: September 13, 2015, 03:59:04 pm by BadMouth »

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: Correct Analog Settings For Space Harrier?
« Reply #14 on: September 13, 2015, 07:14:47 pm »
Thanks for your help, ill give your settings a go.

Whos the best best to reach out to regarding Road Blasters and what needs to be done to get it playable with an analog stick?

Paul Olson

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1235
  • Last login:June 20, 2024, 08:23:41 am
    • Paul's Arcade
Re: Correct Analog Settings For Space Harrier?
« Reply #15 on: September 14, 2015, 01:53:45 am »
I'm still on MAME 151 on my laptop.  Not sure if anything has changed since then.

Fired up Space Harrier.

Increased saturation to 1 (100%), this gives you more of the stick movement to work with.  The default 85% means that MAME sees the joystick as being all the way in a direction when physically it's only 85% in that direction.  It's like reducing the already tiny amount of travel on the thumbsticks even further.  The broader the movement of the analog stick, the easier it is to find and hold the correct position.

Decreased deadzone to .05 (the version of MAMEUI I use on my laptop jumps in 5% increments) - again we want more range of motion reported as an analog position data.  We also don't want to be moving the stick and nothing happen

Increased sensitivity to 200 - I didn't mess with trying to fine tune this too much.  200 was much better than the default 100.  255 (the maximum) felt overly sensitive.  There is probably room for more fine tuning here.

I could get into the service menu, but couldn't select most of the options.  Not sure what is going on there.
I get a pop-up when launching it saying there might have been a bad dump.

I think it plays much better with these settings.  Never played it on the dreamcast, so can't compare.


The min/max analog setttings were wrong in the driver, and that was fixed in .152 to match the manual. I tested it with an original controller, and it worked great. Just mentioning it since something was changed since your version, but I don't know how much it would affect other controllers.

On Road Blasters, I would guess that it just is not going to feel quite right using an analog controller. I tried before I got a real controller, and it just always felt wrong no matter what settings I used. 

keylimesoda

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:November 18, 2015, 06:21:19 pm
  • I want to build my own arcade controls!
Re: Correct Analog Settings For Space Harrier?
« Reply #16 on: November 18, 2015, 02:45:10 am »
How does this work for 49-way games, like NFL Blitz?

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Today at 02:45:49 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Correct Analog Settings For Space Harrier?
« Reply #17 on: November 18, 2015, 02:47:46 pm »
Well a 49 way is a digital controller, not analog, so I doubt anything but a 49 way joystick is going to feel completely right. 

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9270
  • Last login:July 14, 2025, 01:30:54 pm
  • ...
Re: Correct Analog Settings For Space Harrier?
« Reply #18 on: November 18, 2015, 03:40:30 pm »
Well a 49 way is a digital controller, not analog, so I doubt anything but a 49 way joystick is going to feel completely right.

I don't see why the original 7x7 grid couldn't exist in software and be accurately triggered by an analog stick.


OP was trying to get analog sticks working in Blitz though, which apparently MAME isn't (or is no longer) configured for.
It's a MAME issue.

lamprey

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 636
  • Last login:January 17, 2019, 07:03:11 pm
Re: Correct Analog Settings For Space Harrier?
« Reply #19 on: November 19, 2015, 01:51:45 pm »
Well a 49 way is a digital controller, not analog, so I doubt anything but a 49 way joystick is going to feel completely right.

I don't see why the original 7x7 grid couldn't exist in software and be accurately triggered by an analog stick.


OP was trying to get analog sticks working in Blitz though, which apparently MAME isn't (or is no longer) configured for.
It's a MAME issue.
I don't' want to spread misinformation, but I thought I read someplace that analog support was taken out of the Blitz driver (seattle?). I could be wrong and I should double check, but I don't think it supports 49-way sticks either (or didn't the last time I tried). Maybe Haze or some one more knowledgeable than myself can confirm/deny.

EDIT: When I say doesn't support 49-way sticks, I mean when you set the input to a 49-way via dip switches. It only worked for me as an 8-way stick.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9270
  • Last login:July 14, 2025, 01:30:54 pm
  • ...
Re: Correct Analog Settings For Space Harrier?
« Reply #20 on: November 19, 2015, 02:01:29 pm »
I don't' want to spread misinformation, but I thought I read someplace that analog support was taken out of the Blitz driver (seattle?). I could be wrong and I should double check, but I don't think it supports 49-way sticks either (or didn't the last time I tried). Maybe Haze or some one more knowledgeable than myself can confirm/deny.

EDIT: When I say doesn't support 49-way sticks, I mean when you set the input to a 49-way via dip switches. It only worked for me as an 8-way stick.

I also thought I remembered people complaining about 49-way support being removed, but couldn't find anything to support it.
It isn't mentioned in the MAMEInfo.dat section on progettoemma.net

I was going to suggest trying an older build (in the other thread about blitz controls), but changed my mind when I couldn't find any info to back it up.
IIRC, MAME was around the late v120's to early v130's at the time people were mentioning it, but it could have been done earlier.
« Last Edit: November 19, 2015, 02:04:38 pm by BadMouth »