Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: tjthedragoon on Thu 26/02/2009 23:50:21

Title: Scripting problem with music
Post by: tjthedragoon on Thu 26/02/2009 23:50:21
I have a problem working on my game, every time I try to add a song (MP3 format sound). each time I compile it I get a warning in the folder saying ((in room 15): Music 5 not found
(in room 4): Music 1 not found)
If you have any answers for why this happened, please respond :)
Title: Re: Scripting problem with music
Post by: Khris on Fri 27/02/2009 00:03:35
Make sure the music files are inside your music subdirectory, and make sure they're named properly (music5.mp3 / music1.mp3).
Also check they aren't named "music1.mp3.mp3" or similar.

Windows doesn't show extensions of known file types by default, so you might want to turn that off in folder options.
Title: Re: Scripting problem with music
Post by: tjthedragoon on Fri 27/02/2009 19:29:37
Quote from: KhrisMUC on Fri 27/02/2009 00:03:35
Make sure the music files are inside your music subdirectory, and make sure they're named properly (music5.mp3 / music1.mp3).
Also check they aren't named "music1.mp3.mp3" or similar.

Windows doesn't show extensions of known file types by default, so you might want to turn that off in folder options.
Music subdirectory, just to make sure, is that the one in the game folder, or in the program itself.
Title: Re: Scripting problem with music
Post by: Khris on Fri 27/02/2009 20:27:46
The one in the game folder. There is no music folder in the AGS tree :)
As opposed to e.g. sprites, all audio stuff goes into the respective folder inside the game folder. (That's the reason for the very strict naming convention, btw.)
Title: Re: Scripting problem with music
Post by: Trent R on Fri 27/02/2009 20:40:10
Quote from: tjthedragoon on Fri 27/02/2009 19:29:37
Music subdirectory, just to make sure, is that the one in the game folder, or in the program itself.
I think he might be talking about the installation directory...
But yes, in the game folder.

~Trent
Title: Re: Scripting problem with music
Post by: tjthedragoon on Wed 04/03/2009 21:09:43
Thank you, I got it working :D