BzHgt is guaranteed to work on MY computer. Make sure you read and understand the instructions before emailing me with questions- Otherwise I wont answer them. I am not responsible for anything, especially not what you do with this program. This program has nothing to do with Activision, neither do I. (except that I play their Games)
Have a nice Day :)
Your bitmap image files must be 24bit and uncompressed.
They MUST be 1/10th of the dimensions of the map you create with MakeTRN.
for example. If you used -
MakeTRN multst62 /c /w=1280 /h=5120then your Image MUST be 128 pixels wide and 512 pixels high.
BzHgt works in several ways.
When creating a hgt file from a bmp or tga source, you will be asked to input a height modifier.
Standard Method:
Pressing a key from 1 to 5 will select a 'standard' modifier, with height ranges as follows -
1: elevation 0m - 767m
2: elevation 0m - 1535m
3: elevation 0m - 2303m
4: elevation 0m - 3071m
5: elevation 0m - 3839m
In this mode, height values are calculated by adding the red, green and blue components of each pixel,
In english that means black is lowest and white is highest. This is the simplest, and recommended method.
Precision Colour Mode:
In order to support hgt to bitmap conversion without losing height precision, Method 0 was created.
Hgt files have a range from 0 to 4095, but adding together three values of red, green and blue gives a range of only 0 to 767.
This is more than enough for most purposes, infact most people use purely greyscale maps that have only 256 different levels.
However, if you need to convert from hgt to bitmap and back again, you will need to work on a scale that handles all 4096 possible levels,
or the finer detail will be lost in the conversion.
The image on the left was created in photoshop, and converted to hgt with the height modifier set to 2.
The image on the right was created by dragging the hgt file back onto BzHgt.
The image on the right can be used with BzHgt's precision colour mode to recreate the hgt file exactly.
![]() |
![]() |
12 bit hgt value: ----GGGG GGGGRRRR 24 bit rgb value: -------- GGGGGGGG ----RRRRIn English;