Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: ThunderStorm on Mon 03/01/2005 11:49:10

Title: Fatal exception - notify CJ
Post by: ThunderStorm on Mon 03/01/2005 11:49:10
Hi everybody,
after some time of not working on my game, I got an error message when I tried to test the game, so I updated from 2.56 to 2.62, but still this message occurs when I try to test the game or start the .exe file in the compiled folder:

An exception 0x0000005 occured in ACWIN.EXE at EIP = 0x004ACC3A; program pointer is -182, ACI version 2.62.772, gtags(0,0)

I have a feeling this could be related to my new soundcard (M-Audio Audiophile 2496), which does not have a MIDI device.
Oh, and since christmas I have a new CD-ROM/DVD drive. I can't think of any reason why it could interfere with AGS though.

Any ideas?
Title: Re: Fatal exception - notify CJ
Post by: Privateer Puddin' on Mon 03/01/2005 11:54:31
Tried disabling sound?
Title: Re: Fatal exception - notify CJ
Post by: Pumaman on Mon 03/01/2005 12:09:05
Yep, that's a crash initializing the sound card. Perhaps it is caused by the card not supporting MIDI, but that's rather strange if so.

The annoying thing with this sort of bug is that it's very difficult for me to replicate the problem without having similar hardware. I'm not sure what I can do at this point.

It's definitely worth using Setup to disable music, as custard suggests.
Title: Re: Fatal exception - notify CJ
Post by: ThunderStorm on Mon 03/01/2005 13:52:10
Okay, I played around with the setup a bit and found that setting the MIDI Interface to 'no music' or 'MIDI mapper' (what is a midi mapper?) makes the game start up correctly. Looks like the game crashes because it tries to initialize a non-existant MIDI playback device.

Still - no MIDI music, but that's soundcard-related, so I'll have to see if I can find a decent software wavetable solution for that.
Thanks for helping out.
Title: Re: Fatal exception - notify CJ
Post by: Pumaman on Mon 03/01/2005 14:06:43
I tried disabling my sound card but it all worked fine (albeit with no sound).

It must be some sort of strange problem if you have a digital sound driver but not a MIDI one.
Title: Re: Fatal exception - notify CJ
Post by: ThunderStorm on Tue 04/01/2005 11:31:48
Quote from: Pumaman on Mon 03/01/2005 14:06:43
I tried disabling my sound card but it all worked fine (albeit with no sound).

Eh - yeah, same for me. Actually, the problem occurs when 'primary sound device' is selected, which is set to the M-Audio soundcard in the windows multimedia settings.
Title: Re: Fatal exception - notify CJ
Post by: Pumaman on Tue 04/01/2005 18:18:21
Actually, I meant physically disabling my sound card, not changing the settings in Setup. I was just checking that it would load up if you didn't have any sound card at all, which it does ... hence why it's rather a strange problem.

Are any MIDI devices listed in your Control Panel Sound settings?