Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: fidodido on Mon 25/08/2003 16:15:22

Title: Are unused sprites make the game take more disk space?
Post by: fidodido on Mon 25/08/2003 16:15:22
I have some (about 50) sprites in the "Sprite Manager" Libraries that I didn't used in the game.

I want to know if they will enlarge the size of the compiled game, because if they will I'd just delete them (I'm afraid fatal errors might occur if I delete them).

Thank you...

EDIT:

One more thing - my upcoming game is taking more than 30 MB uncompressed, and about 11 MB compressed.

My question is: what can I do to cut the size of my game, so it will be more downloadable?

Note: my game has no speech - the backgrounds and the sprites are the things that make the game so large.

EDIT #2:

I have one MP3 file that takes 3.5 MB, and is uncompressable - what program I could use to reduce the quality of the MP3, so it will take less space?
Title: Re:Are unused sprites make the game take more disk space?
Post by: Archangel (aka SoupDragon) on Mon 25/08/2003 19:08:08
To your first question: the short answer is yes, but in practice 50 sprites won't make much of a difference (especially when compressed with winzip)

To your edits: the mp3 is obviously the single largest item, but 3.5meg is still fairly small for an mp3. If you absolutely want to squeeze all the space you can out of this, I'd suggest getting OggDrop, the utility for creating .ogg files, set the quality to 2 (96kbps), and convert the mp3 to an ogg file (in my experience ogg performs better than mp3 at low bitrates). The only real other ways of reducing the size of your game are:
1. Reducing it to 256 colour
2. Using 320x200 graphics instead of 640x400
But 11 meg still isn't that much, providing that the user gets a decent game at the end of it :)

Edit: and remember you don't need to distribute the music file itself, just the music.vox file that ags produces.
Another edit: you can get oggdrop from http://www.vorbis.com/files/1.0/windows/oggdrop-win32.zip (http://www.vorbis.com/files/1.0/windows/oggdrop-win32.zip)
Title: Re:Are unused sprites make the game take more disk space?
Post by: fidodido on Tue 26/08/2003 04:46:04
Thank you very much, Archangel.

< Downloading OggDrop... >

Does the music.vox file take less space than the MP3 file?

Title: Re:Are unused sprites make the game take more disk space?
Post by: Ishmael on Tue 26/08/2003 05:18:21
No, I think. Chris probaply hasn't included a compressor n the engine...
Title: Re:Are unused sprites make the game take more disk space?
Post by: Archangel (aka SoupDragon) on Tue 26/08/2003 22:07:20
No, all the music.vox file does it keep all your mp3 and ogg files together in one handy file.
Title: Re:Are unused sprites make the game take more disk space?
Post by: Gilbert on Wed 27/08/2003 02:48:19
And that (sort of) prevents other people to peep at your sound files and play them out of the game.