Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Miori on Mon 13/07/2009 08:10:30

Title: File Size very big
Post by: Miori on Mon 13/07/2009 08:10:30
Newly i wondered about the size of my compiled game. It is about 300 MB. Is it normal that it is so big?

I have 1278 Sprite Files, 63 Sprite Folders, 53 Views, 54 GUIs, 4 Inventory Items and 7 Charakters.

The game is still in the beginning and im afraid it will be to large. Could you give me a tip what i can do that it doesn't get such big?

Thank you
Title: Re: File Size very big
Post by: on Mon 13/07/2009 08:33:23
300 MB sounds a lot- do you use high-quality, non-midi music too? Or lots of very large sprites?

You can always compress the sprite file, that should decrease the overall size a bit, or use a lower colour depth for your graphics (not just the game, that won't work).

Are you sure you're not looking at the whole folder? You only need to upload the files in the compiled subfolder (usually three).
Title: Re: File Size very big
Post by: Akatosh on Mon 13/07/2009 09:30:19
Are you using .wav music files? These have an ugly tendency to massively blow up the filesize.

Coming to think of it, how much of those 300MB is taken by the "music.vox" file?
Title: Re: File Size very big
Post by: Gilbert on Mon 13/07/2009 10:03:33
Also, did you choose to compress your sprites?

If your sprites are "simple enough" this could give you a fair reduction on the filesize (even under high colour depth).
Title: Re: File Size very big
Post by: Gamejelly on Mon 13/07/2009 10:51:49
Yeah, having a huge filesize was a problem for me but we did have high-resolution backgrounds and characters/sprites along with high-quality audio.
Title: Re: File Size very big
Post by: Miori on Mon 13/07/2009 13:35:04
My Music.vox is just 6.1 MB. The .exe File is 256 MB. The Video Files are 47.6 MB. I think the most graphics i imported have 16 bit color depth.

The problem is the .exe file, it's very large. Now i activated the "compress the sprite files" option, but it doesn't change anything. :(


Title: Re: File Size very big
Post by: Creator on Mon 13/07/2009 14:30:42
You can split the game resource files when it's finished. There's an option in general settings to split the game into to x MB chunks. Don't know if that would help any though. Haven't used it myself. Also, what format are the videos? AVIs tend to be very large. You could convert them to MPG or OGG Theora.
Title: Re: File Size very big
Post by: Ishmael on Mon 13/07/2009 15:35:55
Video and digital music don't get built into the exe, so they are clearly not the problem. Do you use sound effects? What resolution is the game? Higher resolution means more space consumption obviously and a lot of (uncompressed) audio hogs space. Have you tried compressing the exe, does its size go down?
Title: Re: File Size very big
Post by: Dzhak on Mon 13/07/2009 15:39:35
I'm going to have this problem aswell.
I'm just at the start of my game and I can already see the file size growing fast.
Title: Re: File Size very big
Post by: Miori on Mon 13/07/2009 16:36:00
@ Ishmael

Yes, we use soundeffects, but they are not many and they are only 1.9 MB.
Our Game "Steuk" has a resolution of 640x480.

What do you mean with compressing the exe. Do you mean the sprite compression? We tried this but the size doesn't go down.

@ Creater

To split the file wouldn't help i think, if i split the 256 MB exe into 3 parts, so they are together still 256 MB. Besides it doesn't work correctly, i tried to split it to 100 MB pieces, but one piece is 256 MB and the second one is 6 MB, so it is larger than before.

I have an assumption, why it is so big. I had an animation of 800 Pictures. I imported it into game. Later i deleted the pictures and took only 200 Pictures. Could it be that the deleted pictures are still registrated in the game? I know some programms which do so and keep the big file size too. (for example Macromedia Flash Prof. 8 )
Title: Re: File Size very big
Post by: Ishmael on Mon 13/07/2009 17:11:22
I meant compressing as in zipping it. But since there's so little audio that's not the case.

How big is the acsprset.spr file for the game? If that is nearing the final exe size, then it's sprites amounting to that size, and there's not much you can do about it if you don't want to cut down on the amount of animations.
Title: Re: File Size very big
Post by: TerranRich on Mon 13/07/2009 19:38:01
Yes, ZIPping the entire game will usually cut the size down drastically. I remember compressing an 80MB file and it came out to 18MB or something.