Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: on Mon 30/01/2006 04:49:13

Title: Illegal Exception running Prodigal (SOLVED)
Post by: on Mon 30/01/2006 04:49:13
I recently started playing the game "Prodigal" and today when I tried to load a game, the program immediately shut down and I got an Illegal Exception error message that said to notify CJ on the Tech Forum.  I tried to load two different saved games and got the error every time, but the numbers sometimes varied.  The following is what I received the first time:

An exception 0xC0000005 occurred in ACWIN.EXE at EIP=0x7C91152A ; program pointer is +378, ACI version 2.71.891, gtags (0, 36)  AGS cannot continue, this exception was fatal.

Other numbers that have occurred (with the rest of the message being the same) are EIP=0x7C9122BA, pointer +4300, and gtags (1360,64) and (1350, 400)

I am really new to the AGS program in general and am at a loss as to what to do about this.  If someone could help me with this issue I would greatly appreciate it.
Title: Re: Illegal Exception
Post by: Rui 'Trovatore' Pires on Mon 30/01/2006 11:30:32
Oh boy... Trisk thought the issue had been resolved...

First off, and this is very important, go over to the Completed Games board (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=23447) and check to see whether the version you have is the LATEST one. Supposedly, the latest one fixed such issues, which were common in early versions. If you don't have the latest, and this solves your problem, let us know... and let us know if it doesn't.
Title: Re: Illegal Exception
Post by: Pumaman on Mon 30/01/2006 19:49:19
Any chance you could upload the save game files that are causing the problem?
Title: Re: Illegal Exception running Prodigal
Post by: on Thu 02/02/2006 21:14:50
I looked through the Completed Games board and it sounds like I do have the most recent version (1.1).Ã,  How would I upload the saved game that isn't working?Ã,  (Sorry, I'm totally clueless about this stuff).
Title: Re: Illegal Exception running Prodigal
Post by: strazer on Thu 02/02/2006 21:28:17
Compress the savegame files from the game folder (agssave.001 and so on) into a single zip file, then you can use Neole's server (http://www.2dadventure.com/ags/upload/upload.html) or AGS Uploads (http://americangirlscouts.org/agsuploads/) to upload that. Post the resulting link here.
Title: Re: Illegal Exception running Prodigal
Post by: on Sat 04/02/2006 21:06:31
Okay, here are all of the saved games I have.Ã,  I tried the last two or three games several times and had problems with them.Ã,  I don't think I tried the earlier ones, but I don't really remember off the top of my head.

http://www.2dadventure.com/ags/Prodigal_Saves.zip
Title: Re: Illegal Exception running Prodigal
Post by: Pumaman on Sun 05/02/2006 13:31:59
Hmm, this seems to be some sort of bug with the MP3 player.

To get your save games to work, run Setup and disable sound and music, then try again.

I'm not sure what's causing this problem to happen; has anyone else had crashes with Prodigal?
Title: Re: Illegal Exception running Prodigal
Post by: on Sat 11/02/2006 05:38:51
Turning off the sound solved the problem.Ã,  Actually, once I had played for a few minutes and saved a new game, I was able to turn the sound back on, load the newest game, and it's still working.Ã,  Thanks for all the help!
Title: Re: Illegal Exception running Prodigal
Post by: Pumaman on Sat 11/02/2006 20:03:34
Glad you got it working!

After investigation, it turns out that a couple of the MP3 that Prodigal uses are slightly corrupt, and when AGS attempts to resume playback of the mp3 when you restore a save game, it's falling over because the MP3 contains invalid information.

Trisk, what application did you use to create the music?
Title: Re: Illegal Exception running Prodigal (SOLVED)
Post by: Trisk on Fri 23/02/2007 21:13:49
Hey, sorry, this was just brought to my attention. I used Adobe Audition, which is a pro level sound authoring program. I would guess that the corruption has come about in the master files of wherever folks are getting the download from. I've never run into any reported problems with .mp3 corruption before now.

Is it the download link from the AGS games page that people are getting the corrupted files from? If it is I'll reupload that link and see if that solves the problem. Thanks, to SSH for sending me a PM about it.

Pumaman, how were you able to tell the files were corrupt? I'd like to test my master copy and make sure it is OK...

Thanks,
Trisk
Title: Re: Illegal Exception running Prodigal (SOLVED)
Post by: mr.me on Fri 23/02/2007 21:42:55
I got it from the first download link here: http://www.adventuregamestudio.co.uk/games.php?action=detail&id=644
Title: Re: Illegal Exception running Prodigal (SOLVED)
Post by: Pumaman on Fri 23/02/2007 23:35:08
Err blimey, it was a year ago that I looked into this ... as I remember there was something subtle wrong with the MP3 file headers, so it would play fine if you just played it from the start, but if you tried to seek it things would go wrong. It's so long ago that I investigated it that I can't remember the details now.
Title: Re: Illegal Exception running Prodigal (SOLVED)
Post by: SSH on Sat 24/02/2007 06:35:16
Perhaps if you converted all the sound files to Ogg (and you get batch conversion programs) it would solve it?