How to prune iTGB...
by Dan Pereira · in iTorque 2D · 07/08/2009 (12:12 pm) · 8 replies
A few days ago I could compile my app and get a 9.2 mb executable. I added two text objects and one 90k png and now I get a 13.1 mb executable. I figured out that the fonts selected then deselected for the text objects linger in the common/data/fonts folder so I deleted them. What else can I remove to reduce the executable's footprint? Do .cs files need to be included at all? I did comment out a bunch of stuff in common.cs which reduced the size and loading time significantly, but I haven't made any changes other than the ones listed above. I would like to get the executable size under 10 mb because I read that there is an AT & T limit on app downloads. Is this even true?
#2
07/08/2009 (12:50 pm)
You're lucky. My game turned out to be 35MB compressed! Then again, I've got 217 MP3 and WAV audio files.
#3
You'll also want to remove any resources that you are not using, like all the default GUIs and their images(assumming you are not using them).
07/08/2009 (2:14 pm)
No, you don't need the .cs files. For that matter, .t2ds and .guis can go too, just compiled DSOs are needed.You'll also want to remove any resources that you are not using, like all the default GUIs and their images(assumming you are not using them).
#4
You can delete all the images out of the common folder, since odds are you're not using them.
Delete all the .cs, .gui, et al out of the common folder as well.
07/08/2009 (2:34 pm)
For your final version, if you have PVR images, you don't need the PNG files in there as well.You can delete all the images out of the common folder, since odds are you're not using them.
Delete all the .cs, .gui, et al out of the common folder as well.
#5
07/08/2009 (10:30 pm)
To answer the last question: The 10MB limit is the truth; An iPhone can only download 10MB+ apps while on wi-fi or directly with iTunes+sync. I think the limit is from Apple, to protect users from large downloads on the expensive phone networks. It works the same here in Norway.
#6
totally annoying as I have a 1GB quota / month and can't download anything with it due to apples god alike allures once again.
Not every user is dumb like bread and needs to be protected like a diaper baby.
07/09/2009 (2:13 am)
Yupp, its an OS restriction sadly.totally annoying as I have a 1GB quota / month and can't download anything with it due to apples god alike allures once again.
Not every user is dumb like bread and needs to be protected like a diaper baby.
#7
07/30/2009 (1:52 am)
i heard it was a carrier enforced limitation. but that might be beside the point
#8
Bad thing to see how large of an impact AT&T has generally on the whole iPhone & App Store thingy, damn monopolist.
The worst thing I don't understand about it is that you can't buy games larger than 10MB even if you can't download them on 3G
Thats just kind of plain stupid as they also don't have a possibility to mark apps to check them later again when on wifi / itunes
Its like a double punch into the devs faces
07/30/2009 (2:11 am)
If, then AT&T enforced and apple just pushes through that enforcements to all because I definitely don't have it on mine.Bad thing to see how large of an impact AT&T has generally on the whole iPhone & App Store thingy, damn monopolist.
The worst thing I don't understand about it is that you can't buy games larger than 10MB even if you can't download them on 3G
Thats just kind of plain stupid as they also don't have a possibility to mark apps to check them later again when on wifi / itunes
Its like a double punch into the devs faces
Torque Owner Bret Patterson