AGS deletes drivers!!

Started by Darkmaster400, Fri 23/06/2006 22:36:40

Previous topic - Next topic

Darkmaster400

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,

---
Games Process :
---------------------
Mick Fitz Episode 1 :

Story : |----------| 0 %
Graphics : |----------| 10 %
Sound/Music : |---------| 10 %
Scripting : |----------| 0 %

----------------------------------------

Khris

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.

Darkmaster400

#2
Im sorry, but the question wasnt meant to be about the antivirus progs..
The question was about AGS..
Games Process :
---------------------
Mick Fitz Episode 1 :

Story : |----------| 0 %
Graphics : |----------| 10 %
Sound/Music : |---------| 10 %
Scripting : |----------| 0 %

----------------------------------------

Akumayo

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.
"Power is not a means - it is an end."

Darkmaster400

#4
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.
Games Process :
---------------------
Mick Fitz Episode 1 :

Story : |----------| 0 %
Graphics : |----------| 10 %
Sound/Music : |---------| 10 %
Scripting : |----------| 0 %

----------------------------------------

Khris

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?

Darkmaster400

#6
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.
Games Process :
---------------------
Mick Fitz Episode 1 :

Story : |----------| 0 %
Graphics : |----------| 10 %
Sound/Music : |---------| 10 %
Scripting : |----------| 0 %

----------------------------------------

Khris

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?

Darkmaster400

#8
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..
Games Process :
---------------------
Mick Fitz Episode 1 :

Story : |----------| 0 %
Graphics : |----------| 10 %
Sound/Music : |---------| 10 %
Scripting : |----------| 0 %

----------------------------------------

Khris

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 :=)

Darkmaster400

#10
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
Games Process :
---------------------
Mick Fitz Episode 1 :

Story : |----------| 0 %
Graphics : |----------| 10 %
Sound/Music : |---------| 10 %
Scripting : |----------| 0 %

----------------------------------------

Scummbuddy

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.
- 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

Darkmaster400

#12
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
Games Process :
---------------------
Mick Fitz Episode 1 :

Story : |----------| 0 %
Graphics : |----------| 10 %
Sound/Music : |---------| 10 %
Scripting : |----------| 0 %

----------------------------------------

Alynn

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).

Gilbert

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).

Sam.

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?
Bye bye thankyou I love you.

scotch

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.

Gilbert

I bet it's probably an Allegro problem.

dasjoe

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..
... it's quite easy being the best.

Darkmaster400

Hmm I am not using winamp though  :-\
Games Process :
---------------------
Mick Fitz Episode 1 :

Story : |----------| 0 %
Graphics : |----------| 10 %
Sound/Music : |---------| 10 %
Scripting : |----------| 0 %

----------------------------------------

SMF spam blocked by CleanTalk