Batocera Installation - insertacoin/insertacoin.github.io GitHub Wiki

DEFAULT ROOT LOGIN PASSWORD: linux

Installation Script

wget https://raw.githubusercontent.com/insertacoin/insertacoin.github.io/refs/heads/master/iac-rpi-batocera.sh
chmod a+x iac-rpi-batocera.sh
./iac-rpi-batocera.sh

Manual Installation

  1. Remount partitions to write
mount -o remount, rw /boot
mount -o remount, rw /
  1. Download IAC VGA Output overlay
wget -P /boot/overlays/ https://github.com/insertacoin/iac_overlays/raw/master/bin/iacvga-overlay.dtbo
  1. Download IAC Gamepad service
mkdir ~/iacgamepad
wget -P ~/iacgamepad/ https://github.com/insertacoin/iac_joystick/raw/master/bin/iacgamepad
chmod a+x ~/iacgamepad/iacgamepad
echo "/recalbox/share/system/iacgamepad/iacgamepad &" >> /userdata/system/custom.sh
chmod a+x /userdata/system/custom.sh
  1. Include /boot/config.txt IAC settings
## INSERT A COIN
# Disable IIC and SPI to use VGA output
dtparam=i2c_arm=off
dtparam=spi=off
 
# Enable audio output
dtparam=audio=on
disable_audio_dither=1
audio_pwm_mode=2
dtoverlay=pwm-2chan,pin=18,func=2,pin2=19,func2=2
hdmi_force_hotplug=1
 
# Enable the VGA output
#dtoverlay=iacvga-overlay
#enable_dpi_lcd=1
#dpi_output_format=6
#display_default_lcd=1
#dpi_group=2            # set screen resolution to 800x600
#dpi_mode=9
 
# Disable false warning by power supply noise issue
# solved in revision 2
avoid_warnings=2
  1. Restart
reboot -f

Configure IAC Gamepad

todo: create screenshots.

Enable IAC Audio Output

todo: create screenshots.

  1. inside the Recalbox interface press the START button to open the MAIN MENU
  2. go to SOUND SETTINGS
  3. change OUTPUT DEVICE to JACK

Enable VGA Output

  1. as root user open the /boot/config.txt
mount -o remount, rw /boot
nano /boot/config.txt
  1. search the "Enable VGA output" and uncomment the lines below
dtoverlay=iacvga-overlay
enable_dpi_lcd=1
dpi_output_format=6
display_default_lcd=1
dpi_group=2            # set screen resolution to 800x600
dpi_mode=9