Skip to content

ALLRiPPED/tampo

Repository files navigation

Depricated

TAMPO: Theme And Music Plus Overlay v1.20

Install Preparations!

I ran into an issue with this being installed to a fresh vanilla img of RetroPie v4.7.1, it has not generated the nessasary config files
that this install script is looking for, so make sure you have atleast played one game and installed and set atleast one theme on your retropie.
And no before you ask, the default theme, Carbon, does not count you have to install atleast a second theme then set it.
And then the es_settings.cfg will automatically be generated
plus it would not hurt to run sudo apt update -y && sudo apt upgrade -y

One Line Install

 curl -sSL https://git.io/JDfjg | bash

or

 wget -O - https://git.io/JDfjg | bash

If you would like to manually install this script:

 sudo apt-get install omxplayer python3-pygame python-pygame mpg123 imagemagick python-urllib3 libpng12-0 fbi python-pip python3-pip python3-psutil

&

 pip install requests gdown

then

 git clone --branch tampov1.10 https://github.com/ALLRiPPED/tampo.git
 cd tampo
 sudo chmod +x Quick_TAMPO_Install.sh
 ./Quick_TAMPO_Install.sh

This will install all the files for the bgm script, themes, music, videoloading and splash screens!

More Information

This is a script that is similar to Kio Diekin's theme and music script, but mine was made only by me and this is in no way the works he premeries in this video:
https://www.youtube.com/watch?v=I0nUTGeLT8o

This installs all the associated themes, background music, videoloadingscreens, and of course the splashscreens and exitscreens
for Halloween and Christmas Holiday themes and Stranger Things Theme plus my own concoction theme set Carbonite, for now, hopefully more to come!
This also installs the BGM Control Script from here retropie_music_overlay as this is the complete
merging of the BGM as well as the original idea for the TAMPO.
It will do the full shabang, that means when you run tampo from your retropie menu and choose a theme it will restart emulationstation, not the pi itself,
so if you want to see the splashscreen you will have to manually reboot the pi, but you can turn off the exit splashes and the videoloading screens.

This is open source and free for anyone to use, just drop me a little credit is all I ask.
The script has a one line install, so no need to clone a repo (it does all that for you).
Now if you have any sugesstions or addition please fork the repo and hit me up with a pull request.

Preview

Future Plans

Not Done. Not Done Add more Holiday based themes.

Not Done. Not Done Adding other themes of the like with the full shabang; splash, videoloading, music, etc.

Not Done. Not Done Adding the ability to the control script to change overlay and text colors.

Color Section

This is where you will find the info you will need to change the colors of the background and font on the Overlay.
At the moment I have a color table here with color names that can be typed in to the RPBGMO bash gui, right now they have to be typed in cause getting bash script color is not as easy to code as you would think.

CONFIG SECTION

Edit these manually to adjust the script to your needs:
startdelay = 0 # Value (in seconds) to delay audio start. If you have a splash screen with audio and the script is playing music over the top of it, increase this value to delay the script from starting.

maxvolume = 0.50
volumefadespeed = 0.02
restart = True # If true, this will cause the script to fade the music out and -stop- the song rather than pause it.
startsong = "" # if this is not blank, this is the EXACT, CaSeSeNsAtIvE filename of the song you always want to play first on boot.

###Overlay Config###

overlay_enable = True # Enable or disable the overlay
overlay_fade_out = True # Change to "False" to have the overlay remain on the screen until an emulator/application is launched
overlay_fade_out_time = 5 # Hide the overlay after X seconds
overlay_pngview_location = '/usr/local/bin/pngview'
overlay_background_color = 'black'
overlay_text_color = 'white'
overlay_text_font = 'FreeSans'
overlay_tmp_file = '/dev/shm/song_title.png
overlay_rounded_corners = False #Set to "True" round the corners of the overlay
overlay_size = '600x64'
overlay_x_offset = '0'
overlay_y_offset = '0'

Credits, cause they are that important

Props to Livewire for the original script: https://retropie.org.uk/forum/topic/347/background-music-continued-from-help-support
Special thanks to AndrewFromMelbourne for pngview: https://github.com/AndrewFromMelbourne/raspidmx
RetroPie forum thread: https://retropie.org.uk/forum/topic/16458/modified-background-music-script-with-added-overlays
BGM Overlay code added by madmodder123
BGM.py Version 1.01 - Changed song_title.png to write to RAM instead of the SD Card (Thanks zerojay!)
BGM.py Version 1.60 - Added one line install and control scripts by thepitster
TAMPO Version 1.20 - Total script rewrite thanks to a big help from the Supreme Team

TAMPO Credits

The Halloween theme, music, splash, and videoloading screens are from the build [32GB]-Halloween.Candy.RPI4.2gb.4gb-Scoony and DB Project
The Christmas theme, music, splash, and videoloading screens are from the build [32gb]-Christmas.Pi.RPI4-Scoony.Hursty, though I did shorten the splashscreen down from 2 minutes 38 seconds to 1 minute 40 seconds
Diablos Arcade by the Retro-Devils
Pistolero by Kio Dieken
Dwayne Hurst for every thing he has done with themes, which some are included in tampo.
Version 1.00 - thepitster
Version 1.05 - Added Devil Chromey from the Diablos Arcade Build by The Retro-Devils
Version 1.10 - Added Pistolero From Return Of Pistolero Build by Kio Dieken
Fixed quite a few script errors and tweaked the install scripts.
Version 1.20 - Added Pleasure Paradise From Peasure Paradise Build by MBM
Fixed script errors and tweaked the install scripts. Also added Supreme Team themeset.