This may be a completely useless app to install but I thought it was cool and my kids absolutely love playing retro games on longer drives.
When first implementing this function I started by installing RetroPie as an app but it required too much overhead and kept freezing the whole system so as a fallback I decided to install RetroArch.
It was a fun project to add into OpenAuto and once configured it works flawlessly.
This whole process will take a while so you might want to go grab your coffee at this step.
Preview:
https://imgur.com/fXVj4dQ
Guide:
To ensure everything builds and installs smoothly you should use the first text console and stop lightdm.
Ensure Raspbian is up to date
Install the required dependencies for RetroArch to run.
Now let’s build the code by typing:
Now test launch RetroArch by typing in terminal:
Update Assets – Required
Update Joypad Profiles – Required to get gamepads working
Core Updater – Install cores of your choosing to play your roms (See Below)
Now lets add the shortcut to OpenAuto Applications list:
Add to bottom of file
[Application_5]
Name=RetroArch
Path=retroarch
IconPath=/usr/local/share/pixmaps/retroarch.svg
Arguments=
Autostart=false
Have fun!
Common systems RetroArch Will Run with suggested core (I stroked out the systems that the Pi struggles with):
https://github.com/RetroPie/RetroPie-Setup/wiki
When first implementing this function I started by installing RetroPie as an app but it required too much overhead and kept freezing the whole system so as a fallback I decided to install RetroArch.
It was a fun project to add into OpenAuto and once configured it works flawlessly.
This whole process will take a while so you might want to go grab your coffee at this step.
Preview:
https://imgur.com/fXVj4dQ
Guide:
To ensure everything builds and installs smoothly you should use the first text console and stop lightdm.
- Ctrl+Alt+F1
- sudo systemctl stop lightdm - [(sudo systemctl start lightdm) or (sudo reboot) when finished]
Ensure Raspbian is up to date
- sudo apt-get update --allow-releaseinfo-change && sudo apt upgrade
Install the required dependencies for RetroArch to run.
- sudo apt install build-essential libasound2-dev libudev-dev libxkbcommon-dev zlib1g-dev libfreetype6-dev libegl1-mesa-dev libgles2-mesa-dev libgbm-dev libavcodec-dev libsdl2-dev libsdl-image1.2-dev libxml2-dev yasm libavformat-dev libavdevice-dev libswresample-dev libavresample-dev libswscale-dev libv4l-dev libgl*-mesa-dev -y
- curl -LO 'https://github.com/libretro/RetroArch/ar....7.tar.gz'
- tar -zxvf v1.7.7.tar.gz
- cd RetroArch-1.7.7
- CFLAGS='-mfpu=neon -mtune=cortex-a72 -march=armv8-a' ./configure --enable-alsa --enable-udev --enable-neon --disable-videocore --enable-opengles --enable-opengles3 --disable-opengl1 --enable-x11
Quote:V1.7.8 is out now but I haven't tested it yet.
Now let’s build the code by typing:
- make
- sudo make install
Now test launch RetroArch by typing in terminal:
- retroarch
- sudo nano ~/.config/retroarch/retroarch.cfg
- core_updater_buildbot_url = ”http://buildbot.libretro.com/nightly/linux/armhf/latest/”
- Ctrl + X
- Y to save
- Enter
Update Assets – Required
Update Joypad Profiles – Required to get gamepads working
Core Updater – Install cores of your choosing to play your roms (See Below)
Quote:While you are there just run all updates
Now lets add the shortcut to OpenAuto Applications list:
- nano /home/pi/.openauto/config/openauto_applications.ini
Add to bottom of file
[Application_5]
Name=RetroArch
Path=retroarch
IconPath=/usr/local/share/pixmaps/retroarch.svg
Arguments=
Autostart=false
Have fun!
Common systems RetroArch Will Run with suggested core (I stroked out the systems that the Pi struggles with):
- Atari 2600 - lr-stella
- Atari 5200 and 8 bit series - lr-atari800
- Atari 7800 - lr-prosystem
- Atari Jaguar - lr-virtualjaguar
- Atari Lynx - lr-handy
- Dreamcast - Reicast
- Famicom Disk System - lr-fceumm or lr-nestopia
- GameCube - dolphin
- Game Gear - lr-genesis-plus-gx
- Game Boy - lr-gambatte
- Game Boy Color - lr-gambatte
- Game Boy Advance - lr-mgba
- Master System - lr-Genesis-Plus-GX
- Mega CD/Sega CD - lr-Genesis-Plus-GX
- Mega Drive/Genesis - lr-Genesis-Plus-GX
- Nintendo 64 - Mupen64plus
- Nintendo DS - lr-desmume
- Nintendo Entertainment System - lr-fceumm or lr-nestopia
- PC Engine/TurboGrafx-16 - lr-mednafen-pce-fast
- PlayStation 1 - lr-beetle-psx
- PlayStation 2 - pcsx2
- PSP - lr-ppsspp
- Saturn - lr-beetle-saturn
- ScummVM - ScummVM
- Sega 32X - lr-picodrive
- Sega SG-1000 - lr-genesis-plus-gx
- Super Nintendo Entertainment System - Snes9x Next
- Virtual Boy - lr-beetle-vb
- Wii - dolphin
- WonderSwan - lr-mednafen-wswan
- WonderSwan Color - lr-mednafen-wswan
https://github.com/RetroPie/RetroPie-Setup/wiki