Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: EdLoen on Wed 16/07/2008 05:53:24

Title: computer crashed while testing [resolved]
Post by: EdLoen on Wed 16/07/2008 05:53:24
I'm using the 2.72v editor to finish up my first dive into AGS(since I started the project a couple years ago), but on the recent play test, my computer locked up and I had to hard-reset.  So when I loaded it up, I received a sprite file error.

This:
(http://img.photobucket.com/albums/v612/EdLoen/Error1.jpg)

I cursed but decided to just try opening it in 3.0 since I had downloaded it not too long after it was released.  I copied the folder and proceeded to open it and it still errored, but the new editor gave more info:
(http://img.photobucket.com/albums/v612/EdLoen/Error2.jpg)
Not that I understand any of that. It's all Greek to me.

Now, I have a backup from awhile ago.  I wouldn't be too much trouble to go back and just start up again. but the backup was from before I asked for help on adding variables.  The biggest set back would be remembering what I did after that (I don't have the best of memory), but digging around to see what's there and what's not should set be back on track.

Though honestly, I'd rather see if I can resolve this first.  If I can save the file, I'd rather do that. Especially since--as this file is--I'm one more thing away from first beta.
Title: Re: computer crashed while testing
Post by: Khris on Wed 16/07/2008 10:36:36
There's always a very recent backup of three important data files right inside the game dir.
Just delete "acsprset.spr", then rename "backup_acsprset.spr".
Title: Re: computer crashed while testing
Post by: EdLoen on Wed 16/07/2008 14:27:39
I used the recent copy I made last night to do this. I deleted the first file, and renamed the second by removing the "backup_", as I think that's what you meant, and  I'm still getting the same error.
Title: Re: computer crashed while testing
Post by: Pumaman on Wed 16/07/2008 20:43:21
Delete the SPRINDEX.DAT file, and see if that helps.

If not, there's probably not a lot you can do -- if your computer locked up while AGS was in the middle of saving the sprite file then it could well be corrupt and irretrievable. The backup_acsprset.spr file should usually save you but if that doesn't work either you'll have to restore from a backup.
Title: Re: computer crashed while testing
Post by: EdLoen on Wed 16/07/2008 22:49:19
my computer locked up during play testing, not while saving.  It's just that my computer has been randomly freezing.  I've done everything from clearing temp documents to running defrags and disk doctor.  But let's not get into that issue here.

I'll delete that then edit this post with if it persists or desists.

Alright, deleting the sprindex file help.  It doesn't error out anymore.

Thanks guys.