Folder size = 5.4MB, Build size = 52.3MB!

My game resides in a folder where the size of the files adds up to 5.4MB.

Why is the build size so big? How do I reduce it?

usually APIs like OpenFeint and physics add some MB to the build.
but 52MB is indeed not normal...

How do I remove OpenFeint from the build?

it's not added when you don't require it.
but OF usually takes just a few MB (5 or so)... so there has to be something else.

I am using physics in one game. Hard to believe that is adding so much to the build size.

yes, it is. are you using any other 3rd party tools like CPM?
what else do you require in?

Nothing else.

I've just got a bunch of .lua and .png files, four sound files and a ttf font file.

hmm. strange...
if you want you can send me your (zipped) project to
finefin at googlemail and I will take a look and try to build it...

(discretion guaranteed)

That's very kind of you and I appreciate all your help so far but I don't think my boss would be too happy with your suggestion even though it's not a problem for me. I better play safe.

understood.
so what corona build do you use?
did you try to build another app, like any of the templates, and compare sizes?

Good suggestion.

Just built the Facebook and EggBreaker example apps and both are 3.5MB. I must be doing something seriously wrong.

How does one get the build id/number? I downloaded the latest one about 3 weeks ago.

you can see the version number in the about menu of the simulator.

It's Version 2011.591 (2011.8.2)

Is there anything else in the folder your building from? PSD's, mp3s?

Well spotted.

I feel like an idiot.

Sorry to have wasted your valuable time.

I've just realised I've been looking in an old folder and not the actual build folder. The cause of the large build size is large music files which aren't in the old folder.

My apologies.

Edit: What is the best sound format that can be used on both iPhone and Android?

@camden_kid : Glad it's sorted. Don't worry about it, it happens to the best of us ;)

.mp3 can be used on both, only use for background music however. Use .wav for sound effects :)

@canupa.com and @Danny

Thank you.

Build now at 8.3MB using just mp3 sound formats.

views:1559 update:2011/9/27 8:54:05
corona forums © 2003-2011