Page 1 of 1

I-PAC2 MiSTer FPGA

Posted: Fri Dec 30, 2022 3:34 pm
by ajmartin

I cant get this to work. So far the only thing I have seen on this is to change the jamma VID and PID to match mine in MiSTer ini file. I have done this to no avail. With the jamma settings I cant map any keys in Arcade cores. Any Thoughts, hints or reference to a solution would be helpful.

Alan


Re: I-PAC2 MiSTer FPGA

Posted: Fri Dec 30, 2022 6:25 pm
by AmanoJacu

I followed this guide and my mini-pac worked well with my mister FPGA.

viewtopic.php?t=448

Maybe this forum would be more adequate for the question?

viewforum.php?f=32


Re: I-PAC2 MiSTer FPGA

Posted: Mon Jan 02, 2023 9:03 pm
by Morfious

Make sure you have wired your buttons up to the iPac properly. I am currently using the 1.55 multimode firmware on my iPac 2. This is the relevant part of my MiSTer.ini file:

Code: Select all

; JammaSD/J-PAC/I-PAC keys to joysticks translation
; You have to provide correct VID and PID of your input device
; Examples: Legacy J-PAC with Mini-USB or USB capable I-PAC with PS/2 connectors VID=0xD209/PID=0x0301
; IPAC2 with USB only Current Model VID=0xD209/PID=0x0420
; USB Capable J-PAC with only PS/2 connectors VID=0x04B4/PID=0x0101
; JammaSD: VID=0x04D8/PID=0xF3AD
jamma_vid=0xD209
jamma_pid=0x0420

; Disable merging input devices. Use if only player 1 works.
; Leave no_merge_pid empty to apply this to all devices with the same VID.
no_merge_vid=0xD209
no_merge_pid=0x0420

Also make sure that you are using player 1 to map the controls. I usually only have to map Player 1 controls and player 2 will just magically work as expected.


Re: I-PAC2 MiSTer FPGA

Posted: Tue Jan 03, 2023 12:00 pm
by Majorspawn

Worst case you can just replace the ipac with the demonbite arcade controller


Re: I-PAC2 MiSTer FPGA

Posted: Wed Jan 04, 2023 10:11 am
by Robgus

I'm revealing my ignorance here, but here goes...

I have my ipac set up as keyboard so to speak, I can play arcade games and so forth. What is the difference if one should go through the guide with the joystick id and ini settings and so forth?


Re: I-PAC2 MiSTer FPGA

Posted: Wed Jan 04, 2023 12:20 pm
by toastboy

The ipac will work fine for arcade cores without jamma_vid/pid settings.

The problems start when you use a computer core (like amiga/c64/spectrum).
Those cores include keyboard support, and will detect your ipac as a keyboard instead of a joystick.

The Mister menu will still allow you to map U/D/L/R/Fire controls just fine for these cores, but they'll have no effect in-game, as they're keypresses, not joystick inputs.

The jamma_vid/pid settings tell mister to always recognise the ipac as a joystick, no matter what core is in use.


Re: I-PAC2 MiSTer FPGA

Posted: Wed Jan 04, 2023 6:19 pm
by Robgus

Thanks for clarifying!


Re: I-PAC2 MiSTer FPGA

Posted: Fri Jan 06, 2023 4:23 pm
by AmanoJacu
Robgus wrote: Wed Jan 04, 2023 10:11 am

I'm revealing my ignorance here, but here goes...

I have my ipac set up as keyboard so to speak, I can play arcade games and so forth. What is the difference if one should go through the guide with the joystick id and ini settings and so forth?

One of the reasons is that you can't normally have 2 players using a single USB device in the mister, so only one player would work. These setting allow 2 players to use the same device. The only "problem" is that they can't have different button configurations, the second player mimicks the first player one (assuming the IPAC is configured to MAME keyboard controls default), but this shouldn't be a problem.