AGS 2.62 crash on NT

Started by eddy, Mon 20/12/2004 07:30:14

Previous topic - Next topic

eddy

I don't know if such messages goes on the forum, but here is my problem:

I just installed the new 2.62 version instead of the 2.61 and everything works fine like before except when I test the generated game on windows NT (SP6).

I generated the game on windows 98 (SE), and did the first tests on 98, everything was fine.

I tested on W2000 and everything works as well.
It's only when I try to launch my AGS game on NT that it crashes immediately with the following message:

An exception 0xC0000005 occured in ACWIN.EXE at EIP=0x77F17205 ; program pointer is - 189, ACI version 2.62.772, gtags(0,0)

I know it is not important (NT is not made for games) but since it worked with the former version (and that I need the function SetGraphicalValue), I'd be happy to know what happening and if there was a way to make it work on this system as well...


Gilbert

Hmmm did it only crash when you use the "test game" feature of AGSedit, or it crashed even when launching the generated game directly from the compiled folder?
The "test game" feature may not work for some computers sometimes and is not very reliable.

eddy

It crashes when launchingÃ,  the generated game directly.
I on ly "TEST" game and generate on 98.

If it can help, the game can be downloaded here
http://www.pastaga.net/donjontest/sauvez_zongo.zip

(WARNING: 15 Mb, I already made a lot of things, full color, lots of heavy backgrounds... Sorry about that)

Gilbert

#3
While I'm still downloading the file, I may ask:
Did you compile a DOS game instead of a windows game?

In that case try compiling a windows game instead, since NT based windows are not that "friendly" with DOS programmes.

Furthermore, upgrading DirectX may help, but as far as I know, old NTs were usually stuck forever in some old versions of DirectX's...

EDIT: Hmmm it indeed is a windows compiled game, and it works for me under XP, I'll bet it can be a driver related problem (DirectX and/or video and/or sound), too bad win NT's a bit outdated now that probably these issues can't be fixed anymore...

eddy

Well, for compiling, I use Ctrl_T with AGS-EDIT.
Until now, I never had any trouble (if it ever means anything).
I suppose it uses Windows compiling.

Here is the way I do it: I generate, compile and test at Home where I have 98 and no internet.

Then i copy through an USB key the compiled program on an NT computer which is connected, then i upload the game on a site for people who are helping me doing graphics, sound, animation and so on...

Just before uploading, i launch a last tests. And this test just crashed. So I tested on a PC with W2000 and everything was fine...



eddy

Quote from: strazer on Mon 20/12/2004 09:11:03
Do you have enough free disk space?
See http://www.adventuregamestudio.co.uk/yabb/index.php?topic=17697.msg219869#msg219869


Well I have 178 Mo of free available space. I hopeÃ,  it is enough for a 15 Mo game.
But you' re right, I have the "-189" pointer error.Ã, 

Pumaman

That is strange, seeing the -189 error coming up again.

I can see a possible fix for this, but it would mean that AGS no longer ran on Windows 95 original release.

Does anyone still run the original version of Win95 (ie. not OSR2)? Does anybody think it's still necessary for AGS to support it?

Pumaman

#8
Ok, I've got an experimental version of this fix here:
http://www.adventuregamestudio.co.uk/acwin.zip

try it out, and let me know whether it resolves the problem for you.

This new engine will no longer work on Win 95, but this should at least clear up whether that's hte problem or not.

Cyberion

Hey Chris, why don't you release the both versions? the one that supports NT and the one that supports original Win95.

Gilbert

I use Win95 OSR2 at home, but since something had changed in the executable, I think I may test it to see if it really work with OSR2 later.
I had removed IE from that comp so many stuff may not run with it (I hate so much that many programmes now require IE for just displaying a dialog).

eddy

Ok, I've downloaded the patch.
I will try it tonight and test on NT tomorrow .

By the way, I also launched my game on XP and everything worked perfectly.
I only have a problem on NT.

My point is : If you have to choose between NT or 95, choose 95: NT was not designed to support games, and I know a lot of people who are still using 95.

(Yeah! I know! I'm the one who started that topic... But still! ::))

Pumaman

Quote from: Cyberion on Tue 21/12/2004 23:26:09
Hey Chris, why don't you release the both versions? the one that supports NT and the one that supports original Win95.

Thinking about it, I can see even less of a reason to support a Win95 version than I can a DOS version. The DOS version comes in handy for people who don't have DirectX or want to play games under some PC emulators.

But who actually uses Win95 RTM any more? Does anybody at all? OSR2 is supported, and quite frankly if anyone is still running the original Win95 they must be mad.

eddy

Well this is the second free game I'm making and distibuting via the net and I can tell you that many people use completely outdated PC version, unable to even support VGA standard.

I'm sure that many people still use Win95 RTM, not because they are mad, but because they don't even know something else exists.

Hmm... I guess such a discussion should be on an other forum. Sorry about that. Whatever you decide, (Supporting NT or 95RTM) I'll agree with it.

eddy

 ???
I tried the fix, but it has a strange behaviour.
When I try to compile, I have an error message saying that he didn't find any ac2games.ags file in the "compiled" directory.
And when I copy the ac2games.ags file in the "compiled" directory, I have a message saying my file is corrupted when I launch the game...

(Is this fix for 2.62.772 ? I Just replace my acwin.exe file by the fix. Is there anything else that should be done?)

Pumaman

You should just be able to replace the ACWIN.EXE in the AGS folder with the new one, and then re-compile the game, and it should work fine.

The error message about not being able to find "ac2game.ags" is just the normal error you get if it can't load the game file for some reason. Bit strange, I'm not really sure why it wouldn't work.

SMF spam blocked by CleanTalk