ok can u explain what u are trying to do, it sounds as if your trying to convert one layer (map height) into the conv file.
I have been looking at the data and there are several layers
g, g1, g2, s, s1, r
each of these I belive are set heights
what I think in the header after the basic what area it is we ned to have this info (also if you notice the map areas are different aswell for certain layers, eg hieght is usually a 256x256 image, while layers are mostly 1024x1024).
I am thinking we need to have the header of each of these files as the layer ref, eg r (road) and the gird size(maybe) then its a case of on and off values.
Maybe even this each type of layers is set to a specific size so we dont need to say how big it is, dependant on the type of layer, eg dxt1, g16 or p8, this is maybe were it get the height info from.
Not 100% sure, but looking at the other geo file, you can see the same sort of value repeated over and over.
even looking at external only maps they have layers, eg road, etc, so I beleive ALL layer info is needed.
|