TSCB

TSCB files are terrain scene binary files. The files describe terrain areas layout and terrain materials.

Header
The float values in   and   seem to be related to the size of the playable map area. The in game playable map is   to   along the z-axis and   to   along the x-axis. While   and   do not exactly map to those values, they do seem to be related.

Header
The material information header is one value, the section size. This includes the index table and the value table.

Material Information Array Lookup Table
Following the header is a table of relative offsets to each entry in

Material Information Value Table
Each entry in the array contains an index and four attributes

Area Array Lookup Table
Following the material information section is a table of relative offsets to each entry in area_array

Area Array Value Table
Each entry contains meta data for one tile in the terrain scene. There are multiple levels of detail (LOD) for the terrain.

Entries range from 0x30 to 0x54 depending on the size of extra_info_array

Extra Information Array
if ref_extra does not equal 0 there is an extra_info_array attached to this area. The array is 4 or 8 values long.

Every area includes a .hght and .mate file. The extra_info_array indicates if there is an additional .water.extm and / or .grass.extm file