[SOLVED]Color problem with minetest-mapper

User avatar
Gael de Sailly
Member
 
Posts: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

[SOLVED]Color problem with minetest-mapper

by Gael de Sailly » Tue Aug 26, 2014 10:24

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

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

Re: Color problem with minetest-mapper

by sfan5 » Tue Aug 26, 2014 15:05

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: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: Color problem with minetest-mapper

by Gael de Sailly » Tue Aug 26, 2014 17:34

No. It doesn't work better.
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

Re: Color problem with minetest-mapper

by sfan5 » Tue Aug 26, 2014 17:45

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: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: Color problem with minetest-mapper

by Gael de Sailly » Wed Aug 27, 2014 05:10

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.
 

User avatar
Gael de Sailly
Member
 
Posts: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: Color problem with minetest-mapper

by Gael de Sailly » Wed Aug 27, 2014 13:28

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.
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

Re: Color problem with minetest-mapper

by sfan5 » Wed Aug 27, 2014 14:10

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: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: Color problem with minetest-mapper

by Gael de Sailly » Thu Aug 28, 2014 14:12

I will try this.
 

User avatar
Gael de Sailly
Member
 
Posts: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: Color problem with minetest-mapper

by Gael de Sailly » Thu Aug 28, 2014 16:34

Thank you ! It works !
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 5 guests