minetestmapper c++ LEVELDB how to enable???

Remarco
New member
 
Posts: 6
Joined: Thu Jan 29, 2015 19:49
In-game: Remarco

minetestmapper c++ LEVELDB how to enable???

by Remarco » Sun Feb 01, 2015 11:09

from README.rst
leveldb (optional, set ENABLE_LEVELDB=1 in CMake to enable leveldb support)

where can i enable this function ?
i dont understand
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: minetestmapper c++ LEVELDB how to enable???

by Krock » Sun Feb 01, 2015 11:23

If you're on Windows, ask sfan5 for a new build.
For Linux users: (in the command line) Untested
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
cd [directory of minetestmappers CMakeLists.txt]
cmake . -DENABLE_LEVELDB=1 [.. other settings if wanted]
make -j2
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

Remarco
New member
 
Posts: 6
Joined: Thu Jan 29, 2015 19:49
In-game: Remarco

Re: minetestmapper c++ LEVELDB how to enable???

by Remarco » Sun Feb 01, 2015 11:53

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 ?
 

Remarco
New member
 
Posts: 6
Joined: Thu Jan 29, 2015 19:49
In-game: Remarco

Re: minetestmapper c++ LEVELDB how to enable???

by Remarco » Sun Feb 01, 2015 12:08

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
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: minetestmapper c++ LEVELDB how to enable???

by Krock » Sun Feb 01, 2015 12:37

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.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: minetestmapper c++ LEVELDB how to enable???

by rubenwardy » Sun Feb 01, 2015 16:20

VanessaE maintains an extensive colors.txt

There will be a link somewhere, either in the c++ mapper's thread or the python one's.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: minetestmapper c++ LEVELDB how to enable???

by Krock » Sun Feb 01, 2015 16:59

rubenwardy wrote:VanessaE maintains an extensive colors.txt

There's it: http://digitalaudioconcepts.com/vanessa ... colors.txt
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

Remarco
New member
 
Posts: 6
Joined: Thu Jan 29, 2015 19:49
In-game: Remarco

Re: minetestmapper c++ LEVELDB how to enable???

by Remarco » Sun Feb 01, 2015 21:43

ty i found VanessaE color.txt... hope its help me.
 

Remarco
New member
 
Posts: 6
Joined: Thu Jan 29, 2015 19:49
In-game: Remarco

Re: minetestmapper c++ LEVELDB how to enable???

by Remarco » Thu Feb 05, 2015 05:59

Is it normal? I must. Stop the server and then i can create map...
 

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

Re: minetestmapper c++ LEVELDB how to enable???

by sfan5 » Thu Feb 05, 2015 08:40

Yes, thats normal.
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 16 guests

cron