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? [import]uid: 64736 topic_id: 13993 reply_id: 313993[/import]

usually APIs like OpenFeint and physics add some MB to the build.
but 52MB is indeed not normal… [import]uid: 70635 topic_id: 13993 reply_id: 51510[/import]

How do I remove OpenFeint from the build? [import]uid: 64736 topic_id: 13993 reply_id: 51511[/import]

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. [import]uid: 70635 topic_id: 13993 reply_id: 51513[/import]

I am using physics in one game. Hard to believe that is adding so much to the build size. [import]uid: 64736 topic_id: 13993 reply_id: 51514[/import]

yes, it is. are you using any other 3rd party tools like CPM?
what else do you require in? [import]uid: 70635 topic_id: 13993 reply_id: 51515[/import]

Nothing else.

I’ve just got a bunch of .lua and .png files, four sound files and a ttf font file. [import]uid: 64736 topic_id: 13993 reply_id: 51516[/import]

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) [import]uid: 70635 topic_id: 13993 reply_id: 51517[/import]

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.
[import]uid: 64736 topic_id: 13993 reply_id: 51518[/import]

understood.
so what corona build do you use?
did you try to build another app, like any of the templates, and compare sizes? [import]uid: 70635 topic_id: 13993 reply_id: 51519[/import]

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. [import]uid: 64736 topic_id: 13993 reply_id: 51521[/import]

you can see the version number in the about menu of the simulator. [import]uid: 70635 topic_id: 13993 reply_id: 51523[/import]

It’s Version 2011.591 (2011.8.2) [import]uid: 64736 topic_id: 13993 reply_id: 51524[/import]

Is there anything else in the folder your building from? PSD’s, mp3s? [import]uid: 84637 topic_id: 13993 reply_id: 51525[/import]

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? [import]uid: 64736 topic_id: 13993 reply_id: 51528[/import]

@camden_kid : Glad it’s sorted. Don’t worry about it, it happens to the best of us :wink:

.mp3 can be used on both, only use for background music however. Use .wav for sound effects :slight_smile: [import]uid: 84637 topic_id: 13993 reply_id: 51531[/import]

@canupa.com and @Danny

Thank you.

Build now at 8.3MB using just mp3 sound formats. [import]uid: 64736 topic_id: 13993 reply_id: 51533[/import]