Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Henson123 on March 25, 2008, 11:40:58 am

Title: Multiple event sounds in Mamewah?
Post by: Henson123 on March 25, 2008, 11:40:58 am
Mamewah has been working brilliantly for my cabinet, but I'm wondering - is there a way to have multiple options for which sounds are played for events such as startup or ending a game?  I'd really like for the computer to pick one from a select list at random - it would make the experience much more interesting.  I'm planning on using the Portal turret voices, which are perfect.

Any ideas?
Title: Re: Multiple event sounds in Mamewah?
Post by: Minwah on March 26, 2008, 11:28:11 am
You can have different sounds per layout or theme (ie emulator or list specific), but there is no option to pick from a selection of sounds without changing theme (or emulator/list).
Title: Re: Multiple event sounds in Mamewah?
Post by: MPTech on March 31, 2008, 10:57:24 pm
Minwah,
  I tried to get the sounds to work once before when it the emu changed, but was unsuccesful, can you explain?
(btw, I do have it working for starting and stopping MAMEWAH)
Title: Re: Multiple event sounds in Mamewah?
Post by: Minwah on April 01, 2008, 05:08:15 am
I tried to get the sounds to work once before when it the emu changed, but was unsuccesful, can you explain?
(btw, I do have it working for starting and stopping MAMEWAH)

So you must have an intro.wav and exit.wav for the sounds you have working already...just put a file called 'emuchange.wav' in the same folder as these existing sounds.

I just added some info to one of the docs as I noticed the filenames for these sounds were not specified before:

Quote
\config\emuname\themename\soundfilename-0.wav
\config\emuname\themename\soundfilename.wav
\config\emuname\soundfilename-0.wav
\config\emuname\soundfilename.wav
\config\soundfilename.wav

Note 'soundfilename' can be any of the following:

intro      played when Mamewah is launched
gamelaunch   played when game is launched
applaunch   played when application is launched
gameexit   played when game is quit
appexit      played when application is quit
groupchange   played when emulator 'group' is selected
emuchange   played when emulator is selected
listchange   played when games list is selected
options      played when options screen is launched/quit
optionselect   played when menu item is selected
navigate   played when game navigation (up/down etc) occurs
error      played when program error occurs
exit      played when Mamewah is quit