About .bri file struct,help Dragon! | developer.brewmp.com About .bri file struct,help Dragon! | developer.brewmp.com

Developer

About .bri file struct,help Dragon!

Forums:

Hi,

Anyone kown about the struct of .bri file? I want to make a software tool that can read all strings resource from .bri files into a string list. And then it can change the string item into the .bri file with the string list.
But I don't kown the struct of .bri file?
Can anyone help?

Yes, I am familiar with the structure of the BRI file format, as I am using a custom tool to actually create all my resource files. However, since I had to reverse engineer the format, and since it is Qualcomm proprietary I am not able to divulge in details here. It is a failry straight forward format though, so with a hex editor and bit of time trying different file constellations anyone can really figure it out.

Yes, I am familiar with the structure of the BRI file format, as I am using a custom tool to actually create all my resource files. However, since I had to reverse engineer the format, and since it is Qualcomm proprietary I am not able to divulge in details here. It is a failry straight forward format though, so with a hex editor and bit of time trying different file constellations anyone can really figure it out.

I don't see why you would want to write a tool to manipulate BRI files, now that the resource compiler supports an XML-based format. Also, the barc tool included with the BREW Browser has it's own text-based source format. BRIs are obsolete.

I don't see why you would want to write a tool to manipulate BRI files, now that the resource compiler supports an XML-based format. Also, the barc tool included with the BREW Browser has it's own text-based source format. BRIs are obsolete.

sorry bringing this up, I know this is a old topic but is the only I found about this..
I want to ask which custom tool you use for resource file, and if anyone else uses something else than the bar file which one and why..
I am considering in not using it anymore, so I am looking for a custom resource file editor and loader...
I gave a thought on using something like the zip file format.. well, for bmp files would be nice, it archives and compress them all... but what about strings?
any suggestions?

sorry bringing this up, I know this is a old topic but is the only I found about this..
I want to ask which custom tool you use for resource file, and if anyone else uses something else than the bar file which one and why..
I am considering in not using it anymore, so I am looking for a custom resource file editor and loader...
I gave a thought on using something like the zip file format.. well, for bmp files would be nice, it archives and compress them all... but what about strings?
any suggestions?

You can use just about anything. While I'm still using BAR files - created by a custom tool - there is no reaso nwhy you couldn't roll your own format entirely.
As for strings, why do you even bother putting strings into a BAR file? It is a very bad coding practice that was promoted by Qualcomm and you should never do that.
Instead create a text file, put all your strings in ther and load that file up upon start-up of your app. Not only is this a much cleaner and efficient way to handle stirngs, it also allows you to easily do localized versions by having different text files for each language and selecting the respective one when determining/switching the language for your app.

You can use just about anything. While I'm still using BAR files - created by a custom tool - there is no reaso nwhy you couldn't roll your own format entirely.
As for strings, why do you even bother putting strings into a BAR file? It is a very bad coding practice that was promoted by Qualcomm and you should never do that.
Instead create a text file, put all your strings in ther and load that file up upon start-up of your app. Not only is this a much cleaner and efficient way to handle stirngs, it also allows you to easily do localized versions by having different text files for each language and selecting the respective one when determining/switching the language for your app.