2017-01-17 17:49:15 +01:00
|
|
|
.TH MINETESTMAPPER 6
|
|
|
|
.SH NAME
|
2024-11-11 09:50:26 +01:00
|
|
|
minetestmapper \- generate an overview image of a Luanti map
|
2017-01-17 17:49:15 +01:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.B minetestmapper
|
|
|
|
\fB\-i\fR \fIworld_path\fR
|
|
|
|
\fB\-o\fR \fIoutput_image\fR
|
|
|
|
.PP
|
|
|
|
See additional optional parameters below.
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.B minetestmapper
|
2024-11-11 09:50:26 +01:00
|
|
|
generates an overview image of a Luanti map. This is a port of
|
2017-01-17 17:49:15 +01:00
|
|
|
the original minetestmapper.py to C++, that is both faster and
|
2024-11-11 09:50:26 +01:00
|
|
|
provides more functionality than the obsolete Python script.
|
2017-01-17 17:49:15 +01:00
|
|
|
.SH MANDATORY PARAMETERS
|
|
|
|
.TP
|
|
|
|
.BR \-i " " \fIworld_path\fR
|
|
|
|
Input world path.
|
|
|
|
.TP
|
|
|
|
.BR \-o " " \fIoutput_image\fR
|
|
|
|
Path to output image. (only PNG supported currently)
|
|
|
|
.SH OPTIONAL PARAMETERS
|
|
|
|
.TP
|
|
|
|
.BR \-\-bgcolor " " \fIcolor\fR
|
|
|
|
Background color of image, e.g. "--bgcolor #ffffff"
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.BR \-\-scalecolor " " \fIcolor\fR
|
|
|
|
Color of scale, e.g. "--scalecolor #000000"
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.BR \-\-playercolor " " \fIcolor\fR
|
|
|
|
Color of player indicators, e.g. "--playercolor #ff0000"
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.BR \-\-origincolor " " \fIcolor\fR
|
|
|
|
Color of origin indicator, e.g. "--origincolor #ff0000"
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.BR \-\-drawscale
|
|
|
|
Draw tick marks
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.BR \-\-drawplayers
|
|
|
|
Draw player indicators
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.BR \-\-draworigin
|
|
|
|
Draw origin indicator
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.BR \-\-drawalpha
|
|
|
|
Allow nodes to be drawn with transparency
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.BR \-\-noshading
|
|
|
|
Don't draw shading on nodes
|
|
|
|
|
2018-10-31 16:18:29 +01:00
|
|
|
.TP
|
|
|
|
.BR \-\-noemptyimage
|
|
|
|
Don't output anything when the image would be empty.
|
|
|
|
|
2017-01-17 17:49:15 +01:00
|
|
|
.TP
|
|
|
|
.BR \-\-min-y " " \fInumber\fR
|
|
|
|
Don't draw nodes below this y value, e.g. "--min-y -25"
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.BR \-\-max-y " " \fInumber\fR
|
|
|
|
Don't draw nodes above this y value, e.g. "--max-y 75"
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.BR \-\-backend " " \fIbackend\fR
|
2020-03-27 21:10:00 +01:00
|
|
|
Use specific map backend; supported: \fIsqlite3\fP, \fIleveldb\fP, \fIredis\fP, \fIpostgresql\fP, e.g. "--backend leveldb"
|
2017-01-17 17:49:15 +01:00
|
|
|
|
|
|
|
.TP
|
|
|
|
.BR \-\-geometry " " \fIgeometry\fR
|
2020-03-27 21:10:00 +01:00
|
|
|
Limit area to specific geometry (\fIx:y+w+h\fP where x and y specify the lower left corner), e.g. "--geometry -800:-800+1600+1600"
|
2017-01-17 17:49:15 +01:00
|
|
|
|
2018-10-20 17:40:01 +02:00
|
|
|
.TP
|
2022-02-09 21:52:28 +01:00
|
|
|
.BR \-\-extent
|
2019-10-17 15:10:04 +02:00
|
|
|
Don't render the image, just print the extent of the map that would be generated, in the same format as the geometry above.
|
2018-10-20 17:40:01 +02:00
|
|
|
|
2017-01-17 17:49:15 +01:00
|
|
|
.TP
|
|
|
|
.BR \-\-zoom " " \fIfactor\fR
|
|
|
|
Zoom the image by using more than one pixel per node, e.g. "--zoom 4"
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.BR \-\-colors " " \fIpath\fR
|
2024-11-11 09:50:26 +01:00
|
|
|
Forcefully set path to colors.txt file (autodetected otherwise), e.g. "--colors ../world/mycolors.txt"
|
2017-01-17 17:49:15 +01:00
|
|
|
|
|
|
|
.TP
|
|
|
|
.BR \-\-scales " " \fIedges\fR
|
2020-03-27 21:10:00 +01:00
|
|
|
Draw scales on specified image edges (letters \fIt b l r\fP meaning top, bottom, left and right), e.g. "--scales tbr"
|
|
|
|
|
|
|
|
.TP
|
2022-02-09 21:52:28 +01:00
|
|
|
.BR \-\-exhaustive " " \fImode\fR
|
2020-03-27 21:10:00 +01:00
|
|
|
Select if database should be traversed exhaustively or using range queries, available: \fInever\fP, \fIy\fP, \fIfull\fP, \fIauto\fP
|
|
|
|
|
|
|
|
Defaults to \fIauto\fP. You shouldn't need to change this, but doing so can improve rendering times on large maps.
|
2020-03-28 00:14:47 +01:00
|
|
|
For these optimizations to work it is important that you set
|
|
|
|
.B min-y
|
|
|
|
and
|
|
|
|
.B max-y
|
|
|
|
when you don't care about the world below e.g. -60 and above 1000 nodes.
|
2017-01-17 17:49:15 +01:00
|
|
|
|
2022-02-09 21:52:28 +01:00
|
|
|
.TP
|
|
|
|
.BR \-\-dumpblock " " \fIpos\fR
|
|
|
|
Instead of rendering anything try to load the block at the given position (\fIx,y,z\fR) and print its raw data as hexadecimal.
|
|
|
|
|
2017-01-17 17:49:15 +01:00
|
|
|
.SH MORE INFORMATION
|
|
|
|
Website: https://github.com/minetest/minetestmapper
|
|
|
|
|
|
|
|
.SH MAN PAGE AUTHOR
|
|
|
|
Daniel Moerner
|