Error when trying to load game

Started by Cordate, Fri 07/10/2022 07:41:30

Previous topic - Next topic

Cordate

The other day while I was working on my game, AGS stopped responding and I couldn't close it out, and using task manager didn't work so I restarted my computer. Now when I try to load my game I get an error that says "Unable to load spriteset from ACSPRSET.SPR. Unsupported spriteset format (requested 0, format 4-11)."
Is there a way to fix this or am I screwed?

Khris

Luckily AGS makes a backup of the spriteset file.

The very first thing you should do is make a backup copy of the game folder.

Now close AGS if it's still open, then go into the game folder and delete acsprset.spr and rename backup_acsprset.spr to acsprset.spr. Now try opening the game again.

Cordate

Quote from: Khris on Fri 07/10/2022 08:35:13Luckily AGS makes a backup of the spriteset file.

The very first thing you should do is make a backup copy of the game folder.

Now close AGS if it's still open, then go into the game folder and delete acsprset.spr and rename backup_acsprset.spr to acsprset.spr. Now try opening the game again.

Oh my god thank you so much! It worked!

Crimson Wizard

For the reference, which version of AGS are you using?

I don't remember when we did this, but in recent versions AGS supposed to save acsprset.spr to a temp file first, and replace the actual file only if writing was successful.

Another thing, in the most recent AGS 3.6.0 you can completely restore acsprset.spr if you still have got all the sprite source files you used in same locations (AGS saves the paths to these source files when you import them). This is done using a command in File menu.

But of course, making your own backups regularily is a good idea.

Cordate

Quote from: Crimson Wizard on Fri 07/10/2022 10:30:17For the reference, which version of AGS are you using?

I don't remember when we did this, but in recent versions AGS supposed to save acsprset.spr to a temp file first, and replace the actual file only if writing was successful.

Another thing, in the most recent AGS 3.6.0 you can completely restore acsprset.spr if you still have got all the sprite source files you used in same locations (AGS saves the paths to these source files when you import them). This is done using a command in File menu.

But of course, making your own backups regularily is a good idea.
I'm using 3.5

SMF spam blocked by CleanTalk