.spr filesize

Started by Revae, Fri 16/03/2012 04:36:18

Previous topic - Next topic

Revae

So my sprite images equal ~20MB total in their raw .png format.  But the .spr filesize is around 310MB. I have about 500 sprites used in the editor.

Is there a way to remedy this, or is their something I'm missing?  I don't even have my short demo done, and the game is much larger than I was hoping it would be at this point.

On an unrelated note, is there a way I can get it to stop greying out buttons when the script is blocking actions?

But mostly the filesize thing.

Calin Leafshade

Both options are in the general settings

Look for Compress The Sprite File and When player interface is disabled GUIs should:

Revae

Pft.  It's always the most obvious places...  Don't know why I didn't think to look there.  Thanks.

The filesize is 60MB now.  Still ~3x larger than the original sprites, but much better, thank you.

Any reason the .spr file would be so much larger?  Or info on how it's generated?  I tried searching around, but it's hard to search for '.spr' without pulling up all sorts of others things.

Calin Leafshade

PNGs have more advanced compression than AGS (specifically zlibs DEFLATE).

AGS uses simple RLE for its compression so it wont be as good as PNGs native compression i'm afraid.

SMF spam blocked by CleanTalk