Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
warren
Newbie


Joined: 13 Mar 2008
Posts: 2

PostPosted: Thu Mar 13, 2008 4:27 pm   

Sourcing Sounds - Trigger #PLAY
 
Using CMUD

This is what I am using:
#PLAY song.wav


Where does CMUD look for song.wav?
How can I change the source directory?


I tried
Clicking Options -> Sounds
Clicking from the left side tabs Sounds
Changing the Sounds Directory to:
c:\Program Files\CMUD\sounds\

I still cannot get the sound to play.

I tested the trigger string and it matches.
If I use #BEEP that works too.

Anyone else run into this issue and/or can assist me in getting this working?

edit:
I am keeping my sounds in c:\Program Files\CMUD\sounds\
Reply with quote
Arminas
Wizard


Joined: 11 Jul 2002
Posts: 1265
Location: USA

PostPosted: Thu Mar 13, 2008 4:33 pm   
 
I'm sure that there is a better way *I just cannot remember it right now*
But here is an example of how I play sounds in one of my packages.

#play "C:\WINDOWS\Media\rat2.wav"

So I have a rat noise that I placed in my media folder.
No you do not have to place it in the media folder I just happened to do so here.
The point being that you need the full path if you do not know the spot Cmud wants you to place the files.
I'm sure someone else will step in and tell you what folder you should put sounds in if you don't want to put the whole path...
_________________
Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Thu Mar 13, 2008 5:17 pm   
 
By default, CMUD looks for a "sounds" subdirectory within the folder that contains your MUD session package. Usually this is named for the MUD you are playing, and it depends upon where you told the installer to put your data files.

I assume you are using Windows XP because in Vista it is a very *bad* idea to store user-files in the Program Files area. But if your MUD was called "Achaea" (for example), then your session files are in "C:\Program Files\CMUD\Achaea" and it will look for sounds in that directory as well as "C:\Program Files\CMUD\Achaea\sounds".

The Sounds Directory *should* also be working, but that might be a bug, so I'll look into it. Arminas is also correct that you can always give the full path to the file. That's a good way to test if your sound file can be played. But CMUD should play anything that Windows Media Player can handle.
Reply with quote
warren
Newbie


Joined: 13 Mar 2008
Posts: 2

PostPosted: Thu Mar 13, 2008 7:42 pm   
 
I placed the files in c:\windows\media directroy and it worked.
Direct path to the CMUD directory didn't work.
Changing the source directory using the Sounds Directory appears to be buggy.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net