Main > Main Forum
MAME - Joystick options?
(1/3) > >>
garnerb350:
Had a hard time trying to figure out a title for this....


I currently finishing up on building my cab...
I was showing my wife the current setup...and she is a big Burgertime fan...

I have a X-arcade tankstick ( dual Joysticks) and when I brought up BT...I went through the usual setup... I hit 2 credits and also hit 2 players.... Only problem though is that the 2nd player doesnt work...I went to the options and made sure that the joystick controls were correct and they were......I can play fighter games perfect...but as for Donkey Kong...Burgetime, pacman and etc....the 2nd player doesnt work....My wife was asking me what was the problem...

My thinking is that the orginal arcades ( such as those games listed above) only had one joystick....players just switched...

Am I right?   

Kinda sucks...is there a way where I can fix this ?
Paul Olson:
Yeah, those games were alternating 2-player games. There really is no reason to change it since it is not possible for both players to play at the same time. If you really want to anyway, start the game, then hit TAB, select Input(this game), then remap the player 2 controls to your player 2 controls.
ViciousXUSMC:

--- Quote from: garnerb350 on February 16, 2009, 07:44:21 pm ---Had a hard time trying to figure out a title for this....


I currently finishing up on building my cab...
I was showing my wife the current setup...and she is a big Burgertime fan...

I have a X-arcade tankstick ( dual Joysticks) and when I brought up BT...I went through the usual setup... I hit 2 credits and also hit 2 players.... Only problem though is that the 2nd player doesnt work...I went to the options and made sure that the joystick controls were correct and they were......I can play fighter games perfect...but as for Donkey Kong...Burgetime, pacman and etc....the 2nd player doesnt work....My wife was asking me what was the problem...

My thinking is that the orginal arcades ( such as those games listed above) only had one joystick....players just switched...

Am I right?   

Kinda sucks...is there a way where I can fix this ?

--- End quote ---

Yeah I am pretty creative and think I have a fix for you.
______________________________________________________

First of all that stick should be programable, if you can do so just map P2 controlls to the exact same buttons as P1 controlls and your done, if you can not do that read my fix below.
______________________________________________________

 I plan to make a thread on this program at some point with all my neat tricks I have learned how to do.

Try this:

Go download glovepie - http://carl.kenner.googlepages.com/glovepie_download   try to find version .30 if you can (just google for it)

This is a scripting program that can tell your computer make any input into a different output, I use it to use my Nintendo Wiimote on my PC but I just for the heck of it tried something like this last week and it works, changing keys or swaping keys on the keyboard temporarly.

First of all Mame does not work with glovepie lafter .117 (found this out the hard way) so use Mame .117 or older

Open up glovepie and write a script like this.

(Just example keys, what you need to do is find out what key is used on the P2 tankstick buttons and assign them to the same function as the P1 buttons, so what your going to do is "clone" your P1 controls over to P2)

glovepie .29 script (no swallow command in .29 so that why I say find .30)


--- Code: ---key.a = key.x
key.b = key.y
key.c = key.comma
--- End code ---

After you have the script the way it needs to be save it and hit RUN!

When you pres key b on the keyboard, you will see key b & key y be typed, if you hit key a, you will see a & x.

Assuming key x was your P1 Button 1 in the tankstick and key a was the P2 button 1, you would now have the controlls mirrored.

The only thing do not like while it should not effect the game at all is that both keys are registered.

in glovepie .30 they added a new feature called swallow, it hides the key press from the computer so that only 1 key registers.


Glovepie .30 Script


--- Code: ---key.a = swallow(key.x)
--- End code ---

So with this script you press key x and key a is the only key that the computer would see.  So write the whole script to have P2 controls swallowed and equal to P1 controls and your all set.

It is possible other programs can do this same thing, one that comes to mind is AutoHotKey, and many game button mapping programs like Pinnical Game Profiler may also work but I have not tried them and do not know the script language for AutoHotKey.


garnerb350:
Hey guys, I appreciate the help but both of those wont help me....I tried to remap when I first came across it...and it didnt work...also as for the program, I have ver...129. I just told my wife to just deal with it....be glad she at least has the game....and told her to get back in the kitchen and make me some pie!
jasonbar:
For most of those old 1-stick games, MAME's inputs for the 2nd joystick are meant to be used in a cocktail setup, where each player's sitting on the other side of the table.  Upright players took turns sharing the same joystick.


Hit Tab to go into MAME's settings, and enter "input for this game" screen.

Go down to P1 up & hit "Enter" to edit the keypress for that switch, then move the P1 stick up & then move the P2 stick up shortly after.  Wait a second or two.  MAME should show 2 different keypresses mapped to that function.  Repeat for the other stick directions & buttons.

Now, *both* of the sticks can be used to control the game at any given time.  So, if it's important to you to have each of you stand at your own stick & play when it's your turn, this works.

The catch: now you have to resist messing with each other during their turn, since both sets of controls are always active!

Option 2: go into dip switch settings, switch it to cocktail mode, set up the separate P1 & P2 controls, then force your wife to play the game standing on her head.

-Jason
Navigation
Message Index
Next page

Go to full version