6. 地形
![](http://tb2.bdstatic.com/tb/editor/images/face/i_f16.png?t=20140803)
开头
0C 00 00 00 开头 4字节
(00 00 00 01)有的btl会多出4字节
![](http://tb2.bdstatic.com/tb/editor/images/face/i_f33.png?t=20140803)
1C 00 15 00 地图总长宽XY,很难找吧
04 00 03 00 地图截取XY,一般是4和3
14 00 10 00 实用长宽XY,一般是地图长-8,地图宽-5
![](https://tb2.bdstatic.com/tb/editor/images/face/i_f16.png?t=20140803)
指针
94 06 00 00 指针 指向地块总数
04 00 00 00 指针 指向装饰总数
![](https://tb2.bdstatic.com/tb/editor/images/face/i_f16.png?t=20140803)
装饰信息
A2 01 00 00 装饰总数
15 03 26 F3 装饰内容 每一条都是4字节 byte1=装饰组 byte2=装饰号 byte3=偏移X byte4=偏移y
(...) 装饰组请见def_mapterrain.xml中 id为11之后的部分
![](https://tb2.bdstatic.com/tb/editor/images/face/i_f16.png?t=20140803)
地形信息
4C 02 00 00 地块总数
00 23 00 23 地形(正序),每一条都是2字节 猜测byte1=底板组 byte2=地形
地形与装饰对应关系未知(!!!)
![](http://tb2.bdstatic.com/tb/editor/images/face/i_f16.png?t=20140803)
收尾 8字节
08 00 08 00
00 00 04 00