Before you begin, here are a few questions that I thought people might ask:
Which Raspberry Pi versions can run Kodi on RetroPie?
All versions of the Raspberry Pi can run Kodi on RetroPie. You will need an internet/network connection to run Kodi, so I recommend using a Pi 3 or Zero W (which both have built-in WiFi). If you're using another kind of Pi, you can always add WiFi to your Pi using a USB adapter.
How big should my SD card be?
To have both RetroPie and Kodi in the same installation, I recommend a card that's at least 32GB. You can probably get away with a 16GB card, but you'll be limited on how much media content you can store on the device to use with Kodi.
Can I run Kodi on the Pi without RetroPie (standalone)?
On the main RetroPie/EmulationStation screen (where it lists your game consoles), select the RetroPie system. Then, select RETROPIE SETUP.
You can use your game controller (or a keyboard) for the entire setup process.
Manage packages option and then select
Manage optional packages. This is the area where you can find lots of cool optional RetroPie packages, including emulators for strange and obscure gaming systems, as well as other experimental packages.
Scroll down and select the
Kodi option. Finally, select
Install from binary. It may take several minutes to download and install everything, especially if you're using a Pi Zero.
When you're done, use your back button (
B on your controller) to exit to the main RetroPie UI (EmulationStation).
Then, reboot your Pi.
What's neat about Kodi for RetroPie is that you can access it from the same area that you'd access your retro games from. It essentially appears as a "Kodi" game in the "Ports" gaming system.
From the main screen containing all your systems, select Ports and then KODI.
Ah, we now have Kodi in RetroPie.
You might be prompted to configure your controller. If your controller becomes unresponsive, you might need to use a keyboard to get to the Controller Configuration screen.
I recommend adjusting the player resolution in the Kodi settings menu (see: gear icon).
To exit Kodi and return to EmulationStation for some more mad retro gaming, select the Power icon and then
Wouldn't it be nice if Kodi showed up as its own system instead of appearing under Ports? This step is totally optional, but continue on if you'd like to do this:
Create an EmulationStation config file
Connect to your Pi via SSH. Then, run the following commands:
sudo cp /etc/emulationstation/es_systems.cfg /home/pi/.emulationstation/es_systems.cfg sudo nano /home/pi/.emulationstation/es_systems.cfg
es_systems.cfg opens in the Nano editor, add the following entry anywhere between
<system> <fullname>Kodi</fullname> <name>kodi</name> <path>~/RetroPie/roms/kodi</path> <extension>.sh .SH</extension> <command>bash %ROM%</command> <platform>kodi</platform> <theme>kodi</theme> </system>
Save and exit.
Make a Kodi ROM directory
All EmulationStation systems must have a ROM directory:
Make the Kodi launch script
Edit the following file using the Nano editor:
sudo nano /home/pi/RetroPie/roms/kodi/kodi.sh
Add the following line:
Save and exit. Finally, make the launch script executable:
sudo chmod +x /home/pi/RetroPie/roms/kodi/kodi.sh
Finally, reboot your Pi. Kodi will now appear as its own system!
If you want to emulate all your favorite retro gaming systems quickly and easily, this guide is for you.