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: 2 Player Games in Mame (tm)  (Read 5670 times)

0 Members and 1 Guest are viewing this topic.

RTSDaddy2

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1100
  • Last login:April 03, 2014, 08:28:03 pm
  • Bees! Oh bother!
2 Player Games in Mame (tm)
« on: July 04, 2005, 07:44:52 am »
I'll probably get yelled at for this one, but...   ;D

We designed our cabinet for two players with Mame32 (tm). Last night my family came over to see my - partially wired - cabinet and we went to play a two-player Donkey Kong.  Everything was fine, except we couldn't convince it to let player two use the two player joystick!  It wanted both players to use stick one.

Now, I think I've answered my own question, but wanted to make sure.  I don't recall games like DK, Pac Man, etc...ever having two sticks when I was growing up - you had to take turns in an arcade, as I recall.

 As MAME32 (tm) is a emulator, is that the problem....that those games weren't two-stick players to begin with?  Or is there some setting in MAME32 (tm) that I don't have turned on?

Rod1968

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 84
  • Last login:February 03, 2007, 10:19:45 pm
Re: 2 Player Games in Mame (tm)
« Reply #1 on: July 04, 2005, 10:20:18 am »
Pacman, Donkey Kong, Galaga and such are all 2 player alternating games
meaning there was only one set of controls
If you really want to use the 2 player controls then start the game and hit the tab button on your keyboard and a in game menu will appear and let you remapthe 2nd players controls
You will have to do this for each game you want to do like this and you will only
have to do it once it will save it automatically to the specific games config file

If there is an easier way someone please chime in cause
this is the only way I know how

Good Luck
Rodney

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: 2 Player Games in Mame (tm)
« Reply #2 on: July 04, 2005, 10:24:02 am »
Those games just had one stick to begin with, so yes the behaviour is correct.  You could map *both* sticks to P1 inputs to make either stick work, but Player 2 could mess things up for you by wiggling his joystick...

And I could be wrong, but I don't believe MAME32 is trademarked ;)

Edit: sorry for the repeat info, I was typing at the same time...

RTSDaddy2

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1100
  • Last login:April 03, 2014, 08:28:03 pm
  • Bees! Oh bother!
Re: 2 Player Games in Mame (tm)
« Reply #3 on: July 04, 2005, 02:12:08 pm »
Both responses made sense, first of all, so thank you!

I tried the tab feature last night Rodney,  but as I'm using an IPAC, the controls are the same....it didn't make any difference.

Min, I liked your idea, but that would then mess us up on classic two-player games like The Simpsons.  Seems as if we can't win, which is about what I expected, so we'll take turns on older games and use different sticks on newer.  No big deal, just curious as to whether my thinking about how MAME (tm) was treating them was correct...and apparently I was right!

What I may try to do with the IPAC is set up my own configuration as it relates to my control panel...I doubt that will change anything, but it'd be fun just to see if I could set it up and everything still work.

Thanks guys!



vibez

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 411
  • Last login:February 09, 2011, 08:33:20 am
  • I want to build my own arcade controls!
Re: 2 Player Games in Mame (tm)
« Reply #4 on: July 04, 2005, 02:19:18 pm »
You can use min's suggestion. when you use the tab menu. Only change the 'input for this game only', rather that 'general input'

that way you can have settings for each game

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: 2 Player Games in Mame (tm)
« Reply #5 on: July 05, 2005, 06:44:16 am »
I tried the tab feature last night Rodney,  but as I'm using an IPAC, the controls are the same....it didn't make any difference.
I didn't understand this reply, but I think the P2 controls are only used in cocktail mode.  What you can do is set Player 1 Up to be "Up or R", Player 1 Right to be "Right or G", etc.

BTW, if you get really lucky, some of the games may say "Screen flipping in cocktail mode is not supported."  In this case, you can set the dipswitches for cocktail mode and use two sticks with no interference.  (Normally, the screen will be upside-down for P2 if you tried this).
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.

Rod1968

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 84
  • Last login:February 03, 2007, 10:19:45 pm
Re: 2 Player Games in Mame (tm)
« Reply #6 on: July 05, 2005, 10:56:29 am »
Quote
I didn't understand this reply, but I think the P2 controls are only used in cocktail mode.
« Last Edit: July 05, 2005, 11:08:20 am by Rod1968 »

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: 2 Player Games in Mame (tm)
« Reply #7 on: July 05, 2005, 12:13:13 pm »
I dont know much about code
EDIT: "I should say I don't know anything about code the last thing I coded was in basic on a tandy trs80 model III back in 1986" ;D
but I looked at the source last night and was able to recompile so that you can use player one and player two controls and can remap them to any key but I can't seperate them meaning joysick 1 and joystick 2 controls both players at the same time.
You can do this with standard MAME without re-compiling anything.  That's what my initial reply was.
Quote
If you can seperate the controls in cocktail mode it must be posible to do it upright mode
Maybe, but I think I asked about this previously, and was told the Rom (and therefore MAME) has no idea whether it's on player 1 or Player 2 - So if this can be done, I would think it would have to be done through the cheat engine.
Quote
The more I think about it, it might be easier just to disable screen flipping across the board since it wouldnt be used in a cocktail anyway
I think that would be easier, but even that would require a code change to MAME, and even then it would only fix games that actually had a cocktail version.
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.

Rod1968

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 84
  • Last login:February 03, 2007, 10:19:45 pm
Re: 2 Player Games in Mame (tm)
« Reply #8 on: July 05, 2005, 02:59:55 pm »
I dont know much about code
EDIT: "I should say I don't know anything about code the last thing I coded was in basic on a tandy trs80 model III back in 1986" ;D
but I looked at the source last night and was able to recompile so that you can use player one and player two controls and can remap them to any key but I can't seperate them meaning joysick 1 and joystick 2 controls both players at the same time.
Quote
You can do this with standard MAME without re-compiling anything.
« Last Edit: July 05, 2005, 03:01:34 pm by Rod1968 »

RTSDaddy2

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1100
  • Last login:April 03, 2014, 08:28:03 pm
  • Bees! Oh bother!
Re: 2 Player Games in Mame (tm)
« Reply #9 on: July 07, 2005, 02:51:57 pm »
Ok y'all,

I've adjusted things before with the keyboard, but I'm a little stumped.  I tried last night changing just one game at a time via TAB key, but last night after resetting the game I found the player 2 controls to not register...it was as if they were not mapped at all.  I know the joystick is working, again because it works with true two-player games such as X-Men, Simpsons, etc. just fine.

I thought of this just as soon as I finished the above.  Should I have stopped MAME32 completely and restarted it to get this fixed?

Sorry for the insanity.  Maybe it's that family vacation coming up that's fogging up my brain so's I can't think... :)

daywane

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2570
  • Last login:December 26, 2024, 11:02:08 am
  • GRRRR!
Re: 2 Player Games in Mame (tm)
« Reply #10 on: July 08, 2005, 12:21:46 pm »

I thought of this just as soon as I finished the above.