Page 1 of 1
minetestmapper c++ LEVELDB how to enable???

Posted:
Sun Feb 01, 2015 11:09
by Remarco
from README.rst
leveldb (optional, set ENABLE_LEVELDB=1 in CMake to enable leveldb support)
where can i enable this function ?
i dont understand
Re: minetestmapper c++ LEVELDB how to enable???

Posted:
Sun Feb 01, 2015 11:23
by Krock
If you're on Windows, ask sfan5 for a new build.
For Linux users: (in the command line)
UntestedYour 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
cd [directory of minetestmappers CMakeLists.txt]
cmake . -DENABLE_LEVELDB=1 [.. other settings if wanted]
make -j2
Re: minetestmapper c++ LEVELDB how to enable???

Posted:
Sun Feb 01, 2015 11:53
by Remarco
ty.
now is new problem ...
./minetestmapper --backend leveldb -i /usr/home/remarco/.minetest/worlds/rem_world/ -o /usr/home/remarco/map_1.png
GD Warning: product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully
Segmentation fault (core dumped)
wats wrong ?
Re: minetestmapper c++ LEVELDB how to enable???

Posted:
Sun Feb 01, 2015 12:08
by Remarco
if small image return this
./minetestmapper --backend leveldb --geometry -100:-100+200+200 -i /usr/home/remarco/.minetest/worlds/rem_world/ -o /usr/home/remarco/map_1.png
Unknown nodes:
bitchange:donationbox
bitchange:shop
building_blocks:Marble
building_blocks:slab_marble
building_blocks:stair_marble
carts:brakerail
carts:powerrail
default:desert_cobble
fake_fire:smokeless_fire
homedecor:bed_red_head
homedecor:paper_towel
inbox:empty
lrfurn:armchair_white
streets:bigpole
streets:sign_blank
If delete color.txt mapper create blank png image .... no map
Re: minetestmapper c++ LEVELDB how to enable???

Posted:
Sun Feb 01, 2015 12:37
by Krock
Remarco wrote:if small image return this
[..]
Unknown nodes:
[..]
If delete color.txt mapper create blank png image .... no map
That is totally normal.
The minetestmapper does not know all nodes, it only contains the colors of popular nodes.
You can extend the colors.txt file to get a better map.
Re: minetestmapper c++ LEVELDB how to enable???

Posted:
Sun Feb 01, 2015 16:20
by rubenwardy
VanessaE maintains an extensive colors.txt
There will be a link somewhere, either in the c++ mapper's thread or the python one's.
Re: minetestmapper c++ LEVELDB how to enable???

Posted:
Sun Feb 01, 2015 16:59
by Krock
rubenwardy wrote:VanessaE maintains an extensive colors.txt
There's it:
http://digitalaudioconcepts.com/vanessa ... colors.txt
Re: minetestmapper c++ LEVELDB how to enable???

Posted:
Sun Feb 01, 2015 21:43
by Remarco
ty i found VanessaE color.txt... hope its help me.
Re: minetestmapper c++ LEVELDB how to enable???

Posted:
Thu Feb 05, 2015 05:59
by Remarco
Is it normal? I must. Stop the server and then i can create map...
Re: minetestmapper c++ LEVELDB how to enable???

Posted:
Thu Feb 05, 2015 08:40
by sfan5
Yes, thats normal.