Skip to content

Install Emulationstation on Gameshell

Vilikt edited this page Mar 1, 2019 · 5 revisions

Feel free to visit the official Retropie EmulationStation github page for more informations

Building

Log in SSH on your Gameshell and go to your home directory.

cd /home/cpi

You need to install a few packages :

sudo apt-get install libsdl2-dev libboost-system-dev libboost-filesystem-dev libboost-date-time-dev libboost-locale-dev libfreeimage-dev libfreetype6-dev libeigen3-dev libcurl4-openssl-dev libasound2-dev libgl1-mesa-dev build-essential cmake fonts-droid fonts-droid-fallback libvlc5 libvlc-dev rapidjson-dev

Clone the git project :

git clone --recursive https://github.com/RetroPie/EmulationStation.git

Then, generate and build the Makefile with CMake:

cd EmulationStation

cmake .

make

This will take a few time.

NOTE : don't forget to copy ~/EmulationStation/ressources into ~/.emulationstation/

Now install emulationstation to /usr/local/bin/emulationstation, which will let you just type 'emulationstation' to run it, do:

sudo make install

You can now delete ~/EmulationStation folder by

rm -Rf ~/EmulationStation

Add EmulationStation to launcher

Create entry

Go to /home/cpi/launcher/Menu/GameShell and create a XX_Emulationstation.sh file. Where XX is the number you want depending on the position in the launcher.

Just add emulationstation inside.

Add an icon

Go to /home/cpi/launcher/skin/default/Menu/GameShell and add Emulationstation.png

Configuring

Create es_systems.cfg

NOTE: A system must have at least one game present in its "path" directory, or ES will ignore it! If no valid systems are found, ES will report an error and quit!

Go to ~/.emulationstation/ and create the file es_systems.cfg :

Create gamelist.xml

in ~/.emulationstation/ create a floder named gamelists.

We're following our SNES example by creating a snes folder in gamelists and a gamelist.xml file inside.

in ~/.emulationstation/ create a floder named downloaded_images and a snes folder inside.

Edit your gamelist.xml :

Installing a more descent theme

The default theme is not adapted for small resolution. Until you have something really optimized for a resolution of 320x240, you can install the GBZ35 theme

Go to the theme folder

cd /etc/emulationstation/themes

To insall light theme : git clone https://github.com/rxbrad/es-theme-gbz35.git

To insall dark theme : git clone https://github.com/rxbrad/es-theme-gbz35-dark