File Size very big

Started by Miori, Mon 13/07/2009 08:10:30

Previous topic - Next topic

Miori

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

Ghost

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).

Akatosh

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?

Gilbert

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).

Gamejelly

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.

Miori

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. :(



Creator

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.

Ishmael

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?
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.

Dzhak

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.

Miori

@ 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 )

Ishmael

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.
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.

TerranRich

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.
Status: Trying to come up with some ideas...

SMF spam blocked by CleanTalk