Hello,
I recently found some odd thing out here,
It all started when I tried to make a game in AGS a wonderful day.
I putted on music, gfx etc etc and tried to play it. Everything went smooth
but not the music. I couldnt hear any. I sended to my mate and he could here it.
Anyhow.
I downloaded the soundcard drivers, AC97 for my soundcard.
Reinstalled, and tried again. This time I COULD hear music.. WOOW..
Then, I dont know what happend, but I tuned a bit with my game and tried again.
Now I have no music!!
I suspect that AGS have deleted the drivers, and as soon I reinstall the drivers,
the music will work smooth, for 1 time, then it deletes them again.
I dunno if this is a bug in AGS or if something have affected my hardware (Virus) or something. But I got 2 antivirus programs instantly protecting the computer,
so I dont think it is any virus. Can this possibly be AGS?
I know this is a long topic but please, please, help.. I love AGS in others,
and it would be great if this could be fixed somehow.
Regards,
---
1. BS, AGS doesn't "delete" *any* drivers.
2. Having more than one antivirus prog running at the same time is so bad alone that that's probably the reason for every single problem you've been encountering since you installed the second one.
Im sorry, but the question wasnt meant to be about the antivirus progs..
The question was about AGS..
Quote from: Darkmaster400 on Fri 23/06/2006 22:46:28
Im sorry, but the question wasnt meant to be about the antivirus progs..
The question was about AGS..
Quote from: KhrisMUC on Fri 23/06/2006 22:44:24AGS doesn't "delete" *any* drivers.
Okay, I'm sorry.. Then it may not have been AGS who deleted the drivers, but something did.
Whenever I run the game when I reinstalled the drivers, it works once. Then, afterwards I cant hear any music until I reinstall the drivers.
PS: Im sorry for not saying this earlier, but I can listen to the music seperately in a media player, such as Windows Media Player.
You DID say this earlier, because that's like your third thread about the same problem.
Did you uninstall one of the antivirus programs?
Did you reboot after reinstalling the drivers?
Can you hear music in other AGS games?
1. Yeah, I reinstalled AVG just now.
2. Yes, I rebooted.
3. Yes, I can hear music in other AGS games.
4. Thanks for support.
Just for clarification: did you check in the hardware manager if the drivers were actually removed?
Cause "works 1st time, doesn't afterwards" makes sense if the music device doesn't get closed properly.
Thus when you run the game for the second time, the device is still open, so AGS "thinks" it's used by another program and disables all music.
Did you try using a different AGS version as suggested in the other thread?
Yes, the version I have tried was 2.71 Official Release, and 2.72 RC2a
EDIT: Thus the drivers seems to be Okay, I can play them seperate, but if it would be the drivers,
wouldnt they also affect in another way, like unable to play in seperat mediaplayers etc etc??
I CAN play the files in the media players though..
Ok, try this:
-After rebooting, run your game. (music works, right?)
-run your game again (music doesn't work, correct?)
-play any of the files in a media player (this works, too, right?)
-run your game again
can you hear the music now?
btw, how do you close your game? Do you press Alt-X / Alt-F4?
(and please don't quote my whole post when replying :=)
I am used to press Alt+F4Ã, ;)
But sometimes I use the menu :P
EDIT: No it dont work...
EDIT 2: Now It works smooth, for the moment :P
I'm not sure if this helps at all, but it is a continuation of a previous mention... If you have Windows Media Player open at all, music will not play in the ags game. So if you were to test out your music, and then switch over to AGS editor, and test your game, you won't hear your music in-game.
HOW can I EVER thank you??Ã, :D :D This worked,Ã, ;D ;D
Now it works excellent and ima post a demo of
Monkey Island: New Adventure.
soon, I am thankful for life man ... thanksÃ, ;) ;D :D
EDIT: WAIT!! Still same problem, hmm, the music seems to come and goes as it want, hehe :P
Do you have any music playing/editing programs open, Windows media, midi editors, winamp.
Many of these programs "block" sound from AGS (because near as I can figure, AGS checks to see if the sound card is currently bound to other programs, and if it is, it disables sound.
I know that if I have Anvil studio open, AGS won't play midi music, because Anvil binds itself to the sound card's midi synth (and actually if you have an AGS game open, Anvil tells you that the midi synth is in use by something else).
Also, check that would it be possible that tehre're some enhancement/management (or whatever) programme which was installed alongside with your sound driver (that often happens), check if there're such icons in your taskbar, try closing them and see if it's such "goodies" interfering with AGS (though I think that'd be rare).
Just as a small curiosity, why does AGS "Fail to initialize your audio hardware"(or whatever) if my media player is running? Is it something to do with priority?
What makes AGS so greedy with the audio system anyway? You can play most games with winamp or whatever running in the background, but AGS blocks out anything else.
I bet it's probably an Allegro problem.
yes, in my understanding most stuff is using directx to output sound, ags goes directly to the wave output. i remember having problems with winamp and ags that stopped when i told winamp to use a different output plugin, either wave, too, or directsound..
Hmm I am not using winamp though :-\
It's not just winamp. If you have ANY prgram that is using your audio drivers, Windows media, itunes, or even something like audacity (i think) AGS will not produce audio files.
Quote from: scotch on Thu 29/06/2006 10:47:42
What makes AGS so greedy with the audio system anyway? You can play most games with winamp or whatever running in the background, but AGS blocks out anything else.
This should only happen on Windows 98, since it only allows one application at a time to access the sound card.
With Windows 2000/XP, you shouldn't get this problem. I can certainly have winamp/media player running whilst playing AGS games and it's fine.
Unrelated, but using media player, then running a game, then closing it, causes the sound in the Media Player to go away.
Windows 2000 and XP haven't made a difference for me, any AGS game that uses digital audio and is set to directsound output freezes all other sound. Waveout seems to work (although it's crackly). Perhaps it's just my soundcard.