AGS 3.2.1, Music, DropBox, and Compiling .exe

Started by ZombiePickle, Tue 13/12/2011 08:45:56

Previous topic - Next topic

ZombiePickle

Hey guys,
I just recently finished my first game. Great but I am already running into a technical problem and after scouring the forums, FAQ's, and YouTube tutorials, I am actually at a loss.

I added music into my game and everything worked fine. When I compile it and it creates the .exe file and play it from wherever I saved it, the music works perfectly. However, when I copy the .exe file unto my Public Folder for my Dropbox and attempt to play it from there, it stops working.

I really don't know why this is happening and I am just wondering if anybody has any ideas. That would be great, thank you so much.

steptoe

#1
Hi

You have to make sure you copy all the necessary files such as audio.vox (contains all music and sounds you included to play in your game) into whatever directory folder you want to use to run it. I suggest copying your compile folder and using that to play the game.

AGS games won't  play what it has not got or referenced to.

IE Just loading Game Exe without any other files present in that folder will Not play any music/sounds.




It's not over until the fat lady sings..

monkey0506

steptoe is halfway right.

As of AGS 3.2 you can specify by type (music, sounds, or whatever other audio types you like except speech) whether it should be compiled into a separate audio.vox or built into the game EXE. I believe the default behaviour is to build sounds into the EXE and music into the VOX, but you can change that to your liking.

If a VOX is built, but isn't included in the distribution, any of the files built into it will simply be ignored when running the game.

ZombiePickle

Quote from: monkey_05_06 on Tue 13/12/2011 12:57:02
steptoe is halfway right.

As of AGS 3.2 you can specify by type (music, sounds, or whatever other audio types you like except speech) whether it should be compiled into a separate audio.vox or built into the game EXE. I believe the default behaviour is to build sounds into the EXE and music into the VOX, but you can change that to your liking.

If a VOX is built, but isn't included in the distribution, any of the files built into it will simply be ignored when running the game.

Thank you so much! Yes, it was because it was building it into a separate VOX so I had to change the settings to make it build into the EXE. What a simple solution (you should have seen what I was doing to try to make it work haha). Thank you so much, cheers!

Khris

Regardless of the solution, did you think the other files inside the Compiled folder are optional...?

monkey0506

Every one of them are optional. Your game will run without them. But you shouldn't really distribute it that way because winsetup allows people to edit the CFG file for configuration settings (and not everyone's system is the same you know), and VOX files are built separately so that you can bundle them separately if you want to do so, but they should probably be included in the "primary" download...otherwise why did you put that stuff in the game?

Khris

By "optional", I meant "optional, if you want sound" :P

SMF spam blocked by CleanTalk