Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: paolo on Sun 18/01/2009 11:02:42

Title: Including sound without the need to include .ogg files in the released game
Post by: paolo on Sun 18/01/2009 11:02:42
Ugh, I'm sure this must have been covered somewhere before but I'm not finding it in the manual or in older messages, so apologies in advance if I have overlooked the appropriate thread.

I am using v2.71 (yep, still - it's a game that's been in development for a while). I have a number of .ogg files (called SOUNDx.ogg, where x is 1, 2, etc) for my sound effects. If I include these in the Compiled folder, then I hear them when I play the game. If I put them in the Music folder (Music and Compiled are in the same folder), I get nothing. If I run Rebuild VOX files, no VOX files are generated, no matter whether the sound files are at the time in Compiled, Music or the directory above (the game folder containing the .dta and .crm files). I don't want to have to release the sound files with the game, so where should they be in order for the VOX file to be built?

Thanks for any help.
Title: Re: Including sound without the need to include .ogg files in the released game
Post by: Gilbert on Sun 18/01/2009 11:13:42
Well, you may try updating the game to using V2.72 (backing up your original files of course).

I think there's no way to bundle the sound*.* files into the game's executable or .VOX files in V2.71. In V2.72, a follder called "Sound" was introduced alongside the previously implemented "Music" and "Speech" folders.
Title: Re: Including sound without the need to include .ogg files in the released game
Post by: Pumaman on Sun 18/01/2009 13:32:47
In 2.71, the sound files go in the main game folder, and will get bundled into the EXE automatically. They're not part of a VOX file -- but they must be in the main game folder to get picked up.
Title: Re: Including sound without the need to include .ogg files in the released game
Post by: paolo on Sun 18/01/2009 13:59:28
Thanks, that explains everything. So in v2.72, is it possible to build separate a VOX file for sound effects so that I don't have to include the sounds with the game?
Title: Re: Including sound without the need to include .ogg files in the released game
Post by: Pumaman on Sun 18/01/2009 14:35:35
No -- in 2.72 there is a separate Sound folder to reduce the clutter in the main game folder, but the files still get compiled into the main game EXE.

Due to the relatively small file size of sound effects compared to music or speech, there has never been a request to bundle them separately.

Regardless, I would strongly advise upgrading to 2.72 -- it's a very low-risk upgrade and contains various bug fixes from the previous 2.x versions.