Results 1 to 8 of 8

Thread: Downloading custom brew games

  1. #1
    Join Date
    Dec 2004
    Posts
    2
    Feedback Score
    0

    Downloading custom brew games

    Hi,

    I've read threads on this forum about how to download ringtones, wallpapers, voice mails and that kind of things.

    I'm an amateur game programmer and I have downloaded and installed the BREW 2.0 SDK. I was wondering if I could send custom games I made from my computer to my SE47 the same way I would for a wallpaper for example.

    Has anyone tried that? What's the directory that holds games?

    Thanks

    Jeff

  2. #2
    Join Date
    Oct 2004
    Location
    South Florida
    Posts
    323
    Phone
    Nokia 6255i
    Feedback Score
    0
    from what i've tried, even after copying the directory structure of a brew app including the folder, its files, and its corresponding .mif file, the system does not recognize it, even after a reboot. i bet there is some sort of "Registry" file where the app has to be listed...perhaps one titled UB40BearerCache.dat or something like that (dont have bitpim open right now), but i could be way off...! i know in the system info under the brew app manager (mine is @metro/metropcs) it allows for programs that can be restored at no charge...this must reference a "registry" file and i'm sure works only with an existing .mif file to ensure the app has not expired.

    anyway enough rambling. if you can find a way to do it please let us know....
    btw, the directory i believe is /brew and the apps are known by a 4 digit #

    -realgt

  3. #3
    Join Date
    Oct 2003
    Location
    Sacramento
    Posts
    103
    Phone
    Sour Grapes
    Feedback Score
    0
    Originally posted by realgt
    from what i've tried, even after copying the directory structure of a brew app including the folder, its files, and its corresponding .mif file, the system does not recognize it, even after a reboot. i bet there is some sort of "Registry" file where the app has to be listed...perhaps one titled UB40BearerCache.dat or something like that (dont have bitpim open right now), but i could be way off...! i know in the system info under the brew app manager (mine is @metro/metropcs) it allows for programs that can be restored at no charge...this must reference a "registry" file and i'm sure works only with an existing .mif file to ensure the app has not expired.

    anyway enough rambling. if you can find a way to do it please let us know....
    btw, the directory i believe is /brew and the apps are known by a 4 digit #

    -realgt
    are you using GAGIN?

  4. #4
    Join Date
    Oct 2004
    Location
    South Florida
    Posts
    323
    Phone
    Nokia 6255i
    Feedback Score
    0
    i've tried with gagin & bitpim....
    has gagin worked for you?

    -realgt

  5. #5
    Join Date
    Dec 2004
    Posts
    2
    Feedback Score
    0
    Hi!

    Thanks for the info.

    From what I read, you have to compile your game with an ARM compiler before you send it to your phone. Also, you need to have a Verisign number for every applications that you develop for you BREW cellphone. It shows as a .sig file I think on your phone. That costs money (400$ US).

    I read that it may actually works if you overwrite an existing brew game on your phone with your custom game. It must have the same name.

    Wonder if it really works. I hope so!
    I can't try it, I still haven't received my cables

    Jeff

  6. #6
    Join Date
    Dec 2004
    Posts
    2
    Feedback Score
    0
    To upload a custom brew app you need to do the following:

    1. Correctly compile the app using an ARM compiler - the free Gnu compiler apparently works and there are details of how to configure and use it on the Qualcomm BREW forums. Most developers use the official ARM developer suite (US$1500)

    2. Test enable your handset - some handsets have hidden menus/key commands to do this which can be found on the net, otherwise you need to send the handset to Qualcomm for them to test enable it. (Need to be a registered developer for this) A non test enabled handset will remove any files you upload to it when you next powercycle.

    3. Upload the .mif file to the root directory of the phone and place the mod (executable) file in a folder created for the app. mif file, mod file and app folder must all have the same name. In addition, resources for the game are generally stored in a resource file (.bar) although you can keep them as separate files if you wish. Compiling the resource file and uploading the files to the handset are both done by programs which you can download from Qualcomm's site as a registered developer.

    4. Upload a .sig file to folder of your app. Again it needs to have the same name as the mif, mod, folder. When a game is released officially, this .sig file is a Verisign'd security certificate that guarantees the game comes from an authentic developer. For test purposes you just need a test .sig file. These can be generated on the Qualcomm website once you're a registered developer, based on the ESN of your handset. Once you generate a sig for a handset, that sig file is valid for 3 months and can be renamed and used with any app you wish to test on the handset.

    5. Powercycle the handset and, all being well, the icon from your mif file will be displayed in the BREW app menu.

    Without paying $400 to become a registered developer you would therefore need to somehow find a way of generating test sig files, test enabling your handset, uploading to the handset, generating mif files, and compiling resource files (not absolutely necessary)

  7. #7
    Join Date
    Dec 2004
    Posts
    2
    Feedback Score
    0
    Quick clarification, as realgt mentions above, some handsets will have a 'brew' directory in which you should copy the mif file and create the application directory.

    Downloaded apps will have a 4-digit name but when you upload an app yourself you can call it whatever you like, as long as the .mif, directory, .mod and .sig all have the same name.

  8. #8
    Join Date
    Oct 2004
    Location
    South Florida
    Posts
    323
    Phone
    Nokia 6255i
    Feedback Score
    0
    mistermoot, thanks for sharing your knowledge!!! i'm sure i'll have more questions for you later
    -realgt

Bookmarks