Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 1014 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 1014 Bytes

Ansible Playbook for a MAME Arcade Cabinet

I own a cocktail-style arcade cabinet that runs a customized version of MAME on a Raspberry Pi 4 Model B computer.

The init-arcade.yml playbook aims to fully configure an SD card with a freshly imaged 32-bit Raspberry Pi OS Lite for use in my arcade cabinet. The process includes creating a chroot environment to cross-compile custom software for the Raspberry Pi's ARM v8 CPU architecture. The technique for doing so was heavily inspired by Midnight Yell's blog post "Compiling MAME for the Raspberry Pi with QEMU".

The playbook runs in three phases:

  1. Prepare a local chroot environment
  2. Build custom software for the Raspberry Pi's CPU architecture
  3. Configure hosts in an inventory group named "arcade_group"