Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: hillaryj on Sun 11/11/2012 05:10:48

Title: Winsetup.exe crashes upon opening, illegal exception
Post by: hillaryj on Sun 11/11/2012 05:10:48
Hello. I just downloaded the "5 Days a Stranger" game and tried to run it. This resulted in a "cannot initialize graphics" error and it told me to modify the resolution using winsetup.exe. When I clicked on winsetup.exe however, this error appeared:

Illegal exception
---------------------------
An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x0046DD82 ; program pointer is +9902, ACI version 2.55.560, 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.



Most versions of Windows allow you to press Ctrl+C now to copy this entire message to the clipboard for easy reporting.

I am trying to run this game using the WINE Windows emulator on Ubuntu. When I tried to run winsetup.exe on another laptop with Windows 7 installed, it worked just fine and I was able to run 5days.exe. Any help would be appreciated. Thank you.
Title: Re: Winsetup.exe crashes upon opening, illegal exception
Post by: Gilbert on Sun 11/11/2012 13:50:11
Instead try running the command:

Gamename.exe --setup
(where Gamename.exe is the game of the game's executable)

and see whether it makes any difference. Winsetup.exe is just a wrapper to launch the above command.
Title: Re: Winsetup.exe crashes upon opening, illegal exception
Post by: Crimson Wizard on Sun 11/11/2012 14:41:25
According to the engine source, program pointer +9902 is in the Quit procedure (called when application is shutting down) just before screen buffer is released. :-\.
Probably something related to graphics driver too.