Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: InCreator on Sun 09/05/2004 01:49:46

Title: AGS went mad!
Post by: InCreator on Sun 09/05/2004 01:49:46
Well, I ran AGS 2.61 RC1 on Windows XP.
First times, everything was okay. Then, something very weird happened. Rooms didn't show up! Just as I started newly compiled game, music started playing but room remained just black. Like there's no fadein. I tried different games, several transition modes and just waiting (loading time bug maybe?) but no, nothing. Alt-X worked as it should. Then I pressed random key on keyboard. This is what happened after few reboots and retrying.

---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x77F52CD2 ; program pointer is +379, ACI version 2.61.741, gtags (0,0)

AGS cannot continue, this exception was fatal. Please note down the numbers above, remember what you were doing at the time and notify CJ on the Tech forum.

What's wrong? I have freshly defragmented HD with 7GB of free space, Dxdiag shows every test okay, acceleration working normally both on sound/display I never had problems with AGS before.

edit: NONE of AGS games is showing anything! Tried with some other AGS games, such as Framed!, Ace Quest and No-Action Jackson. They're (obiviously) compiled with different versions of AGS so It can't be just because 2.61 RC1. Can anyone help?

edit 2: Okay, It seems like some other windows-based games won't start too. I'm downloading new Nvidia drivers (for my 16MB Riva TNT2) and maybe install DirectX again. But still It'll be useful to know what AGS said. Or get some idea what did cause this.
edit 3: After reinstalling DX9.0, got rid of problem.
Title: Re: AGS went mad!
Post by: TerranRich on Sun 09/05/2004 02:40:59
Hmm.
Title: Re: AGS went mad!
Post by: Pumaman on Sun 09/05/2004 11:07:31
Looks like DirectDraw messed up for some reason - glad you got it all fixed, though.
Title: Re: AGS went mad!
Post by: InCreator on Mon 10/05/2004 01:31:34
I also find the source of problem - Alt-X'ing game out before it manages to completely load and show first screen (room).
Title: Re: AGS went mad!
Post by: Pumaman on Mon 10/05/2004 21:12:34
Hmm, I can't see how that could mess up DirectX to the extent that you have to reinstall it, but I'll add a check just in case.
Title: Re: AGS went mad!
Post by: X-Hunter Blackzero on Wed 15/06/2005 22:07:04
I got the same type of bug.. in a way.   the room didnt show up but the music played as you said.  But my error message said that the AGS engine "didnt shut down properly." what does this mean and what do i do to fix it?

By the way the error message popped up AFTER testing the game once,  black screen, the testing it again, but the error message coming up.
Title: Re: AGS went mad!
Post by: strazer on Wed 15/06/2005 22:14:17
What AGS version are you using?
Title: Re: AGS went mad!
Post by: X-Hunter Blackzero on Wed 15/06/2005 22:52:59
Well, Im not exactly sure, i just got the new version 2 days ago , so unless there's been a new version since then, I'm using the most recent one.
Title: Re: AGS went mad!
Post by: strazer on Wed 15/06/2005 22:57:51
Please check (Help -> About -> (Build x.xx.xxx) )
A couple of bugs regarding the Test game feature have supposedly been fixed in AGS v2.70.
Title: Re: AGS went mad!
Post by: X-Hunter Blackzero on Wed 15/06/2005 23:14:24
Yeah Im using v2.70 ... but the bugs still exist? ???
Title: Re: AGS went mad!
Post by: Snarky on Thu 16/06/2005 01:08:25
On a laptop I'm using, I'm having a similar problem playing AGS games. (I've tested three so far.) I launch the game, and the screen goes black. Music and sounds appear normal, but there are no graphics.


This is a Dell M60 laptop running Windows XP. The graphics card is an NVIDIA Quadro FX Go700. It has DirectX 9.0b. Running the DirectX Diagnostic Tool, DirectDraw is disabled and fails on test, while Direct3D is enabled but still fails on test. I'm also informed that my version of qasf.dll is old and I should reinstall DirectX.

This is pretty mystifying. I could understand if it plain didn't work, but only working if I connect a second monitor?
Title: Re: AGS went mad!
Post by: Gilbert on Thu 16/06/2005 02:28:28
(@X-Hunter Blackzero, seems from his description it's more likely a test game problem) Anyway, though the testgame function is supposedly fixed, if it still doesn't work, try running the game by clicking the executable in the compiled folder instead, or try to run the game in windows mode (if it wasn't).

Also, is it possible that you're using a beta version of V2.7?
That test game fix was not incorporated until some later betas, it's also possible that some files weren't replaced correctly during upgrade.
Anyway, your best bet is to download the stable release of V2.7 (Refresh 2) and unzip it to a fresh new folder and try from there.
Title: Re: AGS went mad!
Post by: X-Hunter Blackzero on Thu 16/06/2005 02:35:16
I tried to run it from the compiled folder, and that didnt work.  should i have downloaded from the  "Download AGS" link:
                                      The BigBlueCup server?

                                      The BlueYonder server?

                                      The agagames  server?
Title: Re: AGS went mad!
Post by: Gilbert on Thu 16/06/2005 02:49:33
Yes, you shall be able to get the latest version with either link.
Title: Re: AGS went mad!
Post by: Pumaman on Thu 16/06/2005 19:47:33
Have you also tried updating to the latest version of DirectX and of your graphics card drivers?
Title: Re: AGS went mad!
Post by: X-Hunter Blackzero on Thu 16/06/2005 20:11:29
after a few edits, I got the Test Game menu item to work.  Here's what i did:

- I went to the menu item,  File - Setup Game...
- I made sure the boxes "640 x 400" and  "Run in window" were checked like GilbotV7000a said.

I did not change any other default settings.

This made my TEST GAME option to work.... my problem did not seem to be similar to other test game problems, apparently.  I guess that bug is very unique and cannot b easily fixed.