Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Adorewood on Tue 14/03/2006 14:45:37

Title: AGS crashing due to bug with Fonts (SOLVED)
Post by: Adorewood on Tue 14/03/2006 14:45:37
I have been building a game using AGS for sometime now. However, yesterday, I ran into a serious problem. I had downloaded a bunch of font files to use in my game. I tested them one by one. Suddenly, after I had chosen one of the fonts, AGS crashed. Now, when I reopen my game, it all works fine, but whenever I open up "Fonts", the game shows the following error:
(Exception 0x00000000 at EIP = 0x00000000, AGSEDIT v2.71.631, SIP=26)

What can I do? Is it possible to revert the fonts in my game to the default fonts without opening up the editor? Please help me.
Title: Re: Help, AGS crashing due to bug with FONTS
Post by: strazer on Tue 14/03/2006 14:49:14
Check the BFAQ (http://americangirlscouts.org/agswiki/index.php/AGS_Editor_%26_User_Interface#Reverting_back_to_default_AGS_fonts):
Quote from: BFAQ
Close AGS, and then delete any files named "agsfnt??.wfn" or "agsfnt??.ttf" files from your game's main folder. Then, restart AGS and load up your game. Voila! Back to the defaults.

A newer and much easier way is to click the "Revert to defaults" button in the Fonts pane of the AGS Editor. This will revert the font choices to 0, 1, and 2 (the original SCI fonts) and will DELETE all the other fonts. As fonts above #2 are deleted, make sure you did not refer to any fonts other than 0, 1, or 2 in your game, or you will need to fix pesky crashes in your game yourself.

To be on the safe side, I suggest moving the files out of the folder instead of deleting them right away.
Title: Re: Help, AGS crashing due to bug with FONTS
Post by: Adorewood on Tue 14/03/2006 14:54:51
I tried that. And well, I'm still asking for help :)

Edit:

oh wait, it worked!!!!!!!!!! hurray!!!!!!!!! I LOVE YOU!!!!!!!!
Oh sweet gamer of the AGS times,
I was stupid not to heed your chimes,
And, oh, your lone intelligent rhymes
The last line doesnt rhyme and i dont care..

Thanks again, mate.
Title: Re: Help, AGS crashing due to bug with FONTS
Post by: strazer on Tue 14/03/2006 15:21:37
You're welcome.

But what did you do differently this time that it suddenly worked?