RE: [Gamedevlists-brew] Alternative to BREW Resource Editor GUI?
Brought to you by:
vexxed72
From: Aaron I. <ais...@ap...> - 2004-12-10 21:54:16
|
Here was my solution to the BRI/BAR problem: As with almost all the BREW builtins (text drawing, file reading/writing, etc), I found it very helpful to write my own. I don't use BAR files at all. It uses zlib compression, which is pretty good for a small ARM footprint (I got the decompressor down to about 6K). The resource tool, written in python which also has built-in zlib support, reads in specially formatted .h file that defines all the IDs and filenames. This way my .h file can't ever get out of sync. My makefiles also know how to read the header file, so they can rebuild the resource file once any of the required files are changed. -Aaron > -----Original Message----- > From: gam...@li... > [mailto:gam...@li...] On > Behalf Of Bill Kendrick > Sent: Friday, December 10, 2004 4:02 PM > To: gam...@li... > Subject: [Gamedevlists-brew] Alternative to BREW Resource Editor GUI? > > The BREW Resource editor has always irritated me. The new > version includes some features I had always wanted (like the > ability to sort the collection of resources based on their > label or contents... before it didn't even seem to properly > sort them by ID, which was insanely ridiculous!) > > However, the new version is still irritating to use, and just > now I took over a project from someone else, and had to go in > and change about 50 hard-coded paths in the BRI file to be > relative paths (e.g., "..\bitmaps\" instead of > "C:\blah\blah\blah\blah\bitmaps\") > > Is there an easier way to do this? I come from the world of > Unix and Linux development, where the Makefile rules. If I > were to design something like the BREW Resource editor, my > first step would be to make a command-line tool that takes a > set of inputs (BRI, which would be editable in a text editor, > as well as the various resources: BMP, MID, etc.), and then > spit out the output (BAR binary archive and BRH C header file). > > I know some of the BREW tools have command-line options, but > was wondering if the new BREW 3.x resource editor can be used > in this way, or if anyone here has any examples of how > they've simplified this process. > > -bill! > (whose wrist now hurts from all the tedious mousing... >:^P ) > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide Read honest & > candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gamedevlists-brew mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-brew > |