Skip to content

Bash scripts to bootstrap an arcade system on a fresh Debian 9 (x64)

License

Notifications You must be signed in to change notification settings

drewscott/arcade

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo contains a collection of bash scripts and libraries used to bootstrap an arcade system from a fresh Debian 9 (x64).

What do the script do:

  • Update the system (apt-get update)
  • Install and configure plymouth to have a boosplash image
  • Create an arcade user and auto log it at boot
  • Install xorg and start X when arcade user log in
  • Install alsa audio packages and try to unmutte sound
  • Install and configure the Attract-Mode emulator frontend (using packages in the deb/ folder)
  • Install and configure MAME (v0.165) to run roms located in /usr/share/arcade/arcade/roms and using snapshots if present in /usr/share/arcade/arcade/snapshots (using packages from the deb/ folder).

Getting started

Dependencies

  • You must have curl and git installed.
  • You must have your mame romset for v0.165 in /usr/share/arcade/arcade/roms
  • You can have your mame games snapshots in /usr/share/arcade/arcade/snapshots

Clone the repository

git clone https://github.com/drewscott/arcade.git
cd arcade

Build missing packages

We will need some missing packages in the deb/ directory in order to continue the installation.

SFML2

SFML is a multimedia library needed by the Attract-Mode frontend.

Build the SFML2 debian package using vagrant: vagrant up build_sfml_packages. You should now have the libsfml_2.5.1_amd64.deb amd libsfml-dev_2.5.1_amd64.deb packages in the deb/ repository.

Attract-Mode

Attract-Mode is an emulator frontend.

Build the Attract-Mode debian package using vagrant: vagrant up build_attract_package. You should now have the attract-mode_2.5.1_amd64.deb package in the deb/ repository.

MAME

MAME is an arcade machine emulator.

Build the MAME debian package using vagrant: vagrant up build_mame_package. You should now have the mame_0.165_amd64.deb package in the deb/ repository.

Bootstrap

As root (or using sudo) start the ./bootstrap script to install and configure everything.

Artwork

About

Bash scripts to bootstrap an arcade system on a fresh Debian 9 (x64)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%