Menche wrote:It works, kind of. You have to edit the file. Look for "if version == 20:" and change that line to "if version >= 20:". Then the script will make a map.png, but the colors will be all messed up, with stuff like brown grass and green water.
dannydark wrote:I don't think it will be updated to work nicely with 0.4 until 0.4 goes stable as a lot could still change in the dev build.
800 128 128 128 # CONTENT_STONE
1 39 66 106 # CONTENT_WATER
3 255 255 0 # CONTENT_TORCH
816 39 66 106 # CONTENT_WATERSOURCE
4 117 86 41 # CONTENT_SIGN_WALL
818 128 79 0 # CONTENT_CHEST
81a 118 118 118 # CONTENT_FURNACE
811 103 78 42 # CONTENT_FENCE
812 162 119 53 # CONTENT_RAIL
0 154 110 40 # CONTENT_LADDER
2 255 204 0 # CONTENT_LAVA
817 255 204 0 # CONTENT_LAVASOURCE
801 107 134 51 # CONTENT_GRASS
809 86 58 31 # CONTENT_TREE
80c 48 95 8 # CONTENT_LEAVES
802 102 129 38 # CONTENT_GRASS_FOOTSTEPS
814 178 178 0 # CONTENT_MESE
803 101 84 36 # CONTENT_MUD
813 104 78 42 # CONTENT_WOOD
804 210 194 156 # CONTENT_SAND
81b 123 123 123 # CONTENT_COBBLE
81d 199 199 199 # CONTENT_STEEL
810 183 183 222 # CONTENT_GLASS
81c 219 202 178 # CONTENT_MOSSYCOBBLE
805 78 154 6 # CONTENT_GRAVEL
806 204 0 0 # CONTENT_SANDSTONE
80d 0 215 0 # CONTENT_CACTUS
808 170 50 25 # CONTENT_BRICK
807 104 78 42 # CONTENT_CLAY
80e 58 105 18 # CONTENT_PAPYRUS
80f 196 160 0 # CONTENT_BOOKSHELF
80a 205 190 121 # CONTENT_JUNGLETREE
80b 62 101 25 # CONTENT_JUNGLEGRASS
81e 255 153 255 # CONTENT_NC
81f 102 50 255 # CONTENT_NC_RB
821 200 0 0 # CONTENT_APPLEdiff --git a/util/minetestmapper.py b/util/minetestmapper.py
old mode 100644
new mode 100755
index b4cd2c8..50a1ef3
--- a/util/minetestmapper.py
+++ b/util/minetestmapper.py
@@ -266,7 +266,7 @@ def content_is_air(d):
return d in [126, 127, 254]
def read_content(mapdata, version, datapos):
- if version == 20:
+ if version >= 20:
if mapdata[datapos] < 0x80:
return mapdata[datapos]
else:
neko259 wrote:The mapper should use mod nodes colors as well.
jordan4ibanez wrote:what is this? (...)
jordan4ibanez wrote:(...).can some one supply a pic from imgur so i can see?

Users browsing this forum: No registered users and 1 guest