RetroPie: A music script that works without disrupting Home Consoles, Handhelds and Ports?
-
So the reason I am making this is because there was a music script I had. It allowed you to have music and it faded when you played any game, but with Ports and menus, the music hadn't stopped at all, it kept going on. It ruined the games I played, so is there a script that doesn't disrupt Ports and setups?
System: Pi 3
Power Supply: 2.5V
Version: 4.2
Other: USB used for ROMs, ROMs disappear when disconnected. -
what script are you running. IE where did you find it.
the two that are here are
https://retropie.org.uk/forum/topic/347/background-music-continued-from-help-support
-
-
ok there are two things that you can do here.
one edit the list that is in the script that you are running so it sees the game that it is not stopping for.
#TODO: Fill in all of the current RetroPie Emulator process names in this list. emulatornames = ["sdlpop","drastic","retroarch","supertux","ags","uae4all2","uae4arm","capricerpi","linapple","stella","hurrican","vice","pifba","osmose","gpsp","jzintv","basiliskll","cavestory","dgen","openmsx","mupen64plus","gngeo","dosbox","ppsspp","simcoupe","scummvm","snes9x","pisnes","frotz","fbzx","fuse","gemrb","cgenesis","zdoom","eduke32","love","alephone","openbor","openttd","opentyrian","cannonball","tyrquake","ioquake3","residualvm","xrick","uqm","stratagus","chocolate-doom","wolf4sdl-spear","solarus","rott","wolf4sdl-gt-v14","wolf4sdl","wolf3d","wolf4sdl-sw-v14","Wolfenstein 3D","drastic","supertux","heboris","breaker","freedink","openblok","pingus"]
is what the script that you are using looks like. you will need to find out what the port you are playing is called when the system calls it so you can add it to the list.
or
use a different script
https://retropie.org.uk/forum/topic/9133/quick-and-easy-guide-for-adding-music-to-emulatonstation-on-retropie-noob-friendlythe link above it for the different script.
-
Well, thanks, that's very helpful. I also want to change the sound when you move options, like the PSP. Carbon has this feature, and I want the sound to be better.
-
that part i dont know how to help, so best of luck.
maybe someone else can point you in the right direction. -
@ExarKunIv said in RetroPie: A music script that works without disrupting Home Consoles, Handhelds and Ports?:
that part i dont know how to help, so best of luck.
maybe someone else can point you in the right direction.Ok, the Github page of Carbon allows custom sounds. The problem is that I have no clue how I will be able to add custom sounds. Unless...
-
Here, @Nismo talks about adding custom sounds to a theme:
https://retropie.org.uk/forum/post/66038And here @lilbud gives a couple examples of sounds to use:
https://retropie.org.uk/forum/post/66058 -
I'ts not the same to add background music, than adding sounds, but for sounds I have all of this working in my theme:
Example for sound when switching between systems (need a ES version that supports it):
<view name="system"> <sound name="systemSound"> <path>./art/systemsound.wav</path> </sound> </view>
Example for gamelist scrolling sound (working in all ES versions):
<textlist name="gamelist"> <scrollSound>./art/listscroll.wav</scrollSound> </textlist>
Example for launching game sound (working in all ES versions)
<view name="basic, detailed, grid, video"> <sound name="launch"> <path>./art/launch.wav</path> </sound> </view>
As you can see it's pretty simple to add sounds... I hope this helps.
Regards.
-
@Nismo said in RetroPie: A music script that works without disrupting Home Consoles, Handhelds and Ports?:
I'ts not the same to add background music, than adding sounds, but for sounds I have all of this working in my theme:
Example for sound when switching between systems (need a ES version that supports it):
<view name="system"> <sound name="systemSound"> <path>./art/systemsound.wav</path> </sound> </view>
Example for gamelist scrolling sound (working in all ES versions):
<textlist name="gamelist"> <scrollSound>./art/listscroll.wav</scrollSound> </textlist>
Example for launching game sound (working in all ES versions)
<view name="basic, detailed, grid, video"> <sound name="launch"> <path>./art/launch.wav</path> </sound> </view>
As you can see it's pretty simple to add sounds... I hope this helps.
Regards.
Thanks, I understand how to add sounds, but i'm not sure where I put my new .wav sound? I know it may look easy to some people, but I have no clue how. It needs to be easy to access on my computer (Mac) so that I can conveniently put my audio files without needing to use a command prompt to get it there.
-
For example in this case:
<textlist name="gamelist"> <scrollSound>./art/listscroll.wav</scrollSound> </textlist>
The wav sound it's inside YourThemeNameFolder/art/
You can place it whatever you want for example:
<scrollSound>./sounds/listscroll.wav</scrollSound>
The wav file must be inside YourThemeNameFolder/sounds/
-
@Allanbuzzy
There's 2 places you can have themes installed to:A global location
/etc/emulationstation/themes/
A local user location
~/.emulationstation/themes/
An example using the Carbon Theme of where an audio file is located
/etc/emulationstation/themes/art/systemsound.wav
-
@backstander said in RetroPie: A music script that works without disrupting Home Consoles, Handhelds and Ports?:
@Allanbuzzy
There's 2 places you can have themes installed to:A global location
/etc/emulationstation/themes/
A local user location
~/.emulationstation/themes/
An example using the Carbon Theme of where an audio file is located
/etc/emulationstation/themes/art/systemsound.wav
Yes, thanks for the folder locations, but the problem is that I use Samba shares, and everyone else uses Terminal. But it's not for the same reason. All I want to do is change some system sounds, that's it, nothing more, nothing less. I know, it's on the etc folder, and it's on root, but how do I access .root on Samba?
-
@Allanbuzzy you can't unless you add it to the
smb.conf
file. This is located at/etc/samba/smb.conf
-
Yes, okay so I have a launch.wav folder, as well as the carbon.xml text in my folder. I'm wondering however, I put my launch script sound at the bottom of carbon.xml, as well as my systemsound.wav, however I hear nothing. So what I did was that I put it in another place, which messed up the theme to basically just white background with text of the system. Does anyone know how to do this on the theme Carbon? Because I sure don't.
EDIT: I did revert changes, I removed the launch and systemsound if you were wondering.
-
@Allanbuzzy Allan, don't get me wrong but... every post you make here you just comes across in the wrong way. Please learn how to ask for assistance from the community in a gracious way.
-
@AlexMurphy said in RetroPie: A music script that works without disrupting Home Consoles, Handhelds and Ports?:
@Allanbuzzy Allan, don't get me wrong but... every post you make here you just comes across in the wrong way. Please learn how to ask for assistance from the community in a gracious way.
Seriously, I came here for support alright? How do I add a launch.wav sound to RetroPie's Carbon theme? I have carbon.xml on, i'm not sure where to place it?
-
@Allanbuzzy Again with the bad attitude... I think you just proved my point.
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.