Player 2 on N64 with IPAC2 - joypads
-
Hi,
I have built an arcade console using IPAC2 with retropie installed on my rpi-3.
The IPAC2 is configured to a joystick mode and not keyboard.
I configured only 1 player using EmulationStation and it works perfect with all lr- based emulation (probably because of the autoconfig). In order to configure player 2 I used the retroarch menu in game, and this also works perfectly (for each console).Now the issue:
When I am running n64 game under lr-mupen64plus and configure player 2, it works perfect. but lots of games works better on mupen64plus-gles2rise-highres, so I configured them to use mupen64plus-gles2rise-highres, when I check player 1, it works perfect, without configuring anything, but player 2 is the problem, so I need to configure it manually:
To configure it, I follow this link to configure my keys https://github.com/RetroPie/RetroPie-Setup/wiki/Nintendo-64#controls
Edit:
Player 1 I didn't touch, because it is working out of the box somehow (probably ES made it work using autoconfig) , but player 2 is the issue, it still doesn't seems to work after edditing themupen64plus.cfg fike , joystick + buttons not responding.
I ended up trying lots of shots in the dark, seems like player 2 buttons + joystick are completely ignored when running non lr- emulation of n64.here is my controllers info (player 1 and 2, I edited player 2) in file /opt/retropie/configs/n64/mupen64plus.cfg
[Input-SDL-Control1] # Mupen64Plus SDL Input Plugin config parameter version number. Please don't change this version number. version = 2 # Controller configuration mode: 0=Fully Manual, 1=Auto with named SDL Device, 2=Fully automatic mode = 2 # Specifies which joystick is bound to this controller: -1=No joystick, 0 or more= SDL Joystick number device = 0 # SDL joystick name (or Keyboard) name = "Ultimarc I-PAC 2" # Specifies whether this controller is 'plugged in' to the simulated N64 plugged = True # Specifies which type of expansion pak is in the controller: 1=None, 2=Mem pak, 4=Transfer pak, 5=Rumble pak plugin = "2" # If True, then mouse buttons may be used with this controller mouse = False # Scaling factor for mouse movements. For X, Y axes. MouseSensitivity = "2.00,2.00" # The minimum absolute value of the SDL analog joystick axis to move the N64 controller axis value from 0. For X, Y axes. AnalogDeadzone = "4096,4096" # An absolute value of the SDL joystick axis >= AnalogPeak will saturate the N64 controller axis value (at 80). For X, Y axes. For each axis, this must be greater than the corresponding AnalogDeadzone value AnalogPeak = "32768,32768" # Digital button configuration mappings DPad R = ""axis(0+)"" DPad L = ""axis(0-)"" DPad D = ""axis(1+)"" DPad U = ""axis(1-)"" Start = "button(8)" Z Trig = "button(7)" B Button = "button(1)" A Button = "button(0)" C Button R = ""axis(3+)"" C Button L = ""axis(3-)"" C Button D = "button(2)" C Button U = "button(3)" R Trig = "button(4)" L Trig = "button(5)" Mempak switch = "" Rumblepak switch = "" # Analog axis configuration mappings X Axis = "axis(0-, 0+)" Y Axis = "axis(1-, 1+)" [Input-SDL-Control2] # Mupen64Plus SDL Input Plugin config parameter version number. Please don't change this version number. version = 2 # Controller configuration mode: 0=Fully Manual, 1=Auto with named SDL Device, 2=Fully automatic mode = 2 # Specifies which joystick is bound to this controller: -1=No joystick, 0 or more= SDL Joystick number device = 1 # SDL joystick name (or Keyboard) name = "Ultimarc I-PAC 2" # Specifies whether this controller is 'plugged in' to the simulated N64 plugged = True # Specifies which type of expansion pak is in the controller: 1=None, 2=Mem pak, 4=Transfer pak, 5=Rumble pak plugin = "2" # If True, then mouse buttons may be used with this controller mouse = False # Scaling factor for mouse movements. For X, Y axes. MouseSensitivity = "2.00,2.00" # The minimum absolute value of the SDL analog joystick axis to move the N64 controller axis value from 0. For X, Y axes. AnalogDeadzone = "4096,4096" # An absolute value of the SDL joystick axis >= AnalogPeak will saturate the N64 controller axis value (at 80). For X, Y axes. For each axis, this must be greater than the corresponding AnalogDeadzone value AnalogPeak = "32768,32768" # Digital button configuration mappings DPad R = "axis(2+)" DPad L = "axis(2-)" DPad D = "axis(1+)" DPad U = "axis(1-)" Start = "button(8)" Z Trig = "button(9)" B Button = "button(14)" A Button = "button(15)" C Button R = ""button(6)"" C Button L = ""button(13)"" C Button D = "button(11)" C Button U = "button(7)" R Trig = "button(12)" L Trig = "button(10)" Mempak switch = "" Rumblepak switch = "" # Analog axis configuration mappings X Axis = "axis(2-, 2+)" Y Axis = "axis(1-, 1+)"
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.