Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Mugs on Mon 23/01/2006 02:10:26

Title: soundX.mp3 isn't recognized by AGS. (SOLVED)
Post by: Mugs on Mon 23/01/2006 02:10:26
I'm trying to play a sound (sound02.mp3) in my game, but when I test it, AGS tells me that it's unable to play sound02.wav. Of course AGS won't be able to play that file since it doesn't exist. I'm trying to play "MP3" file. In the manual, it says that AGS will look for SoundX.wav, SoundX.mp3, SoundX.ogg, etc... Why doesn't it recognize my sound file.

Can anyone help me?
Title: Re: soundX.mp3 isn't recognized by AGS.
Post by: monkey0506 on Mon 23/01/2006 02:16:16
Just to verify, are you sure that the file's name is "sound02.mp3" not "sound02.mp3.mp3"?  (Win XP) Go to Tools -> Folder Options -> View (tab), and then uncheck "Hide extensions for known file types".  If you have the extensions hidden, then the ".mp3" might be in the filename twice.
Title: Re: soundX.mp3 isn't recognized by AGS.
Post by: Mugs on Mon 23/01/2006 02:32:17
The file's name is "sound02.mp3". I'll try to convert the file to see if that fixes the problem.
Title: Re: soundX.mp3 isn't recognized by AGS.
Post by: Gilbert on Mon 23/01/2006 02:59:54
also, try: sound2.mp3

I remember the more convenient way of adding the '0' to file names were suggested, but I don't remember if that was implemented yet.
Title: Re: soundX.mp3 isn't recognized by AGS. (SOLVED)
Post by: monkey0506 on Mon 23/01/2006 03:15:20
I thought you had to use the two digit format, but based on the edited title of the thread, I'm guessing that fixed it.
Title: Re: soundX.mp3 isn't recognized by AGS. (SOLVED)
Post by: Gilbert on Mon 23/01/2006 03:32:06
I think if it's restricted to those several digit forms it would be 3 digits at least.

sound2.mp3 should always work as before, while for those sound00X.mp3 I'm not sure if support was added yet.