Hi, I am at my wits end, please help. No matter what I try I can't get my background music to play. it is in the music folder labeled as MUSIC0.MP3. It won't play automatically on startup, I can't get it to work with the PlayMusic(0) command or the PlayMP3File("MUSIC0.MP3"). I have tried both of those scripts on room load seperately and both of them together and still nothing. I have tried the filename in caps and not in caps incase it was case sensitive. I can't think of anything else to try. Please help?
Try rebuilding the VOX file(s), go to Game -> Rebuild VOX files.
I had a similar problem with an MP3 file-- turned to be either corrupted or in an odd format, but I didn't figure it out until I tried to open it in a regular player.
This probably isn't what's going on here, and you may already have checked for it, but thought I'd throw it out there, especially if all other sounds / music play properly.
It could be a conflict between the AGS engine and any media players you may have set up to play mp3 files. I had a similar problem with mpeg video files. AGS wouldn't play them, because fddShow was busy trying to decode them at the same time.
Check and see which media player is configured to open MP3 files when you double click on them.
You know, I had similar problems when adding music in my game, although it never occurred to me to report it. It fixed itself when I quit the editor, opened it again, and rebuilt the .EXE.
ok, addition to my previous problem. I tried to look for other programs trying to run the file, nothing. and the whole close, rebuild the exe, nothing. I also just discovered that when I compile the exe it puts a little txt file in with it called "warnings" and it says "(in room 1): Music 1 not found" I have the file named MUSIC1.MP3 and it is in the music folder. any ideas? oh, and chuck i can't seem to find this rebuild vox files option? thanks for the help guys
Make sure the file isn't named "music0.mp3.mp3".
Open the folder, then select Tools -> Folder Options... from the menu.
In the View tab, unckeck "Hide extension for known file types".
Khris my man, I had just figured that out not 2 seconds ago and was coming on here to tell everyone that i figured it out, and that i was just dumb all along for having it named *.mp3 haha, but you beat me to the punch. Thanks alot for all the help guys :D
the thing you are doing wrong is that you are putting the mp3 file in the music folder but if you use the playmp3 command you need to put the compiled folder.
mawildoer: That's right but wasn't the issue here.