Map0.mul

This file contains information about the landscape.
There are 6144x4096 individual cells, which are oraganized in 768x512 "blocks", each containing 8x8 cells.
Blocks are saved top-to-bottom then left-to-right.
0 512 1024 ... 392704
1 513 1025 ... 392705
2 514 1026 ... 392706
... ... ... ... ...
511 1023 1535 ... 393215
 
Cells are loaded from blocks left-to-right then top-to-bottom.
0 1 2 ... 7
8 9 10 ... 15
16 17 18 ... 23
... ... ... ... ...
56 57 58 ... 63
 
How to calculate in which block a certain cell is:
X-Block = X-Pos div 8
Y-Block = Y-Pos div 8
Block-Number = (X-Block * 512) + Y-Block
 
Map0.mul (77.070.336 bytes)
393.216 Blocks of [Map-Block] 77.070.336 bytes
 
Map-Block (196 bytes)
Unknown 4 bytes
64 Blocks of [Cell] 192 bytes
 
0 1 2 3 4 5 6 7 8 9 A B C D E F
00 Unknown Cell (X1, Y1) Cell (X2, Y1) Cell (X3, Y1) Cell (X3, Y1)
... ...
C0 ...Cell Cell (X8, Y8)
 
Cell (3 bytes)
Unsigned word is "TileID" 
This is the ID of the tile. The color to be displayed can be looked up in RadarCol.mul.
2 bytes
Signed byte (-128..127) is "Altitude" 1 byte
 
0 1 2 3 4 5 6 7 8 9 A B C D E F
00 TileID Altitude
 
Made by Ridcully
Copyright (c) 1998 Jan Lübbe. All rights reserved.