minetest / minetestmapper

Generates a overview image of a minetest map.
BSD 2-Clause "Simplified" License
112 stars 40 forks source link

Exception: unable to open database file #85

Closed InFerYes closed 3 years ago

InFerYes commented 3 years ago

Hi, I'm getting the following error:

./minetestmapper -i /var/lib/minetest/minetest-server/ -o map.png
Warning: Falling back to using colors.txt from current directory.
Exception: unable to open database file

I have tried disabling the server but it's the same issue. I have also tried -i /var/lib/minetest/minetest-server/world.mt but then it says Exception: Failed to open world.mt.

How can I fix this?

Minetest is 5.4.1.

sfan5 commented 3 years ago

Is the database file readable by the user your are running under? You can check the permissions with ls -l.

InFerYes commented 3 years ago

I didn't know where the actual database was stored. The installation from the AUR has everything scattered in different folders. I have found the right folders now and managed to run the mapper tool.