The
etrex Mountain Bikers Flavor
This page is part of the etrex knowledge base site.
Ido Bar-Tana ido.bartana@gmail.com
Based on work by by Datrex, on his web page
Available for firmware
version 2.11
1. IntroductionThe etrex Mountain Bike Flavor is an unofficial modification of the graphical symbols and screens inside the etrex firmware, that create a MTB oriented etrex GPS. This means that rather than the general-purpose symbol set that includes airborne, marine, hiking and urban symbols, youll have a set of symbols more oriented towards bikers. Some of the graphic screens are also changed to reflect the fact that youre willing to ride rocks on a metal contraption. Before you continue, make sure you are aware of this: THIS IS AN UNOFFICIAL FIRMWARE. Though I checked it, uploading it is at your own risk. That out of the way, I can say
that for me this worked nicely. 2. Whats in it for Mountain BikersThe set of Waypoint symbols is radically changed. 18 of the 29 symbols are modified, mostly those related to marine and airborne. Theyre replaced by new symbols to reflect things mountain bikers may find useful, as shown in the table at left. In addition, therere many graphics changes in the screens to reflect the fact that this GPS is used by a mountain bike dude. Im confident youll discover them as you operate the GPS. If you feel this is right for you, at this point, check your firmware version:
3. How to create the etrex Mountain Bikers Flavor
One last thing: theres a set of windows bitmaps in the BMP directory of the symbols. These can be used in Oziexplore by copying these BMPs to a directory called SYMBOLS under oziexplore directory. Once in Oziexplore, you can choose to place these symbols on a map using the Map Events. 4. Advanced TopicsRead this if youre interested how these symbols were created or want to modify them to create different or more symbols or create a new flavor. You need to be extra careful before uploading a new untested firmware to the etrex. You may render it inoperable, in which case you will need to reload the original firmware or may have some firmware malfunction. 4.1. Whats in the package
4.2. Modifying bitmapsUse photoshop or another .psd enabled tool to open the appropriate bitmap in the PSD directory. Make sure that:
Once done, save the resulting file and a .RAW format of the symbol in the RAW directory. Make sure that:
For extra checks, see the next section on hackbmap. 4.3. Hunting bitmaps in an existing releaseThe bitmaps in the etrex firmware are inline with the code, thusly theres no easy way to find them. However, many of them are lumped close to each other. Since they are not just black and white (some use 2 bits for grayscale), and since there are different color schemes for different bitmaps (01 may represent gray or inversegray or inverse or true), its even harder. However, there is a tool,hackbmap, which greatly helps in this endeavor. It needs to see the EGAVGA.BGI file as well. Note: Because these programs are old DOS programs, this needs to be done in a directory with a path to it. I did this in c:\ To use it, simply run it with the firmware file as a parameter, for example, hackbmap 013001000214.rgn hackbmap displays the firmware and by setting the offsets (using b command) and bytes per row (w command) and color scheme (r command), you can scan the firmware and find the graphics by examining the patterns. To find the offset, move the bitmap exactly to the top left corner and read the offset. The offsets I found are documented in the Excel file Firmware 2.11/2.14 raw bitmap offsets.xls Check the numbers shown there with hackbmap. Type h for all options. If you saw the movie Matrix you may feel a bit like cipher after a while. Hackbmap is also indispensable for comparing firmware, and making sure a new firmware is indeed correct and the new bitmaps are at the right offsets and at the right size. A bit more on this later. 4.4. Creating new bitmapsTheres lots of experimentation here, and plenty of risk in making your GPS inoperable if youre not careful, but its fun. The basic idea is to hunt down the bitmaps, and create new ones that are exactly the same size as the one you want to replace. This is done by noting the size of the bitmaps and their aspect ratio and orientation and creating one with the same parameters. Hackbmap is great for this. Once the new bitmap is created, an entry must be made in the file whowhere.dat. This file is used by newicons.exe to patch the existing firmware. The entry is self explanatory, but youll have to experiment with hackbmap and the color schemes to see that the bitmaps are fine and especially not bigger than the original ones. To
patch the firmware, rename the .rgn file to an old DOS file 8.3 format, like firmware.bin,
and run the newicons on it. For example: Note: Because these programs are old DOS programs, this needs to be done in a directory with a path to it. I did this in c:\ I found it useful to run two concurrent sessions of DOS with hackbmap in each one and toggle between the two to see any differences. I set the DOS session property to reflect the name of the firmware in the title bar, and set it to max size so that I could alt-tab between the two, visually making the comparison. Note that you cant actually do anything in this mode, youll have to switch to full screen dos, or Windows will do it for you. 5. CreditsThis flavor is based on the hacketrex created for hikers by Datrex, which posted the results on his web page. Weve exchanged emails and Id like to thank him for his clarifications. |