Inconsistency in the help?

Started by edmundito, Wed 10/11/2004 03:55:31

Previous topic - Next topic

edmundito

I ran into this glitch where MUSICx.WAV may be an option, but I'm not sure because:

In the Distributing Your Game section says:
"NOTE: MP3 and OGG 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 and MP3s override all other music file types, this allows you to have an 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."

But the Music and Sound section says:
"For background music, AGS can use OGG, MP3, MIDI, WAV, MOD, XM, and S3M music files. For sound effects, you can use OGG, MP3, WAV and VOC files. When AGS needs to play music number X, it will search for the files in the following order. The first file it finds, it plays: MUSICx.OGG, MUSICx.MP3, MUSICx.WAV, MUSICx,MID, MUSICx.MOD, MUSICx.XM, MUSICx.S3M."

and...
"NOTE: 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."

However, it is not mentioned in the Multimedia Functions section under PlayMusic:
"PlayMusic
PlayMusic (int music_number)

Changes the currently playing background music to MUSICx.OGG, MUSICx.MP3, MUSICx.MID, MUSICx.MOD or MUSICx.XM (where X is MUSIC_NUMBER). The game will search for the files in that order until it finds one to play.
"

So, which one is it? what is the situation with MUSICx.WAV files? I really can't remember since most of us use OGG/MP3s these days... can anyone clarify?

Scummbuddy

#1
I'm having trouble calling a wav file as background music (i. e. not playing), but calling playsound for a wav file works fine.

edit: ok, now i keep getting "Sound sample load failure: cannot load sound 0"
but i have sound0.mp3 right there in the game folder, and ive rebuilt vox files.


and i cant get playmp3file to work
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Gilbert

No matter what, as MP3 and OGG are MUCH better options for sound samples (no matter SE or MUSIC), WAVs should be avoided for final products, so it's not much of a problem in my opinion.

I agree on fixing these inconsistencies in teh manual though.

Scumm, did it work if it's sound 1? Like using sound1.wav, sound1.mp3, etc?

Scummbuddy

i can get wav files to play, but i cant get mp3s to play as sound files.

I also tried sound1 and such, it just so happened the last one i tried was configuring it all to be sound0.

I have a feeling the mp3 converter i used is actually the problem. ill try putting in a mp3 file that wasnt used by the converter.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Pumaman

MUSICx.WAV should work (though wasn't getting included in the VOX file until 2.62).

The reason it's not clear is probably because using WAV music would make your game huge, nobody really does it, and therefore it's not exactly a widely used part of AGS.

I'll fix the Distributing Your Game section of the manual to mention WAVs, though.

Scummbuddy

#5
okay, so it must have been the program i was using to covert wav to mp3. its Windows MP3 Audio Converter, and well, somethign is weird about the files it creates, which should be mp3's as the process you do, says.

But i went ahead and used a real mp3 file, and that worked, so thank you all.

As I'm checking out the link to vorbis, the ogg converter, they must have changed domains since you wrote that. They are now http://www.vorbis.com/ , not .org. (Yeah, back on topic, problem with the help)Ã,  ;)

While I'm writing, I'd like to make a suggestion:
Can the title bar of the Global Script also include what game it is with? I will find myself with two or more editors open at once along with their global scripts, and it can become confusing which one is which.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

SMF spam blocked by CleanTalk