Skip to content

Instantly share code, notes, and snippets.

@bmaupin
Last active June 21, 2020 16:33
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bmaupin/a00a2dcd9e075999e6a9 to your computer and use it in GitHub Desktop.
Save bmaupin/a00a2dcd9e075999e6a9 to your computer and use it in GitHub Desktop.
Build Reicast emulator on Ubuntu/Debian
# NOTE: These instructions are old and may be out of date. A better alternative to compiling Reicast manually may be to use RetroArch with the Flycast core (https://www.retroarch.com/)
# Install prerequisites
sudo apt-get -y install build-essential libasound2 libasound2-dev libegl1-mesa-dev libgl1-mesa-dev libgles2-mesa-dev mesa-common-dev
# Build Reicast
git clone https://github.com/reicast/reicast-emulator.git
cd reicast-emulator/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
@davidrc2009
Copy link

@davidrc2009 I haven't used this in years but these days if I wanted to use Reicast in Ubuntu I'd probably just use the precompiled flycast core from RetroArch. Maybe I'll make a note indicating as much.

They are only 2 different lines.

Change
cd reicast-emulator/shell/linux
to
cd reicast-emulator/reicast/linux
and
cp ../android/assets/buttons.png ~/.local/share/reicast/data/
to
cp ../android-studio/reicast/src/main/assets/buttons.png ~/.local/share/reicast/data/

Thanks again,
compiling was the only way for me, because installing reicast via snap didn't work.
Cheers.

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