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: Sega "Hang On" configuration in Mame  (Read 6015 times)

0 Members and 1 Guest are viewing this topic.

unclet

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3561
  • Last login:March 17, 2025, 11:51:15 am
HELP: Sega "Hang On" configuration in Mame
« on: April 01, 2003, 09:23:51 pm »
I have a motorcycle handlebar steering assembly which I got from a Sega "Hang On" arcade machine.  It has three seperate potentiometers (steering left/right, throttle and brake).  I want to be able to use this assembly for playing "Hang On" in my new Mame driving cabinet.

It seems the game should not allow the player to use the throttle and brake at the same time, so I was going to wire the throttle and brake potentiometers together as a single-axis throttle/brake as documented in the following site (although I am interfacing via USB and not through the gameport):

     http://www.gunpowder.freeserve.co.uk/wheels/wiring.htm

I decided to check the configuration (TAB) settings ("Input this game") in Mame for the "Hang On" game and I noticed it has three AD stick settings which can be configured (ie: AD stick X, AD stick Y and AD stick Y2).   Would I be able to use my one "single-axis" throttle/brake mechanism as input for both the throttle/brake inputs of "AD stick Y" and "AD stick Y2" in Mame and have it work as the game wants it to?

Also, the Mame configuration settings for "Hang On" really have two settings each for "AD Stick X", "AD stick Y" and "AD stick Y2".   I can understand why Mame has two settings for "AD stick X" since I can enter one "AD stick X" setting for "steering left" and the other
"AD stick X" setting for "steering right" but how do I enter separate settings for "AD stick Y" and "AD stick Y2" for throttle and brakes?  Must I set one "AD stick Y" setting while pushing in the brake handle and set the other "AD stick Y" setting while letting the brake handle out.  What do I do for "AD stick Y2".....maybe my single-axis thing will not work??

Thanks
Dino

cdbrown

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1241
  • Last login:October 16, 2017, 09:52:03 pm
  • Bowowow
Re:HELP: Sega "Hang On" configuration in Mame
« Reply #1 on: April 02, 2003, 01:38:55 am »
Have you tried playing the game using the keyboard and the keys associated with the various AD STICK?  This might give you an indication to what each one does.

AD STICK X is usually left, the other AD STICK X should actually be
AD STICK X EXT which would be Right
AD STICK Y = Accelerator On
AD STICK Y EXT = Accelerator Off
AD STICK Y2 = Brake On
AD STICK Y2 EXT = Brake Off

The onscreen menu drops of the EXT value.  Just note these are only guesses and it may be that the AD STICK Y EXT may actually be Brake On as mame has some funny hacks.  I know for Super Hang-on the accelerator and brake are mapped to buttons.

Maybe SirP or Howard could help on this.

Good luck
-cdbrown

unclet

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3561
  • Last login:March 17, 2025, 11:51:15 am
Re:HELP: Sega "Hang On" configuration in Mame
« Reply #2 on: April 02, 2003, 07:11:50 am »
I looked at the settings before and realized what mappings were required.  I am just interested in knowing whether the single-axis throttle/brake concept could be used as input to set these mappings (ie: "AD stick Y" and "AD stick Y2" along with their "EXT" values as well).

The thing is, I want to hack up a Microsoft Sidewinder Dual Strike gamepad controller to attach the Sega HangOn motorcycle handlebar assembly for use for Mame.  I was wondering whether only one Dual Strike (which has 2 pots only) would allow me to use the motorcycle handlebar assembly (which has 3 pots) successfully.  I thought if I wired the throttle pot and brake pot of the assembly to be a single-axis (as outlined in the site http://www.gunpowder.freeserve.co.uk/wheels/wiring.htm) then this single-axis concept could be hacked to the UP/DOWN pot of the Dual Strike while the LEFT/RIGHT pot of the Dual Strike would obviously be used by the left/right pot of the steering assembly.

Basically, can I use one Dual Strike (which has 2 pots) as input for "HangOn" (which indicates settings for 3 pots) if I use the single-axis wiring concept?

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:HELP: Sega "Hang On" configuration in Mame
« Reply #3 on: April 02, 2003, 07:28:44 am »
I looked at the settings before and realized what mappings were required.  I am just interested in knowing whether the single-axis throttle/brake concept could be used as input to set these mappings (ie: "AD stick Y" and "AD stick Y2" along with their "EXT" values as well).

The thing is, I want to hack up a Microsoft Sidewinder Dual Strike gamepad controller to attach the Sega HangOn motorcycle handlebar assembly for use for Mame.  I was wondering whether only one Dual Strike (which has 2 pots only) would allow me to use the motorcycle handlebar assembly (which has 3 pots) successfully.  I thought if I wired the throttle pot and brake pot of the assembly to be a single-axis (as outlined in the site http://www.gunpowder.freeserve.co.uk/wheels/wiring.htm) then this single-axis concept could be hacked to the UP/DOWN pot of the Dual Strike while the LEFT/RIGHT pot of the Dual Strike would obviously be used by the left/right pot of the steering assembly.

Basically, can I use one Dual Strike (which has 2 pots) as input for "HangOn" (which indicates settings for 3 pots) if I use the single-axis wiring concept?
A couple of points - I think HangOn is broken since after MAME R37B16.  I think it is a System 16 game and the driver is being rewritten.

I would be surprised if it was designed for single axis - most motorcycles expect you to be able to apply the brake without reducing throttle, especially if the controller had both pots.  Your options appear to be - hack two dual strikes, run one pot through the gameport and the other two through the dual strike, or - maybe - MAME can work with single axis, but the gameplay will not be accurate, but maybe you can live with that?

Another option would be to connect either the brake or more likely the gas to a switch (button) input instead of a pot.  This lacks realism as the gas is either wide open or off, but that's the way I tend to drive anyway, so it might not be so bad.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.