Reverse Engineering Comanche Terrain Maps
Reverse engineering Comanche terrain maps involves decoding the original game files to obtain heightmap and color data necessary for rendering terrain. Voxel Space terrain-rendering technique, developed by Kyle Freeman, was used in the 1992 game Comanche: Maximum Overkill to create realistic landscapes on 386 machines. The technique utilizes two 1024×1024 grids, each containing 1,048,576 bytes, with the color map employing 8-bit indexed color and the height map using a similar format.
The original game folder contains compressed .DTA files, eight of which are identified as color and depth maps. After analyzing the first bytes of these files, it becomes evident that they are disguised PCX files with a unique signature "Kyle DTA" at the beginning. Decompressing these files reveals the expected 1024×1024 dimensions, confirming the format used for Comanche terrain maps.
Written by urgent.news from Lobsters's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.