A suggestion

Started by stormboy, Thu 11/09/2003 13:18:02

Previous topic - Next topic

stormboy

Hi, I'm really enjoying trying to learn the basics of AGS.

In a test game room I made, I used some rather large sprite graphics.
So much so that straight away I noticed my exe was compiling at 20 megs +.

Sure enough when I zipped it(the compiled exe),
file size went down to 2 megs, ok. But still, it's
a large exe when it's unzipped...

So then I worked out that the file where all the sprites are saved to is

acsprset.spr

This file is obviously being compiled into the exe.

But, why not either compress it at compile time (so to keep the exe file size as low as possible, or, keep the sprites as a resource file outside the
exe?

I know that probably the latter option is not wise because you want immediate access to the runtime assets, but,
at least with option one, ie, compressing the acsprset.spr file
the exe size is kept reasonable.

I've of course had the "keep size chunks to 1meg"  optioned in options,
but, it's not counting the sprites as resources that can be kept in seperate
resource files.

Probably for games using miniscule sprites this ain't a worry, but
if you want to use bigger sprites , in a character rich simulation,
then, having a massive exe seems inevitable, and  certainly does not feel
right to me at least.

So, my suggestion is that somehow the size of the exe should be kept
reasonable if possible by compressing the size of the acsprset.spr file
when it's combined into the exe, or seperating the the sprites from the exe
somehow.


I've had a day with Roger and his clone, hah! AGS has got me hooked.











Ishmael

#1
1. I belive ALL suggestions go to the Tech Forum

2. I see no easy way for the compressing of the sprites in compile, but I might be wrong.

3. I believe using .pcx images, which are compressed already, does the thing anyway.

(4. Did you put some empty lines on the end of that post or what?)

;)

----- EDIT -----

My classic "allready" struck again... :P
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

SMF spam blocked by CleanTalk