BATOCERA JammASD V3 Card PC to Jamma USB/Mister FPGA Adapter Instructions
- June 6, 2024
- BATOCERA
Table of Contents
BATOCERA JammASD V3 Card PC to Jamma USB/Mister FPGA
Adapter
JammASD
This guide will help you to use your original arcade cabinet controls (sticks and buttons) under Batocera. The simplest way actually, is to use a JammASD controller.For the moment, this controller (used to send VGA signal, sound, and control information to your JAMMA connector) is not known by EmulationStation, but a few tips can help you to use Batocera in your original cabinet.
JammASD and Emulation Station
Under EmulationStation, JammASD’s controls are considered as a keyboard, and it’s not the easiest way to configure 2 players’ controllers. So, you have to change your JammASD drivers into X-Arcade drivers to use all your arcade panel.
- Connect to Batocera using SSH
- Type: ls /dev/input/by-id You will see this interface : usb-ASD_JammASD_Interface_ASD275D-if01-event kbdtouch/userdata/system/configs/xarcade2jstick/usbASD_JammASD_Interface_ASD275D-if01-event-kbd
- Reboot your Batocera Now, you only have to edit your controls under the EmulationStation menu. Then, your arcade panel will be known as Xarcade-to-Gamepad Device 1 and Xarcade-to Gamepad Device 2
Note: With this tip, it’s possible now to have START P1 + A to credit your arcade games
Ultimarc
These instructions are for Batocera 5.24 or later, they are dedicated to Ultimarc’s line of control interfaces (including I-PAC, J-PAC, A-PAC, Mini-PAC, Opti-PAC, U-HID and more) and X-Arcade USB Controllers. TL;DR: If your encoder is any model of I-PAC or Mini-PAC, press and hold the buttons corresponding to Start1+P1SW2 for ten seconds. If you’re lucky, your controller is now a plug ‘n play USB controller you can configure like any other controller in batocera. That’s it. You’re done. Go play some games If nothing happens or you want to know more, keep reading.
The above will only work with Ultimarc’s encoders (they call them to control interfaces) made from 2015 on and equipped with Firmware version 50 or higher. You can check what you have with the software they offer on their website. This is important as flashing your pre-2015 encoder with the new firmware will brick it! If your board is new enough, but your firmware isn’t, you can update with the same tool. Read the information on their page under “Multi-Mode” to learn about the different modes and what you can do with them. The instructions above will make your controller run in Mode 2, which should be fine for most users. What this means is that instead or being recognized as a USB keyboard, your controller will now be recognized as a D-input game controller and you won’t need to do any of the steps below.
If your Ultimarc encoder doesn’t offer this functionality, you don’t want to upgrade the firmware or you are using an X-Arcade controller, read on. Xarcade2jstick has been patched to support keyboard encoders. You may have to reconfigure a few keys of your encoder as, sadly, x-gaming X-Arcade devices didn’t map as usual mame controllers. Do not change the key mappings of your I-PAC or Mini-PAC as it is unnecessary, but the following procedure only applies if your encoder is in keyboard mode, which is the default mode when they leave the factory.
Configuring your keyboard encoder Follow these steps :
- login to your Batocera box locally or through SSH
- find your encoder’s device name with ls /dev/input/by-id. Usually, there is a trailing kbd in the event name. For example : usb-Ultimarc_IPAC_2_Ultimarc_IPAC_2_9-if01-event-kbd
PLEASE NOTE: a single encoder can have multiple possible names, so try all of them For example USB-Cypress_I-PAC_Arcade_Control_Interface-event-kbd → works usb-Cypress_I-PAC_Arcade_Control_Interface-if01-event-kbd → doesn’t work
- Now remount / as read-write mount -o remount,rw /
- Create an empty file that has the same name of your keyboard device found 2 steps above touch /usr/share/batocera/datainit/system/configs/xarcade2jstick/devicename. With the previous example : touch /usr/share/batocera/datainit/system/configs/xarcade2jstick/usb-Ultimarc_IPAC_2_Ultimarc_IPAC_2_9-if01-event-kbd
- Edit batocera.conf and set controllers.xarcade.enabled=1 (it should already be beset by default but check it)
- Save your modifications through SSH batocera-save-overlay
- Reboot by typing reboot
Now all your keys should be usable, that is for each player: 4 directions
joystick, select, start, hotkey, A, B, X, Y, L1 and R1. For now it is not
possible to attribute more buttons like L2, R2, L3 or R3
You must now configure both the controllers in the Controller Configuration menu
and also associate the right controller to players 1 and 2.
-
From:
https://wiki.batocera.org/ – Batocera.linux – Wiki -
Permanent link:
https://wiki.batocera.org/diy-arcade-controls -
Last update: 2022/02/18 21:20
References
- start [Batocera.linux - Wiki]
- jammasd.png [Batocera.linux - Wiki]
- configure_a_controller [Batocera.linux - Wiki]
- diy-arcade-controls [Batocera.linux - Wiki]
- Control Interfaces
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>