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: wheel / yoke for road blasters?  (Read 5215 times)

0 Members and 1 Guest are viewing this topic.

RobotronNut

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 315
  • Last login:December 22, 2018, 11:39:19 am
  • I want to build my own arcade controls!
wheel / yoke for road blasters?
« on: January 17, 2006, 11:06:20 am »
Quote
Road Blasters may not be very good with an analog yoke.  The original game used an optical steering wheel.

hmm... apparently the original roadblasters used an optical yoke, like a 360 degree wheel, with a physical restriction, so it could only move thru something like 270 degrees.

is anyone out there successfully playing roadblasters on a 270 degree analog yoke? if not, what other good solutions are there?
to see my "Frankenpanel" and design notes, click here.

cw

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 793
  • Last login:May 03, 2025, 09:26:58 pm
  • Game over man game over
    • The Cab
Re: wheel / yoke for road blasters?
« Reply #1 on: January 17, 2006, 11:12:02 am »
get a road blasters wheel and make a cp?

Major Rock Hardy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 261
  • Last login:April 29, 2013, 06:51:45 pm
  • xybots rocks!
Re: wheel / yoke for road blasters?
« Reply #2 on: January 17, 2006, 11:16:39 am »
I found this strange also.  I have tried it with an Ultimarc A-PAC running a SW yoke in windows mame and it gave me problems.  Yoke calibrated fine in win2k and works fine in SW and stunrun. 

If I can't get it to work, it shouldn't be too hard to also mount a spoked wheel and optical sensor (via mouse hack, etc.) somewhere on the backend where the left/right pot is.  Of course no destroying original equipment though!  :o

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: wheel / yoke for road blasters?
« Reply #3 on: January 17, 2006, 05:48:39 pm »
You could edit the source.  Mame doesn't simulate relative analog (mouse/trackball/spinner) input types well with anything but relative devices.  Since analog joysticks & 270 wheels are absolute, mame translates the analog data to digital left/right/center internally, then translates that to simulated relative data.

All you have to do is a small edit of the source: change the input type of the wheel from spinner to paddle, and recompile.  (That's a one word change.)

This has been an issue of mame's, and the person who wrote the drive feels that mame's generic "dial" input type documents the original hardware better than the generic "paddle" input type.  I agree for documenting (mame's main goal), but playability (which isn't mame's main goal) "paddle" works better for most PC hardware.  Do not bring it up with the mameDevs though; just live with it and compile your own.
Robin
Knowledge is Power

Major Rock Hardy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 261
  • Last login:April 29, 2013, 06:51:45 pm
  • xybots rocks!
Re: wheel / yoke for road blasters?
« Reply #4 on: January 17, 2006, 07:23:52 pm »
word.  Thanks for the tip!

I figured I'd have to re-write a portion of something where the difference inputs increment/decrement a counter that saturate at the analog limits the paddle control code would expect... or something... but a one-word change - I like that!

Rock

Kremmit

  • - AHOTW -
  • Wiki Contributor
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3165
  • Last login:Yesterday at 04:07:55 pm
  • Who the heck is that?
Re: wheel / yoke for road blasters?
« Reply #5 on: January 17, 2006, 11:38:35 pm »
I did see where somebody added an encoder wheel and a set of optics to the back of their SW yoke just for RoadBlasters.  They said it worked fine.

RobotronNut

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 315
  • Last login:December 22, 2018, 11:39:19 am
  • I want to build my own arcade controls!
Re: wheel / yoke for road blasters?
« Reply #6 on: January 18, 2006, 05:20:17 am »
I did see where somebody added an encoder wheel and a set of optics to the back of their SW yoke just for RoadBlasters.  They said it worked fine.

i tried to find an article like that but couldn't find any. if you can re-locate it, please let me know. thanks.

to see my "Frankenpanel" and design notes, click here.

RobotronNut

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 315
  • Last login:December 22, 2018, 11:39:19 am
  • I want to build my own arcade controls!
Re: wheel / yoke for road blasters?
« Reply #7 on: January 18, 2006, 12:59:18 pm »
Quote
All you have to do is a small edit of the source: change the input type of the wheel from spinner to paddle, and recompile.

how well does it work after you've made that change?

would it still be better to add optical capabilities to the sw yoke?
to see my "Frankenpanel" and design notes, click here.

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: wheel / yoke for road blasters?
« Reply #8 on: January 18, 2006, 07:46:47 pm »
Quote
All you have to do is a small edit of the source: change the input type of the wheel from spinner to paddle, and recompile.

how well does it work after you've made that change?

would it still be better to add optical capabilities to the sw yoke?


Very well.  The only thing you can't simulate with the change is the "missing spoke" and "missed read of a spoke/gap" errors, AFAIK. ;) 
Adding the optical to the yoke, OTOH, might feel closer to the original sensitivity / angle turned than from the POT side (for reasons of deadzone, progressive/logrithmic scaling, early max, etc, which differents from wheel to wheel, and driver to driver settings).

The one line is in src/drivers/atarisy1.c, line 661:
INPUT_PORTS_START( roadblst )
   PORT_START   /* F20000 */
   PORT_BIT( 0xff, 0x40, IPT_PADDLE ) PORT_MINMAX(0x00,0x7f) PORT_SENSITIVITY(25) PORT_KEYDELTA(10) PORT_REVERSE

   PORT_START   /* F40000 */

"IPT_DIAL" changed to "IPT_PADDLE"
Robin
Knowledge is Power

RobotronNut

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 315
  • Last login:December 22, 2018, 11:39:19 am
  • I want to build my own arcade controls!
Re: wheel / yoke for road blasters?
« Reply #9 on: January 18, 2006, 08:51:12 pm »
very cool. will give it a try. thanks!!!
to see my "Frankenpanel" and design notes, click here.

Kremmit

  • - AHOTW -
  • Wiki Contributor
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3165
  • Last login:Yesterday at 04:07:55 pm
  • Who the heck is that?
Re: wheel / yoke for road blasters?
« Reply #10 on: January 18, 2006, 10:17:36 pm »
I did see where somebody added an encoder wheel and a set of optics to the back of their SW yoke just for RoadBlasters.  They said it worked fine.

i tried to find an article like that but couldn't find any. if you can re-locate it, please let me know. thanks.



Sorry, if I remembered where I saw it, I would have linked it up in the first place.  :P

mark shaker

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 293
  • Last login:March 04, 2022, 09:27:06 pm
  • Oh Crikey!
    • Mark's Basement Arcade
Re: wheel / yoke for road blasters?
« Reply #11 on: January 20, 2006, 08:46:57 am »
I did see where somebody added an encoder wheel and a set of optics to the back of their SW yoke just for RoadBlasters.  They said it worked fine.

That would be me!

See my Return of the Jedi cabinet at :www.marksarcade.com. There is not a lot of technical info on it, but there is a picture of the mounted optic wheel.

   - Mark

Major Rock Hardy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 261
  • Last login:April 29, 2013, 06:51:45 pm
  • xybots rocks!
Re: wheel / yoke for road blasters?
« Reply #12 on: January 20, 2006, 11:57:47 am »

Very well.  The only thing you can't simulate with the change is the "missing spoke" and "missed read of a spoke/gap" errors, AFAIK. ;) 
Adding the optical to the yoke, OTOH, might feel closer to the original sensitivity / angle turned than from the POT side (for reasons of deadzone, progressive/logrithmic scaling, early max, etc, which differents from wheel to wheel, and driver to driver settings).

The one line is in src/drivers/atarisy1.c, line 661:
INPUT_PORTS_START( roadblst )
   PORT_START   /* F20000 */
   PORT_BIT( 0xff, 0x40, IPT_PADDLE ) PORT_MINMAX(0x00,0x7f) PORT_SENSITIVITY(25) PORT_KEYDELTA(10) PORT_REVERSE

   PORT_START   /* F40000 */

"IPT_DIAL" changed to "IPT_PADDLE"

U_rebel-

I assume this should work in the other direction?  That is - swapping an optical spinner where mame expects a paddle control?  For instance - if I want to play 4 person Warlords (which I believe was analog (pot) paddles) with 4 optical spinners - would the source edit work OK?  I know this will have to be a mame analog+ or advmame application due to the 4 axes...

Thanks,
Rock

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: wheel / yoke for road blasters?
« Reply #13 on: January 20, 2006, 06:28:51 pm »
The only thing you can't simulate with the change is the "missing spoke" and "missed read of a spoke/gap" errors, AFAIK. ;) 
Adding the optical to the yoke, OTOH, might feel closer to the original sensitivity / angle turned than from the POT side (for reasons of deadzone, progressive/logrithmic scaling, early max, etc, which differents from wheel to wheel, and driver to driver settings).

U_rebel-

I assume this should work in the other direction?  That is - swapping an optical spinner where mame expects a paddle control?  For instance - if I want to play 4 person Warlords (which I believe was analog (pot) paddles) with 4 optical spinners - would the source edit work OK?  I know this will have to be a mame analog+ or advmame application due to the 4 axes...

Mame is great at relative device to absolute game inputs (as with Warlords, or star wars with a trackball).  So no need to edit the source.  (I doubt you would notice any difference with the change, and with it you couldn't use absolute devices.)

The reason is it's really, really easy to go from a relative device's input (spinner) and use it to simulate an absolute input (POTs).  And mame does this fine.  It's almost as 'easy' to go the other way, but there's two totally different ways to do it.

I'll use arkanoid, a spinner, an analog joystick, and a POT spinner in this example.  You can translate the absolute to relative in two ways: "distance from center" and "change from last".  The POT spinner would work exactly like a normal spinner (assumeing linear POT, no software deadzone, scaling, curving, etc) with the "change from last" method (it turns the absolute into relative by software).  However, the analog joystick would probably be best with the "distance from center" method, as the distance from center would determine the speed the paddle moves.  "Change from last" might work for a zero or weak spring analog joystick for some people, though. 

FWIW, games like super sprint and pole position probably would do better with "distance from center" with PC steering wheels (270 degree) even though the game play would be somewhat different than the original.

With that said, mame could get good absolute to relative input play if the user could choose which way it's translated.  More work I never got around to. :-\
Robin
Knowledge is Power

Silver

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1668
  • Last login:April 16, 2025, 04:09:53 pm
  • Cunning like the Fox.
    • Mods'n'Mods
Re: wheel / yoke for road blasters?
« Reply #14 on: January 20, 2006, 10:58:23 pm »
u_rebelscum: most useful/interesting post I've read in ages. Thanks!

So basically the best type of input for mame to use depends on the physical controller being used.

Are there many other games in similar situations to roadblasters? ie 'non-standard' input (as not a typical yoke) that works better with a source change?

RobotronNut

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 315
  • Last login:December 22, 2018, 11:39:19 am
  • I want to build my own arcade controls!
Re: wheel / yoke for road blasters?
« Reply #15 on: January 22, 2006, 06:16:15 pm »
I did see where somebody added an encoder wheel and a set of optics to the back of their SW yoke just for RoadBlasters.  They said it worked fine.

That would be me!

See my Return of the Jedi cabinet at :www.marksarcade.com. There is not a lot of technical info on it, but there is a picture of the mounted optic wheel.

   - Mark

thanks for the info. have you ever tried the software solution outlined above? you would be in a unique position to compare the two, since your yoke would support both.
to see my "Frankenpanel" and design notes, click here.