[Edit: fixed typo in file name in thread title]
Perhaps I'm far behind the times. I very recently installed an early version of microdem, probably as used by the early map modders back in the 4.08/4.09 days (which is where I'm still at!). It includes a conversion file for us Il-2 map makers.
Out of curiosity, with a spreadsheet I opened the .dbf file (as named in the thread title) that's used to apply the grey scaling for map_h.tga. I wanted to graph the relationship between elevation and the RGB. A range of elevations is assigned to a particular RGB value; of zero width up to 64m, then increasing in range with the increasing elevation.
For example, elevations between 1009m and 1024m are assigned RGB 192.
In the graph I noticed one really big departure from the trend, and two much subtler departures. Here are the errors, which you can change with any basic text editor:
The bad values are found in the first of the 5 columns, identifying the MIN elevation in the range. (The other columns are; MAX elevation in the range, the Red value, the Green value and the Blue value---all color values equal for grey.)
#1 For the range 424 to 424, the first should be 417.
#2 For the range 555 to 560, the first should be 545.
#3 For the range 2347 to 3520, the first should be 3457 (huge error!)
In your text editor, simply search for the bad number via Find (CTRL-F). Only in the case of the "424" will the number appear twice; replace the first.
All this presupposes the same file is still in use...