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: SOLVED: Pedal doesn't give enough gas - Spy Hunter  (Read 6677 times)

0 Members and 1 Guest are viewing this topic.

Texasmame

  • No, no. He's in charge here.
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1240
  • Last login:February 18, 2022, 05:28:39 pm
  • Ba, ba, boom!
SOLVED: Pedal doesn't give enough gas - Spy Hunter
« on: March 16, 2007, 01:16:45 am »
Seems like the pedal I have (5k pot DS hack) doesn't give enough gas in MAME Spy Hunter.  The physical range of motion on the pedal itself (from a Roadblasters, I think) seems to be much less than that of a real Spy Hunter pedal so I'm guessing that's my problem here - the damn pot just ain't turning enough.

In a related (maybe) note, it also doesn't seem to register when I want to have MAME recognize it as a key stroke when reassigning keys.  I had to hook up my SW hack to get the "J-axis Y" value for it to register.  I'm really thinking this is just because the pedal has such a short throw that MAME just doesn't recognize the pot.   :hissy:

Is this something that can be adjusted with sensitivity/speed in MAME?  I've tried f'ing with those settings but I seem to be getting nowhere fast with that.  Perhaps I just need a pedal with a longer range of motion?

Help, help, help.   :badmood:

Cruisin' at half speed,
John in TX
« Last Edit: March 17, 2007, 03:06:52 pm by Texasmame »

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: Pedal doesn't give enough gas - Spy Hunter
« Reply #1 on: March 16, 2007, 08:42:35 am »
It seems like I remember this issue before.  I think there was a restrictor on the pedal on the real machine that MAME is emulating.

Ooops, did a Google search and I got that backwards - MAME is not emulating the restrictor so it should go FASTER in MAME.

Link
« Last Edit: March 17, 2007, 03:32:23 pm by Peale »
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.

Havok

  • Keeper of the __Blue_Stars___
  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4522
  • Last login:October 22, 2023, 09:14:44 pm
  • Insufficient facts always invite danger.
Re: Pedal doesn't give enough gas - Spy Hunter
« Reply #2 on: March 16, 2007, 08:48:24 am »
Have you tried calibrating the DS in Windows? I'll have to dig up my DS and connect it to see if that is an option, but it seems like that would fix the problem - then it would have the correct range set in Windows, and it should work. You can access the calibration menu by going into Control Panel, Game Controllers, Properties. Other than that, the only other option I could think if is the sensitivity settings...

Texasmame

  • No, no. He's in charge here.
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1240
  • Last login:February 18, 2022, 05:28:39 pm
  • Ba, ba, boom!
Re: Pedal doesn't give enough gas - Spy Hunter
« Reply #3 on: March 16, 2007, 02:41:43 pm »
It seems like I remember this issue before.  I think there was a restrictor on the pedal on the real machine that MAME is emulating.

Ooops, did a Google search and I got that backwards - MAME is not emulating the restrictor so it should go FASTER in MAME.



Interesting stuff there.  This is very weird.  :(
« Last Edit: March 17, 2007, 03:32:39 pm by Peale »

Texasmame

  • No, no. He's in charge here.
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1240
  • Last login:February 18, 2022, 05:28:39 pm
  • Ba, ba, boom!
Re: Pedal doesn't give enough gas - Spy Hunter
« Reply #4 on: March 16, 2007, 02:42:31 pm »
Have you tried calibrating the DS in Windows? I'll have to dig up my DS and connect it to see if that is an option, but it seems like that would fix the problem - then it would have the correct range set in Windows, and it should work. You can access the calibration menu by going into Control Panel, Game Controllers, Properties. Other than that, the only other option I could think if is the sensitivity settings...

Yup, I've done that.

It's fine for Pole Position, tho.  Really odd. . .

Texasmame

  • No, no. He's in charge here.
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1240
  • Last login:February 18, 2022, 05:28:39 pm
  • Ba, ba, boom!
Re: Pedal doesn't give enough gas - Spy Hunter
« Reply #5 on: March 16, 2007, 02:44:37 pm »
I'm using MAME32 .78 if that matters. . .

KenToad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1500
  • Last login:Yesterday at 02:14:24 pm
  • Flap Flap Flap
Re: Pedal doesn't give enough gas - Spy Hunter
« Reply #6 on: March 16, 2007, 02:53:34 pm »
Um, this probably won't help, but ... you did switch to high gear right?   

Otherwise, I ... :dunno 

unclet

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3561
  • Last login:April 26, 2023, 07:34:43 pm
Re: Pedal doesn't give enough gas - Spy Hunter
« Reply #7 on: March 16, 2007, 02:57:15 pm »
Yes, forgetting that you need to switch to high gear would be something to make sure you are trying first ...... but if that is not it ........ then

I had this problem with one of my arcade controls connected to a 5K POT.  It was caused by me not centering the POT correctly when I reconnected the gear which turns it after I disconnected everything to clean it up.  Basically, after I reconnected the gear to the POT, the range of motion of the POT was going from "very low to middle"  instead of  going from "middle to high".    I had to remove the gear again, turn the POT a bit, then mount the gear again.   Basically, when you press down on the pedal as far as it goes, then you want to make sure yoru POT is turning all the way to the MAX position (or just  a little bit less since you do not want to break the POT).   My problem was that my POT was only moving to the MID position, thus I could never get good speed.
« Last Edit: March 16, 2007, 02:59:30 pm by unclet »

Fozzy The Bear

  • Handbags at dawn in here!!!
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1831
  • Last login:September 18, 2011, 11:29:59 am
  • It's Been One Of Those Days... Don't Ask!
Re: Pedal doesn't give enough gas - Spy Hunter
« Reply #8 on: March 16, 2007, 03:03:57 pm »
Seems like the pedal I have (5k pot DS hack) doesn't give enough gas in MAME Spy Hunter. 

You need to calibrate the controls in the game itself, so that the game understands the range of motion available to it...... Open up the service menu for the game and run the in game calibration routine.

Best Regards,
Julian (Fozzy The Bear)
Most bottles and jars contain at least twenty-five percent recycled Pacman.
And research indicates that Space Invaders are strongly attracted to people who have recently eaten meat pies.

Texasmame

  • No, no. He's in charge here.
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1240
  • Last login:February 18, 2022, 05:28:39 pm
  • Ba, ba, boom!
Re: Pedal doesn't give enough gas - Spy Hunter
« Reply #9 on: March 16, 2007, 03:12:00 pm »
Um, this probably won't help, but ... you did switch to high gear right?   

Otherwise, I ... :dunno 

Heh, yeah.   ;D

Texasmame

  • No, no. He's in charge here.
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1240
  • Last login:February 18, 2022, 05:28:39 pm
  • Ba, ba, boom!
Re: Pedal doesn't give enough gas - Spy Hunter
« Reply #10 on: March 16, 2007, 03:13:37 pm »
Seems like the pedal I have (5k pot DS hack) doesn't give enough gas in MAME Spy Hunter. 

You need to calibrate the controls in the game itself, so that the game understands the range of motion available to it...... Open up the service menu for the game and run the in game calibration routine.

Best Regards,
Julian (Fozzy The Bear)

Done that, too.  My brother-in-law is visiting and was hoping to wow him with my cab.  :P

The "Driving Miss Daisy" Spy Hunter ain't gonna do that. 

Havok

  • Keeper of the __Blue_Stars___
  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4522
  • Last login:October 22, 2023, 09:14:44 pm
  • Insufficient facts always invite danger.
Re: Pedal doesn't give enough gas - Spy Hunter
« Reply #11 on: March 16, 2007, 03:34:20 pm »
Maybe try deleting the nvram and try again?

 :dunno

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4544
  • Last login:August 30, 2023, 05:10:22 pm
    • Arcade Ambience Project
Re: Pedal doesn't give enough gas - Spy Hunter
« Reply #12 on: March 16, 2007, 04:30:24 pm »
I have the opposite problem.  When using a joystick for my pedal, moving only a small amount forward when in high gear sometimes causes my car to slam into the car ahead of me.  I've tried setting the sensitivity in MAME way down and it doesn't seem to help much.  I didn't realize there was a calibration in the game itself though -- I'll try that tonight.

Xiaou2

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4098
  • Last login:November 12, 2023, 05:41:19 pm
  • NOM NOM NOM
Re: Pedal doesn't give enough gas - Spy Hunter
« Reply #13 on: March 16, 2007, 08:08:57 pm »

 What kind of  pedal are you using?   Does it have gearing?
 
 Because most all arcade pedals need a gearing system to
use more of the pot vaules.

 Using a direct-drive (instead of geared) with a 5k pot wont turn enough
for good enough resolution to be usefull.   

 Also, the latest version of mame has added the ability to use
half or full axis travel  for the pedals.  You may have to change the
settings.

Derrick Renaud

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 299
  • Last login:March 30, 2018, 11:06:19 am
Re: Pedal doesn't give enough gas - Spy Hunter
« Reply #14 on: March 17, 2007, 04:14:05 am »
FYI, per Xiaou2's post:

The newest MAME allows you to pick full or half joystick axis for any emulated analog control.

When you are in the control selection menu, the first press on the pedal selects the full joystick axis.  Then you select to enter it again and it will toggle the selection to use the half axis.

So, for player 1 gas pedal, you select the emulated pedal to change, and press the gas  pedal and it will say "Y axis".  Then select and press the pedal again, then it will toggle to the "Y - axis".  Remember a windows gas pedal is usually Y- and a brake pedal is Y+.  Steering is X.

The point of this is so you can now select a pedal for use as thrust for Lunar Lander, etc.  Or even select a full joystick axis to be the gun position in Boothill, or just use your pedal(half axis) to move the gun position.

The default control for player 1 gas is the first joystick Y-, and Y+ is the brake.  This is the default of most pedal controls.  Otherwise just go into the controls menu and change it.

It also helps to delete the NVRAMs for namcos2.c and midvunit.c games.  The NVRAM should then auto default to the aligned setting if you have you joystick axis mapped properly.

D.

« Last Edit: March 17, 2007, 04:22:20 am by Derrick Renaud »

Texasmame

  • No, no. He's in charge here.
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1240
  • Last login:February 18, 2022, 05:28:39 pm
  • Ba, ba, boom!
Re: Pedal doesn't give enough gas - Spy Hunter
« Reply #15 on: March 17, 2007, 10:40:34 am »
I have the opposite problem.  When using a joystick for my pedal, moving only a small amount forward when in high gear sometimes causes my car to slam into the car ahead of me.  I've tried setting the sensitivity in MAME way down and it doesn't seem to help much.  I didn't realize there was a calibration in the game itself though -- I'll try that tonight.

Actually, the game calibration is just there to help you set the pot to "zero."  It won't let you set a relative distance.  It's just geared to being used on a real SH machine, as it should be.

Texasmame

  • No, no. He's in charge here.
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1240
  • Last login:February 18, 2022, 05:28:39 pm
  • Ba, ba, boom!
Re: Pedal doesn't give enough gas - Spy Hunter
« Reply #16 on: March 17, 2007, 10:41:56 am »

 What kind of  pedal are you using?   Does it have gearing?

Nope.
 
 Because most all arcade pedals need a gearing system to
use more of the pot vaules.

That's what I thought.  :(

 Using a direct-drive (instead of geared) with a 5k pot wont turn enough
for good enough resolution to be usefull.   

 Also, the latest version of mame has added the ability to use
half or full axis travel  for the pedals.  You may have to change the
settings.

I'm using .78.  Maybe I can recompile and just add that feature???


Xiaou2

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4098
  • Last login:November 12, 2023, 05:41:19 pm
  • NOM NOM NOM
Re: Pedal doesn't give enough gas - Spy Hunter
« Reply #17 on: March 17, 2007, 11:14:10 am »
As much as you dont want to hear it,  you are much better off rebuilding that part
of your pedal design. 

 I had the same issue with a PC pot in a custom starwars yoke.   

 I found a package of green gears at a local hobby shop which
solved the problems (with some drilling of the centers).

 If you do not wish to use gears, you can also use a system of
levers to create the mechanical leverages needed.   Do a
search on Pedals, or Sim racing, and you should see many
great examples of this.

The more control ability you have in Spy HUnter, the better ! :) 

Also,  you may find other games do not react well with
a reduced value pot.  Everything from windows
calibration itself...  to win games, and even other games
inside mame...  all may exibit poor control or lack of
functionality.  Even failure to operate properly, if at all.




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: Pedal doesn't give enough gas - Spy Hunter
« Reply #18 on: March 17, 2007, 12:18:37 pm »
I'm using .78.  Maybe I can recompile and just add that feature???
I think that would be hard to do.

It would be much easier to install 0.113 in a new folder - get an updated spyhunter rom (if it changed), and use 0.113 for SpyHunt and other pedal driving games and 0.78 for everything else, and set your frontend up to use the appropriate MAME version for each game.
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.

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: Pedal doesn't give enough gas - Spy Hunter
« Reply #19 on: March 17, 2007, 12:23:00 pm »
The point of this is so you can now select a pedal for use as thrust for Lunar Lander, etc.  Or even select a full joystick axis to be the gun position in Boothill, or just use your pedal(half axis) to move the gun position.
The additional point of this is that (from a MAME viewpoint) - it is no longer required to have the DPDT switch that was commonly recommended on racing sim sites to switch between gas=X-axis brake=Y-axis and gas=Y-axis+ and brake=Y-axis -, you can just pick one or the other and adjust MAME to suit.

Thanks again Derrick for all the controls improvements in recent MAME builds.
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.

Texasmame

  • No, no. He's in charge here.
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1240
  • Last login:February 18, 2022, 05:28:39 pm
  • Ba, ba, boom!
Re: Pedal doesn't give enough gas - Spy Hunter
« Reply #20 on: March 17, 2007, 01:55:14 pm »
I'm using .78.  Maybe I can recompile and just add that feature???
I think that would be hard to do.

I seem to remember a tutorial somewhere on it - the hardest thing is finding the file(s) you want to recompile, IIRC.

It would be much easier to install 0.113 in a new folder - get an updated spyhunter rom (if it changed), and use 0.113 for SpyHunt and other pedal driving games and 0.78 for everything else, and set your frontend up to use the appropriate MAME version for each game.

May have to cave and do that.  Lame.  :P

Texasmame

  • No, no. He's in charge here.
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1240
  • Last login:February 18, 2022, 05:28:39 pm
  • Ba, ba, boom!
Re: Pedal doesn't give enough gas - Spy Hunter
« Reply #21 on: March 17, 2007, 02:17:13 pm »
Well, my Roadblasters pedal, as is, ain't gonna cut it for SH.  I can't find any good diagrams/how to online for adding gears.  Guess I gotta just start here and brainstorm.:

http://www.happcontrols.com/driving/50282800e.htm


Also placed a WTT ad in the appropriate area.

 :timebomb:

Guess I'm finding it hard to believe I'm the only guy ever to encounter this?  What, nobody here love Spy Hunter?  :(
« Last Edit: March 17, 2007, 02:21:06 pm by Texasmame »

Texasmame

  • No, no. He's in charge here.
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1240
  • Last login:February 18, 2022, 05:28:39 pm
  • Ba, ba, boom!
Re: Pedal doesn't give enough gas - Spy Hunter
« Reply #22 on: March 17, 2007, 03:03:16 pm »
It seems like I remember this issue before.  I think there was a restrictor on the pedal on the real machine that MAME is emulating.

Ooops, did a Google search and I got that backwards - MAME is not emulating the restrictor so it should go FASTER in MAME.



Well, I've got it to an acceptable level now.

That above link got me looking more at the physical construction of my pedal and, sure enough, there is a restrictor on this pedal, too!  I removed it and it increased the range of motion for the pot just enough so that I can be happy with it.  Much better than having to rig up some odd gears and such!

Thanx, all! 
 :cheers:
« Last Edit: March 17, 2007, 03:33:18 pm by Peale »

IceBear81

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:December 11, 2020, 09:31:57 am
  • I want to build my own arcade controls!
Re: SOLVED: Pedal doesn't give enough gas - Spy Hunter
« Reply #23 on: December 04, 2020, 10:44:22 pm »
I know this topic is super old, my google-fu keeps bringing me back to this thread and another ... Question is: Does Spy Hunter have variable speed or is it just low/high ? I can't seem to find a direct answer, and the pedal being a POT makes me think that each gear has a variable speed based on how much you press the gas.

Using MAME, I have an analog pedal registering, and I see the variable level when pressed but I only get one speed per gear ... Any references or links would be greatly appreciated.

spisi

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 238
  • Last login:January 31, 2024, 09:26:50 am
  • I want to build my own arcade controls!
Re: SOLVED: Pedal doesn't give enough gas - Spy Hunter
« Reply #24 on: December 05, 2020, 12:01:42 pm »
I'm pretty sure that you're supposed to get variable speeds in both gears (depending on how far you press the pedal).  Low gear maxes out at a certain speed, and high gear maxes out at a higher (maximum) speed.

spisi

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 238
  • Last login:January 31, 2024, 09:26:50 am
  • I want to build my own arcade controls!
Re: SOLVED: Pedal doesn't give enough gas - Spy Hunter
« Reply #25 on: December 06, 2020, 10:09:51 am »
Did you calibrate in Windows?

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9226
  • Last login:Yesterday at 05:42:45 pm
  • ...
Re: SOLVED: Pedal doesn't give enough gas - Spy Hunter
« Reply #26 on: December 06, 2020, 02:54:23 pm »
I know this topic is super old, my google-fu keeps bringing me back to this thread and another ... Question is: Does Spy Hunter have variable speed or is it just low/high ? I can't seem to find a direct answer, and the pedal being a POT makes me think that each gear has a variable speed based on how much you press the gas.

Using MAME, I have an analog pedal registering, and I see the variable level when pressed but I only get one speed per gear ... Any references or links would be greatly appreciated.
Do you have your gas pedal mapped to Pedal INC?  (you shouldn't)