Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: on Thu 01/09/2005 16:34:33

Title: Help: Speech.vox Problem
Post by: on Thu 01/09/2005 16:34:33
I can't seem to get speech.vox files to work. When the game reaches a point where someone speaks, the game crashes and I get a message like so...
---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x00407775 ; program pointer is +6, ACI version 2.70.845, 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.

in Room 2 script (line 50)


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

Any help would be appreciated.
Title: Re: Help: Speech.vox Problem
Post by: Rui 'Trovatore' Pires on Thu 01/09/2005 18:51:55
For completeness' sake, what is line 50? Also, are you sure the file you're trying to play is a good, non-corrupt file, i.e., if you try to play it in WinAmp or MediaPlayer does it run? Last but not least, are your DirectX drivers up to date?

None of these is likely to be the source, but I might as well ask these up front so we have the whole story, you know.
Title: Re: Help: Speech.vox Problem
Post by: Pumaman on Thu 01/09/2005 19:08:09
Those are good questions. Also, what type of files are you using for speech? (ie WAV, MP3 or OGG?)
Title: Re: Help: Speech.vox Problem
Post by: on Thu 01/09/2005 22:21:27
Sorry. Read my post again and I should have been more clear...  :P
What I meant was that every game I download that has a speech pack crashes when a voice needs to be played. I have both the game and the speech.vox file in the same directory. This has happened to me with multiple games on several comuters. Do I have to rename speech.vox or something?
Title: Re: Help: Speech.vox Problem
Post by: Rui 'Trovatore' Pires on Fri 02/09/2005 08:29:15
Odd. But do check to see if the computers you tried it on have the latest DirectX thingies, and whether they're otherwise running fine, 'cause it sounds more like a peecy problem to me.
Title: Re: Help: Speech.vox Problem
Post by: Pumaman on Fri 02/09/2005 21:35:18
Strange, I haven't heard of a problem like this before. So if you disable speech in Setup the crash doesn't happen?

Can you try changing the sound driver in Setup (if it's DirectSound try making it WaveOut, or vice versa).

And yes, make sure you've got the latest version of DirectX installed.