[SOLVED]Color problem with minetest-mapper

Post Reply
User avatar
Gael de Sailly
Member
Posts: 845
Joined: Sun Jan 26, 2014 17:01
GitHub: gaelysam
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly gaelysam
Location: Voiron, France

[SOLVED]Color problem with minetest-mapper

by Gael de Sailly » Post

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 :

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 ?
Last edited by Gael de Sailly on Thu Aug 28, 2014 16:34, edited 1 time in total.

sfan5
Moderator
Posts: 4095
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

Re: Color problem with minetest-mapper

by sfan5 » Post

Did you try using the colors.txt from the repository?
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
Gael de Sailly
Member
Posts: 845
Joined: Sun Jan 26, 2014 17:01
GitHub: gaelysam
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly gaelysam
Location: Voiron, France

Re: Color problem with minetest-mapper

by Gael de Sailly » Post

No. It doesn't work better.

sfan5
Moderator
Posts: 4095
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

Re: Color problem with minetest-mapper

by sfan5 » Post

Make sure you do not have any colors.txt file in the directory minetestmapper is run in.
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
Gael de Sailly
Member
Posts: 845
Joined: Sun Jan 26, 2014 17:01
GitHub: gaelysam
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly gaelysam
Location: Voiron, France

Re: Color problem with minetest-mapper

by Gael de Sailly » Post

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 :

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.

User avatar
Gael de Sailly
Member
Posts: 845
Joined: Sun Jan 26, 2014 17:01
GitHub: gaelysam
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly gaelysam
Location: Voiron, France

Re: Color problem with minetest-mapper

by Gael de Sailly » Post

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.

sfan5
Moderator
Posts: 4095
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

Re: Color problem with minetest-mapper

by sfan5 » Post

Make sure you do not have any colors.txt file in the directory minetestmapper is run in.
not the directory minetestmapper is in.
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
Gael de Sailly
Member
Posts: 845
Joined: Sun Jan 26, 2014 17:01
GitHub: gaelysam
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly gaelysam
Location: Voiron, France

Re: Color problem with minetest-mapper

by Gael de Sailly » Post

I will try this.

User avatar
Gael de Sailly
Member
Posts: 845
Joined: Sun Jan 26, 2014 17:01
GitHub: gaelysam
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly gaelysam
Location: Voiron, France

Re: Color problem with minetest-mapper

by Gael de Sailly » Post

Thank you ! It works !

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests