Main > Software Forum
"Request for programming change in MAME
Tiger-Heli:
--- Quote ---I tried setting the "Inputs (this game)" to have RDFG instead of the arrow keys and Mame wouldn't respond to the arrow keys in pacman.
--- End quote ---
Lilwolf:
This is very similar to what my frontend does (JFront).
I keep track of properties of the game, then copy/paste the default.cfg based on they type of game.
IE, you can configure all 4way games once. Take a 4way game, go into the config, and press create 4_player button... Run the game. Configure as default, and exit. From now on, any game that has a 4way controller, it will copy that default.cfg to mame before starting.
It also allows you to store different configs based on what control panel your running.
For instance... I have a 'classic' control panel. It has a 4way, then buttons for asteroids, then a 4way diagonal (qbert).
So for my 4player controlpanel, my 4way games are set to use player two (middle joystick) and up notleft notright setup. Then when I change to my classic control panel, it uses the 4 way joystick. Then for qbert, I used the config for this game (since that and congobongo are the only ones to use that joystick).
Other settings.
2player_8way_6buttons to swap all streetfighter kicks and punches (because I still say mame got it wrong... punchs on top). So one setting and their all done.
1player, 2player, 3player - these all have player 1 as the second joystick (middle left). ignoring my far left joystick.
plus you can configure them. So I have a property input=MK for all the mortal kombat games just for them.
would this solve your problems?
Tiger-Heli:
Thanks but that's not it either!!!
I don't need to configure all alternating games to use a particular key combination. I need to set all alternating games to use I combination for Player 1 and a different one for Player 2.
I don't think you can set this in a .cfg or .ini file!
Lilwolf:
ahhh
you want to setup 2 joysticks for a game that is normally share 1 joystick...
then switch between player one or player two for a cocktail table.
trouble is... how are you going to know who's turn it is in mame? I don't think you will know. (or it will be different for each game..
ahh... again I'm giving you a solution before I know if its the problem...hehe
but why not do it with a switch?
have a 3 way switch. One that is both closed, then one setting for A closed and one for B closed. Then hook them up to the ground on each controller.
Then in mame, setup each key to both joysticks. Then kill the ground to one controller or the other.
btw, if you can find out what players turn it is in each mame game, then you could add cocktail mode for games that don't support it.
Tiger-Heli:
I can't believe everyone is having such a hard time getting this. I read a similar post on the old message board and knew exactly what the guy meant. . . (Although I don't think anyone had an answer then so maybe that should tell me something...
Here goes again... Picture Gun.Smoke. You have one joystick and three buttons per player and play alternates between the two players. Now imagine I have a HotRod joystick. There are two joysticks and each has the identical 7 button layout on each side. I map the Left Joystick and JS1 buttons 1 thru 3 to Player 1 in MAME and start a two player game. My opponent has the identical controls as me available in the right joystick and JS2 buttons 1 through 3. However, when my turn is up, I have to move away and shift the controller over so he can use the same controls I use. It would be nice if I could map the right joystick and JS 2 inputs to player 2 and he could use these inputs. I can do this with the OR key assignments, but then if my opponent accidentally (or gets bored or spiteful) moves his joystick while I am playing, it messes up my game.
--- Quote ---ahhh
you want to setup 2 joysticks for a game that is normally share 1 joystick...
--- End quote ---
Correct!!!
--- Quote ---then switch between player one or player two for a cocktail table.
--- End quote ---
Incorrect, I don't have a cocktail table, and I don't want the image to turn upside down like it does in cocktail mode, but you get the idea. . .
--- Quote ---
trouble is... how are you going to know who's turn it is in mame?
--- End quote ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version