How To Use X-Arcade With Raspberry PI

IMPORTANT NOTES:

imageRecalbox:

Recalbox allows you to re-play a variety of video game consoles and platforms in your living room, with ease! RecalboxOS is free, open-source and designed to let you create your very own Recalbox in no time!

Recalbox Setup:

Recalbox Official Setup Guide (download the Burnable .img) Recalbox Video Setup Tutorial

Recalbox Hotkey = Left Pinball Button

Exit Emulator = Select(Left Pinball button)+Start 1

Per-Emulator Custom Controller Mapping (doesn't work with MAME or N64).

Logging into your Recalbox to add files and ROMs (on a PC connected to the same network):

Method 1: Open File Explorer and look under Network for your Recalbox, or put \\RECALBOX\share\roms in the address File Explorer bar. Add ROMs to the correct system folders found in \share\roms\ (MAME ROMs go in the mame directory).

Method 2: Open a web browser to <http://recalbox/>

To force rescan of new games, press Start >Game Settings>Update Games Lists

Layout Fix for N64:

Download this .zip file.

For N64: Rename the file \\RECALBOX\share\system\configs\mupen64\mupen64plus.cfg to save it as a backup, then put our mupen64plus.cfg file in this folder.

Recalbox Support:

Recalbox Wiki

Recalbox Forums

Reddit /r/Recalbox

image

RetroPie

imageRetroPie allows you to turn your Raspberry Pi into a retro-gaming machine to enable you to play your favorite Arcade, home-console, and classic PC games with minimal setup. Start with the beginner's guide (with video guide) to the right.

Important Notes:

-

RetroPie Setup:

Step 1 - Download and Write Image to MicroSD: Follow the RetroPie Official Installation Guide, but stop at 'Configure Controllers'.

Step 2 - OLDER MODELS ONLY - SetupXarcade2Jstick: If you have a newer model with the Tri-Mode PCB then you should not use this, just use mode 4.Otherwise, RetroPie can use Xarcade2Jstick to make older model X-Arcades register as two individual gamepads (instead of one big keyboard) in Mode 1. WARNING: There is a known bug that causes the trackball not to work on the Raspberry Pi 3 Model B+ when Xarcade2Jstick is installed.

Note: At first boot, RetroPie requires you to set up a controller, for that reason the workaround steps for getting the Xarcade2Stick working are more complicated than should be necessary (you would be able to skip steps 1 and 2 below). The RetroPie devs really should make it possible to skip this entirely for keyboard-only use.

Steps:

  1. While at the RetroPie WELCOME screen, press F4 on your connected keyboard to get to the command line.
  2. Type sudo raspi-config and press Enter to open RetropPie Setup. Choose '2 Network Options', and connect to your Wifi network. It will show your IP address if connected properly.
  3. Follow the video instructions (made by our friend ETAPRIME) below to finish setup, but we do recommend mapping to this layout:

Step 3 -Adding ROMs:

Method 1: Open File Explorer (on a PC connected to the same network) and look under Network for your RETROPIE. If it doesn't show up try putting \\retropie in the address bar. Put ROMs in the correct folders, arcade ROMs go in the 'arcade' folder.

Method 2: Enable SSH, then use an FTP client such as Filezilla to log into it. Host: retropie, Username: pi, Password: raspberry, Port: 22

Method 3: Put your ROMs onto an external USB thumb drive as shown here.

NOTE: To force rescan of new games, press Start >Quit>Restart EmulationStation

Step 4 - Play!

For arcade games be sure to choose lr-MAME 2003 as your emulator for full trackball support. You can also add other MAME builds like Advance MAME and MAME 2003-Plus (from the RetropPie Setup>Manage packages menu), but you will have to configure the controls for them (some added info on these further below). (MAME4all is not recommended in general and it requires additional setup. See MAME4All Controls section here if you decide to use it anyhow for some reason, but also note that it does not have trackball support!)

Other notes:

MAME 2003-Plus :

Retroarch Menu = Select + X, go to Options and change 'Control mapping' to 'digital'.

AdvancedMAME :

Press TAB on your keyboard to setup controls.

Layout Fix for N64 & Dreamcast:

Note that if you reconfigure your controllers again you will need to replace the files below again.

N64: Download this .zip file

Place the InputAutoCfg.ini and mupen64plus.cfg file in /opt/retropie/configs/n64/ with the ones in the .zip file.

Dreamcast: Download this .zip file

Replace the file /opt/retropie/configs/emu.cfg with the one in the .zip file.

Put the 2 'controller\_Xarcade-to-GamepadDevice\*.cfg' files in /opt/retropie/configs/dreamcast/mappings/

RetroPie Support: RetroPie Official Documentation RetroPie Forums Reddit r/rRetroPie

image

PiMAME

Stay up to date withPiMAME + X-Arcade Integration Here. - Thanks to Shea Silverman!

Here is his page on setting things up.

MAME4 ALL:

Setting up with MAME4ALL + PI - byAaron Ardiri

<http://www.xgameroom.com/service/images/Layouts//RetroPie-RaspberryPi_X-Arcade.jpg>

PI 4


Source article: <https://support.xgaming.com/support/solutions/articles/5000554993-how-to-use-x-arcade-with-raspberry-pi>

Confirm the actual distribution before changing drivers or exit mappings

A reviewed Raspberry Pi5 setup initially called "RetroPie" was later identified as a third-party Batocera image. Clearing controller configurations did not restore LT/RT in that case, and the standard RetroPie xpad package-menu instructions were not available on that image. This is not a confirmed xpad repair on Raspberry Pi5 or a reason to delete all autoconfiguration.

Record the image/distribution/version, exact Tankstick PCB/mode and affected emulator. Compare working PC inputs with the distribution's input viewer. Preserve working configuration backups. Use only the relevant distribution's supported instructions, and give its maintainer the controls already tested rather than repeatedly applying a different frontend's menu path.

In a separate older RPi3 setup in the same history, the red exit button worked in Atari, PlayStation and SNES but not arcade games; the customer retained Select+Start for arcade exit. Do not call that a confirmed red-button fix in arcade. See the red-button article's per-emulator qualification. Later suspected lightning damage involved a different old controller and had no diagnostic outcome.

Early Tankstick MAX: RetroPie spinner/trackball selection was only a partial workaround

Scope: an early 2024 Tankstick MAX with separate mouse-style inputs on Raspberry Pi/RetroPie, not integrated XR MAX or a validated procedure for every current board/image. Joystick input modes alone do not select the emulator's mouse device. Identify the actual mouse devices, distribution/build, emulator/core and game before changing configuration. Preserve a backup of working launch hooks and input configuration.

In the reviewed case, the spinner worked but the trackball did not. Two support suggestions assigning the spinner and trackball to different RetroArch player-port Mouse Index entries failed according to the customer. Do not repeat those exact mappings as a guaranteed simultaneous-input solution when already tried.

Support next supplied a per-game startup mouse-selector script. The customer said it seemed to work, but reported needing a USB keyboard, being forced into mouse selection even for joystick games, unclear device numbers, and inability to leave the menu using Select+Start. This confirms only partial operation of that historical workaround, not seamless hardware switching or a universal fix. A working mouse device in one game does not establish another game's mapping or exit behavior.

Support acknowledged the limitations and later sent a revised switching/red-button guide described as still in testing, with a specific USB-port suggestion. There was no later customer-confirmed result. Ask support for the current script/guide matching the actual Pi, image, controller revision and existing hooks before installing anything; do not overwrite a custom launch hook or apply an old attachment blindly. If a selector traps the user, provide the exact script/version, observed menu, keyboard availability and already-failed escape attempts so a matching recovery can be checked. This history does not validate a universal top-left USB port, keyboard-free operation, future enhancement or current download.