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: Start button doubling as coin button/KeyWiz?  (Read 1441 times)

0 Members and 1 Guest are viewing this topic.

Ceifeirot

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Last login:September 24, 2005, 03:58:56 pm
  • I'm a llama!
Start button doubling as coin button/KeyWiz?
« on: April 28, 2004, 01:29:22 pm »
I'm trying to get it so that when the player presses the start button it registers as both a start button press and a coin insert. Is there some way to do this with MAME and the KeyWiz? Also, Is there a way to get it so that if you press both start buttons at the same time, it exits the game with my setup?

THanks
Alex

paigeoliver

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10994
  • Last login:July 06, 2024, 08:43:49 pm
  • Awesome face!
Re:Start button doubling as coin button/KeyWiz?
« Reply #1 on: April 28, 2004, 02:58:26 pm »
Your choice of encoder has no bearing upon your question.

Now for the good news. Mame can already do more than one thing with a single keypress, just assign the same keypress to more than one thing.

Now for the bad news.

That doesn't work for most games. It will work fine for some games, specifically the games that are multiple players at the same time and allow the individual players to enter and exit the game at any time. It is not going to work right for anything else.

Complicating the issue, some games use the start button as an action button.
Acceptance of Zen philosophy is marred slightly by the nagging thought that if all things are interconnected, then all things must be in some way involved with Pauly Shore.

hyiu

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1481
  • Last login:August 29, 2014, 05:36:15 am
  • too many games... too little time....
    • www
Re:Start button doubling as coin button/KeyWiz?
« Reply #2 on: April 28, 2004, 03:26:03 pm »
start button as coin button....
I guess this doesn't really matter what encoder you use, (or I use gamepad hack...) but more a mame config question...

I have not played a lot of games in mame...
but most newer games will work fine....

(when you start a game.... like ms pacman... you press the button once, and it'll give you a credit... and then you press it again, and it'll start the game, and at the same time give you another credit....)

for some older games... (I don't have much time to try all the older games.... a lot of catching up to do... haaa haa..) some of them will NOT work... they'll need another button... as to how many.... I really donno.... but try it... I think you'll find it acceptable... (I think so far, I found less than 10 games... I can live with that....)
 ;) ;D

ohhh... ps: yes, for guantlet... since the start button is also the potion button... so.. everytime you put in health... you'll also use 1 potion or something....
Another Brilliant mind ruined by education....  :p

paigeoliver

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10994
  • Last login:July 06, 2024, 08:43:49 pm
  • Awesome face!
Re:Start button doubling as coin button/KeyWiz?
« Reply #3 on: April 28, 2004, 04:00:11 pm »
Most older games will instantly start the game if you have the coin button doubling as the start button. Which (unfortunately) makes it impossible to start a 2 player game.

A better solution would be a hidden coin button.

If you are only playing games that alternate players, then you can make player 2 start the same button as coin. My "Galaga" is wired that way, as was my dedicated Time Pilot. That works fine, but only for games that alternate.
Acceptance of Zen philosophy is marred slightly by the nagging thought that if all things are interconnected, then all things must be in some way involved with Pauly Shore.

GamingGreg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 304
  • Last login:August 05, 2018, 06:04:30 pm
Re:Start button doubling as coin button/KeyWiz?
« Reply #4 on: April 28, 2004, 04:12:25 pm »
It's possible to rig up a short delay circuit, that would press coin and then press player start.   However, not all games use P1 Start, sometimes it's P1 Button1.  So you'd still end up pressing two buttons there anyway.

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:Start button doubling as coin button/KeyWiz?
« Reply #5 on: April 28, 2004, 04:59:19 pm »
I'm trying to get it so that when the player presses the start button it registers as both a start button press and a coin insert. Is there some way to do this with MAME and the KeyWiz? Also, Is there a way to get it so that if you press both start buttons at the same time, it exits the game with my setup?

THanks
Alex
What exactly are you trying to accomplish (why do you want to do this)?

I thought you could map both P1 Start and Coin 1 to the same key and tested it and it failed miserably (all I could do was add additional coins and I could never start a game).

You could have dedicated coin buttons and use P1B1 (L Ctrl) or P2B1 (A???) for both Start 1 and P1B1 (and remap MAME to match).  You can even have separate buttons on the control panel both connected to the B1 inputs.  (i.e. a 1P start button and the regular P1B1 button both mapped to LCtrl on the KeyWiz).  This would be used if you just wanted to save 4 encoder inputs.

The drawbacks to this are as follows:

DISADVANTAGES
 
The biggest disadvantage to this is if you were to use this setup and then try it with an emulator that was looking for separate start and action buttons and does not allow re-mapping of key inputs.
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.

Ceifeirot

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Last login:September 24, 2005, 03:58:56 pm
  • I'm a llama!
Re:Start button doubling as coin button/KeyWiz?
« Reply #6 on: April 28, 2004, 06:08:11 pm »
Wow! Thanks for all the input!
It's a little more information than I needed but hopefully it'll help others in the future too (who are searching the forums)

I just want a temporary way to do this since I forgot to have extra holes drilled for escape/pause/etc.

I think I may have the coin return button act as a coin insert, if possible.

I know the problem with having it exit as described, I just need to be careful not to hit the start button at the same time as P2. (but I'll probably add an escape button later)

Thanks again!

NY_in_TX

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 345
  • Last login:February 25, 2017, 11:19:54 am
  • First play's free...next one will cost ya
Re:Start button doubling as coin button/KeyWiz?
« Reply #7 on: April 28, 2004, 10:21:57 pm »
I heard of a cool trick while reading RGVAC.  

It only works well for games where 2 players have to take turns or 2 player simultaneous games without continue

Assign coin in and 2 player start to the same key

first press of P2 adds a coin
now you can start a one player game
or press P2 again and it adds another credit
a third press of P2 starts a 2 player game


when I get my Ms Pac cocktail working I am going to add this feature as it will only play the turn based classics.  

again this isn't the best solution for mame, but it may help you.

I also think your keywiz has a shazam button so that may solve all your problems.  just shazam all the admin keys you need

NY

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:Start button doubling as coin button/KeyWiz?
« Reply #8 on: April 29, 2004, 06:48:41 am »
first press of P2 adds a coin
now you can start a one player game
or press P2 again and it adds another credit
a third press of P2 starts a 2 player game
Not quite right, and not exactly like you would expect, but it's workable, I tried it with PuckMan, it works like this:

first press of P2 adds a coin
now you can start a one player game
or press P2 again and it adds another credit and starts a 2 player game.
Quote
I also think your keywiz has a shazam button so that may solve all your problems.  just shazam all the admin keys you need
True, and there are a number of advanced tricks to using the Shazaaam! function as well.
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.