自定义地图资源存储空间配置 » 历史记录 » 版本 1
tejie, 2024-10-08 18:41
1 | 1 | tejie | h3. 自定义地图资源存储空间配置 |
---|---|---|---|
2 | |||
3 | *{color:fireBrick}客户端版本3.2* |
||
4 | |||
5 | *{color:fireBrick}版本配置文件说明* |
||
6 | tejieconfig.txt |
||
7 | 资源路径配置 |
||
8 | |||
9 | 新增配置项 *mapRes2* |
||
10 | |||
11 | 配置示例 |
||
12 | mapRes2=k2/账号/map01,补丁包下载路径 |
||
13 | mapRes2=k2/账号/map02,补丁包下载路径 |
||
14 | mapRes2=k2/账号/map03,补丁包下载路径 |
||
15 | ...... |
||
16 | |||
17 | *{color:fireBrick}使用地图制作工具,对自定义地图进行打包* |
||
18 | 生成数据文件与地图资源文件 |
||
19 | |||
20 | * 生成的数据文件(bin文件、unz文件) |
||
21 | 复制到版本目录 |
||
22 | |{border:1px solid #ffffff}.<pre> |
||
23 | └─版本目录 |
||
24 | └─Mir200 |
||
25 | └─Envir |
||
26 | └─MapData |
||
27 | ├─mymap01.bin |
||
28 | ├─mymap01.unz |
||
29 | ├─mymap02.bin |
||
30 | ├─mymap02.unz |
||
31 | └─...... |
||
32 | </pre>| |
||
33 | |||
34 | |||
35 | * 生成的地图资源文件 |
||
36 | 上传至http服务器 |
||
37 | <notextile></notextile> |
||
38 | * 正式服地图资源文件-http服务器目录结构示例 |
||
39 | |{border:1px solid #ffffff}.<pre> |
||
40 | web根目录 |
||
41 | └─tjMapRes |
||
42 | └─k2 |
||
43 | └─zhangsan |
||
44 | ├─windows |
||
45 | | ├─mymap01 |
||
46 | | | ├─mini_mymap01 |
||
47 | | | ├─mymap01_1 |
||
48 | | | ├─mymap01_2 |
||
49 | | | └─...... |
||
50 | | ├─mymap02 |
||
51 | | | ├─mini_mymap02 |
||
52 | | | ├─mymap02_1 |
||
53 | | | ├─mymap02_2 |
||
54 | | | └─...... |
||
55 | | └─...... |
||
56 | ├─android |
||
57 | | ├─mymap01 |
||
58 | | | ├─mini_mymap01 |
||
59 | | | ├─mymap01_1 |
||
60 | | | ├─mymap01_2 |
||
61 | | | └─...... |
||
62 | | ├─mymap02 |
||
63 | | | ├─mini_mymap02 |
||
64 | | | ├─mymap02_1 |
||
65 | | | ├─mymap02_2 |
||
66 | | | └─...... |
||
67 | | └─...... |
||
68 | └─ios |
||
69 | ├─mymap01 |
||
70 | | ├─mini_mymap01 |
||
71 | | ├─mymap01_1 |
||
72 | | ├─mymap01_2 |
||
73 | | └─...... |
||
74 | ├─mymap02 |
||
75 | | ├─mini_mymap02 |
||
76 | | ├─mymap02_1 |
||
77 | | ├─mymap02_2 |
||
78 | | └─...... |
||
79 | └─......</pre>| |
||
80 | |||
81 | * 制作服地图资源文件-http服务器目录结构示例 |
||
82 | |{border:1px solid #ffffff}.<pre> |
||
83 | web根目录 |
||
84 | └─tjMapRes |
||
85 | └─km |
||
86 | └─zhangsan |
||
87 | ├─windows |
||
88 | | ├─mymap01 |
||
89 | | | ├─mini_mymap01 |
||
90 | | | ├─mymap01_1 |
||
91 | | | ├─mymap01_2 |
||
92 | | | └─...... |
||
93 | | ├─mymap02 |
||
94 | | | ├─mini_mymap02 |
||
95 | | | ├─mymap02_1 |
||
96 | | | ├─mymap02_2 |
||
97 | | | └─...... |
||
98 | | └─...... |
||
99 | ├─android |
||
100 | | ├─mymap01 |
||
101 | | | ├─mini_mymap01 |
||
102 | | | ├─mymap01_1 |
||
103 | | | ├─mymap01_2 |
||
104 | | | └─...... |
||
105 | | ├─mymap02 |
||
106 | | | ├─mini_mymap02 |
||
107 | | | ├─mymap02_1 |
||
108 | | | ├─mymap02_2 |
||
109 | | | └─...... |
||
110 | | └─...... |
||
111 | └─ios |
||
112 | ├─mymap01 |
||
113 | | ├─mini_mymap01 |
||
114 | | ├─mymap01_1 |
||
115 | | ├─mymap01_2 |
||
116 | | └─...... |
||
117 | ├─mymap02 |
||
118 | | ├─mini_mymap02 |
||
119 | | ├─mymap02_1 |
||
120 | | ├─mymap02_2 |
||
121 | | └─...... |
||
122 | └─......</pre>| |
||
123 | |||
124 | 上述http目录结构配置实例 |
||
125 | mapRes2=k2/zhangsan/mymap01,<notextile>http://127.0.0.1:80/tjMapRes/</notextile> |
||
126 | mapRes2=k2/zhangsan/mymap02,<notextile>http://127.0.0.1:80/tjMapRes/</notextile> |
||
127 | mapRes2=k2/zhangsan/mymap03,<notextile>http://127.0.0.1:80/tjMapRes/</notextile> |
||
128 | ... |
||
129 | mapRes2=km/zhangsan/mymap01,<notextile>http://127.0.0.1:80/tjMapRes/</notextile> |
||
130 | mapRes2=km/zhangsan/mymap02,<notextile>http://127.0.0.1:80/tjMapRes/</notextile> |
||
131 | mapRes2=km/zhangsan/mymap03,<notextile>http://127.0.0.1:80/tjMapRes/</notextile> |
||
132 | ... |