Page 1 of 1

[SOLVED]Color problem with minetest-mapper

PostPosted: Tue Aug 26, 2014 10:24
by Gael de Sailly
I've tried to use minetest-mapper. I've got a map, but some details were absent.
I've downloaded VanessaE's colors.txt to replace the default one.
Here is the command and the result :
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
gael@gael-23-b109ef:~$ /home/gael/.minetest/mapper/minetest_mapper -i /home/gael/.minetest/worlds/mgindev -o /home/gael/map.png
Unknown nodes:
default:grass_1
default:grass_2
default:grass_3
default:grass_4
default:grass_5
default:jungleleaves
default:stone_with_iron
flowers:dandelion_white
flowers:dandelion_yellow
flowers:geranium
flowers:rose
flowers:tulip
flowers:viola
gael@gael-23-b109ef:~$

With these unknown nodes, the map is incomplete : for example I can't see any jungle, while this world contains a jungle.
But all of these 13 nodes are in the colors.txt, which is in the same folder than the executable !
Where is the problem ?

Re: Color problem with minetest-mapper

PostPosted: Tue Aug 26, 2014 15:05
by sfan5
Did you try using the colors.txt from the repository?

Re: Color problem with minetest-mapper

PostPosted: Tue Aug 26, 2014 17:34
by Gael de Sailly
No. It doesn't work better.

Re: Color problem with minetest-mapper

PostPosted: Tue Aug 26, 2014 17:45
by sfan5
Make sure you do not have any colors.txt file in the directory minetestmapper is run in.

Re: Color problem with minetest-mapper

PostPosted: Wed Aug 27, 2014 05:10
by Gael de Sailly
sfan5 wrote:Make sure you do not have any colors.txt file in the directory minetestmapper is run in.

do NOT have ??
I think I've misunderstood something.
I've put minetestmapper in the folder /home/gael/.minetest/mapper (I'm on Linux) and I've build it from this directory.
If I run the unix command ls I get :
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
gael@gael-23-b109ef:~$ ls /home/gael/.minetest/mapper
AUTHORS              colors.txt  minetest_mapper       TileGenerator.cpp
CMakeCache.txt       config.h    PixelAttributes.cpp   TileGenerator.h
CMakeFiles           COPYING     PixelAttributes.h     ZlibDecompressor.cpp
cmake_install.cmake  LICENSE     PlayerAttributes.cpp  ZlibDecompressor.h
CMakeLists.txt       Makefile    PlayerAttributes.h
colors.h             mapper.cpp  README.rst


The colors.txt file is this one.

Re: Color problem with minetest-mapper

PostPosted: Wed Aug 27, 2014 13:28
by Gael de Sailly
I've reinstalled minetest mapper from the repository, and now I've got a blank map, and all of the nodes in the map are listed as unknown nodes. I don't understand anything : all are listed in the colors.txt file.

Re: Color problem with minetest-mapper

PostPosted: Wed Aug 27, 2014 14:10
by sfan5
Make sure you do not have any colors.txt file in the directory minetestmapper is run in.
not the directory minetestmapper is in.

Re: Color problem with minetest-mapper

PostPosted: Thu Aug 28, 2014 14:12
by Gael de Sailly
I will try this.

Re: Color problem with minetest-mapper

PostPosted: Thu Aug 28, 2014 16:34
by Gael de Sailly
Thank you ! It works !