Adventure Game Studio

Community => General Discussion => Topic started by: Danman on Tue 22/12/2009 15:09:09

Title: Game size help (The Hunt For Shaun Binda )
Post by: Danman on Tue 22/12/2009 15:09:09
If there is a better place for me to put this thread please tell me.
This is continuing the discussion on my game's size of The Hunt For Shaun Binda.
Has anyone got any advice on how I can lower the game size or compress to a lower size more then Winrar.
The game is 57Mb exactly i think. and I can maybe manage 5mb. Winrar can do 15mb.
any help will be appreciated and the more help the quicker you can play my game  ;D .
Title: Re: Game size help (The Hunt For Shaun Binda )
Post by: Helme on Tue 22/12/2009 15:16:33
Is 57mb the size of the whole game folder or of the compressed 'compiled'-folder?
Title: Re: Game size help (The Hunt For Shaun Binda )
Post by: Danman on Tue 22/12/2009 15:18:20
57MB is the compiled game folder. 15mb is when compressed.
Title: Re: Game size help (The Hunt For Shaun Binda )
Post by: Calin Leafshade on Tue 22/12/2009 15:21:08
which file is biggest in your compiled folder?

music.vox?
Title: Re: Game size help (The Hunt For Shaun Binda )
Post by: Danman on Tue 22/12/2009 15:38:02
No I think I chose the music to compile to the .exe . Right now I am not at home to check but  I remember doing that. The exe is the biggest. 55Mb - 57mb.  There is another file audio.vox or something else that was 2Mb. But the music Is only about 10mb or so. After I did these drunk effects that were animated backgrounds like 10 frames. Then It started to get big. I might have to remove them  :-\ But there really cool effects  8) .
Title: Re: Game size help (The Hunt For Shaun Binda )
Post by: Calin Leafshade on Tue 22/12/2009 15:41:22
there is an option that allows you to compress the sprites.. that might help alot.
Title: Re: Game size help (The Hunt For Shaun Binda )
Post by: Danman on Tue 22/12/2009 15:46:21
Is there.  :o where is that option??  :D
Title: Re: Game size help (The Hunt For Shaun Binda )
Post by: Helme on Tue 22/12/2009 15:49:27
Generel Settings - Compiler - Compress the sprite file -> true
Title: Re: Game size help (The Hunt For Shaun Binda )
Post by: Calin Leafshade on Tue 22/12/2009 15:54:31
yeah, since your background sprites are pretty flat in terms of colour RLE compression should help alot.
Title: Re: Game size help (The Hunt For Shaun Binda )
Post by: Danman on Tue 22/12/2009 16:00:46
Just to make sure . I am using Ags version 3.2 RC2 beta are those options are on that?  ???
I will only be able to try those options on Thursday but more things to make it smaller the better.
and another thing I did put the game in 32bit if that matters.
Thanks  ;D
Title: Re: Game size help (The Hunt For Shaun Binda )
Post by: Crimson Wizard on Tue 22/12/2009 16:04:22
Quote from: Danman on Tue 22/12/2009 16:00:46
and another thing I did put the game in 32bit if that matters.
That actually does matter. I don't know how graphics compression work in AGS, but in terms of plain bitmaps 32 bit image is twice as large as 16 bit one.
Title: Re: Game size help (The Hunt For Shaun Binda )
Post by: Danman on Tue 22/12/2009 16:08:05
QuoteThat actually does matter. I don't know how graphics compression work in AGS, but in terms of plain bitmaps 32 bit image is twice as large as 16 bit one
If I change it to 16bit or 8bit will that effect any of my colors of my backgrounds or characters??
Title: Re: Game size help (The Hunt For Shaun Binda )
Post by: Crimson Wizard on Tue 22/12/2009 16:14:25
Quote from: Danman on Tue 22/12/2009 16:08:05
QuoteThat actually does matter. I don't know how graphics compression work in AGS, but in terms of plain bitmaps 32 bit image is twice as large as 16 bit one
If I change it to 16bit or 8bit will that effect any of my colors of my backgrounds or characters??
This depends on which colours did you use on these images. When image is downgraded, I think program tries to choose closest possible colours. In some cases you may not see difference. In some cases certain hues may dissapear (they will change to closest available variant).
Downgrading to 8 bit (256 colours) is too radical decision, in my opinion ;). Try using 16 bit first (but make a backup copy of your project before you do this!).
Title: Re: Game size help (The Hunt For Shaun Binda )
Post by: Danman on Tue 22/12/2009 16:28:47
alright so I will try downgrading to 16bit and I will try compressing the sprites.
Thursday I will give an update on my progress thanks guys really helped me  ;D .
If you have any more idea's like the music is mp3 should I change it to another format?
Title: Re: Game size help (The Hunt For Shaun Binda )
Post by: DrWhite on Wed 23/12/2009 16:16:55
Mp3 is a good format, but you could play around with the bitrate and see if it still sounds ok at 128k/sec. If you have some NES-like 8bit music, you won´t need 160k/sec. and probably you won´t need stereo.

By the way, I never tried to use mono mp3s in AGS, but I think it should work fine.
Title: Re: Game size help (The Hunt For Shaun Binda )
Post by: Danman on Thu 24/12/2009 18:02:02
OK I am at home to experiment. and I compressing to sprite. Helped but
When I compress it with Winrar it is still 15MB. But the music is about 7mb all uncompressed.
I have now cropped all the sprites and deleted unnecessary sprites and I got 14.5MB with winrar.
But it is still too big.

16bit and 32bit did no difference on game size either.(Maybe the pic's are already 16bit or something)
Quote
yeah, since your background sprites are pretty flat in terms of colour RLE compression should help alot.
What was calin talking about here ???

Somebody Please Help :)


Title: Re: Game size help (The Hunt For Shaun Binda )
Post by: jetxl on Thu 24/12/2009 22:11:13
Quote from: Danman on Thu 24/12/2009 18:02:02
Quote
yeah, since your background sprites are pretty flat in terms of colour RLE compression should help alot.
What was calin talking about here ???

Google/wikipedia!!!


Winrar is compressing it 366%. Unless you make some radical decisions it will never be that much lower.
Radical idea 1: Divide the game over 2 or more chapters, each a different game exe.
Radical idea 2: Change the screen resolution of all backgrounds (and sprites too).
Radical idea 3: Remake the game in an older version of AGS that has less built in libraries.
Radical idea 4: I'm just guessing here but use/draw less walkable areas and hot spots.
Not so radical idea: More midi music and less animated backgrounds.

In this modern world with high speed internet access there isn't much sense in making files a few MB smaller.
Title: Re: Game size help (The Hunt For Shaun Binda )
Post by: Calin Leafshade on Thu 24/12/2009 22:23:39
Even if you enable sprite compression, its just going to reduce the amount of compression that winrar can do. So youre going to still get a final filesize about the same.

Bottom line, if winrar is compressing it 366% you arent going to get it any smaller without getting rid of stuff.
Title: Re: Game size help (The Hunt For Shaun Binda )
Post by: Danman on Fri 25/12/2009 00:31:10
In Zimbabwe (we're I live) Internet is like new here in Africa.
So It is slow as hell you think a connection of 1/mb s is slow.
Here it is 5/kb's or slower even. So uploading is a lot slower.

That's why I need it smaller.
But I think you guy's are right I got no chance on getting it smaller i will just
wait till next month and try to upload it on a faster connection.
Or I might just split the files

Thanks for replying.

Title: Re: Game size help (The Hunt For Shaun Binda )
Post by: Crimson Wizard on Fri 25/12/2009 01:15:20
I recall you wrote "After I did these drunk effects that were animated backgrounds like 10 frames".
Maybe it is possible to make this somehow differently? What are those effects you were doing?
Title: Re: Game size help (The Hunt For Shaun Binda )
Post by: Danman on Fri 25/12/2009 22:53:35
Crimson Wizard: I checked my game pictures again and the drunk effects are not the problem it is just all my animated scenes I did. I will make another plan to upload them.
Thanks a lot for replying  ;D