@@ -4,7 +4,8 @@ Minetest Mapper C++
4
4
.. image :: https://travis-ci.org/minetest/minetestmapper.svg?branch=master
5
5
:target: https://travis-ci.org/minetest/minetestmapper
6
6
7
- A port of minetestmapper.py to C++ from https://github.com/minetest/minetest/tree/master/util
7
+ A port of minetestmapper.py to C++ from https://github.com/minetest/minetest/tree/master/util.
8
+ This version is both faster and provides more features than the now deprecated Python script.
8
9
9
10
Requirements
10
11
------------
@@ -14,23 +15,28 @@ Requirements
14
15
* leveldb (optional, set ENABLE_LEVELDB=1 in CMake to enable leveldb support)
15
16
* hiredis (optional, set ENABLE_REDIS=1 in CMake to enable redis support)
16
17
18
+ e.g. on Debian:
19
+ ^^^^^^^^^^^^^^^
20
+
21
+ sudo apt-get install libgd-dev libsqlite3-dev libleveldb-dev libhiredis-dev
22
+
17
23
Compilation
18
24
-----------
19
25
20
26
::
21
27
22
- cmake .
23
- make
28
+ cmake . -DENABLE_LEVELDB=1
29
+ make -j2
24
30
25
31
Usage
26
32
-----
27
33
28
- Binary `minetestmapper ` has two mandatory paremeters, `-i ` (input world path)
34
+ `minetestmapper ` has two mandatory paremeters, `-i ` (input world path)
29
35
and `-o ` (output image path).
30
36
31
37
::
32
38
33
- ./minetestmapper -i ~/.minetest/worlds/my_world/ -o ~/ map.png
39
+ ./minetestmapper -i ~/.minetest/worlds/my_world/ -o map.png
34
40
35
41
36
42
Parameters
@@ -58,7 +64,7 @@ draworigin:
58
64
Draw origin indicator, `--draworigin `
59
65
60
66
drawalpha:
61
- Allow blocks to be drawn with transparency, `--drawalpha `
67
+ Allow nodes to be drawn with transparency, `--drawalpha `
62
68
63
69
noshading:
64
70
Don't draw shading on nodes, `--noshading `
0 commit comments