Modified Background Music Script with added overlays!
-
@lokize I don't think you can do that in EmulationStation, I think it is a feature in Attract Mode though
-
@madmodder123 in recalbox i using this feature with emulation Station, but i prefer Retropie
-
@madmodder123 please can share an install guide as I've not been able to install the script. When I tried the run command it failed for me.
-
@lokize Out of curiosity, why do you prefer RetroPie over Recalbox ?
-
@mitu Recalbox consume ALL memory of my Rpi3 B And left only 10% of ram, i try fresh install but not solve, Retropie consume 20% of ram running games...
-
@gleam2003 You can Share this script?
-
problem i have is the: /usr/local/bin/pngview procces issue and
(sudo python /home/pi/BGM.py) & is not working for me on reboot.
help would be appreciated, before i sack this off.
-
@legacy said in Modified Background Music Script with added overlays!:
sudo python /home/pi/BGM.py
try "sudo python /home/pi/BGM.py" in the command line and tell me if it works.
if not try running "sudo bash BGM_Install.sh" when installing the script.
Please post the console output of any failures/issues, it makes things much easier :) -
sudo python works, but i still get same result no music unless i turn toggle switch on then off.
i get a pngview process error, when launching a game and since installing the script a gamelist.xml error on startup
-
Please post your /etc/rc.local file.
Also the gamelist.xml issue sounds unrelated to this script -
The gamelist issue happens every time I install the script. I have a backup image, which I have just restored and is working fine. I have tried this about 6 times now and I have decided to sack it off.
I managed to sort the gamelist issue by copying the file back.
My RC local file is also fine. I think there maybe a problem with my build as I have stripped it back.
Thanks for your time. I may come back to this music mod later down the line
-
@madmodder123 Wow this script is great!! I've got it running with over 20 songs and it does a great job of randomizing everything. I was wondering if there is a way to hide the text that shows on the left side when you launch or quit a rom. This text states that the music is stopping or starting back up. Thanks again for doing this!
-
@legacy @MochaJoesFavor
I fixed the gamelist issue and the console output issue guys :)
Just took the time to make the script smarter and then tried it out on a fresh install :D
Just make sure you run the script as root ("sudo ./BGM_Install.sh")
Let me know if you find any more issues! -
@madmodder123 , okay il give it another bash thank you.
-
the error i get now when i launch a game
is /usr/local/bin/png view: no process found
also editing the rc.local file is stiil not working on boot.
bare in mind, emulation station i have the launch screen disabled, so it boots into the main front end.
is there another file i could add the boot text to get the script to launch.
-
@madmodder123 Ok, i've installed on a clean build. The retropie menu looks fine, however the music does not play and I get the following error when trying to turn on/off the music.
Traceback (most recent call last):
File "/home/pi/BGM.py", line 66, in <module>
from pygame import mixer # import PyGame's music mixer
ImportError: No module named pygameAny ideas?
-
@mochajoesfavor said in Modified Background Music Script with added overlays!:
Any ideas?
Did you run the install script - as explained in the 1st post ?
-
@mitu yes I did.
-
@madmodder123 I looks like pygame and imagemagick were failing to install, so i ran "sudo apt-get update". After that they both installed and the music started working.
Everything seems to be OK now. Thanks again!!
-
@legacy make sure your rc.local file looks like this example one: https://pastebin.com/67BnuB17
Also can you run the python script from SSH and tell me what it outputs?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.