Skip to content

Instantly share code, notes, and snippets.

@stpettersens
Forked from bmaupin/build-reicast.sh
Last active May 1, 2020 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stpettersens/a66ba08d9b94a46d9dfb1880d7309dab to your computer and use it in GitHub Desktop.
Save stpettersens/a66ba08d9b94a46d9dfb1880d7309dab to your computer and use it in GitHub Desktop.
Build Reicast emulator on Ubuntu/Debian
# Install prerequisites
sudo apt-get -y install build-essential libasound2 libasound2-dev libegl1-mesa-dev libgl1-mesa-dev libgles2-mesa-dev mesa-common-dev libudev-dev
# Build Reicast
git clone https://github.com/reicast/reicast-emulator.git
cd reicast-emulator
git checkout master # Make sure on 'master' branch so will find the necessary subdir (not in alpha branch).
cd shell/linux
make
# Run Reicast
mkdir -p ~/.local/share/reicast/data/
cp ../android/assets/buttons.png ~/.local/share/reicast/data/
cp /path/to/bios/dc_boot.bin ~/.local/share/reicast/data/
cp /path/to/bios/dc_flash.bin ~/.local/share/reicast/data/
./reicast.elf
# To open a ROM
./reicast.elf /path/to/rom.cdi
# Key bindings
# Arrow keys: arrow keys
# A: v
# Start: Enter
@stpettersens
Copy link
Author

As provided by https://gist.github.com/bmaupin/a00a2dcd9e075999e6a9 but just tweaked to install another dependency (https://packages.ubuntu.com/focal/libudev-dev) and checkout the master branch first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment