Guide: Setting Up a RetroPie controls using IPAC2 Controller - Extensive Tutorial + Preconfigured files
-
@theink First of all, all of the diagrams are excellent examples that can apply broadly. I loved seeing the line in the retroarch.cfg tied directly to the button you wanted mapped, which of course ties directly back through the process to how the button was wired to the IPAC.
When I was going to write the Wiki for IPAC keyboard controllers, I was going to place it alongside the other controller options and introduce it with something very general, describing our particular use case: building a cabinet or a custom control panel using arcade parts. One good option that has been around for many years (predating RetroPie) has been to use a keyboard controller--a USB device that looks like a keyboard to the computer, but without keys. Instead, you have screw terminals you wire to buttons, and ideally, these are laid out for arcade system builders. A good example is the IPAC.
Then, I had hoped to orient the rest of it illustrating how the IPAC is setup, recognizing that other keyboard controllers might be similar. With your documentation already written, you could move through it more or less as you did. The layout, drilling template etc. are all great, but not really part of this, yet they do setup your examples. It would be easy to adjust with something like, -"Say you are building a 2-player panel with 8 action buttons, Coin and Start and joysticks for each." Then you go right into your setup.
These are minor tweaks, but more about making your excellent guide feel applicable to a wider audience.
One thing that is needed, especially for newer IPAC is some acknowledgement of the gamepad/keyboard configuration. You mentioned it after configuring your board with WinIPAC. Not everyone will have the utility, or access to a windows system. My IPAC4 is so old it is no a consideration, but I have heard about two ways to ensure KEYBOARD functionality out of the box. First, you use an external, actual keyboard to configure Emulation Station on first run. This initial detection is what gets people stuck, but there are accounts of new IPAC owners just using an extra keyboard to get through the initial setup in ES, then doing the mapping as you did in the .cfg files. The thought here is to endorse the configuration of the IPAC as it ships, and not require extra steps with WinIPAC. There are other accounts of folks reflashing their IPAC with different firmware from Ultimarc which might be ideal, but is no easier than using WinIPAC.
Anyway, those are my thoughts. I think you have a great document here that more people need to see.
-
@caver01
Thanks for the comment.I read some of the pages in the controller section of the wiki.
It seems that a substantial part of this text could fit on a page dedicated to Arcade Controllers.The problem with arcade controllers though is that the button layout can be widely different.
Because of that, I thin what I have written in Step 3 should be expanded in a section, showcasing the standard button layouts established by arcade building companies like Capcom, Midway etc.When this part is established the next one should probably suggest how the RetroArch controls could be mapped over the different button layouts to match the functionality.
After that, I suppose I could proceed with the specific example.
There still thing I have to consider. I will think about it in the coming days. -
@theink
Thanks much for your guide!Do you know by any chance if the kit you have purchased is available on US Amazon or Aliexpress? Does it have any brand or model name included somewhere?
The reason I'm asking is it appears there are many different manufacturers and some of their kits are certainly better than others. I'm going to build a bartop arcade soon and I was looking into Sanwa joysticks and buttons as I have only heard good things about them. The problem is it's hard to find which kit is original Sanwa and which is not.
-
@theink i think you could overcome the panel differences with just a few statements like, "when building an arcade control panel, there are many considerations that can affect your layout. Not all games are the same, so you will have to decide how many buttons you want to have and where they are located. No single layout will fit every arcade game perfectly, so there is always some compromise between what works for the games you want to play and what is practical." Then you can go on using your own example, "in the following example, we have an 8 buttons design for players 1 and 2," and so on.
-
@theink
Do you have the raw image file(ie Photoshop file if thats what you used) for this so, I can edit it with my custom buttons... I really like it... Once again you have done a great job!!!
-
Hi @theink ,
Thanks so much for your extensive guide about setting up Retroarch with different controllers and MAME !
I think it is the best guide ever, on the internet there are so many "guides" and partly right or wrong statements where you get completely lost...
I am working on my arcade cabinet to make an update on my first install which was not 100% OK, using your guide step by step on Github. If you are interested I can keep you informed about the progress and the end result...I have only one question at the moment:
I tried to import your xml file into my IPAC2 but it failed, saying there is an unexpected error in line 42....
I am using my IPAC2 with Winipac version 1.0.8.10 under Windows 10 home, my IPAC board has hardware version 1.33.
Can you take a look at your xml file "IPAC2 Config - v4.xml" or do I need to upgrade to the recent firmware? -
Step 5: Does anyone have I-PAC2 Config for 2 players with 6 buttons?
-
@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.
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.