This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
crossfire-mapper [2009/05/05 20:33] 127.0.0.1 external edit |
crossfire-mapper [2018/04/05 17:01] karl moved into :maps:tools: folder |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | **Crossfire mapper** is a tool, in ''trunk'' SVN (server/utils), that generates a catalog of maps. | + | **Crossfire mapper** is a tool, only available in the ''trunk'' SVN (server/utils), that generates a catalog of maps. \\ |
+ | Until [[:tags|tag]] version 1.60.0 it had not been included in official source code releases of the [[:server]] . \\ | ||
+ | Since official release version 1.71.0 the required //templates// directory and it's around 30 to 40 html files is also included in the release. | ||
- | It is mostly intended for map makers so they know the relationship between maps, and people wishing to figure out where is a specific map/quest. | + | The crossfire-mapper is mostly intended for map makers so they know the relationship between maps, and people wishing to figure out where is a specific map/quest. |
The following information is generated: | The following information is generated: | ||
Line 16: | Line 18: | ||
(note that some lists are not using the template system yet) | (note that some lists are not using the template system yet) | ||
- | This program browses maps from the first map (HallOfSelection), only maps linked from there will be processed. | + | This program browses maps from the first map (HallOfSelection) in {prefix}/var/crossfire/maps ( not in share/crossfire/maps ); only maps linked from there will be processed. |
Maps are generated as the server sees them, that is with weather effects, treasures instead of markers, and things like that, unless the ''-rawmaps'' parameter is used. | Maps are generated as the server sees them, that is with weather effects, treasures instead of markers, and things like that, unless the ''-rawmaps'' parameter is used. | ||
Line 36: | Line 38: | ||
To build it, you need the //GD// library (ie. install a libgd-devel package). | To build it, you need the //GD// library (ie. install a libgd-devel package). | ||
- | The following command line parameters are availble: | + | Since version 1.60.0 the mapper utility is optional part of the build process, available by the ''--enable-mapper'' configure option. But ''make install'' does not install the crossfire-mapper executable, the user has to manually transfer it ( probably to be found inside the hidden .lib directory of the utils folder) to the intended location; preferably where the //templates// directory with the many HTML .template files is located. |
+ | |||
+ | The following command line parameters are available: | ||
| -nopics | don't generate pictures. | | | -nopics | don't generate pictures. | |