Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: proskiier on Sat 24/11/2007 22:45:49

Title: sound sample load failure(SOLVED TY)
Post by: proskiier on Sat 24/11/2007 22:45:49
I have sounds for whenever an item is picked up and it is not working... I have other sounds in my game and they all work except these

and i did the same exact thing... any ideas?

(in room 1): Sound sample load failure: cannot load sound 2

My file is named: SOUND2.wav and is in the right folder
Title: Re: sound sample load failure
Post by: Scorpiorus on Sat 24/11/2007 23:48:23
The WAV file in question was probably encoded in a format which AGS does not support. Basically, WAV should be in an uncompressed PCM format for the engine to play it.

Try converting it to WAV PCM, for which you can use Microsoft Sound Recorder that comes as a standart application for MS Windows.

In XP it's here: Start :: All Programs :: Accessories :: Entertainment :: Sound Recorder.

Just open your original file and then "Save as..." but make sure to change the format to PCM. See if it works then.
Title: Re: sound sample load failure(SOLVED TY)
Post by: GarageGothic on Sun 25/11/2007 00:07:32
Or better yet, convert the sounds to .ogg format and decrease your file size.