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

Installation Script

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

Even with this script you will need to manually enable the Audio and VGA output.

Manual Installation

  1. Download IAC VGA Output overlay
sudo wget -P /boot/overlays/ https://github.com/insertacoin/iac_overlays/raw/master/bin/iacvga-overlay.dtbo
  1. Download IAC Gamepad service
sudo apt-get update
sudo apt-get -y install wiringpi

sudo wget -P /bin/ https://github.com/insertacoin/iac_joystick/raw/master/bin/iacgamepad
sudo chmod a+x /bin/iacgamepad
sudo wget -P /etc/systemd/system/ https://github.com/insertacoin/iac_joystick/raw/master/service/iacgamepad.service

sudo systemctl daemon-reload
sudo systemctl enable iacgamepad
sudo systemctl start iacgamepad
  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. Set audio output
sudo amixer cset numid=3 1
  1. Restart
sudo reboot now

Configure IAC Gamepad

todo: create screenshots.

  1. inside the Recalbox interface press the START button to open the MAIN MENU

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