I-PAC2 MiSTer FPGA

ajmartin
Posts: 4
Joined: Mon Dec 26, 2022 1:41 pm
Has thanked: 1 time

I-PAC2 MiSTer FPGA

Unread post 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

User avatar
AmanoJacu
Posts: 147
Joined: Thu Dec 30, 2021 10:39 pm
Location: Barcelona
Has thanked: 72 times
Been thanked: 18 times

Re: I-PAC2 MiSTer FPGA

Unread post 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

User avatar
Morfious
Posts: 39
Joined: Mon May 25, 2020 10:49 am
Has thanked: 10 times
Been thanked: 12 times

Re: I-PAC2 MiSTer FPGA

Unread post 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.

Majorspawn
Posts: 17
Joined: Wed Aug 24, 2022 3:25 am
Been thanked: 3 times

Re: I-PAC2 MiSTer FPGA

Unread post by Majorspawn »

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

Robgus
Posts: 90
Joined: Sun Feb 21, 2021 3:52 pm
Has thanked: 62 times
Been thanked: 6 times

Re: I-PAC2 MiSTer FPGA

Unread post 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?

User avatar
toastboy
Posts: 69
Joined: Wed Sep 09, 2020 9:20 pm
Has thanked: 13 times
Been thanked: 20 times

Re: I-PAC2 MiSTer FPGA

Unread post 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.

Robgus
Posts: 90
Joined: Sun Feb 21, 2021 3:52 pm
Has thanked: 62 times
Been thanked: 6 times

Re: I-PAC2 MiSTer FPGA

Unread post by Robgus »

Thanks for clarifying!

User avatar
AmanoJacu
Posts: 147
Joined: Thu Dec 30, 2021 10:39 pm
Location: Barcelona
Has thanked: 72 times
Been thanked: 18 times

Re: I-PAC2 MiSTer FPGA

Unread post 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.

Post Reply