Problem with Stopping Music/Sound Effects/Wav Files

Started by Grapefruitologist, Wed 22/02/2006 09:10:30

Previous topic - Next topic

Grapefruitologist

I've just never heard of such a thing, heh.
Do you mean "Windows Task Manager"/what you get when you push ctrl + alt + del?
(\ _ /)
(o.o )
(>< )
This is Bunny
Copy Bunny into your signature to help him on his way to world domination!
http://youtube.com/watch?v=IIO2qpSsUTA
http://youtube.com/watch?v=Rg-p7xaeYes

Ashen

No, Windows Explorer (there should be a shortcut to it somewhere in the start menu), or you can click My Computer - whatever you use for looking at the contents of your Hard Drive(s).
Then 'Tools', 'Folder Options', 'View' and about half way down should be a checkbox for 'Hide extentions for known file types'.
I know what you're thinking ... Don't think that.

Grapefruitologist

Ok, it was on, but no, it's just MUSIC2.ogg.
(\ _ /)
(o.o )
(>< )
This is Bunny
Copy Bunny into your signature to help him on his way to world domination!
http://youtube.com/watch?v=IIO2qpSsUTA
http://youtube.com/watch?v=Rg-p7xaeYes

Scorpiorus

Well, to sum up:


  • Put your music2.ogg file into the AGS\YourGame\Music folder.
     
  • Under Player enters room (before fade-in) add Game - Play music (2).
    Alternatively, you can use the Play music on room load option from the Room settings -- just enable it and put music number in there.
     
  • Just to be sure, press Ctrl-B to rebuild VOX files. AGS should automatically ask you and do this when you add music/sound and then save/test the game but do it yourself just to be on a safe side.
     
  • Now goto the setup (Main menu --> File --> Setup game...)
     
  • Ensure the following:
    - Use digital music pack if available is enabled.
    - Digital sound: Default DirectSound or Default WaveOut -- i.e. sound must be enabled.
    - MIDI music: Default MCI music or Win32 MIDI mapper -- i.e. music must be enabled too.

     
  • Try running the game, and see if it helps at all.


Also, if that won't help try starting a new game (using Default template) and test music there.




On a fun side :)

We can indeed have WAV music to be played in AGS!

Really, AGS is meant to support WAV music files since version 2.06, March 2000!!
In fact, the manual too claims AGS does support music in WAV format.


Some history, I kinda like how it's been progressing:

VERSION 2.06, March 2000
- Added WAV background music support.

VERSION 2.22, December 2001
- Changed music search order to MP3, WAV, MID, MOD, XM.

VERSION 2.62, November 2004
- Fixed WAV music not getting included in the MUSIC.VOX

VERSION 2.71, December 2005
- Fixed WAV music files not being picked up from MUSIC.VOX

Which actually says more than enough on how often this feature is called for...

:=

Grapefruitologist

I've tried all of that.
I tried .ogg, .wav, .mp3 files, I tried to rebuild the VOX files, I tried them in my game's music folder, I tried them in the main folder, I checked the setup, I checked the volume of my speakers, I tried a ton of things that I can't even remember right now.
None of them work.
Could it be a bug?
(\ _ /)
(o.o )
(>< )
This is Bunny
Copy Bunny into your signature to help him on his way to world domination!
http://youtube.com/watch?v=IIO2qpSsUTA
http://youtube.com/watch?v=Rg-p7xaeYes

Scorpiorus

1. Have you tried doing a new game clear test, as Ashen suggested before?
Just start with the Default game template instead of the MI one, and try playing music there.
This way you can test whether the problem is related to MI template in any way.


2. If that won't help, open your "Game\Compiled" folder and check if music.vox is actually there. If it's not, the digital music will not play.


3. On a side note...
What Windows version are you running?
And to be confident, what version of AGS are you using? (you can check it out via "Main menu --> Help --> About...", look for that number next to Build)

Khris

Are your speakers plugged in?
Can you listen to music in Windows?

(Very basic questions, I know, but it's essential to make sure it's none of the things so obvious one tends to forget them.

"Help, I can't login!"
-"How many green lights on the keyboard?"
"Two!" ;) )

Grapefruitologist

#27
Yes, I've been listening to music every day.
2.71, and Windows XP.
I tried to start a new game to test it, but it says my graphics card doesn't support it or something.
Also, sometimes I get an error that says "Sound card did not initialize" or something like that.
(\ _ /)
(o.o )
(>< )
This is Bunny
Copy Bunny into your signature to help him on his way to world domination!
http://youtube.com/watch?v=IIO2qpSsUTA
http://youtube.com/watch?v=Rg-p7xaeYes

Scorpiorus

Quote from: Grapefruitologist on Wed 08/03/2006 06:04:17I tried to start a new game to test it, but it says my graphics card doesn't support it or something.

This may happen when you run at resolution your graphics card doesn't support.

The easiest workaround would be to run it in a windowed mode. In the setup --> Run in a window instead of full screen.

QuoteAlso, sometimes I get an error that says "Sound card did not initialize" or something like that.

Not sure, but it can possibly be caused by the first error, after the initialization of the video subsystem failed. So, deal with the first one.


*And make sure to check if music.vox is actually there (in the Compiled folder)!*

Grapefruitologist

Um... no, it isn't!
I rebuilt the .VOX files, though...
(\ _ /)
(o.o )
(>< )
This is Bunny
Copy Bunny into your signature to help him on his way to world domination!
http://youtube.com/watch?v=IIO2qpSsUTA
http://youtube.com/watch?v=Rg-p7xaeYes

Grapefruitologist

Sorry for posting twice, but seeing as this thread is like 3 weeks old and on the second page...

What do I do? The .vox files aren't there.
(\ _ /)
(o.o )
(>< )
This is Bunny
Copy Bunny into your signature to help him on his way to world domination!
http://youtube.com/watch?v=IIO2qpSsUTA
http://youtube.com/watch?v=Rg-p7xaeYes

Gilbert

Just check again, did you put the music files in the music folder inside the folder holding your game's source?

Under normal condition, it should be something like:


AGS ---- Mygame ----- Compiled
                              |
                              --- Music   <--- put music files here

Grapefruitologist

Yes, they're here:
C:\Program Files\AGS\AGS\MI\Music
(\ _ /)
(o.o )
(>< )
This is Bunny
Copy Bunny into your signature to help him on his way to world domination!
http://youtube.com/watch?v=IIO2qpSsUTA
http://youtube.com/watch?v=Rg-p7xaeYes

Grapefruitologist

I'm sorry for double posting, but seeing as this thread is on the very bottom of the third page...
Does anyone know ANY solution to my problem? Do you think it's a bug? I can't think of it being anything else...
Is there any alternative?
(\ _ /)
(o.o )
(>< )
This is Bunny
Copy Bunny into your signature to help him on his way to world domination!
http://youtube.com/watch?v=IIO2qpSsUTA
http://youtube.com/watch?v=Rg-p7xaeYes

A�rendyll (formerly Yurina)

If you add new music files/edit your after rebuilding the VOX files it could go the wrong way.

Maybe you should make an empty file named music.vox (or whatever it needs to be called) and rebuild the vox files. Maybe they'll overwrite the empty file and solve your problem.
Yuna: Give me a Y!
Rikku: Give me an R!
Paine: Give me a break...
~Final Fantasy X-2

I've been

Grapefruitologist

(\ _ /)
(o.o )
(>< )
This is Bunny
Copy Bunny into your signature to help him on his way to world domination!
http://youtube.com/watch?v=IIO2qpSsUTA
http://youtube.com/watch?v=Rg-p7xaeYes

SMF spam blocked by CleanTalk