Modified Background Music Script with added overlays!
-
Hey @madmodder123 thanks for working on such a nice addition to my retropie build, however, I would like to pick your brain a bit since I'm having. Issues with it.
I followed adding your script to the PyScripts folder and switched the previous music script I had with your updated one, despite this fact, there's no song_title.png being created ever and I can't seem to find out what the problem is, would you mind help me figuring it out?
Music plays fine so I'm sure I did THAT right at least.
Best regards
EDIT: Found out why it wasn't working, the script point to /usr/bin/pngview where as @zerojay mentioned at a previous comment the following:
Here's how I handled it, starting inside the git clone of that repo:cd lib
make
cp libraspidmx.so* /usr/local/bin
nano /etc/ld.so.conf
(type /usr/local/lib into a new line alone, save and quit nano
ldconfig
cd ../pngview
make
cp pngview /usr/local/bin/
ldd /usr/local/bin/pngview (if you did everything right here, you should see all required libraries are present and accounted for)As you can see within these instructions pngview points at /usr/local/bin
-
I'm having a similar problem, I get the background music but I never get the overlay or images created, I double checked and pngview is in /usr/local/bin and the command is executable with out error from the terminal. How can I troubleshoot this script?
-
@war3zlod3r
I wrote a script that gets everything all set up for ya!
https://github.com/madmodder123/retropie_music_overlay/blob/master/BGM_Install.sh
Just download that, make it executable and then run it and it should work just fine, I just tested it on a fresh install :) -
I updated the main post with the script and more instructions :)
-
I updated the script so it makes a menu item that lets you instantly enable/disable the BGM :)
-
Thanks a lot, all is perfect for me now :D
-
any way to music change in selection of plataforms?
-
@lokize What do you mean?
-
@madmodder123 for example: when i select snes in main menu of plataforms play a super mario sound...
-
@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
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.