Background Music [Continued from Help/Support]
-
yep i know,
i have it both ways, for sh#t and gigglesand i checked the runcommand.log
the it comes up with nds and then drastic right after.some games the music.py script does not see. so far i know of three
-
Hey, thanks for the tip. I did exactly what you said added "drastic" As the very last name In the emulator name list in music.py and it works! :)
I used
Sudo mc to locate the file then
nano to edit it.So far I have tried new super Mario world and surfs up, and the music shuts down.
Now I won't be keeping my gf up at 4am with that antikdote track hahaha.
My next issue, is for some reason the file doesn't save in New super Mario world. I gotta search through the forums for that.
-
Hey, it worked for me. I'm using the latest Retro pie script. And latest version of drastic. Try that maybe.
-
@ExarKunIv
Maybe try added "drastic" as the very last emulator on the list like @tmak did? -
i know that im running 4.2.1 now, and i have "drastic" as the last one...but i don't think i updated the emulator. ill give that a shot
EDIT
ok weird it is now working. all i did was move "drastic" to be the first game in the list -
@dragon3gabriel Hey man. There is alot to read with over 200 posts on this particular subject, but I was wondering if you found out how to get the BGM script to mute the sound when using the PPSSPP emulator? I did. In the script under emulators just put in "PPSSPPSDL" and reboot.
The emulators execution is that name and causes the script to acknowledge and mute accordingly.Thanks,
Anasazi -
So I am just seeing all this for the first time. I am putting together an NES classic styled project, that uses this script to play menu music, but I was wondering if there is a way to (from a menu or something) select the music playing as a choice. Some people might not want to have it. I am planning on giving these away at functions and meetings and stuff for people to enjoy, and trying to tweak the thing to make it as idiot-proof as possible. I would like to remove any configuration menus and such but also somehow give the user a way to toggle to menu music off if they choose.
Any ideas?
-
re: Background Music [Continued from Help/Support] coolcv
hello! the background music does not turn off when going into coolcv for colecovision games. i have read that sometimes emulators need to be added to the emulator list for this to work. can you give some guidance on finding this 'list'?? thanks!!
-
@vinnyl69
https://retropie.org.uk/forum/post/68239
You would need to edit yourmusic.py
script and addcoolcv_pi
(or whatever the emulator's process name is) to the "emulatornames" list:#TODO: Fill in all of the current RetroPie Emulator process names in this list. emulatornames = ["retroarch","ags", ........ ,"coolcv_pi"]
I've had better results added them to the end of the list.
-
@backstander
worked! was a lot more simple than i thought.... did not realize the file could be opened in notepad. thank you!!!!!!!!!!!!!!!!!!!!!! -
@Livewire i cannot get the music to stop in coolcv by adding it to line 25. ive tried ,"coolcv" ,"coleco" and ,"colecovision"to no avail.
-
-
I had to make an edit to rc.local for my PS3 controller to work and my BGM has stopped working, just wondering if someone could give this a once over and point me in the right direction.
if [ "$_IP" ]; then printf "My IP address is %s\n" "$_IP" fi (sudo python /home/pi/RetroPie/roms/music/script/retropie_bgm.py) & sixad --start & exit 0
-
try moving sixad to be before your music script
like this
if [ "$_IP" ]; then printf "My IP address is %s\n" "$_IP" fi sixad --start & (sudo python /home/pi/RetroPie/roms/music/script/retropie_bgm.py) & exit 0
thats all i got, i dont use a ps3 controller so i cant try it out
-
Went through this entire thread and not a single person simply answered the question of how to get Music to STOP playing when launching something from Ports or in my case Launching Kodi from its own system menu. Could anyone just give simple instructions on what lines to add to where?
-
Where on the system is Music.py located?
-
@vinnyl69
Did you ever get an answer on the how add an emulator (in my case Kodi as it's own system) to stop the background music when it's launched? -
to get kodi to stop it is a two part thing. one you need to make sure that it is added to the list of systems that the music script is looking for, that is if you are useing the way that @Livewire made.
that list is on line 25 of the script.
and if you followed the steps to make kodi its own system you need to change one thing.
when you make the kodi.sh you need to change this
#!/bin/bash sudo Kodi
to this
#!/bin/bash "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 _PORT_ "kodi" ""
once that is done it will music will stop
-
Thanks I'll try the second part. Unfortunately I can't find the "list" you mention anywhere. I used WinSCP' search function and it did not find music.py anywhere. Where is this supposed to be located?
-
I used WinSCP' search function and it did not find music.py anywhere. Where is this supposed to be located?
RetroPie doesn't come with the
music.py
script, you put that script on your Raspberry Pi when following the directions on the first post. @Livewire actually calls itTest1.py
but you can give it any name you want (likemusic.py
for example).Execute the command `sudo nano /home/pi/PyScripts/Test1.py` replacing `Test1.py` with the (hopefully better) name you've saved the script as. At the top is a small section labeled "CONFIG".
https://retropie.org.uk/forum/topic/347/background-music-continued-from-help-support
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.