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: Executing the 'O' 'K' key sequence in MAME  (Read 4093 times)

0 Members and 1 Guest are viewing this topic.

Beeeph

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 102
  • Last login:October 18, 2006, 12:31:44 pm
Executing the 'O' 'K' key sequence in MAME
« on: December 18, 2004, 05:43:51 am »
I apologize for exhausting this question, I'm sure it's been asked before.

Bones

  • [Moderator]
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3995
  • Last login:July 26, 2021, 11:34:03 pm
Re: Executing the 'O' 'K' key sequence in MAME
« Reply #1 on: December 18, 2004, 05:53:15 am »
Just give player P1 joystick a wiggle. (Unless you specifically want the extra buttons in which case use P1 right & P1 left.)

Living the delusional lifestyle.

Beeeph

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 102
  • Last login:October 18, 2006, 12:31:44 pm
Re: Executing the 'O' 'K' key sequence in MAME
« Reply #2 on: December 18, 2004, 05:56:31 am »
I see, that sounds good.

Bones

  • [Moderator]
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3995
  • Last login:July 26, 2021, 11:34:03 pm
Re: Executing the 'O' 'K' key sequence in MAME
« Reply #3 on: December 18, 2004, 06:14:49 am »
Not sure now if I made that last comment of mine clear. Unless you specifically want extra buttons allocated to O & K, you don't need to do anything. The joystick move will work straight out of the box without any changes or configuring.

If you have your heart set on O & K buttons, consider that these buttons are normally allocated to P3 controls so you will have some reconfiguring to do both on your IPAC and in MAME.

If you choose to share Joystick 1 left & right controls for OK buttons, then yes- if these buttons are touched while playing then P1 controls will be affected.

Living the delusional lifestyle.

DrewKaree

  • - AHOTW - Pompous revolving door windbag *YOINKER*
  • Wiki Master
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9740
  • Last login:May 15, 2021, 05:31:18 pm
  • HAH! Nice one!
    • A lifelong project
Re: Executing the 'O' 'K' key sequence in MAME
« Reply #4 on: December 18, 2004, 06:34:22 am »
Just give player P1 joystick a wiggle. (Unless you specifically want the extra buttons in which case use P1 right & P1 left.)
Erm.... if I'm Player 1, I don't want you coming NEAR my "joystick", and I MOST DEFINITELY don't want you "wiggling" it!   ;)
You’re always in control of your behavior. Sometimes you just control yourself
in ways that you later wish you hadn’t

Bones

  • [Moderator]
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3995
  • Last login:July 26, 2021, 11:34:03 pm
Re: Executing the 'O' 'K' key sequence in MAME
« Reply #5 on: December 18, 2004, 06:41:28 am »
Well you say that now, but after a couple of beers and a game of Rough Ranger.....

« Last Edit: December 18, 2004, 07:53:06 am by BrokenBones1 »

Living the delusional lifestyle.

Oddfeld

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 146
  • Last login:October 26, 2024, 04:46:39 pm
  • I was Jeff Minter's llama!
Re: Executing the 'O' 'K' key sequence in MAME
« Reply #6 on: December 18, 2004, 06:48:20 am »
Why not just disable the OK screens in mame.ini?

crashwg

  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3076
  • Last login:May 24, 2019, 11:01:05 am
Re: Executing the 'O' 'K' key sequence in MAME
« Reply #7 on: December 18, 2004, 11:15:55 am »
You can't dissable them all in the ini. at least not in official builds that is.
If there's bees in the trap I'm catching em
By the thorax and abdomen
And sanding the stingers down to a rough quill
Then I dip em in ink, and I scribble a bit
But if it they wriggle then I tickle em until they hold still
Lemme say it again
In my land of pretend
I use bees as a mf'n pen

Oddfeld

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 146
  • Last login:October 26, 2024, 04:46:39 pm
  • I was Jeff Minter's llama!
Re: Executing the 'O' 'K' key sequence in MAME
« Reply #8 on: December 18, 2004, 12:00:05 pm »
You can't dissable them all in the ini. at least not in official builds that is.

You've been able to disable the OK screens in the official builds since version 0.63

Try adding these to your mame.ini:

skip_disclaimer         1
skip_gameinfo           1
skip_validitychecks     1


pointdablame

  • I think Drew is behind this conspiracy...
  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5034
  • Last login:July 25, 2025, 11:13:52 pm
  • Saint and Woogie let me back in!
Re: Executing the 'O' 'K' key sequence in MAME
« Reply #9 on: December 18, 2004, 02:08:06 pm »
You can't dissable them all in the ini. at least not in official builds that is.

You've been able to disable the OK screens in the official builds since version 0.63

Try adding these to your mame.ini:

skip_disclaimer         1
skip_gameinfo           1
skip_validitychecks     1



Yes, but that is still not all of the error/warning/info pages.  There are still some that will pop up even with those settings.
first off your and idiot

Man I love the internet, haha.

DrewKaree

  • - AHOTW - Pompous revolving door windbag *YOINKER*
  • Wiki Master
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9740
  • Last login:May 15, 2021, 05:31:18 pm
  • HAH! Nice one!
    • A lifelong project
Re: Executing the 'O' 'K' key sequence in MAME
« Reply #10 on: December 18, 2004, 02:27:07 pm »
Well you say that now, but after a couple of beers and a game of Rough Ranger.....
Yikes!

:note to self, do NOT drink beer with BB while playing Rough Ranger:
You’re always in control of your behavior. Sometimes you just control yourself
in ways that you later wish you hadn’t

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: Executing the 'O' 'K' key sequence in MAME
« Reply #11 on: December 18, 2004, 03:45:23 pm »
You can't dissable them all in the ini. at least not in official builds that is.

You've been able to disable the OK screens in the official builds since version 0.63

Try adding these to your mame.ini:

skip_disclaimer         1
skip_gameinfo           1
skip_validitychecks     1
Really,

skip_validitychecks is a new one to me.

I knew about the first one, and NoNameMAME and poonga hacks added

skip baddump
skip gamewarnings

That validitychecks one works with normal MAME?

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.

krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2006
  • Last login:May 23, 2025, 03:48:36 am
  • Gotta have blue hair.
Re: Executing the 'O' 'K' key sequence in MAME
« Reply #12 on: December 18, 2004, 04:32:36 pm »
skip_validitychecks is new in MAME 0.88.  It's for developers but skipping the checks will speed up game startup significantly...


Quote
Added runtime option to disable validity checks [Derrick Renaud]

Added run time option:
-[no]skip_validitychecks
Forces MAME to skip doing the code validity checks. The default is OFF (-noskip_validitychecks).
This new option will default to doing the test and force you to confirm you do not want to use it. This way users can test their submissions easily and then speed things up when confirmed ok.

NOTE: DO NOT disable the checks when submitting code
Hantarex Polo 15KHz
Sapphire Radeon HD 7750 2GB (GCN)
GroovyMAME 0.197.017h_d3d9ex
CRT Emudriver & CRT Tools 2.0 beta 13 (Crimson 16.2.1 for GCN cards)
Windows 7 Home Premium 64-bit
Intel Core i7-4790K @ 4.8GHz
ASUS Z87M-PLUS Motherboard

ften

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 180
  • Last login:March 06, 2022, 10:20:43 pm
  • Beep Beep
    • Fathertom.net
Re: Executing the 'O' 'K' key sequence in MAME
« Reply #13 on: December 19, 2004, 09:53:22 am »
Any macrokey program will allow you to link "OK" to one button, such as QuicKeys and Keyboard Express. Ipac also has the ability to program a button as a macro.

-Ften

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: Executing the 'O' 'K' key sequence in MAME
« Reply #14 on: December 19, 2004, 10:36:25 am »
It's all been said above, but there may be some confusion on what you have to remap etc..etc....

There is NO need for any special build of mame, any ipac re-mapping, any 3rd party macro program.

If you ever see the "Hit OK to continue" in Mame you can EITHER:

1) Hit "OK"
OR
2) Move Player 1 joystick left and right.

You do not have to set Player 1 Joystick to be 'O' and 'K' to do this. Adding OK buttons to your CP would be a waste!

Also, as stated above:

skip_disclaimer         1
skip_gameinfo          1

in your mame.ini (again, normal official mame) will remove 95% of "OK" messages. You will then have messages on (usually) newer games with known emulation problems. The only way to skip these is to use a customised non-offical mame build.

skip_validitychecks     1

is worth adding as it speeds of loading of games(v0.88 onwards) - very noticeable on big games.



mahuti

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 2757
  • Last login:September 18, 2024, 01:16:22 pm
  • I dare anything! I am Skeletor!
Re: Executing the 'O' 'K' key sequence in MAME
« Reply #15 on: December 19, 2004, 01:25:36 pm »
OH, and uh... that's quite a frankenpanel you have.
Raspberry Pi, AttractMode, and Skeletor enthusiast.

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: Executing the 'O' 'K' key sequence in MAME
« Reply #16 on: December 20, 2004, 07:05:37 pm »
If you ever see the "Hit OK to continue" in Mame you can EITHER:

1) Hit "OK"
OR
2) Move Player 1 joystick left and right.

To add some info:

1) "O" & "K" are hardcoded. 

2) Can be remapped in mame.  UI_Left and UI_Right default to the same as player 1 joystick 1 (which is why people say "wiggle joystick one left and right"), but you can remap it to whatever you want.  For example you can map them to both player 1 joystick 1 OR player 2 joystick 1.  Then you could wiggle either joystick.

previous thread on this.
Robin
Knowledge is Power

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 20, 2025, 03:37:24 pm
  • The Bears Still Suck!
Re: Executing the 'O' 'K' key sequence in MAME
« Reply #17 on: December 20, 2004, 09:35:24 pm »
And it is documented in the mame faq.

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: Executing the 'O' 'K' key sequence in MAME
« Reply #18 on: December 21, 2004, 02:42:07 pm »
And it is documented in the mame faq.

But the FAQ doesn't note that it's mapped to UI left & UI right, not the (implied) player 1 left & player 1 right.
Robin
Knowledge is Power

subzero23

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 536
  • Last login:April 24, 2017, 03:21:43 am
Re: Executing the 'O' 'K' key sequence in MAME
« Reply #19 on: December 21, 2004, 03:22:13 pm »
lmao too funny
buttons JUST for O and K
wow
This user has been banned by saint and cannot reply. --- saint

Tritoch84

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 306
  • Last login:January 22, 2006, 12:31:27 am
  • Parry!
Re: Executing the 'O' 'K' key sequence in MAME
« Reply #20 on: December 22, 2004, 02:44:26 am »
lmao too funny
buttons JUST for O and K
wow


No kidding! Dude was fixing to waste some cash and room on his CP for o, and k, mapped buttons! Jeez! Good thing he asked first!
Overly Strict Father: "Here son, YOU can finish up this Street Fighter game while I get the pizza"

Me(age 10) "REALLY? *Mashes buttons like crazy* OH AWESOME *has heartattack*

danny_galaga

  • Grand high prophet of the holy noodle.
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8523
  • Last login:Yesterday at 06:34:53 am
  • because the mail never stops
    • dans cocktail lounge
Re: Executing the 'O' 'K' key sequence in MAME
« Reply #21 on: December 22, 2004, 09:52:36 am »
to sum up. wiggle joystick. this is MAME default. you can try it on your pc to test it out. just hit left and right arrow...


ROUGHING UP THE SUSPECT SINCE 1981

stevejt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 350
  • Last login:January 01, 2022, 01:21:32 pm
  • stevejt.com
    • My site
Re: Executing the 'O' 'K' key sequence in MAME
« Reply #22 on: December 22, 2004, 06:00:40 pm »
You guys all have sooooooooooo much more patience than me...  had I seen this sooner I might have said something like....

It is illegal according to the mame liscence to have buttons for O and K.  If you do so the mame police will end up having to confiscate your cabinet.  The secret way past the ok is to move the P1 joystick left and right.  But don't tell anyone else, it's a secret...  ok?

Steve

Bones

  • [Moderator]
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3995
  • Last login:July 26, 2021, 11:34:03 pm
Re: Executing the 'O' 'K' key sequence in MAME
« Reply #23 on: December 22, 2004, 06:21:45 pm »
C'mon, give the dude a break. He asked in a polite manner a question that might be obvious to majority of members, but I don't think it warrants treating the guy with disrespect. We all have to start somewhere.

Living the delusional lifestyle.

Tritoch84

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 306
  • Last login:January 22, 2006, 12:31:27 am
  • Parry!
Re: Executing the 'O' 'K' key sequence in MAME
« Reply #24 on: December 22, 2004, 09:02:24 pm »
But seriously, if you WERE going to wire two buttons for O and K. Why on earth would you put them right on your CP?!?!

Sillyness.
Overly Strict Father: "Here son, YOU can finish up this Street Fighter game while I get the pizza"

Me(age 10) "REALLY? *Mashes buttons like crazy* OH AWESOME *has heartattack*

Mameotron

  • Guest
  • Trade Count: (0)
Re: Executing the 'O' 'K' key sequence in MAME
« Reply #25 on: December 22, 2004, 10:23:27 pm »
Hey, welcome to the forum.  Now that we're through with your "initiation", let's try and help you out.

Nicew artwork on your control panel!  And no matter what people say, I know you are going to make it as big and cluttered as you want, because it is what you envision as being a good layout.

I'm not trying to insult you here, I did the same exact thing on my first control panel.  But you know, I never would have known what type of configuration I wanted until I played on my cab for a few months.  If it turns out that you love your panel, good for you!!  You don't have to redesign it 3 times (like I did).

I also didn't know about the OK thing at first, and planned on putting those admin buttons on my panel.  I just wiggle the joystick, that works best for me.

Good luck on your panel, keep posting pics!!  We love to see pics!!