Giter VIP home page Giter VIP logo

gbz_overlay's Introduction

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?

  • adjust to the current 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
  • display battery level (charging, discharging, %, critical)
  • 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

What do I need to get it running?

  • 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
  • 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

gbz_overlay's People

Contributors

d-rez avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.