Audio Issues

Started by Jaffles, Fri 22/06/2012 18:10:54

Previous topic - Next topic

Jaffles

Hey everyone, sorry to be back so soon with another problem, but it seems I'm having trouble with my game's audio. Whenever I compile my game and then play the game's .exe file on any other computer than the one with all my music files on it, the music will not play. I have been sure to have the game's .vox file included (I just turn the compiled folder into a .zip file and then download it on another computer to play), but it is still not working. The strange part is, one sound effect will play, but nothing else will. If someone knows how to fix this i'd be much obliged.


NOTE: Found this on the wiki: MP3, OGG and WAV music files are not included in the exe. They will instead be built into a file called MUSIC.VOX when you click the "Rebuild VOX files" option in the editor. Since OGGs, MP3s and WAVs override all other music file types, this allows you to have a Digital Music Pack which you can distribute seperately to your game. If it is present in the game directory it will be used, otherwise any other music available (eg. MIDI) will be played instead.

Do you guys think this could be the reason why only one of my sound files is playing? If so, where is the "Rebuild VOX" files option in the editor? I couldn't find it anywhere...  :-[
   

monkey0506

Well you said the VOX was included?

And if you're using AGS 3.2+, the new audio system allows you to control based on the AudioClip's type whether it should be bundled into the EXE or a separate VOX. The VOX files will be built when your game is. I don't think there's a separate option to rebuild only the VOX.

Jaffles

#2
Well, I changed it so that everything is bundled in the .exe and that has gotten it working on other PC's, but when I run it with the AGS Mac engine, the sound still doesn't work. I've run other AGS games perfectly fine with the Mac engine, so I'm still a little stymied why the music won't run.

EDIT: My explanations seem a little convoluted, let me see if I can simplify a bit

On a PC: Sound files only work when bundled in .exe. Will not work if in .vox.

On a Mac: Only a few sound effects work, even when everything is bundled with .exe.

I'd like to get all the sound working on a Mac, and perhaps understand why the .vox isn't working on PC.

Hope this made things clearer
   

SMF spam blocked by CleanTalk