Enjoy our retro stories?
★ Click the star to add Good Old Cartoons to your Google favouritesWhen you add us to your preferred sources, Google may show our articles more often when you search for retro topics. This makes it easier to keep up with new stories from Good Old Cartoons.
Batocera is an operating system for retro gaming that you can run on a Raspberry Pi 5 from a microSD card. I'd start with one game. That gives you a chance to check the picture, sound and controls before you add anything else. For this guide I've picked Böbl, a free NES game where you guide a bubble through an underwater world.
What you'll need
- A Raspberry Pi 5 and a suitable USB-C power supply. The official power supply for this model is rated at 27 W.
- A microSD card and a card reader. A 32 GB card is a good starting point. If you already use your Pi for something else, you can put Batocera on a separate card.
- A TV or monitor and a micro-HDMI to HDMI cable. The smaller end goes into the Pi and the larger end goes into the display.
- A USB controller. I'd use a wired one for the first boot so you can try the controls straight away.
- A computer to prepare the card. To copy the game, we'll use a Windows computer on the same home network as the Pi. You can connect the Pi over Ethernet or Wi-Fi.
For your first game, the TV or monitor you already have will do. If you're putting together a permanent setup, see how to build a retro gaming corner at home.
Download Batocera for Raspberry Pi 5
This guide covers Batocera 44 on the Raspberry Pi 5. On the download page, open the Raspberry Pi group and choose Pi 5 Model B. Look for bcm2712 in the filename. Raspberry Pi Imager can open the downloaded .img.gz file directly. Download Batocera from the official site.
Write Batocera to a microSD card
Install Raspberry Pi Imager and connect the card reader with the microSD card inserted.
- In the Device tab, select Raspberry Pi 5 and click Next.

Raspberry Pi 5 selected in the Device tab. Screenshot from the Raspberry Pi Ltd documentation. Resized, given a white border and converted to WebP under the same licence. Original screenshot · CC BY-SA 4.0. - In the OS tab, scroll to the bottom, choose Use custom and open the Batocera file you downloaded.
- In the Storage tab, select your microSD card. Check the capacity to make sure you've picked the right drive. Leave Exclude system drives checked.

Choosing the card in the Storage tab. This macOS example shows an Apple SDXC card reader. Screenshot from the Raspberry Pi Ltd documentation. Resized, given a white border and converted to WebP under the same licence. Original screenshot · CC BY-SA 4.0. - Review your choices in the Writing tab and click Write. This erases the contents of the selected card. Once you've confirmed, let Imager finish writing and verifying the image before ejecting the card.
If Windows asks to format a partition on the card after writing it, choose Cancel. Batocera will prepare the space for games on its first boot. Official Batocera installation guide.
First boot and controller setup
With the Pi unplugged, insert the card, connect the display to HDMI0 and plug in the controller. Select the matching HDMI input on your display, then power on the Pi. The first boot can take a few minutes while Batocera expands the space available for your games. It may restart during this step. Wait for the list of systems to appear.
Try moving through the menu with the directional pad. If a controller setup screen opens, follow the prompts. You can also change the layout later under Start → Controller & Bluetooth Settings → Controller Mapping. If your controller is missing a button the setup asks for, hold down another button to skip that input.
Use the controller's Home button as the Hotkey if it has one. Select works too. You'll use the hotkey to exit the game and go back to the menu. Batocera's controller mapping guide.
Copy Böbl and play your first game
Download Böbl from Morphcat Games. It's free to download, with an option to pay the developers if you like. If you downloaded a ZIP archive, extract the .nes file.
- Connect the Pi and your Windows PC to the same home network. On the Pi, plug in an Ethernet cable or go to Start → Network Settings, turn on Enable WiFi, choose your home network and enter its password.
- In Windows File Explorer, enter
\\BATOCERA\sharein the address bar. If Windows can't findBATOCERA, look up the Pi's IP address under Start → Network Settings and use it in place of the name. For example, if the Pi's address is192.168.1.42, enter\\192.168.1.42\share. - Open
roms, thennes, and copy the.nesfile into that folder. - On the Pi, press Start and choose Game Settings → Update Gamelists. Go back to the list of systems, open Nintendo Entertainment System (NES) and launch Böbl.
Hold the NES A button to make the bubble dive, then let go to float back up. Once you've checked the controls and sound, press Hotkey + Start to return to the menu. Batocera hotkey shortcuts.
If Windows won't open the shared folder
If Windows asks you to sign in or blocks access without a password, go to Start → System Settings → Security on the Pi. Turn on Enforce Security and restart Batocera. Check Root Password in the same menu. When Windows asks for your details, enter root as the username and use the password shown on the Pi. Setting up password-protected access in Batocera.
If OD-Commander appears under Ports, you can also copy the game from a USB drive. Open the USB drive under /media in one pane and /userdata/roms/nes in the other. Copy the .nes file and update the game list again. Copying files with OD-Commander.
What to check when something goes wrong
- NES is missing from the system list. Check that the file is in
share/roms/nesand ends in.nes, then run Update Gamelists. Batocera shows a system when it finds games for it. How Batocera finds your games. - There's a picture but no sound. Check the TV volume, then go to Start → System Settings → Audio Output and choose the HDMI output for your display. If the right output isn't listed, check Audio Profile, go back to the main menu and open the output list again. Batocera audio troubleshooting.
- The display says there's no signal. Check the selected HDMI input on the display and make sure the cable is connected to HDMI0 on the Pi. Then check the power supply, the card and whether you wrote the image for Pi 5 Model B.
- The controller works in the menu, but the buttons are wrong in the game. Go back to Controller Mapping and check A, B, Start and Hotkey. Check that the controller is assigned to the first player.
When you're done, exit the game and choose Start → Quit → Shutdown System. Wait for the Pi to shut down before removing the card or disconnecting the power supply.

