Brew dll size on hardware | developer.brewmp.com Brew dll size on hardware | developer.brewmp.com

Developer

Brew dll size on hardware

I have been contracted to develop a game for multiple mobile platforms, including BREW. I am currently in the preproduction phase and have never developed a BREW application before, hence my total ignorance of the sizes of BREW dll's.

What size on average would the hardware dll be for a typical application? I only have the BREW SDK at present and so I can only compile for the emulator.

I have been advised by the carrier that the minimum amount of total storage space on their lowest spec BREW 1.1 phones is 250KB. My job right now is to work out just how that space can be split across the various game resources (art, code, sounds etc). This is difficult since I dont know how much space to allocate to the code.

In case it helps, I provide the following details:
- Game will be coded in C, not C++ (unless something in BREW forces me to use C++).
- BREW 1.1
- Lua VM will be embedded in the game.

Finally, does that minimum size of 250KB total storage space sound right to people? To me it seems tiny, but my background has primarily been in developing GBA games, where 4MB was a typical cart size. I have also developed 3D games for newer openGL ES phones as well as the n-gage, but they have a lot more storage space as well.

I'm not sure if 250kb is the minimum, couldn't it be the maximum? :rolleyes:
If you have access to the extranet, you can get the "DDS", Device Data Sheet, which includes heap and efs size maximum size.
Also, some carriers limit their acceptable size per phone / brew version: some old 1.1 phones might be constrained to 250kb range, and newer ones might probably accept apps in ~1mb range...

I'm not sure if 250kb is the minimum, couldn't it be the maximum? :rolleyes:
If you have access to the extranet, you can get the "DDS", Device Data Sheet, which includes heap and efs size maximum size.
Also, some carriers limit their acceptable size per phone / brew version: some old 1.1 phones might be constrained to 250kb range, and newer ones might probably accept apps in ~1mb range...

DC++ wrote:
I have been advised by the carrier that the minimum amount of total storage space on their lowest spec BREW 1.1 phones is 250KB.
OK, that was a typo. I meant that the *maximum* storage available on their lowest spec phone is 250KB.
My most pressing question right now is actually how much of that 250KB will be taken up by the dll. Since I dont have the ARM compiler yet, I cant build my code to see how large the dll will be on the hardware, but I need to provide the art team with an estimate of how much space they will have.

DC++ wrote:
I have been advised by the carrier that the minimum amount of total storage space on their lowest spec BREW 1.1 phones is 250KB.
OK, that was a typo. I meant that the *maximum* storage available on their lowest spec phone is 250KB.
My most pressing question right now is actually how much of that 250KB will be taken up by the dll. Since I dont have the ARM compiler yet, I cant build my code to see how large the dll will be on the hardware, but I need to provide the art team with an estimate of how much space they will have.

I'd say 80 - 100k, but it can vary depending on how complicated the app is and whether you use ARM mode or THUMB. I compile the dll with all debugging features turned on (VC 2003) and end up with a thumb mode mod from gcc that's about 40% of the size of the dll.

I'd say 80 - 100k, but it can vary depending on how complicated the app is and whether you use ARM mode or THUMB. I compile the dll with all debugging features turned on (VC 2003) and end up with a thumb mode mod from gcc that's about 40% of the size of the dll.

Thanks. I will use 100K as the estimate for now. Like all storage budgets, space will be traded between items as we go anyway. But I needed a reasonable starting estimate, which I now have :)

Thanks. I will use 100K as the estimate for now. Like all storage budgets, space will be traded between items as we go anyway. But I needed a reasonable starting estimate, which I now have :)

yeah 80K seems about right for a mod size, remember the limitation for total app size is generally the synthetic figure made up by the carrier, regardless of what the phone can have. they generally limit the sizes to the 150K, 300K and 1.5MB depending on what the phone is.
lua VM is all float based there is no integer scalar type, but you probably already know that.

yeah 80K seems about right for a mod size, remember the limitation for total app size is generally the synthetic figure made up by the carrier, regardless of what the phone can have. they generally limit the sizes to the 150K, 300K and 1.5MB depending on what the phone is.
lua VM is all float based there is no integer scalar type, but you probably already know that.