Retropie/IPAC2/enabling Player 2 Control ..
-
Ok mind hive.. I have Dr Googled this to death. It seems that this question has been asked many times before, however I’m unable to find a resolution as some of the questions have been archived and the replies cannot be viewed (unsure why) or the solutions simply don’t get my configuration to play nicely..
My drama is that I’m unable to have player two use player two inputs (read joystick/buttons) in MAME Games such as lr-mame2003 Galaxian.
Player two coin inputs and player two start buttons work fine but annoyingly when playing games such as Galaxian, Galaga, Space Invaders etc. when Player two is active they have to use player ones joystick/buttons/controls.. which means the old ‘shifty to the left’ when player one gets hammered.
When playing 1942, Xmen etc. the player two joystick/buttons work as expected, which is, yay and all that.. we can play together, but most of the ROMs that I own are old, like Galaxian, Galaga etc etc.. two player is fine when playing 'together' type games , but playing 'one at a time' type games only one player contol is accepted.
Now I know that these games work in 'cocktail' mode, which is by default a completely different control set, because you know, player two is on the other side of the table, but for the life of me I cannot get Retro pie, Lr-Mame2003 and the IPAC2 to play nicely..
Details are;
Pi Model: Pi 3b
Power Supply: 3 Amp USB 3.0 Power supply (https://www.jaycar.com.au/3a-quick-charge-3-0-usb-power-adaptor/p/MP3443)
SD Card: ‘Strontium’ Nitro 70Mb/s (466x) 32GB class 10 micro SD
Version Used: Retropie 4.2.3 (updated tonight)
Build: Whatever version that was available two weeks ago..
USB connected: Keyboard
USB connected IPAC 2
Joysicks/Buttons: 2 x Zippyy analogue joysticks and a swag of generic arcade button/micro switches
My retroarch config is
input_player1_select = "y"
input_player1_start = "h"
input_player1_left = "left"
input_player1_right = "right"
input_player1_up = "up"
input_player1_down = "down"
input_player1_a = "ctrl"
input_player1_b = "alt"
input_player1_x = "space"
input_player1_y = "shift"
input_player1_l = "z"
input_player1_r = "x"
input_player1_l2 = "c"
input_player1_r2 = "v"input_player2_select = "u"
input_player2_start = "j"
input_player2_left = "d"
input_player2_right = "g"
input_player2_up = "r"
input_player2_down = "f"
input_player2_a = "a"
input_player2_b = "s"
input_player2_x = "w"
input_player2_y = "q"
input_player2_l = "i"
input_player2_r = "k"
input_player2_l2 = "o"
input_player2_r2 = "l"input_player2_l3 =
input_player2_r3 =
#hotkeys
input_enable_hotkey = "y"
input_exit_emulator = "h"
input_save_state = "x"
input_load_state = "z"
input_state_slot_increase = "right"
input_state_slot_decrease = "left"
input_menu_toggle = "nul"
input_reset = "nul"And (due to IPAC 2being a keyboard emulator)
input_libretro_device_p1 = 3
input_libretro_device_p2 = 3So. Two player keyboard input is enabled apparently.. and MAME <TAB> inputs for the games reflects the ‘Input_Player2’ values above, so everything looks good to go but it doesn’t want to play, and no matter what changes are made (in the <TAB> settings) they appear to be given a damn good ignoring (cause you know, you have to have a stab at them even though they look right). Player two still needs to shifty over to the player one position in order to play the game.. Seriously inconvenient as the night draws on and the alcohol content increases..
Anyone who can point me in the right direction, or simply point out my newbie mistake, would be the focus of my admiration (and maybe the recipient of numerous alcoholic beverages if located in the vicinity of 31.9505° S, 115.8605° E.. )
Frustrated, but probably something glaringly obvious.. Please help!!
CheersStratty
-
AFAIK the games you're talking about either have no 2 player mode, or at best an alternate 2 players mode (one after another).
So the behaviour you're facing seems normal to me as there originally was just one set of controls.
Maybe there are clones that allow what you want, but I can't tell. -
you MIGHT be able to enable 2 sets of controls or 'cocktail' mode* in these games via dip switches or the service menu: https://github.com/RetroPie/RetroPie-Setup/wiki/lr-mame2003#service-menu
*however i would have thought that would also flip the image for player 2, but who knows!
-
@Stratty said in Retropie/IPAC2/enabling Player 2 Control ..:
And (due to IPAC 2being a keyboard emulator)
input_libretro_device_p1 = 3
input_libretro_device_p2 = 3I use an iPac 2 in my cab and i did a similar setup to what you did above, but i did not set the device ID parameter. You might be messing something up by using this, the pi may be looking for 2 separate device ID's because these are set this way. Try removing these or commenting them out with the hash and see if it makes a difference.
-
@Sano said in Retropie/IPAC2/enabling Player 2 Control ..:
AFAIK the games you're talking about either have no 2 player mode, or at best an alternate 2 players mode (one after another).
So the behaviour you're facing seems normal to me as there originally was just one set of controls.Actually, after reading deeper into this, @Sano is probably right.
-
@Sano - Yep, definitely remember the 'one player' stand in front cabinet where you 'shifted' to the left when you got smashed.. Back in those days I was flat out carrying .60c worth of chips home, equivalent to 3 games of galaxian, but then I was only 11.. :-) I was hoping that as the 'cocktail' cabinet enabled two sets of controls (either side of the table) I would be able have my 'side by side' controls control for each player.. It does seem that the 'one after another' behavior that you describe (and I currently have) is probably the best that I can achieve..
Many thanks for help..
-
Nice memories you have :)
Did you try to enable the cocktail mode via dip switches as @dankcushions said ?
I didn't understood if you tried this. -
@dankcushions Hey Dank, Yep I can enable cocktail mode MAME <TAB> Dip switches and you nailed it.. player two controls (joysick/buttons) work but the screen is flipped 180.. not ideal on the Home 65", well difficult to get a high score at least.. Looks like I'm building a cocktail cabinet.. :-)
Cheers,
Stratty
-
@Capeman Cheers Capeman, I've tried both settings (REMing or Hashing) the command out and in, doesn't seem to make a difference.. I really thought I'd found the mother lode when I stumbled across this.. V disappointing when it made no difference.. :-) Thanks for assisting though..
-
@Sano Yep, enabled cocktail mode and the 2nd contoller set was enabled.. unfortunately the graphics were rotated 180 (as expected) which made using the 'side by side' buttons a little difficult.. :-)
Cheers,
Stratty
-
@Stratty you need to remove the device id's. Even if it is not working without them. They wont ever work that way. The keyboard option is for computer systems (like msx) that use a full qwerty keyboard. You arent using a full qwerty keyboard. Even though it is a "keyboard" you are still using it as a controller.
-
@edmaul69 Cheers mate, I'm not sure why this is though.. Most of my tinkering has been conducted with the input ID's in the default state (hashed out) and it's had no effect either way unfortunately..
I have reset them back to default (on your advice) in order to avoid any pitfalls later down the track though..
Cheers again..
Stratty
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.