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: Super mario bros problem: holding the jump button  (Read 1762 times)

0 Members and 1 Guest are viewing this topic.

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Super mario bros problem: holding the jump button
« on: October 05, 2008, 08:01:32 pm »
My son and I have been playing Super Mario Bros a lot in the last month or two, and occasionally when we hold the jump button for a high/long jump it registers as just a short jump, as if I had quickly pressed and released. I've gotten this to happen with different buttons, so it's not a wiring/button problem. And I haven't experienced any button problems with other games (though button holds aren't common, at least in the games I play).

Anyone else notice this problem? Is it maybe a mame bug (I'm currently using 0.126)? I can't imagine it's a bug in the actual game. I was playing today and it happened 2 or 3 times in one game, causing me do die where I otherwise wouldn't have. :banghead:
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

protokatie

  • I DO try to be insulting and horrible to my fellow Terran
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1396
  • Last login:March 27, 2012, 09:36:43 pm
  • Is anyone here a member of team retard?
Re: Super mario bros problem: holding the jump button
« Reply #1 on: October 06, 2008, 02:21:03 am »
My son and I have been playing Super Mario Bros a lot in the last month or two, and occasionally when we hold the jump button for a high/long jump it registers as just a short jump, as if I had quickly pressed and released. I've gotten this to happen with different buttons, so it's not a wiring/button problem. And I haven't experienced any button problems with other games (though button holds aren't common, at least in the games I play).

Anyone else notice this problem? Is it maybe a mame bug (I'm currently using 0.126)? I can't imagine it's a bug in the actual game. I was playing today and it happened 2 or 3 times in one game, causing me do die where I otherwise wouldn't have. :banghead:


What encoder are you using? If you are using an Ipac, are you using the PS/2 or USB connector? (There is a difference, from what I understand, the USB mode of the Ipac will cause it to repeat the code automatically as long as the button is held down). All it would take is for MAME to hiccup long enough for the IO to see it as a release on the key. If the cab is dedicated, do you have any other software that may cause a multitasking "hiccup"? If not, maybe try TinyXP or some other OS that doesnt have a lot of services that could cause a latency in multitasking.
--- Yes I AM doing this on purpose, and yes I DO realize it is pissing you off.

---If my computers were cats, my place would look like an old widows house, with half of the cats having obvious health problems

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Super mario bros problem: holding the jump button
« Reply #2 on: October 06, 2008, 07:59:16 am »
AFAIK key repeat for IPAC in PS/2 mode is only for up and down and is set for all keys in USB mode.

Key repeat shouldn't effect Mame though, but I guess protokatie might be right that something might be causing it to register a KEYUP event.

First thing I would do is turn off Sticky Keys. Go to Start->Settings->Control Panel->Accessibility Options then turn off Sticky, Filter & Toggle Keys.

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: Super mario bros problem: holding the jump button
« Reply #3 on: October 06, 2008, 12:34:09 pm »
Good thinking headkaze. I'm not sure whether or not that applies when explorer isn't running, but it's certainly worth trying. I am using an IPAC 4 in USB mode. It could be coincidence but it seems like it happens a lot more since I installed my u360's a couple of days ago. Too early to say that for sure though. And it certainly did it when I used happ comps. It seems like it happens more when I am running, but then again that's when I do most of my jumping of course.

I have very little running on my cab but it is standard XP with some services disabled, not TinyXP. The system itself is very capable (the best system in my house!).

I planned to do some testing by firing up notepad and doing the same kind of running and jumping stuff to see if I can see that kind of a problem happen there. It's somewhat of a different scenario with key repeat and all, but should be interesting to try anyway.

Thanks for the feedback, hk and pk. If I don't get anywhere with these tests then I'll see what Andy has to say.
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: Super mario bros problem: holding the jump button
« Reply #4 on: October 07, 2008, 01:09:31 am »
Well I tried both Notepad and WinIPAC's test mode and for the life of me I can't get the problem to occur if I try the same thing in those apps. So are people playing this game without experiencing this problem ever?
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

NickG

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 586
  • Last login:September 26, 2022, 05:25:23 am
  • Dig.
    • My Projects Page
Re: Super mario bros problem: holding the jump button
« Reply #5 on: October 07, 2008, 02:36:33 am »
Is this something that happens with your keyboard as well?
  With regard to MAME hiccups, try to enable steadykey in your mame.ini (if you haven't yet) -seems like it may help.

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: Super mario bros problem: holding the jump button
« Reply #6 on: October 07, 2008, 12:09:34 pm »
Good suggestions. I'll try the keyboard. And I remember noticing the steadykey option. What are the downsides to using it?
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

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: Super mario bros problem: holding the jump button
« Reply #7 on: October 07, 2008, 03:45:40 pm »
... And I remember noticing the steadykey option. What are the downsides to using it?

Lag of one frame if everything is working perfectly, more if a button goes back and forth between closed and not closed quickly.
Robin
Knowledge is Power