paramat wrote:When i run the following command or add any colour option the mapper fails and the error message below appears.
$ ./minetestmapper -i ~/minetestf/gitmods/minetest/worlds/m2/ -o ~/m2map.png --bgcolor #000000
./minetestmapper: option '--bgcolor' requires an argument
yaourt -S minetestmapper-git
-- The CXX compiler identification is GNU 6.2.1
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- libgd library: /usr/lib64/libgd.so
-- libgd headers: /usr/include
-- zlib library: /usr/lib64/libz.so
-- zlib headers: /usr/include
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- sqlite3 library: /usr/lib64/libsqlite3.so
-- sqlite3 headers: /usr/include
-- Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR PostgreSQL_TYPE_INCLUDE_DIR)
-- PostgreSQL not found!
-- LevelDB library: /usr/lib64/libleveldb.so
-- LevelDB headers: /usr/include/leveldb
-- LevelDB backend enabled
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
POSTGRESQL_LIBRARY
linked by target "minetestmapper" in directory /tmp/yaourt-tmp-sergey/aur-minetestmapper-git/src/minetestmapper
-- Configuring incomplete, errors occurred!
See also "/tmp/yaourt-tmp-sergey/aur-minetestmapper-git/src/minetestmapper/CMakeFiles/CMakeOutput.log".
minetestmapper --geometry -10000:-10000+20000+20000 --drawscale -i ~/.minetest/worlds/my_world/ -o my_world.png
Warning: Falling back to using colors.txt from current directory.
Exception: Specified colors file could not be found
sfan5 wrote:That's perfectly normal, the white gaps happen in places where the world was not generated yet.
Since the world is only generated when a player walks near the area this happens often.
Also there is a colors.txt that comes with minetestmapper, VanessaE's colors file is useful only if you have mods in your world.
Sergey wrote:sfan5 wrote:That's perfectly normal, the white gaps happen in places where the world was not generated yet.
Since the world is only generated when a player walks near the area this happens often.
Also there is a colors.txt that comes with minetestmapper, VanessaE's colors file is useful only if you have mods in your world.
But as I said minetestmapper protests when there is no colors.txt in current dicrectory.
Sergey wrote:sfan5 wrote:That's perfectly normal, the white gaps happen in places where the world was not generated yet.
Since the world is only generated when a player walks near the area this happens often.
Also there is a colors.txt that comes with minetestmapper, VanessaE's colors file is useful only if you have mods in your world.
But as I said minetestmapper protests when there is no colors.txt in current dicrectory.
--colors /path/to/location/colors.txt
--bgcolor '#000000'
$ minetestmapper --geometry -100:-100+200+200 --drawscale --draworigin --drawalpha -i ~/.minetest/worlds/my_world/ -o my_world.png
Warning: Falling back to using colors.txt from current directory.
Exception: Specified colors file could not be found
Sergey wrote:OK. I created new directory, cd to it, launch the commandYour phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
$ minetestmapper --geometry -100:-100+200+200 --drawscale --draworigin --drawalpha -i ~/.minetest/worlds/my_world/ -o my_world.png
Output:Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
Warning: Falling back to using colors.txt from current directory.
Exception: Specified colors file could not be found
How can you explain this?
minetestmapper --geometry -100:-100+200+200 --drawscale --draworigin --drawalpha -i ~/.minetest/worlds/my_world/ -o my_world.png --colors /location/of/your/colors.txt
$ mkdir dir1
$ cd dir1
$ minetestmapper --geometry -100:-100+200+200 --drawscale --draworigin --drawalpha -i ~/.minetest/worlds/my_world/ -o my_world.png
Warning: Falling back to using colors.txt from current directory.
Exception: Specified colors file could not be found
sfan5 wrote:How did you install minetestmapper and which version did you install?
yaourt -S minetestmapper-git
Sergey wrote:My actions (in order for you to understand):Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
$ mkdir dir1
$ cd dir1
$ minetestmapper --geometry -100:-100+200+200 --drawscale --draworigin --drawalpha -i ~/.minetest/worlds/my_world/ -o my_world.png
Warning: Falling back to using colors.txt from current directory.
Exception: Specified colors file could not be found
minetestmapper --colors $PATH_TO_COLOURS_TXT <and the rest of your stuff>
taikedz wrote:you did "mkdir dir1; cd dir1"
There is no colors.txt in that dir1. An executable "that uses files in the current/local directory" uses the current dir in which you run the command, not the data from the dir in which it resides.
taikedz wrote:You want to executeYour phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetestmapper --colors $PATH_TO_COLOURS_TXT <and the rest of your stuff>
Sergey wrote:sfan5 wrote:How did you install minetestmapper and which version did you install?
I installed minetestmapper from AUR [https://aur.archlinux.org/packages/minetestmapper-git/] this standard way.
sfan5 wrote:Sergey wrote:sfan5 wrote:How did you install minetestmapper and which version did you install?
I installed minetestmapper from AUR [https://aur.archlinux.org/packages/minetestmapper-git/] this standard way.
Unfortunately the AUR package installs minetestmapper incorrectly, please install it manually from source in the meantime.
$ minetestmapper --geometry -5000:-5000+10000+10000 --draworigin -i ~/.minetest/worlds/s1/ -o s1.1.png
terminate called after throwing an instance of 'std::out_of_range'
what(): sizecheck y
Аварийный останов (стек памяти сброшен на диск)
Sergey wrote:I have reasonable questions about minetestmapper.
Does minetestmapper take into account floatlands?
What kind of maps minetestmapper generates in case of view from above?
Will view from above cover what is on the ground?
How to dintigiush projection of floatlands from what is on the ground?
README.rst wrote:Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
min-y:
Don't draw nodes below this y value, e.g. ``--min-y -25``
max-y:
Don't draw nodes above this y value, e.g. ``--max-y 75``
Users browsing this forum: No registered users and 4 guests