Retroflag Gpi Setup
Gather your hardware
Because the Retroflag GPi CASE is technically a case, it doesn’t contain a computer and relies on the tiny ~$10 Raspberry Pi Zero W computer to run everything.
In addition to the Pi Zero and the GPi itself, you’ll need a few other things including an SD card and batteries. I’ve listed everything in the parts list for this guide. Because the GPi uses three replaceable AA batteries, I recommend picking up some rechargeable AA batteries and a charger. The environment (and your wallet) will thank you.
Things used here
See allWhich Pi should I choose?
You can use either the Raspberry Pi Zero or Raspberry Pi Zero W, but I recommend the Zero W since it has onboard bluetooth and Wi-Fi.
The Raspberry Pi Foundation also sells a Raspberry Pi Zero WH, which stands for “with header” and comes with a 40-pin header pre-soldered; don’t use this one unless you have the equipment to desolder and remove that header. The GPi will not fit a Pi that has a header soldered on.
Turn off the power switch
Before you start, make sure the main power switch is in the OFF position.
Insert the micro USB extension cable
Insert the included micro USB extension ribbon cable into the Pi’s micro USB data port. This is the port closer to the center of the Pi.
Put the Raspberry Pi into the GPi cartridge
The GPi comes with a sliding cartridge — much like the original Game Boy — that houses the Raspberry Pi. The purpose of this cartridge is to connect the Raspberry Pi to the rest of the GPi, sending both power and data signals back and forth to make everything work.
Place the Pi into the cartridge housing with the ports facing up and the SD card slot facing towards you. If oriented correctly, the Pi’s Micro SD card slot should be accessible from outside the housing.
Finally, use the flathead side of the included screwdriver to secure the Pi in place using the four (4) small brass screws.
Attach the IO conversion board
The GPi’s “IO conversion board” is a small board that connects the Pi to the rest of the GPi’s circuitry. A “pogo pin” system is used to connect the Pi to this board.
What’s a pogo pin?
A pogo pin is a small spring-loaded connector. Basically, spring-loaded connectors on the IO conversion board press up against the Raspberry Pi’s GPIO (40-pin) header, thus eliminating the need to solder anything. Everything that goes on between the GPi CASE and the Pi itself happens through these pins.
Carefully lower the IO conversion board into place so that it lines up with the Pi.
Then, slide the brown cable retaining clip outward, insert the USB extension cable, and then slide the retaining clip back to secure the cable.
See the attached photo for reference.
Close the cartridge housing
Snap the cartridge housing back together and secure it using the four (4) small silver screws. This will hold the cartridge case shut while also securing the Pi to the IO board.
Slide the cartridge into place
Once everything is nice and secure, slide the cartridge into place like you would any Game Boy! Contacts in the bottom of the cartridge will make contact with the GPi’s main logic board, connecting your Pi once and for all.
Install RetroPie
Next, you’ll need to install RetroPie.
What is RetroPie?
In a nutshell, RetroPie is a software library that will allow you to load and emulate games on the GPi. If you so choose, you can also run RecalBox on the GPi instead of RetroPie. However, RetroPie is more popular and generally better supported, so that’s what I’ll recommend and cover in this guide.
To install RetroPie, download the latest SD card image labeled “Raspberry Pi 0/1” from the RetroPie downloads page. Then, flash it onto your microSD card using a tool such as Etcher.
Finally, enable SSH and connect the Pi to Wi-Fi.
Want step-by-step instructions?
I wrote a separate guide on installing RetroPie; use that guide to install RetroPie and then return here! That guide also covers steps like enabling SSH (so that you can log into the GPi from your computer to perform certain setup tasks).
If you want to learn even more about RetroPie, check out our RetroPie FAQs or visit the RetroPie howchoo interest.
Install the GPi Case patch
Because RetroPie and Recalbox output video via HDMI by default, we need to configure it to output over the GPIO header instead. Retroflag wrapped this, and other configuration settings, into a small patch file that needs to be run.
Download the patch ZIP file from the Retroflag downloads page. Unzip the file, and then:
For Windows
- In Windows Explorer, copy the entire
GPi_Case_patchfolder to the root directory of your SD card. - Open the
GPi_Case_patchfolder and double-clickinstall_patch.batto execute it. - You’re done! To undo this and output to HDMI again, run the
uninstall_patch.batfile in that folder (though I don’t know why you’d want to do this).
For Mac
- Open your SD card in Finder.
- Back up
config.txtandoverlays/dpi24.dtboby copying them somewhere safe, like abackupfolder. - From the patch zip file, copy
config.txtto the SD card’s root directory. - From the patch zip file, copy
overlays/dpi24.dtboandoverlays/pwm-audio-pi-zero.dtboto the SD card’soverlaysdirectory. - You’re done! To undo this and output to HDMI by default, replace those two files with your backups from earlier.
Insert the SD card
Safely eject the micro SD card from your computer and put it into the GPi through the SD card slot.
Add your batteries
Before adding your batteries, ensure the SAFE SHUTDOWN switch beneath the battery housing is set to ON. Then, insert the three AA batteries.
Turn the GPi on
Slide the power switch on the top of the unit to ON to boot it.
Configure the “controller”
You’ll be immediately asked to configure the controller, which is the GPi itself. Hold and press any button to start the process. Then, when prompted, press each corresponding button that appears on the screen.
The “Left shoulder” and “Right shoulder” buttons are found on the back of the unit and are denoted by 3 dots. After configuring those, press and hold any button repeatedly to skip the remaining buttons that don’t exist on this controller.
Install the safe shutdown script
To prevent data corruption, the Raspberry Pi needs to be shut down safely before it’s turned off.
Retroflag wrote a script that will do this when you toggle the power button on or off. To install it, connect to your Pi from your computer and run the following command from the retroflag-picase GitHub repo:
wget -O - "https://raw.githubusercontent.com/RetroFlag/retroflag-picase/master/install_gpi.sh" | sudo bashThis may take several minutes to run. When it finishes, it will automatically reboot your Pi. The GPi power switch will now safely turn your Pi off and on!
I recommend connecting to your Pi once more and changing your Pi’s password to something more secure.
Expand filesystem
Before adding games we’ll need to tell the Raspberry Pi to use all available space on the SD card.
To do this, navigate to the RetroPie Configuration screen, press A, and select raspi-config.
Next, scroll down and select Advanced Configuration and then Expand Filesystem.
Finally, select Finish and confirm to reboot.
Add games to the GPi
Now that your GPi is up and running, you’ll need to find and add install some retro games!
When you add games to the GPi, what you’re really doing is adding games to RetroPie. You’ll often see the term “ROM” used interchangeably with “game”; this is because each game is stored in a single ROM (read-only memory) file.
Finding GPi (RetroPie) ROMs
While you can find RetroPie ROMs on any torrent site, you shouldn’t download any copyrighted titles as this may be illegal. Check out our full guide to RetroPie ROMs to learn how to find and download RetroPie ROMs.
Installing RetroPie ROMs
After downloading a ROM or ROM pack, unzip each .zip file to reveal a single ROM file — for example, SomeGame.nes.
Once you have a ROM file, there are a few ways to transfer it to the GPi:
1. Transfer ROMs over your network
By default, the GPi will appear as a network share device/drive in both MacOS and Windows. Obviously, you’ll need to be on the same network as your Pi.
On Mac, open Finder and navigate to Locations > Network > retropie > roms. Paste each ROM into its corresponding system folder.
On Windows, open Explorer and enter RETROPIE into the address bar. Then, open the roms folder. Paste each ROM into its corresponding system folder.
2. Transfer ROMs via USB drive
To do this, you’ll need to remove the Pi from the GPi so that you can access its USB port. Then, along with a micro USB adapter, add ROMs using a USB drive. This is the fastest approach as far as transfer time goes.
Access and play your games
After adding your ROMs and restarting the GPi, you’ll see an icon for each system. Select a system by pressing A and then select a game.
Customizing the interface with themes
You can install various RetroPie themes to change the way the interface looks. I recommend the GMZ35 theme since it’s designed for small screens and it makes text far more readable!
Exiting a game
To exit a game and return to the RetroPie UI, press START+SELECT together.
Saving a game
Check out my guide to saving and loading saved games in RetroPie for more information.
Need help?
If you run into any issues, post in the comments section below and I’ll do my best to help you out.
Be sure to check out our RetroFlag GPi FAQ as well! There’s a ton of information in there!
Gather your hardware
Because the Retroflag GPi CASE is technically a case, it doesn’t contain a computer and relies on the tiny ~$10 Raspberry Pi Zero W computer to run everything.
In addition to the Pi Zero and the GPi itself, you’ll need a few other things including an SD card and batteries. I’ve listed everything in the parts list for this guide. Because the GPi uses three replaceable AA batteries, I recommend picking up some rechargeable AA batteries and a charger. The environment (and your wallet) will thank you.
Things used here
See allWhich Pi should I choose?
You can use either the Raspberry Pi Zero or Raspberry Pi Zero W, but I recommend the Zero W since it has onboard bluetooth and Wi-Fi.
The Raspberry Pi Foundation also sells a Raspberry Pi Zero WH, which stands for “with header” and comes with a 40-pin header pre-soldered; don’t use this one unless you have the equipment to desolder and remove that header. The GPi will not fit a Pi that has a header soldered on.
Turn off the power switch
Before you start, make sure the main power switch is in the OFF position.
Insert the micro USB extension cable
Insert the included micro USB extension ribbon cable into the Pi’s micro USB data port. This is the port closer to the center of the Pi.
Put the Raspberry Pi into the GPi cartridge
The GPi comes with a sliding cartridge — much like the original Game Boy — that houses the Raspberry Pi. The purpose of this cartridge is to connect the Raspberry Pi to the rest of the GPi, sending both power and data signals back and forth to make everything work.
Place the Pi into the cartridge housing with the ports facing up and the SD card slot facing towards you. If oriented correctly, the Pi’s Micro SD card slot should be accessible from outside the housing.
Finally, use the flathead side of the included screwdriver to secure the Pi in place using the four (4) small brass screws.
Attach the IO conversion board
The GPi’s “IO conversion board” is a small board that connects the Pi to the rest of the GPi’s circuitry. A “pogo pin” system is used to connect the Pi to this board.
What’s a pogo pin?
A pogo pin is a small spring-loaded connector. Basically, spring-loaded connectors on the IO conversion board press up against the Raspberry Pi’s GPIO (40-pin) header, thus eliminating the need to solder anything. Everything that goes on between the GPi CASE and the Pi itself happens through these pins.
Carefully lower the IO conversion board into place so that it lines up with the Pi.
Then, slide the brown cable retaining clip outward, insert the USB extension cable, and then slide the retaining clip back to secure the cable.
See the attached photo for reference.
Close the cartridge housing
Snap the cartridge housing back together and secure it using the four (4) small silver screws. This will hold the cartridge case shut while also securing the Pi to the IO board.
Slide the cartridge into place
Once everything is nice and secure, slide the cartridge into place like you would any Game Boy! Contacts in the bottom of the cartridge will make contact with the GPi’s main logic board, connecting your Pi once and for all.
Install RetroPie
Next, you’ll need to install RetroPie.
What is RetroPie?
In a nutshell, RetroPie is a software library that will allow you to load and emulate games on the GPi. If you so choose, you can also run RecalBox on the GPi instead of RetroPie. However, RetroPie is more popular and generally better supported, so that’s what I’ll recommend and cover in this guide.
To install RetroPie, download the latest SD card image labeled “Raspberry Pi 0/1” from the RetroPie downloads page. Then, flash it onto your microSD card using a tool such as Etcher.
Finally, enable SSH and connect the Pi to Wi-Fi.
Want step-by-step instructions?
I wrote a separate guide on installing RetroPie; use that guide to install RetroPie and then return here! That guide also covers steps like enabling SSH (so that you can log into the GPi from your computer to perform certain setup tasks).
If you want to learn even more about RetroPie, check out our RetroPie FAQs or visit the RetroPie howchoo interest.
Install the GPi Case patch
Because RetroPie and Recalbox output video via HDMI by default, we need to configure it to output over the GPIO header instead. Retroflag wrapped this, and other configuration settings, into a small patch file that needs to be run.
Download the patch ZIP file from the Retroflag downloads page. Unzip the file, and then:
For Windows
- In Windows Explorer, copy the entire
GPi_Case_patchfolder to the root directory of your SD card. - Open the
GPi_Case_patchfolder and double-clickinstall_patch.batto execute it. - You’re done! To undo this and output to HDMI again, run the
uninstall_patch.batfile in that folder (though I don’t know why you’d want to do this).
For Mac
- Open your SD card in Finder.
- Back up
config.txtandoverlays/dpi24.dtboby copying them somewhere safe, like abackupfolder. - From the patch zip file, copy
config.txtto the SD card’s root directory. - From the patch zip file, copy
overlays/dpi24.dtboandoverlays/pwm-audio-pi-zero.dtboto the SD card’soverlaysdirectory. - You’re done! To undo this and output to HDMI by default, replace those two files with your backups from earlier.
Insert the SD card
Safely eject the micro SD card from your computer and put it into the GPi through the SD card slot.
Add your batteries
Before adding your batteries, ensure the SAFE SHUTDOWN switch beneath the battery housing is set to ON. Then, insert the three AA batteries.
Turn the GPi on
Slide the power switch on the top of the unit to ON to boot it.
Configure the “controller”
You’ll be immediately asked to configure the controller, which is the GPi itself. Hold and press any button to start the process. Then, when prompted, press each corresponding button that appears on the screen.
The “Left shoulder” and “Right shoulder” buttons are found on the back of the unit and are denoted by 3 dots. After configuring those, press and hold any button repeatedly to skip the remaining buttons that don’t exist on this controller.
Install the safe shutdown script
To prevent data corruption, the Raspberry Pi needs to be shut down safely before it’s turned off.
Retroflag wrote a script that will do this when you toggle the power button on or off. To install it, connect to your Pi from your computer and run the following command from the retroflag-picase GitHub repo:
wget -O - "https://raw.githubusercontent.com/RetroFlag/retroflag-picase/master/install_gpi.sh" | sudo bashThis may take several minutes to run. When it finishes, it will automatically reboot your Pi. The GPi power switch will now safely turn your Pi off and on!
I recommend connecting to your Pi once more and changing your Pi’s password to something more secure.
Expand filesystem
Before adding games we’ll need to tell the Raspberry Pi to use all available space on the SD card.
To do this, navigate to the RetroPie Configuration screen, press A, and select raspi-config.
Next, scroll down and select Advanced Configuration and then Expand Filesystem.
Finally, select Finish and confirm to reboot.
Add games to the GPi
Now that your GPi is up and running, you’ll need to find and add install some retro games!
When you add games to the GPi, what you’re really doing is adding games to RetroPie. You’ll often see the term “ROM” used interchangeably with “game”; this is because each game is stored in a single ROM (read-only memory) file.
Finding GPi (RetroPie) ROMs
While you can find RetroPie ROMs on any torrent site, you shouldn’t download any copyrighted titles as this may be illegal. Check out our full guide to RetroPie ROMs to learn how to find and download RetroPie ROMs.
Installing RetroPie ROMs
After downloading a ROM or ROM pack, unzip each .zip file to reveal a single ROM file — for example, SomeGame.nes.
Once you have a ROM file, there are a few ways to transfer it to the GPi:
1. Transfer ROMs over your network
By default, the GPi will appear as a network share device/drive in both MacOS and Windows. Obviously, you’ll need to be on the same network as your Pi.
On Mac, open Finder and navigate to Locations > Network > retropie > roms. Paste each ROM into its corresponding system folder.
On Windows, open Explorer and enter RETROPIE into the address bar. Then, open the roms folder. Paste each ROM into its corresponding system folder.
2. Transfer ROMs via USB drive
To do this, you’ll need to remove the Pi from the GPi so that you can access its USB port. Then, along with a micro USB adapter, add ROMs using a USB drive. This is the fastest approach as far as transfer time goes.
Access and play your games
After adding your ROMs and restarting the GPi, you’ll see an icon for each system. Select a system by pressing A and then select a game.
Customizing the interface with themes
You can install various RetroPie themes to change the way the interface looks. I recommend the GMZ35 theme since it’s designed for small screens and it makes text far more readable!
Exiting a game
To exit a game and return to the RetroPie UI, press START+SELECT together.
Saving a game
Check out my guide to saving and loading saved games in RetroPie for more information.
Need help?
If you run into any issues, post in the comments section below and I’ll do my best to help you out.
Be sure to check out our RetroFlag GPi FAQ as well! There’s a ton of information in there!
Gather your hardware
Because the Retroflag GPi CASE is technically a case, it doesn’t contain a computer and relies on the tiny ~$10 Raspberry Pi Zero W computer to run everything.
In addition to the Pi Zero and the GPi itself, you’ll need a few other things including an SD card and batteries. I’ve listed everything in the parts list for this guide. Because the GPi uses three replaceable AA batteries, I recommend picking up some rechargeable AA batteries and a charger. The environment (and your wallet) will thank you.
Things used here
See allWhich Pi should I choose?
You can use either the Raspberry Pi Zero or Raspberry Pi Zero W, but I recommend the Zero W since it has onboard bluetooth and Wi-Fi.
The Raspberry Pi Foundation also sells a Raspberry Pi Zero WH, which stands for “with header” and comes with a 40-pin header pre-soldered; don’t use this one unless you have the equipment to desolder and remove that header. The GPi will not fit a Pi that has a header soldered on.
Turn off the power switch
Before you start, make sure the main power switch is in the OFF position.
Insert the micro USB extension cable
Insert the included micro USB extension ribbon cable into the Pi’s micro USB data port. This is the port closer to the center of the Pi.
Put the Raspberry Pi into the GPi cartridge
The GPi comes with a sliding cartridge — much like the original Game Boy — that houses the Raspberry Pi. The purpose of this cartridge is to connect the Raspberry Pi to the rest of the GPi, sending both power and data signals back and forth to make everything work.
Place the Pi into the cartridge housing with the ports facing up and the SD card slot facing towards you. If oriented correctly, the Pi’s Micro SD card slot should be accessible from outside the housing.
Finally, use the flathead side of the included screwdriver to secure the Pi in place using the four (4) small brass screws.
Attach the IO conversion board
The GPi’s “IO conversion board” is a small board that connects the Pi to the rest of the GPi’s circuitry. A “pogo pin” system is used to connect the Pi to this board.
What’s a pogo pin?
A pogo pin is a small spring-loaded connector. Basically, spring-loaded connectors on the IO conversion board press up against the Raspberry Pi’s GPIO (40-pin) header, thus eliminating the need to solder anything. Everything that goes on between the GPi CASE and the Pi itself happens through these pins.
Carefully lower the IO conversion board into place so that it lines up with the Pi.
Then, slide the brown cable retaining clip outward, insert the USB extension cable, and then slide the retaining clip back to secure the cable.
See the attached photo for reference.
Close the cartridge housing
Snap the cartridge housing back together and secure it using the four (4) small silver screws. This will hold the cartridge case shut while also securing the Pi to the IO board.
Slide the cartridge into place
Once everything is nice and secure, slide the cartridge into place like you would any Game Boy! Contacts in the bottom of the cartridge will make contact with the GPi’s main logic board, connecting your Pi once and for all.
Install RetroPie
Next, you’ll need to install RetroPie.
What is RetroPie?
In a nutshell, RetroPie is a software library that will allow you to load and emulate games on the GPi. If you so choose, you can also run RecalBox on the GPi instead of RetroPie. However, RetroPie is more popular and generally better supported, so that’s what I’ll recommend and cover in this guide.
To install RetroPie, download the latest SD card image labeled “Raspberry Pi 0/1” from the RetroPie downloads page. Then, flash it onto your microSD card using a tool such as Etcher.
Finally, enable SSH and connect the Pi to Wi-Fi.
Want step-by-step instructions?
I wrote a separate guide on installing RetroPie; use that guide to install RetroPie and then return here! That guide also covers steps like enabling SSH (so that you can log into the GPi from your computer to perform certain setup tasks).
If you want to learn even more about RetroPie, check out our RetroPie FAQs or visit the RetroPie howchoo interest.
Install the GPi Case patch
Because RetroPie and Recalbox output video via HDMI by default, we need to configure it to output over the GPIO header instead. Retroflag wrapped this, and other configuration settings, into a small patch file that needs to be run.
Download the patch ZIP file from the Retroflag downloads page. Unzip the file, and then:
For Windows
- In Windows Explorer, copy the entire
GPi_Case_patchfolder to the root directory of your SD card. - Open the
GPi_Case_patchfolder and double-clickinstall_patch.batto execute it. - You’re done! To undo this and output to HDMI again, run the
uninstall_patch.batfile in that folder (though I don’t know why you’d want to do this).
For Mac
- Open your SD card in Finder.
- Back up
config.txtandoverlays/dpi24.dtboby copying them somewhere safe, like abackupfolder. - From the patch zip file, copy
config.txtto the SD card’s root directory. - From the patch zip file, copy
overlays/dpi24.dtboandoverlays/pwm-audio-pi-zero.dtboto the SD card’soverlaysdirectory. - You’re done! To undo this and output to HDMI by default, replace those two files with your backups from earlier.
Insert the SD card
Safely eject the micro SD card from your computer and put it into the GPi through the SD card slot.
Add your batteries
Before adding your batteries, ensure the SAFE SHUTDOWN switch beneath the battery housing is set to ON. Then, insert the three AA batteries.
Turn the GPi on
Slide the power switch on the top of the unit to ON to boot it.
Configure the “controller”
You’ll be immediately asked to configure the controller, which is the GPi itself. Hold and press any button to start the process. Then, when prompted, press each corresponding button that appears on the screen.
The “Left shoulder” and “Right shoulder” buttons are found on the back of the unit and are denoted by 3 dots. After configuring those, press and hold any button repeatedly to skip the remaining buttons that don’t exist on this controller.
Install the safe shutdown script
To prevent data corruption, the Raspberry Pi needs to be shut down safely before it’s turned off.
Retroflag wrote a script that will do this when you toggle the power button on or off. To install it, connect to your Pi from your computer and run the following command from the retroflag-picase GitHub repo:
wget -O - "https://raw.githubusercontent.com/RetroFlag/retroflag-picase/master/install_gpi.sh" | sudo bashThis may take several minutes to run. When it finishes, it will automatically reboot your Pi. The GPi power switch will now safely turn your Pi off and on!
I recommend connecting to your Pi once more and changing your Pi’s password to something more secure.
Expand filesystem
Before adding games we’ll need to tell the Raspberry Pi to use all available space on the SD card.
To do this, navigate to the RetroPie Configuration screen, press A, and select raspi-config.
Next, scroll down and select Advanced Configuration and then Expand Filesystem.
Finally, select Finish and confirm to reboot.
Add games to the GPi
Now that your GPi is up and running, you’ll need to find and add install some retro games!
When you add games to the GPi, what you’re really doing is adding games to RetroPie. You’ll often see the term “ROM” used interchangeably with “game”; this is because each game is stored in a single ROM (read-only memory) file.
Finding GPi (RetroPie) ROMs
While you can find RetroPie ROMs on any torrent site, you shouldn’t download any copyrighted titles as this may be illegal. Check out our full guide to RetroPie ROMs to learn how to find and download RetroPie ROMs.
Installing RetroPie ROMs
After downloading a ROM or ROM pack, unzip each .zip file to reveal a single ROM file — for example, SomeGame.nes.
Once you have a ROM file, there are a few ways to transfer it to the GPi:
1. Transfer ROMs over your network
By default, the GPi will appear as a network share device/drive in both MacOS and Windows. Obviously, you’ll need to be on the same network as your Pi.
On Mac, open Finder and navigate to Locations > Network > retropie > roms. Paste each ROM into its corresponding system folder.
On Windows, open Explorer and enter RETROPIE into the address bar. Then, open the roms folder. Paste each ROM into its corresponding system folder.
2. Transfer ROMs via USB drive
To do this, you’ll need to remove the Pi from the GPi so that you can access its USB port. Then, along with a micro USB adapter, add ROMs using a USB drive. This is the fastest approach as far as transfer time goes.
Access and play your games
After adding your ROMs and restarting the GPi, you’ll see an icon for each system. Select a system by pressing A and then select a game.
Customizing the interface with themes
You can install various RetroPie themes to change the way the interface looks. I recommend the GMZ35 theme since it’s designed for small screens and it makes text far more readable!
Exiting a game
To exit a game and return to the RetroPie UI, press START+SELECT together.
Saving a game
Check out my guide to saving and loading saved games in RetroPie for more information.
Need help?
If you run into any issues, post in the comments section below and I’ll do my best to help you out.
Be sure to check out our RetroFlag GPi FAQ as well! There’s a ton of information in there!
Gather your hardware
Because the Retroflag GPi CASE is technically a case, it doesn’t contain a computer and relies on the tiny ~$10 Raspberry Pi Zero W computer to run everything.
In addition to the Pi Zero and the GPi itself, you’ll need a few other things including an SD card and batteries. I’ve listed everything in the parts list for this guide. Because the GPi uses three replaceable AA batteries, I recommend picking up some rechargeable AA batteries and a charger. The environment (and your wallet) will thank you.
Things used here
See allWhich Pi should I choose?
You can use either the Raspberry Pi Zero or Raspberry Pi Zero W, but I recommend the Zero W since it has onboard bluetooth and Wi-Fi.
The Raspberry Pi Foundation also sells a Raspberry Pi Zero WH, which stands for “with header” and comes with a 40-pin header pre-soldered; don’t use this one unless you have the equipment to desolder and remove that header. The GPi will not fit a Pi that has a header soldered on.
Turn off the power switch
Before you start, make sure the main power switch is in the OFF position.
Insert the micro USB extension cable
Insert the included micro USB extension ribbon cable into the Pi’s micro USB data port. This is the port closer to the center of the Pi.
Put the Raspberry Pi into the GPi cartridge
The GPi comes with a sliding cartridge — much like the original Game Boy — that houses the Raspberry Pi. The purpose of this cartridge is to connect the Raspberry Pi to the rest of the GPi, sending both power and data signals back and forth to make everything work.
Place the Pi into the cartridge housing with the ports facing up and the SD card slot facing towards you. If oriented correctly, the Pi’s Micro SD card slot should be accessible from outside the housing.
Finally, use the flathead side of the included screwdriver to secure the Pi in place using the four (4) small brass screws.
Attach the IO conversion board
The GPi’s “IO conversion board” is a small board that connects the Pi to the rest of the GPi’s circuitry. A “pogo pin” system is used to connect the Pi to this board.
What’s a pogo pin?
A pogo pin is a small spring-loaded connector. Basically, spring-loaded connectors on the IO conversion board press up against the Raspberry Pi’s GPIO (40-pin) header, thus eliminating the need to solder anything. Everything that goes on between the GPi CASE and the Pi itself happens through these pins.
Carefully lower the IO conversion board into place so that it lines up with the Pi.
Then, slide the brown cable retaining clip outward, insert the USB extension cable, and then slide the retaining clip back to secure the cable.
See the attached photo for reference.
Close the cartridge housing
Snap the cartridge housing back together and secure it using the four (4) small silver screws. This will hold the cartridge case shut while also securing the Pi to the IO board.
Slide the cartridge into place
Once everything is nice and secure, slide the cartridge into place like you would any Game Boy! Contacts in the bottom of the cartridge will make contact with the GPi’s main logic board, connecting your Pi once and for all.
Install RetroPie
Next, you’ll need to install RetroPie.
What is RetroPie?
In a nutshell, RetroPie is a software library that will allow you to load and emulate games on the GPi. If you so choose, you can also run RecalBox on the GPi instead of RetroPie. However, RetroPie is more popular and generally better supported, so that’s what I’ll recommend and cover in this guide.
To install RetroPie, download the latest SD card image labeled “Raspberry Pi 0/1” from the RetroPie downloads page. Then, flash it onto your microSD card using a tool such as Etcher.
Finally, enable SSH and connect the Pi to Wi-Fi.
Want step-by-step instructions?
I wrote a separate guide on installing RetroPie; use that guide to install RetroPie and then return here! That guide also covers steps like enabling SSH (so that you can log into the GPi from your computer to perform certain setup tasks).
If you want to learn even more about RetroPie, check out our RetroPie FAQs or visit the RetroPie howchoo interest.
Install the GPi Case patch
Because RetroPie and Recalbox output video via HDMI by default, we need to configure it to output over the GPIO header instead. Retroflag wrapped this, and other configuration settings, into a small patch file that needs to be run.
Download the patch ZIP file from the Retroflag downloads page. Unzip the file, and then:
For Windows
- In Windows Explorer, copy the entire
GPi_Case_patchfolder to the root directory of your SD card. - Open the
GPi_Case_patchfolder and double-clickinstall_patch.batto execute it. - You’re done! To undo this and output to HDMI again, run the
uninstall_patch.batfile in that folder (though I don’t know why you’d want to do this).
For Mac
- Open your SD card in Finder.
- Back up
config.txtandoverlays/dpi24.dtboby copying them somewhere safe, like abackupfolder. - From the patch zip file, copy
config.txtto the SD card’s root directory. - From the patch zip file, copy
overlays/dpi24.dtboandoverlays/pwm-audio-pi-zero.dtboto the SD card’soverlaysdirectory. - You’re done! To undo this and output to HDMI by default, replace those two files with your backups from earlier.
Insert the SD card
Safely eject the micro SD card from your computer and put it into the GPi through the SD card slot.
Add your batteries
Before adding your batteries, ensure the SAFE SHUTDOWN switch beneath the battery housing is set to ON. Then, insert the three AA batteries.
Turn the GPi on
Slide the power switch on the top of the unit to ON to boot it.
Configure the “controller”
You’ll be immediately asked to configure the controller, which is the GPi itself. Hold and press any button to start the process. Then, when prompted, press each corresponding button that appears on the screen.
The “Left shoulder” and “Right shoulder” buttons are found on the back of the unit and are denoted by 3 dots. After configuring those, press and hold any button repeatedly to skip the remaining buttons that don’t exist on this controller.
Install the safe shutdown script
To prevent data corruption, the Raspberry Pi needs to be shut down safely before it’s turned off.
Retroflag wrote a script that will do this when you toggle the power button on or off. To install it, connect to your Pi from your computer and run the following command from the retroflag-picase GitHub repo:
wget -O - "https://raw.githubusercontent.com/RetroFlag/retroflag-picase/master/install_gpi.sh" | sudo bashThis may take several minutes to run. When it finishes, it will automatically reboot your Pi. The GPi power switch will now safely turn your Pi off and on!
I recommend connecting to your Pi once more and changing your Pi’s password to something more secure.
Expand filesystem
Before adding games we’ll need to tell the Raspberry Pi to use all available space on the SD card.
To do this, navigate to the RetroPie Configuration screen, press A, and select raspi-config.
Next, scroll down and select Advanced Configuration and then Expand Filesystem.
Finally, select Finish and confirm to reboot.
Add games to the GPi
Now that your GPi is up and running, you’ll need to find and add install some retro games!
When you add games to the GPi, what you’re really doing is adding games to RetroPie. You’ll often see the term “ROM” used interchangeably with “game”; this is because each game is stored in a single ROM (read-only memory) file.
Finding GPi (RetroPie) ROMs
While you can find RetroPie ROMs on any torrent site, you shouldn’t download any copyrighted titles as this may be illegal. Check out our full guide to RetroPie ROMs to learn how to find and download RetroPie ROMs.
Installing RetroPie ROMs
After downloading a ROM or ROM pack, unzip each .zip file to reveal a single ROM file — for example, SomeGame.nes.
Once you have a ROM file, there are a few ways to transfer it to the GPi:
1. Transfer ROMs over your network
By default, the GPi will appear as a network share device/drive in both MacOS and Windows. Obviously, you’ll need to be on the same network as your Pi.
On Mac, open Finder and navigate to Locations > Network > retropie > roms. Paste each ROM into its corresponding system folder.
On Windows, open Explorer and enter RETROPIE into the address bar. Then, open the roms folder. Paste each ROM into its corresponding system folder.
2. Transfer ROMs via USB drive
To do this, you’ll need to remove the Pi from the GPi so that you can access its USB port. Then, along with a micro USB adapter, add ROMs using a USB drive. This is the fastest approach as far as transfer time goes.
Access and play your games
After adding your ROMs and restarting the GPi, you’ll see an icon for each system. Select a system by pressing A and then select a game.
Customizing the interface with themes
You can install various RetroPie themes to change the way the interface looks. I recommend the GMZ35 theme since it’s designed for small screens and it makes text far more readable!
Exiting a game
To exit a game and return to the RetroPie UI, press START+SELECT together.
Saving a game
Check out my guide to saving and loading saved games in RetroPie for more information.
Need help?
If you run into any issues, post in the comments section below and I’ll do my best to help you out.
Be sure to check out our RetroFlag GPi FAQ as well! There’s a ton of information in there!
Gather your hardware
Because the Retroflag GPi CASE is technically a case, it doesn’t contain a computer and relies on the tiny ~$10 Raspberry Pi Zero W computer to run everything.
In addition to the Pi Zero and the GPi itself, you’ll need a few other things including an SD card and batteries. I’ve listed everything in the parts list for this guide. Because the GPi uses three replaceable AA batteries, I recommend picking up some rechargeable AA batteries and a charger. The environment (and your wallet) will thank you.
Things used here
See allWhich Pi should I choose?
You can use either the Raspberry Pi Zero or Raspberry Pi Zero W, but I recommend the Zero W since it has onboard bluetooth and Wi-Fi.
The Raspberry Pi Foundation also sells a Raspberry Pi Zero WH, which stands for “with header” and comes with a 40-pin header pre-soldered; don’t use this one unless you have the equipment to desolder and remove that header. The GPi will not fit a Pi that has a header soldered on.
Gather your hardware
Because the Retroflag GPi CASE is technically a case, it doesn’t contain a computer and relies on the tiny ~$10 Raspberry Pi Zero W computer to run everything.
In addition to the Pi Zero and the GPi itself, you’ll need a few other things including an SD card and batteries. I’ve listed everything in the parts list for this guide. Because the GPi uses three replaceable AA batteries, I recommend picking up some rechargeable AA batteries and a charger. The environment (and your wallet) will thank you.
Things used here
See allWhich Pi should I choose?
You can use either the Raspberry Pi Zero or Raspberry Pi Zero W, but I recommend the Zero W since it has onboard bluetooth and Wi-Fi.
The Raspberry Pi Foundation also sells a Raspberry Pi Zero WH, which stands for “with header” and comes with a 40-pin header pre-soldered; don’t use this one unless you have the equipment to desolder and remove that header. The GPi will not fit a Pi that has a header soldered on.
Gather your hardware
Turn off the power switch
Before you start, make sure the main power switch is in the OFF position.
Turn off the power switch
Before you start, make sure the main power switch is in the OFF position.
Turn off the power switch
Insert the micro USB extension cable
Insert the included micro USB extension ribbon cable into the Pi’s micro USB data port. This is the port closer to the center of the Pi.
Insert the micro USB extension cable
Insert the included micro USB extension ribbon cable into the Pi’s micro USB data port. This is the port closer to the center of the Pi.
Insert the micro USB extension cable
Put the Raspberry Pi into the GPi cartridge
The GPi comes with a sliding cartridge — much like the original Game Boy — that houses the Raspberry Pi. The purpose of this cartridge is to connect the Raspberry Pi to the rest of the GPi, sending both power and data signals back and forth to make everything work.
Place the Pi into the cartridge housing with the ports facing up and the SD card slot facing towards you. If oriented correctly, the Pi’s Micro SD card slot should be accessible from outside the housing.
Finally, use the flathead side of the included screwdriver to secure the Pi in place using the four (4) small brass screws.
Put the Raspberry Pi into the GPi cartridge
The GPi comes with a sliding cartridge — much like the original Game Boy — that houses the Raspberry Pi. The purpose of this cartridge is to connect the Raspberry Pi to the rest of the GPi, sending both power and data signals back and forth to make everything work.
Place the Pi into the cartridge housing with the ports facing up and the SD card slot facing towards you. If oriented correctly, the Pi’s Micro SD card slot should be accessible from outside the housing.
Finally, use the flathead side of the included screwdriver to secure the Pi in place using the four (4) small brass screws.
Put the Raspberry Pi into the GPi cartridge
Attach the IO conversion board
The GPi’s “IO conversion board” is a small board that connects the Pi to the rest of the GPi’s circuitry. A “pogo pin” system is used to connect the Pi to this board.
What’s a pogo pin?
A pogo pin is a small spring-loaded connector. Basically, spring-loaded connectors on the IO conversion board press up against the Raspberry Pi’s GPIO (40-pin) header, thus eliminating the need to solder anything. Everything that goes on between the GPi CASE and the Pi itself happens through these pins.
Carefully lower the IO conversion board into place so that it lines up with the Pi.
Then, slide the brown cable retaining clip outward, insert the USB extension cable, and then slide the retaining clip back to secure the cable.
See the attached photo for reference.
Attach the IO conversion board
The GPi’s “IO conversion board” is a small board that connects the Pi to the rest of the GPi’s circuitry. A “pogo pin” system is used to connect the Pi to this board.
What’s a pogo pin?
A pogo pin is a small spring-loaded connector. Basically, spring-loaded connectors on the IO conversion board press up against the Raspberry Pi’s GPIO (40-pin) header, thus eliminating the need to solder anything. Everything that goes on between the GPi CASE and the Pi itself happens through these pins.
Carefully lower the IO conversion board into place so that it lines up with the Pi.
Then, slide the brown cable retaining clip outward, insert the USB extension cable, and then slide the retaining clip back to secure the cable.
See the attached photo for reference.
Attach the IO conversion board
Close the cartridge housing
Snap the cartridge housing back together and secure it using the four (4) small silver screws. This will hold the cartridge case shut while also securing the Pi to the IO board.
Close the cartridge housing
Snap the cartridge housing back together and secure it using the four (4) small silver screws. This will hold the cartridge case shut while also securing the Pi to the IO board.
Close the cartridge housing
Slide the cartridge into place
Once everything is nice and secure, slide the cartridge into place like you would any Game Boy! Contacts in the bottom of the cartridge will make contact with the GPi’s main logic board, connecting your Pi once and for all.
Slide the cartridge into place
Once everything is nice and secure, slide the cartridge into place like you would any Game Boy! Contacts in the bottom of the cartridge will make contact with the GPi’s main logic board, connecting your Pi once and for all.
Slide the cartridge into place
Install RetroPie
Next, you’ll need to install RetroPie.
What is RetroPie?
In a nutshell, RetroPie is a software library that will allow you to load and emulate games on the GPi. If you so choose, you can also run RecalBox on the GPi instead of RetroPie. However, RetroPie is more popular and generally better supported, so that’s what I’ll recommend and cover in this guide.
To install RetroPie, download the latest SD card image labeled “Raspberry Pi 0/1” from the RetroPie downloads page. Then, flash it onto your microSD card using a tool such as Etcher.
Finally, enable SSH and connect the Pi to Wi-Fi.
Want step-by-step instructions?
I wrote a separate guide on installing RetroPie; use that guide to install RetroPie and then return here! That guide also covers steps like enabling SSH (so that you can log into the GPi from your computer to perform certain setup tasks).
If you want to learn even more about RetroPie, check out our RetroPie FAQs or visit the RetroPie howchoo interest.
Install RetroPie
Next, you’ll need to install RetroPie.
What is RetroPie?
In a nutshell, RetroPie is a software library that will allow you to load and emulate games on the GPi. If you so choose, you can also run RecalBox on the GPi instead of RetroPie. However, RetroPie is more popular and generally better supported, so that’s what I’ll recommend and cover in this guide.
To install RetroPie, download the latest SD card image labeled “Raspberry Pi 0/1” from the RetroPie downloads page. Then, flash it onto your microSD card using a tool such as Etcher.
Finally, enable SSH and connect the Pi to Wi-Fi.
Want step-by-step instructions?
I wrote a separate guide on installing RetroPie; use that guide to install RetroPie and then return here! That guide also covers steps like enabling SSH (so that you can log into the GPi from your computer to perform certain setup tasks).
If you want to learn even more about RetroPie, check out our RetroPie FAQs or visit the RetroPie howchoo interest.
Install RetroPie
Install the GPi Case patch
Because RetroPie and Recalbox output video via HDMI by default, we need to configure it to output over the GPIO header instead. Retroflag wrapped this, and other configuration settings, into a small patch file that needs to be run.
Download the patch ZIP file from the Retroflag downloads page. Unzip the file, and then:
For Windows
- In Windows Explorer, copy the entire
GPi_Case_patchfolder to the root directory of your SD card. - Open the
GPi_Case_patchfolder and double-clickinstall_patch.batto execute it. - You’re done! To undo this and output to HDMI again, run the
uninstall_patch.batfile in that folder (though I don’t know why you’d want to do this).
For Mac
- Open your SD card in Finder.
- Back up
config.txtandoverlays/dpi24.dtboby copying them somewhere safe, like abackupfolder. - From the patch zip file, copy
config.txtto the SD card’s root directory. - From the patch zip file, copy
overlays/dpi24.dtboandoverlays/pwm-audio-pi-zero.dtboto the SD card’soverlaysdirectory. - You’re done! To undo this and output to HDMI by default, replace those two files with your backups from earlier.
Install the GPi Case patch
Because RetroPie and Recalbox output video via HDMI by default, we need to configure it to output over the GPIO header instead. Retroflag wrapped this, and other configuration settings, into a small patch file that needs to be run.
Download the patch ZIP file from the Retroflag downloads page. Unzip the file, and then:
For Windows
- In Windows Explorer, copy the entire
GPi_Case_patchfolder to the root directory of your SD card. - Open the
GPi_Case_patchfolder and double-clickinstall_patch.batto execute it. - You’re done! To undo this and output to HDMI again, run the
uninstall_patch.batfile in that folder (though I don’t know why you’d want to do this).
For Mac
- Open your SD card in Finder.
- Back up
config.txtandoverlays/dpi24.dtboby copying them somewhere safe, like abackupfolder. - From the patch zip file, copy
config.txtto the SD card’s root directory. - From the patch zip file, copy
overlays/dpi24.dtboandoverlays/pwm-audio-pi-zero.dtboto the SD card’soverlaysdirectory. - You’re done! To undo this and output to HDMI by default, replace those two files with your backups from earlier.
Install the GPi Case patch
Insert the SD card
Safely eject the micro SD card from your computer and put it into the GPi through the SD card slot.
Insert the SD card
Safely eject the micro SD card from your computer and put it into the GPi through the SD card slot.
Insert the SD card
Add your batteries
Before adding your batteries, ensure the SAFE SHUTDOWN switch beneath the battery housing is set to ON. Then, insert the three AA batteries.
Add your batteries
Before adding your batteries, ensure the SAFE SHUTDOWN switch beneath the battery housing is set to ON. Then, insert the three AA batteries.
Add your batteries
Turn the GPi on
Slide the power switch on the top of the unit to ON to boot it.
Turn the GPi on
Slide the power switch on the top of the unit to ON to boot it.
Turn the GPi on
Configure the “controller”
You’ll be immediately asked to configure the controller, which is the GPi itself. Hold and press any button to start the process. Then, when prompted, press each corresponding button that appears on the screen.
The “Left shoulder” and “Right shoulder” buttons are found on the back of the unit and are denoted by 3 dots. After configuring those, press and hold any button repeatedly to skip the remaining buttons that don’t exist on this controller.
Configure the “controller”
You’ll be immediately asked to configure the controller, which is the GPi itself. Hold and press any button to start the process. Then, when prompted, press each corresponding button that appears on the screen.
The “Left shoulder” and “Right shoulder” buttons are found on the back of the unit and are denoted by 3 dots. After configuring those, press and hold any button repeatedly to skip the remaining buttons that don’t exist on this controller.
Configure the “controller”
Install the safe shutdown script
To prevent data corruption, the Raspberry Pi needs to be shut down safely before it’s turned off.
Retroflag wrote a script that will do this when you toggle the power button on or off. To install it, connect to your Pi from your computer and run the following command from the retroflag-picase GitHub repo:
wget -O - "https://raw.githubusercontent.com/RetroFlag/retroflag-picase/master/install_gpi.sh" | sudo bashThis may take several minutes to run. When it finishes, it will automatically reboot your Pi. The GPi power switch will now safely turn your Pi off and on!
I recommend connecting to your Pi once more and changing your Pi’s password to something more secure.
Install the safe shutdown script
To prevent data corruption, the Raspberry Pi needs to be shut down safely before it’s turned off.
Retroflag wrote a script that will do this when you toggle the power button on or off. To install it, connect to your Pi from your computer and run the following command from the retroflag-picase GitHub repo:
wget -O - "https://raw.githubusercontent.com/RetroFlag/retroflag-picase/master/install_gpi.sh" | sudo bashThis may take several minutes to run. When it finishes, it will automatically reboot your Pi. The GPi power switch will now safely turn your Pi off and on!
I recommend connecting to your Pi once more and changing your Pi’s password to something more secure.
Install the safe shutdown script
Expand filesystem
Before adding games we’ll need to tell the Raspberry Pi to use all available space on the SD card.
To do this, navigate to the RetroPie Configuration screen, press A, and select raspi-config.
Next, scroll down and select Advanced Configuration and then Expand Filesystem.
Finally, select Finish and confirm to reboot.
Expand filesystem
Before adding games we’ll need to tell the Raspberry Pi to use all available space on the SD card.
To do this, navigate to the RetroPie Configuration screen, press A, and select raspi-config.
Next, scroll down and select Advanced Configuration and then Expand Filesystem.
Finally, select Finish and confirm to reboot.
Expand filesystem
Add games to the GPi
Now that your GPi is up and running, you’ll need to find and add install some retro games!
When you add games to the GPi, what you’re really doing is adding games to RetroPie. You’ll often see the term “ROM” used interchangeably with “game”; this is because each game is stored in a single ROM (read-only memory) file.
Finding GPi (RetroPie) ROMs
While you can find RetroPie ROMs on any torrent site, you shouldn’t download any copyrighted titles as this may be illegal. Check out our full guide to RetroPie ROMs to learn how to find and download RetroPie ROMs.
Installing RetroPie ROMs
After downloading a ROM or ROM pack, unzip each .zip file to reveal a single ROM file — for example, SomeGame.nes.
Once you have a ROM file, there are a few ways to transfer it to the GPi:
1. Transfer ROMs over your network
By default, the GPi will appear as a network share device/drive in both MacOS and Windows. Obviously, you’ll need to be on the same network as your Pi.
On Mac, open Finder and navigate to Locations > Network > retropie > roms. Paste each ROM into its corresponding system folder.
On Windows, open Explorer and enter RETROPIE into the address bar. Then, open the roms folder. Paste each ROM into its corresponding system folder.
2. Transfer ROMs via USB drive
To do this, you’ll need to remove the Pi from the GPi so that you can access its USB port. Then, along with a micro USB adapter, add ROMs using a USB drive. This is the fastest approach as far as transfer time goes.
Add games to the GPi
Now that your GPi is up and running, you’ll need to find and add install some retro games!
When you add games to the GPi, what you’re really doing is adding games to RetroPie. You’ll often see the term “ROM” used interchangeably with “game”; this is because each game is stored in a single ROM (read-only memory) file.
Finding GPi (RetroPie) ROMs
While you can find RetroPie ROMs on any torrent site, you shouldn’t download any copyrighted titles as this may be illegal. Check out our full guide to RetroPie ROMs to learn how to find and download RetroPie ROMs.
Installing RetroPie ROMs
After downloading a ROM or ROM pack, unzip each .zip file to reveal a single ROM file — for example, SomeGame.nes.
Once you have a ROM file, there are a few ways to transfer it to the GPi:
1. Transfer ROMs over your network
By default, the GPi will appear as a network share device/drive in both MacOS and Windows. Obviously, you’ll need to be on the same network as your Pi.
On Mac, open Finder and navigate to Locations > Network > retropie > roms. Paste each ROM into its corresponding system folder.
On Windows, open Explorer and enter RETROPIE into the address bar. Then, open the roms folder. Paste each ROM into its corresponding system folder.
2. Transfer ROMs via USB drive
To do this, you’ll need to remove the Pi from the GPi so that you can access its USB port. Then, along with a micro USB adapter, add ROMs using a USB drive. This is the fastest approach as far as transfer time goes.
Add games to the GPi
Access and play your games
After adding your ROMs and restarting the GPi, you’ll see an icon for each system. Select a system by pressing A and then select a game.
Customizing the interface with themes
You can install various RetroPie themes to change the way the interface looks. I recommend the GMZ35 theme since it’s designed for small screens and it makes text far more readable!
Exiting a game
To exit a game and return to the RetroPie UI, press START+SELECT together.
Saving a game
Check out my guide to saving and loading saved games in RetroPie for more information.
Access and play your games
After adding your ROMs and restarting the GPi, you’ll see an icon for each system. Select a system by pressing A and then select a game.
Customizing the interface with themes
You can install various RetroPie themes to change the way the interface looks. I recommend the GMZ35 theme since it’s designed for small screens and it makes text far more readable!
Exiting a game
To exit a game and return to the RetroPie UI, press START+SELECT together.
Saving a game
Check out my guide to saving and loading saved games in RetroPie for more information.
Access and play your games
Need help?
If you run into any issues, post in the comments section below and I’ll do my best to help you out.
Be sure to check out our RetroFlag GPi FAQ as well! There’s a ton of information in there!
Need help?
If you run into any issues, post in the comments section below and I’ll do my best to help you out.
Be sure to check out our RetroFlag GPi FAQ as well! There’s a ton of information in there!