All Projects → d-rez → Gbz_overlay

d-rez / Gbz_overlay

Gameboy Zero status icon overlay display

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Gbz overlay

Anicons
Anicons: a new kind of icon fonts with baked-in animation and colors
Stars: ✭ 59 (+28.26%)
Mutual labels:  materialdesign, icons
ShaderGlass
Overlay for running GPU shaders on top of Windows desktop
Stars: ✭ 417 (+806.52%)
Mutual labels:  retro, overlay
Gbforth
👾 A Forth-based Game Boy development kit
Stars: ✭ 74 (+60.87%)
Mutual labels:  gameboy, retro
bitboy
BitBoy : a Gameboy emulator for bitbox !
Stars: ✭ 14 (-69.57%)
Mutual labels:  gameboy, retro
Esplay Retro Emulation
Retro Emulation Collection for ESPlay Hardware, an ESP32 based game console
Stars: ✭ 183 (+297.83%)
Mutual labels:  gameboy, retro
GoogleMD-Icons
Google Material Design Icons Library
Stars: ✭ 14 (-69.57%)
Mutual labels:  icons, materialdesign
Recyclomedia
Recyclomedia is a digital platform that aims to save the planet from pollution which is the major threat to the functioning of earth.
Stars: ✭ 32 (-30.43%)
Mutual labels:  retro
Cosmo Engine
A new game engine to play the MS-DOS game "Cosmo's Cosmic Adventure" on modern systems
Stars: ✭ 38 (-17.39%)
Mutual labels:  retro
Omnifocus Perspective Icons
Perspective icons designed specifically for OmniFocus 3 for Mac and iOS
Stars: ✭ 956 (+1978.26%)
Mutual labels:  icons
Fenix
Rust nightly toolchains and rust analyzer nightly for nix [[email protected]]
Stars: ✭ 29 (-36.96%)
Mutual labels:  overlay
Vscode Icons
Custom Visual Studio Code Icons
Stars: ✭ 1,021 (+2119.57%)
Mutual labels:  icons
Minimal
Minimal Linux Live (MLL) is a tiny educational Linux distribution, which is designed to be built from scratch by using a collection of automated shell scripts. Minimal Linux Live offers a core environment with just the Linux kernel, GNU C library, and Busybox userland utilities.
Stars: ✭ 1,014 (+2104.35%)
Mutual labels:  overlay
Langterm
🕹️ WebGL-based VT220 emulator, made as a learning example and frontend for a text adventure
Stars: ✭ 35 (-23.91%)
Mutual labels:  retro
Gameoverlay
🎮 GameOverlay using CEF with support for common rendering backends
Stars: ✭ 32 (-30.43%)
Mutual labels:  overlay
Gameboy Css
👾 Pure CSS GameBoy - Includes animations and the original sound 🔊
Stars: ✭ 39 (-15.22%)
Mutual labels:  gameboy
Tileiconifier
Creates tiles for most Windows 8.1 and 10 start menu icons
Stars: ✭ 957 (+1980.43%)
Mutual labels:  icons
Tft Overlay Outdated
TFT Overlay - Team and item builder for League of Legends Teamfight Tactics
Stars: ✭ 44 (-4.35%)
Mutual labels:  overlay
Coffee Gb
Gameboy emulator in Java 8.
Stars: ✭ 953 (+1971.74%)
Mutual labels:  gameboy
Masalla Icon Theme
Masalla Icon Theme for UNIX-Like OS
Stars: ✭ 34 (-26.09%)
Mutual labels:  icons
React Native Alternate Icons
React Native Alternate Icons for iOS 10.3+
Stars: ✭ 42 (-8.7%)
Mutual labels:  icons

Gameboy Zero RetroPie status overlays

This repository contains a script to display lovely slightly-transparent overlays on top of your RetroPie games and emulationstation menus

What can it do?

  • display battery level (Requires ADS1x15)
  • display WiFi state (connected/disconnected/disabled)
  • display Bluetooth state (connected/disconnected/disabled)
  • display under-voltage state
  • display warning if frequency-capped
  • display warning if throttling
  • adjust icons' position to current display resolution
  • gracefully shut down the Pi after 60s from when voltage goes below 3.2V
  • show a big imminent shutdown warning when the counter starts ticking

What do I need to get it running?

  • See installation instructions below for setup steps
  • pngview from AndrewFromMelbourne
  • material-design-icons from Google
  • Adafruit ADS1015 with Vbat on A0 (or alternative)
  • a symbolic link to overlay_icons/ic_battery_alert_red_white_36dp.png under material_design_icons_master/device/drawable-mdpi/
  • an entry in crontab to start this on boot
  • check and adjust paths in the script header if required
  • some battery readings calibration - check logs
  • some patience

But what does it look like?

Like that:

Bluetooth, wifi connected, battery discharging
Bluetooth, wifi connected, battery discharging

Bluetooth, wifi disconnected, battery discharging
Bluetooth, wifi disconnected, battery discharging

Bluetooth, wifi disabled, battery charging
Bluetooth, wifi disabled, battery charging

CPU throttled due to high temperature
CPU throttled due to high temperature

Under-Voltage, Freq-capped due to high temperature, battery critical, shutdown imminent warning
Under-Voltage, Freq-capped due to high temperature, battery critical, shutdown imminent warning - shutting down in 60s

In-game
In-game

Installation Instructions

SSH into your device or access the terminal using F4. We're assuming you already have Internet access configured

1. Install pngview by AndrewFromMelbourne

mkdir ~/src && cd ~/src
git clone --depth 1 https://github.com/AndrewFromMelbourne/raspidmx.git
cd raspidmx/pngview
make
sudo cp pngview /usr/local/bin/

2. Download Material Design Icons by Google

cd ~/src
git clone --depth 1 https://github.com/google/material-design-icons.git material-design-icons-master

3. Download the script and install dependencies:

mkdir ~/scripts && cd ~/scripts
git clone --depth 1 https://github.com/d-rez/gbz_overlay.git
ln -s ~/scripts/gbz_overlay/overlay_icons/ic_battery_alert_red_white_36dp.png ~/src/material-design-icons-master/device/drawable-mdpi/ic_battery_alert_red_white_36dp.png
sudo apt-get update
sudo apt-get install build-essential python3-dev python3-smbus python3-pip
sudo pip3 install adafruit-ads1x15

Test the script:

python3 ~/scripts/gbz_overlay/overlay.py &

You should now see overlay icons

4. Set up script autostart

Note: Do not use rc.local, it's deprecated

sudo crontab -e

Then at the bottom of the file, add the line:

@reboot python3 /home/pi/scripts/gbz_overlay/overlay.py

You can use this one-liner instead if you prefer:

(crontab -l ; echo "@reboot python3 /home/pi/scripts/gbz_overlay/overlay.py") | crontab -

5. Reboot

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].