How can i add Menu (MP3) Music to my Retropie on Linux Xubuntu 18.04 LTS ? (Solved)
-
I have a working raspberry pi 3b with menu music,
i followed some googled docs on how to get the retropie
to have (mp3) background menu music playing with use of
mpg123 and editing bash.rc runcommand etc,now i also have retropie installed on a linux Xubuntu 18.04LTS
machine, but i cannot seem to get menu music in it. i dont
know what to do. can anyone helpme out -
What guide did you follow and what steps did you do from the said guide ?
-
Hi, i use this script on Lubuntu 18.04.3
https://retropie.org.uk/forum/topic/347/background-music-continued-from-help-support
And here: https://retropie.org.uk/forum/topic/347/background-music-continued-from-help-support/43
its another, your choices.Sorry my bad english, i am a Brazilian.
-
@mitu for my raspberry pi is used the following steps
https://retropie.org.uk/forum/topic/9133/quick-and-easy-guide-for-adding-music-to-emulatonstation-on-retropie-noob-friendly
and on my raspberry pi everything works well,
however i do not know how to get this working likewise
with retropie installed on top of an os like Xubuntu in my case. -
i found out how to do it ! i used this link and adjusted it;
https://retropie.org.uk/forum/topic/9133/quick-and-easy-guide-for-adding-music-to-emulatonstation-on-retropie-noob-friendly
used partial above link (adjusted for Xubuntu)i did the following;
install mpg123 from synaptic package manager !
i copied the mp3 music to my home/user/bgm folder
then i went to opt/retropie/configs/all
and i created the following 3 files in this folder;
runcommand-onend.sh and runcommand-onstart.sh
and a file start.shstart.sh contains
while pgrep omxplayer >/dev/null; do sleep 1; done mpg123 -Z /home/user/bgm/*.mp3 >/dev/null 2>&1 & gnome-terminal --full-screen --hide-menubar -e emulationstation
Do not forget to replace your username with ´user´ in the line /home/user/bgm/*.mp3
runcommand-onend.sh contains
pkill -CONT mpg123
runcommand-onstart.sh contains
pkill -STOP mpg123
then i ran in a terminal in the /opt/retropie/configs/all folder
chmod +x *.sh
and now i can start retropie with menu music in (x)ubuntu
with the following command in a desktop starter/opt/retropie/configs/all/start.sh
omly thing is that the music keeps playing afer shutting down
emulationstation/retropie. so i usepkill mpg123
in a terminal to stop the music.
-
@SingingCoyote13 Does this method work with
ports
? IIRC, it skips runcommand. I could be wrong. -
@hooperre said in How can i add Menu (MP3) Music to my Retropie on Linux Xubuntu 18.04 LTS ?:
@SingingCoyote13 Does this method work with
ports
? IIRC, it skips runcommand. I could be wrong.You are wrong
-
@hooperre dont know if it works with ports, my retropie version is latest 4.5.1 latest setup-script and runs on linux Xubuntu 18.04LTS.
btw, this is exact how it worked on my linux pc
its exact what i did to get music in the menus,
maybe do not forget to install mpg123 from synaptic package manager
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.