June 21, 2025
Description
Updated: 2023/07/09
Note: Code base is now functional in terms of splashscreen, statistics images and metadata with text wrap! I'm considering this project completed at this stage. Feel free to make improvements to it and use it in any way you'd like!
The Retro Lite CM4 docking station/hub is designed to be used with the Retro Lite CM4 gaming console however will work on any generic Linux host running RetroPie. The main goal of this project is to act as a metadata box for your RetroPie system & learn more about the games you are playing in real time - the aim is to preserve a small part of retro gaming history through this project. The project boasts the following features:
Here is the general flow of the program and how it works when power is applied:
Shows a combined image of the game being played on launch of any game
Cycle through 5 different metadata views via the push button attached to the docking station. These are:
a) Combined vector image of wheel and screenshot
b) Official game boxart
c) A randomized vector image of the real hardware the game could be played on. Includes all variants of every console (shoutouts to Ampersand for providing the high quality vectors!)
d) A description of the game, which scrolls vertically along the display
e) Other metadata, including rating, release date, developer, publisher, genre & # players per game
To install, run (won't currently work yet!)
git clone https://github.com/StonedEdge/Retro-Lite-CM4-Dock.git
sudo chmod +x install_dock.sh
./ install_dock.sh
I recommend scraping your media files via the inbuilt scraper in the RetroPie setup script menus. This will download all of the metadata required and automatically store it in /home/pi/RetroPie/roms/{system_name}/media.
a) Current game cover (boxart) - /opt/retropie/configs/all/emulationstation/downloaded_images/{system}/{rom_name}.png
b) Screenshot + combined wheel image - /home/pi/retropie/roms/{system}/media/wheel/{rom_name}.png && /home/pi/retropie/roms/{system}/media/screenshot/{rom_name}.png
c) Randomized vector images of console released - /home/pi/pico/pico-examples/pico-spi/consolevectors
d) Game description using vertical scrolling - /opt/retropie/configs/all/emulationstation/gamelists', system_name, 'gamelist.xml'
e) Game developer - /opt/retropie/configs/all/emulationstation/gamelists', system_name, 'gamelist.xml'
f) Release date - /opt/retropie/configs/all/emulationstation/gamelists', system_name, 'gamelist.xml'
g) Videos - /home/pi/retropie/roms/{system}/media/videos/{rom_name}.mp4
Pinout to connect the OLED screen to the docking station is located above. Gerbers and CAD (both docking station and separate OLED box) files will be updated soon once the software is completed.
runcommandLicense:
Creative Commons — Attribution — Share Alike