Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: A�rendyll (formerly Yurina) on Fri 10/02/2006 10:34:13

Title: Music trouble
Post by: A�rendyll (formerly Yurina) on Fri 10/02/2006 10:34:13
Hi all,

I've been having trouble with my music I'm using.

I have a music file, music0.wav, which doesn't seem to work. The manual said music0.wav should start playing when the game loads.

I also tried:
- the play music on room load
- interaction editor commands

I didn't try hand-scripting, but I have the feeling the problem is with the soundcard of my pc (which doesn't play MiDi's anymore), though this is not sure.

~Yurina
Title: Re: Music trouble
Post by: Khris on Fri 10/02/2006 11:13:35
To test if your soundcard is working, move the file to the Compiled dir.
And from the manual:
QuoteNOTE: WAV, MP3 and OGG music files are not included in the game EXE, but are instead bundled into a seperate file called MUSIC.VOX. Whenever you add any new music files of those types to your game folder, you need to choose "Rebuild VOX Files" from the Game menu in order to update the store and make them work in-game.
Title: Re: Music trouble
Post by: Elliott Hird on Fri 10/02/2006 11:31:08
music0 doesn't work for wav files. Use ogg or mp3.
Title: Re: Music trouble
Post by: Khris on Fri 10/02/2006 20:18:30
Elliot:
Well, I've just copied a small wav file to one of my games' Compiled dir and renamed it to music0.wav.
Then I've run the game, and tadaa, the file was played repeatedly in the background. I didn't even have to recompile it.
Please try out things before leading other people on a wrong track, ok?
Title: Re: Music trouble
Post by: A�rendyll (formerly Yurina) on Fri 10/02/2006 20:31:50
I'll try moving the music to the compiled folder.

I read the manual, but as always I overlooked something... ;D'

Thanks for the advice!