Increase in binary size

Hi,

I’m making a game that when compiled with SDK 484 its size is about 3MB.

Yesterday I decided to add it OpenFeint features (just some lines of code) and compile it with the 562 daily build. Once compiled, the binary has increased in size to 12 MB.

Is that increase in size normal?

Thanks,

Isidro [import]uid: 53514 topic_id: 12128 reply_id: 312128[/import]

OpenFeint does add a fair chunk to your app, yes. [import]uid: 52491 topic_id: 12128 reply_id: 44186[/import]

I have my app integrated with openfeint, it adds like 3-5MB to your zip file. The zip file I submitted to the App Store is 18.2MB. Then when the app is approved, I download a promo code version and the app is 20.2MB! An increase in 2MB after submission to the App Store. So better watch out for your app size if wanna get below 20MB. I have submitted an update with a new zip file sized 17.5MB. Hopefully it will get approved before my release date and will make it below 20MB. [import]uid: 12979 topic_id: 12128 reply_id: 50412[/import]

I too am seeing a huge increase in file size when OF is added. My build goes from 5.8mb to 12.4mb when I add OF.

I have read a few discussions in the forums, and the only answer I’ve got is the simple “yes, openfeint adds a few mb to your app size”… but 6.6mb!

From what I can tell, previous builds cause less of an increase??? Am I to believe I should build with an older version?

This is my first project with Corona… and this comes as a bit of a shock. I am hoping to use physics in my next project and I believe that will add even more! So Am I looking at 10+mb being added to my projects with OF and physics enabled? After spending many hours optimizing graphics and code… this is very dissappointing

Cheers
Richie [import]uid: 81664 topic_id: 12128 reply_id: 50834[/import]

Hey there,

The difference between an app with OpenFeint and an app without is 3.2MB, zipped.

It is the compressed version that is distributed.

Peach [import]uid: 52491 topic_id: 12128 reply_id: 50868[/import]

Hi Peach,

As for me, my 18.2MB zip file turned out to be 20.2MB when it is approved by Apple in the App Store. It included OpenFeint, could this be the issue? I thought normally the approved app size will only be increase around 0.1-0.5MB. Anyone experienced this? [import]uid: 12979 topic_id: 12128 reply_id: 50872[/import]

Hi Peach. Thanks for the reply.
I’ll double check again… see what the zip file is in comparison and post the results.
But did I see some other discussions about the unzipped files size being the one made available for download on the app store? Can you confirm that the zipped file size is the one which Apple applies the 20MB download limit to?
Have Ansca considered only including the required Openfeint Assets in the binary… for example, only portrait assets in an app that only supports portrait mode? Would this made much difference to the resulting file size? After all, every mb counts eh :slight_smile:
Cheers
Richie [import]uid: 81664 topic_id: 12128 reply_id: 50874[/import]

Hey
ok, I have checked everything and here’s what I got

>
Application folder size - 3.1MB
>
Non Openfeint IOS Binary - 5.8MB
Zip Archive - 3.5MB
>
Openfeint Enabled IOS Binary - 12.4MB
Zip Archive - 6.7MB

So, as you say Peach… enabling Openfeint will add 3.2MB to zipped app size.

If it is this zip file that is referenced when applying the 20MB download limit then 3.2mb is worth the added benefit of having an Openfeint enabled app.

Cheers all
Richie [import]uid: 81664 topic_id: 12128 reply_id: 50883[/import]

Yes, it is the compressed version that is downloaded - it is then expanded once it’s on your iPhone or iTunes. (I don’t know about all the technical elements of this, but I just checked and can confirm it IS the case.)

Pinchgames, there is always a little bloating at that end - although not being involved with that kind of thing I can’t tell you exactly what it is based on. (I can tell you that I’ve had similar amounts added to my own apps, however and as a result my rule is a 17MB zip file.)

Peach [import]uid: 52491 topic_id: 12128 reply_id: 51096[/import]

Thanks for confirming this Peach… wont be an issue for this title so. And good to know the 17mb zip limit to aim below.

Cheers all
Richie
PufferFish Games [import]uid: 81664 topic_id: 12128 reply_id: 51265[/import]