Guide: Setting Up a RetroPie controls using IPAC2 Controller - Extensive Tutorial + Preconfigured files
-
@waimea I have one, is the retroarch.cfg that you want? I'm not at home at the moment but I can send it to you later.
-
Perhaps you could upload it here so I can edit my retroarch.cfg?
-
@tuki_cat You will also need to include a wiring table for which SW# inputs are wired to which button locations and what keyboard key is configured for each.
There are layers of abstraction here, so by the time you get to the retroarch.cfg, you have already made several config decisions upstream.
-
@waimea - Here is the relevant section of my retroarch.cfg (https://pastebin.com/bPhzKrLr)
@caver01 - I am using all of the standard IPAC keys as outlined on the Ultimarc website - https://www.ultimarc.com/ipac2.html. I haven't changed any of them, they are all default settings. That being the case is there any reason that you know of why @Waimea can't use this layout?
-
I think there is new firmware that makes the I-Pac 2 register as two gamepads.
-
@tuki_cat he can use it, but the missing link is "six buttons". You are using Ultimarc defaults, that is a good start. But what switch#s are wired to what buttons? Ultimarc does not decide how you wire your buttons and where you drill the holes in your panel. Unless @Waimea has that detail from you, the configs may match, but the buttons won't. Make sense?
-
@caver01 For example, I have my panel wired like this for Players 1 and 2:
UP SW1 SW2 SW3 LEFT RIGHT DOWN SW4 SW5 SW6
-
I have my buttons set up like this (the LP, MP, etc is Street Fighter II specific!):
Player one
Top row from left to right
LP - lctrl (P1 button 2)
MP - lalt (P1 button 3)
HP - space (P1 button 5)Bottom row from left to right
LK - lshift (P1 button 1)
MK - z (P1 button 4)
HK - x (P1 button 6) -
@tuki_cat Ha ha ha. Now you see my point! Your switch locations are totally different than mine. Yours maybe simplifies things for fighting games. Mine probably leads to remapping. But mine is how I have been wiring the Ultimarc for over a decade.
-
@caver01 said in Guide: Setting Up a RetroPie controls using IPAC2 Controller - Extensive Tutorial + Preconfigured files:
@caver01 For example, I have my panel wired like this for Players 1 and 2:
UP SW1 SW2 SW3 LEFT RIGHT DOWN SW4 SW5 SW6
I have my panel wired the exact same way for Player 1 and 2. I can't get this to work though in game, I setup Player 1 in emulationstation and from there I want to config RA.
-
-
@caver01
I'm using what I think is new firmware for the I-pac2 which makes the I-Pac2 register as two gamepads. Instead of a keyboard and one gamepad which the old firmware did. -
@waimea my setup is with the IPAC in keyboard mode.
Maybe that is the issue, although the IPAC firmware is registering as two pads but maybe retroarch doesn't recognise them both.
You could try and contact Ultimarc, they may be able to provide with some info, I have always found them helpful when I have contacted them.
-
I did a fresh install of Retropie 4.3 and now it works perfectly!
-
@waimea Hey, nice!
I am always at a bit of a loss helping new IPAC owners, as mine is very old. I don't have a gamepad option, so mine is one keyboard, over, done. This is convenient because it is easy to understand. Two gamepads might make more sense considering all of the documentation around using them.
All of these variables are why it is difficult to just provide a config file for people to use. It has to come with a bunch of documentation about firmware, wiring diagrams and so on. Not everyone agrees on what works best either. It is better to understand your own configuration details than to use someone else's anyway. In any case, I am glad you have it working.
-
@waimea great!
@caver01 I've learnt two things from this thread -
1.) That I can put my reasonably new IPAC2 into a duel game pad mode, I might give that a try.
2.) That I shouldn't offer my retroarch configuration details unless I have all the info to back it up, otherwise it could cause more problems than it solves!
-
Wondering if someone here can help me out with this. Waimea said that their IPAC2 was recognized as 2 gamepads after upgrading the firmware. Reading through the documentation, the IPAC2 definitely will function as 2 separate gamepads with firmware 1.34.
I upgraded to 1.34 and programmed both the P1 and P2 sides of my IPAC2 as gamepad inputs but when I hook it back up, Retropie only sees one gamepad detected? When programming the gamepad inputs, I programmed both P1 and P2 on my IPAC2 identically because I thought that since it looks at each side of the board as a separate gamepad that should be ok? Is this where I've gone wrong?
Any help is much appreciated.
-logga
-
@loggahead Most people with IPACs that I have worked with with avoid using the gamepad configuration and opt to reconfigure their IPAC into Keyboard mode. New firmware or not, you should be able to use the WinIPAC utility to save the mode as Keyboard.
After that, you can pretty much use the default MAME keys for everything. Just be mindful of IPAC "shift" function which behaves a lot like a hotkey. This can obviously cause confusion when it interferes with RetroArch hotkey functionality.
-
@caver01 Thanks for the reply!
So, I was originally using my IPAC2 in keyboard mode with the default layout from Ultimarc and came across the following issues that I couldn't resolve (maybe someone here can help with them?):
-
On a clean 4.3 install using only the global retroarch.cfg (configured at first boot using emulationstation), Irem's Ninja Spirit (nspirit.zip) on lr-mame2003 would register multiple actions on a single button press after using Quick Menu / Controls to swap the A / B / X / Y mappings around. I didn't like the default layout for attack, jump, and weapon and all I wanted to do was move them around using the quick menu like I do for other systems like nes, snes, etc. However, Button 4 always registered mulitple actions before I changed anything in the quick menu. After I moved things around in the quick menu, at least 2 buttons (maybe 3) were then registering multiple actions.
-
Altered Beast (altbeast.zip) on lr-mame2010 registers multiple actions on one button press (jump and kick happen with one press) with a default IPAC2 config. No Quick Menu changes, no custom retroarch.cfg files. Very Odd. Not sure why? I even tried to use the MAME menu by pressing TAB to set the controls that way and I would still jump / kick with one button press.
-
On a fresh install, my A button (left ctrl on the IPAC2 I believe) can't be used as enter on any of the system config screens but I guess I can easily over come that by programming the IPAC2 for that input to just be ENTER?
At any rate, I don't know why 1 and 2 are happening but if it's happening on those 2 games, I know I'm going to come across others that do the same thing. However, I found that when I configured P1 as gamepad inputs on my IPAC2, none of those issues exist. No problems, everything just works as it should. So it feels to me that if I can get my IPAC2 registering as 2 gamepads then my life tweaking Retropie is going to be MUCH easier?
I emailed Andy at Ultimarc last night about dual gamepad support and firmware versions and here was his reply to me:
1.36 is the dual gamepad version. I don’t have this quite finished for the I-PAC 2 yet. Its only I-PAC Ultimate I/O at the moment but should be able to get this done later today and I will send it.
So the good news here is that I should be able to give this a shot very soon?
Regardless, I am very interested in your thoughts, comments, suggestions, on the issues I am experiencing in keyboard mode with default keys mapped?
-logga
-
-
@loggahead Unfortunately, this can get pretty confusing because of all of the layers, both in terms of key mapping logic and in the case of arcade buttons, wiring. However, there is definitely an explanation for your problems if you are willing to step through each layer.
First is IPAC keys coded into the board for each input (SW1, SW2, etc,). This is a combination of how you wire to the board, and the positions of your buttons, along with how the IPAC keys are defined in WINIPAC utility. This is effectively how your "keyboard" controller is setup and what buttons = what keys.
Next layer is RetroArch. Because lr-mame2003 is a libretro emulator, RetroArch sends virtual gamepad inputs defined in the retroarch.cfg or controller setup via Emulation Station first run.
Next layer is the fact that lr-mame2003 interprets BOTH raw keypresses from the keyboard hardware AND the virtual inputs from RetroArch. If the mapping is doing double actions, this is probably why. The virtual input is going to one action, and the raw key is going to another as defined with default MAME keys.
FInally, you have the TAB GUI interface for MAME itself. Here, you can remap keys for each game, or for all games in general. You will quickly notice the double inputs when you map a button/key and it shows up as TWO inputs, one that is the RAW key and the other that is the RetroPad virtual input from retroarch.Somewhere in these layers is where you will find the double mapping. As you can see, there are a lot of variables so I don't have an answer, except to show you how it strings together so you can find your issue.
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.