nimetu / ryzom_map_tiles
Bmsite Ryzom 地图瓦片生成器
v1.0.1
2014-06-22 17:44 UTC
Requires
- php: >=5.3
- pimple/pimple: 1.x
- symfony/console: 2.4.*@dev
Requires (Dev)
- nimetu/ryzom_maps: 1.x
- nimetu/ryzom_sheets: 1.x
This package is auto-updated.
Last update: 2024-09-03 19:01:16 UTC
README
Bmsite Ryzom 地图瓦片图像生成器。
使用方法
在Linux上,你可以简单地运行
$ bin/gen.sh
这将为所有语言创建atys和atys_sp地图瓦片,用于world地图模式。
地图瓦片
$ php bin/bmmaps.php bmmaps:tiles --mapmode world --mapname atys --with-map --with-city --mapdir resources/maps/atys
--mapmode使用哪个坐标系统(区域定位),world或server--mapname为瓦片提供的名称--with-map将使用world.png或server地图模式中的区域png文件生成瓦片--with-city将使用城市地图图像为最后几个缩放级别--mapdir告诉完整地图图像的位置,例如world.png。对于satellite图像,例如,您需要使用resources/maps/atys_sp
瓦片保存到tiles/<mapmode>/<mapname>目录。
语言瓦片
$ php bin/bmmaps.php bmmaps:tiles --mapmode world --lang en,fr,de
--lang采取一个或多个通过逗号分隔的语言,en,fr,de,es,ru
瓦片保存在tiles/<mapmode>/lang_<language>
许可协议
Copyright (c) 2014 Meelis Mägi <nimetu@gmail.com>
Ryzom Map Tiles is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.