equalpants / pigmap

Minecraft map generator
https://github.com/equalpants/pigmap/wiki/Example-maps
GNU General Public License v3.0
129 stars 43 forks source link

Pigmap Didnt find any images #44

Open alantaru opened 11 years ago

alantaru commented 11 years ago

I am trying to run pigmap with MineOs. The installation was ok, but when i try to run this command

"./mineos_console.py -s MedievalKingdomCraft pigmap"

I see this on my screen:

"[texture.list]203 - /usr/games/minecraft/pigmap/textures/blocks/netherStalk_0.png is missing or invalid [texture.list]204 - /usr/games/minecraft/pigmap/textures/blocks/netherStalk_1.png is missing or invalid [texture.list]205 - /usr/games/minecraft/pigmap/textures/blocks/netherStalk_2.png is missing or invalid [texture.list]206 - /usr/games/minecraft/pigmap/textures/blocks/netherquartz.png is missing or invalid [texture.list]207 - /usr/games/minecraft/pigmap/textures/blocks/obsidian.png is missing or invalid [texture.list]208 - /usr/games/minecraft/pigmap/textures/blocks/oreCoal.png is missing or invalid [texture.list]209 - /usr/games/minecraft/pigmap/textures/blocks/oreDiamond.png is missing or invalid [texture.list]210 - /usr/games/minecraft/pigmap/textures/blocks/oreEmerald.png is missing or invalid [texture.list]211 - /usr/games/minecraft/pigmap/textures/blocks/oreGold.png is missing or invalid [texture.list]212 - /usr/games/minecraft/pigmap/textures/blocks/oreIron.png is missing or invalid [texture.list]213 - /usr/games/minecraft/pigmap/textures/blocks/oreLapis.png is missing or invalid [texture.list]214 - /usr/games/minecraft/pigmap/textures/blocks/oreRedstone.png is missing or invalid [texture.list]215 - /usr/games/minecraft/pigmap/textures/blocks/piston_bottom.png is missing or invalid [texture.list]216 - /usr/games/minecraft/pigmap/textures/blocks/piston_inner_top.png is missing or invalid [texture.list]217 - /usr/games/minecraft/pigmap/textures/blocks/piston_side.png is missing or invalid [texture.list]218 - /usr/games/minecraft/pigmap/textures/blocks/piston_top.png is missing or invalid [texture.list]219 - /usr/games/minecraft/pigmap/textures/blocks/piston_top_sticky.png is missing or invalid [texture.list]220 - /usr/games/minecraft/pigmap/textures/blocks/portal.png is missing or invalid [texture.list]221 - /usr/games/minecraft/pigmap/textures/blocks/potatoes_0.png is missing or invalid [texture.list]222 - /usr/games/minecraft/pigmap/textures/blocks/potatoes_1.png is missing or invalid [texture.list]223 - /usr/games/minecraft/pigmap/textures/blocks/potatoes_2.png is missing or invalid [texture.list]224 - /usr/games/minecraft/pigmap/textures/blocks/potatoes_3.png is missing or invalid [texture.list]225 - /usr/games/minecraft/pigmap/textures/blocks/pumpkin_face.png is missing or invalid [texture.list]226 - /usr/games/minecraft/pigmap/textures/blocks/pumpkin_jack.png is missing or invalid [texture.list]227 - /usr/games/minecraft/pigmap/textures/blocks/pumpkin_side.png is missing or invalid [texture.list]228 - /usr/games/minecraft/pigmap/textures/blocks/pumpkin_top.png is missing or invalid [texture.list]229 - /usr/games/minecraft/pigmap/textures/blocks/quartzblock_bottom.png is missing or invalid [texture.list]230 - /usr/games/minecraft/pigmap/textures/blocks/quartzblock_chiseled.png is missing or invalid [texture.list]231 - /usr/games/minecraft/pigmap/textures/blocks/quartzblock_chiseled_top.png is missing or invalid [texture.list]232 - /usr/games/minecraft/pigmap/textures/blocks/quartzblock_lines.png is missing or invalid [texture.list]233 - /usr/games/minecraft/pigmap/textures/blocks/quartzblock_lines_top.png is missing or invalid [texture.list]234 - /usr/games/minecraft/pigmap/textures/blocks/quartzblock_side.png is missing or invalid [texture.list]235 - /usr/games/minecraft/pigmap/textures/blocks/quartzblock_top.png is missing or invalid [texture.list]236 - /usr/games/minecraft/pigmap/textures/blocks/rail.png is missing or invalid [texture.list]237 - /usr/games/minecraft/pigmap/textures/blocks/rail_turn.png is missing or invalid [texture.list]238 - /usr/games/minecraft/pigmap/textures/blocks/redstoneDust_cross.png is missing or invalid [texture.list]240 - /usr/games/minecraft/pigmap/textures/blocks/redstoneDust_line.png is missing or invalid [texture.list]242 - /usr/games/minecraft/pigmap/textures/blocks/redstoneLight.png is missing or invalid [texture.list]243 - /usr/games/minecraft/pigmap/textures/blocks/redstoneLight_lit.png is missing or invalid [texture.list]244 - /usr/games/minecraft/pigmap/textures/blocks/redtorch.png is missing or invalid [texture.list]245 - /usr/games/minecraft/pigmap/textures/blocks/redtorch_lit.png is missing or invalid [texture.list]246 - /usr/games/minecraft/pigmap/textures/blocks/reeds.png is missing or invalid [texture.list]247 - /usr/games/minecraft/pigmap/textures/blocks/repeater.png is missing or invalid [texture.list]248 - /usr/games/minecraft/pigmap/textures/blocks/repeater_lit.png is missing or invalid [texture.list]249 - /usr/games/minecraft/pigmap/textures/blocks/results.png is missing or invalid [texture.list]250 - /usr/games/minecraft/pigmap/textures/blocks/rose.png is missing or invalid [texture.list]251 - /usr/games/minecraft/pigmap/textures/blocks/sand.png is missing or invalid [texture.list]252 - /usr/games/minecraft/pigmap/textures/blocks/sandstone_bottom.png is missing or invalid [texture.list]253 - /usr/games/minecraft/pigmap/textures/blocks/sandstone_carved.png is missing or invalid [texture.list]254 - /usr/games/minecraft/pigmap/textures/blocks/sandstone_side.png is missing or invalid [texture.list]255 - /usr/games/minecraft/pigmap/textures/blocks/sandstone_smooth.png is missing or invalid [texture.list]256 - /usr/games/minecraft/pigmap/textures/blocks/sandstone_top.png is missing or invalid [texture.list]257 - /usr/games/minecraft/pigmap/textures/blocks/sapling.png is missing or invalid [texture.list]258 - /usr/games/minecraft/pigmap/textures/blocks/sapling_birch.png is missing or invalid [texture.list]259 - /usr/games/minecraft/pigmap/textures/blocks/sapling_jungle.png is missing or invalid [texture.list]260 - /usr/games/minecraft/pigmap/textures/blocks/sapling_spruce.png is missing or invalid [texture.list]261 - /usr/games/minecraft/pigmap/textures/blocks/snow.png is missing or invalid [texture.list]262 - /usr/games/minecraft/pigmap/textures/blocks/snow_side.png is missing or invalid [texture.list]263 - /usr/games/minecraft/pigmap/textures/blocks/sponge.png is missing or invalid [texture.list]264 - /usr/games/minecraft/pigmap/textures/blocks/stem_bent.png is missing or invalid [texture.list]265 - /usr/games/minecraft/pigmap/textures/blocks/stem_bent.png is missing or invalid [texture.list]266 - /usr/games/minecraft/pigmap/textures/blocks/stem_straight.png is missing or invalid [texture.list]267 - /usr/games/minecraft/pigmap/textures/blocks/stem_straight.png is missing or invalid [texture.list]268 - /usr/games/minecraft/pigmap/textures/blocks/stem_straight.png is missing or invalid [texture.list]269 - /usr/games/minecraft/pigmap/textures/blocks/stem_straight.png is missing or invalid [texture.list]270 - /usr/games/minecraft/pigmap/textures/blocks/stem_straight.png is missing or invalid [texture.list]271 - /usr/games/minecraft/pigmap/textures/blocks/stem_straight.png is missing or invalid [texture.list]272 - /usr/games/minecraft/pigmap/textures/blocks/stem_straight.png is missing or invalid [texture.list]273 - /usr/games/minecraft/pigmap/textures/blocks/stem_straight.png is missing or invalid [texture.list]274 - /usr/games/minecraft/pigmap/textures/blocks/stone.png is missing or invalid [texture.list]275 - /usr/games/minecraft/pigmap/textures/blocks/stoneMoss.png is missing or invalid [texture.list]276 - /usr/games/minecraft/pigmap/textures/blocks/stonebrick.png is missing or invalid [texture.list]277 - /usr/games/minecraft/pigmap/textures/blocks/stonebricksmooth.png is missing or invalid [texture.list]278 - /usr/games/minecraft/pigmap/textures/blocks/stonebricksmooth_carved.png is missing or invalid [texture.list]279 - /usr/games/minecraft/pigmap/textures/blocks/stonebricksmooth_cracked.png is missing or invalid [texture.list]280 - /usr/games/minecraft/pigmap/textures/blocks/stonebricksmooth_mossy.png is missing or invalid [texture.list]281 - /usr/games/minecraft/pigmap/textures/blocks/stoneslab_side.png is missing or invalid [texture.list]282 - /usr/games/minecraft/pigmap/textures/blocks/stoneslab_top.png is missing or invalid [texture.list]283 - /usr/games/minecraft/pigmap/textures/blocks/tallgrass.png is missing or invalid [texture.list]284 - /usr/games/minecraft/pigmap/textures/blocks/thinglass_top.png is missing or invalid [texture.list]285 - /usr/games/minecraft/pigmap/textures/blocks/tnt_bottom.png is missing or invalid [texture.list]286 - /usr/games/minecraft/pigmap/textures/blocks/tnt_side.png is missing or invalid [texture.list]287 - /usr/games/minecraft/pigmap/textures/blocks/tnt_top.png is missing or invalid [texture.list]288 - /usr/games/minecraft/pigmap/textures/blocks/torch.png is missing or invalid [texture.list]289 - /usr/games/minecraft/pigmap/textures/blocks/trapdoor.png is missing or invalid [texture.list]290 - /usr/games/minecraft/pigmap/textures/blocks/tree_birch.png is missing or invalid [texture.list]291 - /usr/games/minecraft/pigmap/textures/blocks/tree_jungle.png is missing or invalid [texture.list]292 - /usr/games/minecraft/pigmap/textures/blocks/tree_side.png is missing or invalid [texture.list]293 - /usr/games/minecraft/pigmap/textures/blocks/tree_spruce.png is missing or invalid [texture.list]294 - /usr/games/minecraft/pigmap/textures/blocks/tree_top.png is missing or invalid [texture.list]295 - /usr/games/minecraft/pigmap/textures/blocks/tripWire.png is missing or invalid [texture.list]296 - /usr/games/minecraft/pigmap/textures/blocks/tripWireSource.png is missing or invalid [texture.list]297 - /usr/games/minecraft/pigmap/textures/blocks/vine.png is missing or invalid [texture.list]298 - /usr/games/minecraft/pigmap/textures/blocks/water.png is missing or invalid [texture.list]299 - /usr/games/minecraft/pigmap/textures/blocks/waterlily.png is missing or invalid [texture.list]300 - /usr/games/minecraft/pigmap/textures/blocks/web.png is missing or invalid [texture.list]301 - /usr/games/minecraft/pigmap/textures/blocks/whiteStone.png is missing or invalid [texture.list]302 - /usr/games/minecraft/pigmap/textures/blocks/wood.png is missing or invalid [texture.list]303 - /usr/games/minecraft/pigmap/textures/blocks/wood_birch.png is missing or invalid [texture.list]304 - /usr/games/minecraft/pigmap/textures/blocks/wood_jungle.png is missing or invalid [texture.list]305 - /usr/games/minecraft/pigmap/textures/blocks/wood_spruce.png is missing or invalid [texture.list]306 - /usr/games/minecraft/pigmap/textures/blocks/workbench_front.png is missing or invalid [texture.list]307 - /usr/games/minecraft/pigmap/textures/blocks/workbench_side.png is missing or invalid [texture.list]308 - /usr/games/minecraft/pigmap/textures/blocks/workbench_top.png is missing or invalid [texture.list]310 - /usr/games/minecraft/pigmap/item/chest.png is missing or invalid [texture.list]311 - /usr/games/minecraft/pigmap/item/largechest.png is missing or invalid [texture.list]312 - /usr/games/minecraft/pigmap/item/enderchest.png is missing or invalid [texture.list]314 - /usr/games/minecraft/pigmap/item/chests/trap_small.png is missing or invalid [texture.list]315 - /usr/games/minecraft/pigmap/item/chests/trap_large.png is missing or invalid image path is missing at least one of the required files from minecraft.jar or your tile pack. endportal.png -- included with pigmap no block images available; aborting render"

I couldn't find any of these images in that path, and I don't know how to find them. Please help ....

akudeukie commented 11 years ago

Hi. Those images are not included in the repository. But you can find them in any texture pack or game itself (e.g. minecraft.jar/textures and minecraft.jar/item), which will require you to unpack .jar file first (maybe tar can do it?). Then just copy those two folders into pigmap's path (so it matches the path mentioned in error messages).

alantaru commented 11 years ago

I did that, but the images that are in the error message I can't find in those folders.... I tried extract one by one, but I really couldn't find any of those. Can you send me a zip (or tar or any) file with some texture png's? I whould appreciate s much!

alantaru commented 11 years ago

I really cannot find those images...

alantaru commented 11 years ago

mc:minecraft/ $ ./mineos_console.py -s MKC pigmap /usr/games/minecraft/pigmap/blocks-6.png not found (or failed to read as PNG); will try to build from provided textures [texture.list]207 - /usr/games/minecraft/pigmap/textures/blocks/obsidian.png is missing or invalid [texture.list]220 - /usr/games/minecraft/pigmap/textures/blocks/portal.png is missing or invalid [texture.list]249 - /usr/games/minecraft/pigmap/textures/blocks/results.png is missing or invalid image path is missing at least one of the required files from minecraft.jar or your tile pack. endportal.png -- included with pigmap no block images available; aborting render

akudeukie commented 11 years ago

Textures packed (what I used for testing purposes): https://www.dropbox.com/s/w09hsbfudzev7nk/pigmap_mc_textures.rar

SupaYoshi commented 11 years ago

I downloaded your test textures pack, and i put it in the images folder, and used this command:

Doesnt work....

./pigmap -B 6 -T 1 -Z 10 -i /home/unitedfactions/UnitedFactions -o /home/unitedfactions/pigmap/UnitedFactions/ -g images

I get this:

/home/unitedfactions/pigmap/images//blocks-6.png not found (or failed to read as PNG); will try to build from terrain.png image path is missing at least one of these required files: terrain.png, chest.png, largechest.png, enderchest.png -- from minecraft.jar or your tile pack fire.png, endportal.png -- included with pigmap no block images available; aborting render

Also, the dir contains this:

sup4y0sh1@unitedfactions:~/pigmap$ ls -l total 1704 -rwxr-xr-x 1 sup4y0sh1 unitedfactions 128911 Mar 19 21:16 blockimages.cpp -rwxr-xr-x 1 sup4y0sh1 unitedfactions 21328 Mar 19 21:16 blockimages.h -rw-r--r-- 1 sup4y0sh1 unitedfactions 196336 Mar 19 21:16 blockimages.o -rwxr-xr-x 1 sup4y0sh1 unitedfactions 11970 Mar 19 21:16 chunk.cpp -rwxr-xr-x 1 sup4y0sh1 unitedfactions 5083 Mar 19 21:16 chunk.h -rw-r--r-- 1 sup4y0sh1 unitedfactions 21696 Mar 19 21:16 chunk.o -rwxr-xr-x 1 sup4y0sh1 unitedfactions 35147 Mar 19 21:16 COPYING -rw-r--r-- 1 sup4y0sh1 unitedfactions 335 Mar 19 21:16 endportal.png -rwxr-xr-x 1 sup4y0sh1 unitedfactions 595 Mar 19 21:16 fire.png drwxr-xr-x 4 sup4y0sh1 unitedfactions 4096 Mar 19 21:23 images -rw-r--r-- 1 sup4y0sh1 unitedfactions 992 Mar 19 21:16 Makefile -rwxr-xr-x 1 sup4y0sh1 unitedfactions 10422 Mar 19 21:16 map.cpp -rwxr-xr-x 1 sup4y0sh1 unitedfactions 14967 Mar 19 21:16 map.h -rw-r--r-- 1 sup4y0sh1 unitedfactions 44232 Mar 19 21:16 map.o -rwxr-xr-x 1 sup4y0sh1 unitedfactions 408147 Mar 19 21:16 pigmap -rwxr-xr-x 1 sup4y0sh1 unitedfactions 35380 Mar 19 21:16 pigmap.cpp -rw-r--r-- 1 sup4y0sh1 unitedfactions 242033 Mar 19 21:18 pigmap_mc_textures.zip -rw-r--r-- 1 sup4y0sh1 unitedfactions 128904 Mar 19 21:16 pigmap.o -rw-r--r-- 1 sup4y0sh1 unitedfactions 15140 Mar 19 21:16 README -rwxr-xr-x 1 sup4y0sh1 unitedfactions 7904 Mar 19 21:16 region.cpp -rwxr-xr-x 1 sup4y0sh1 unitedfactions 6318 Mar 19 21:16 region.h -rw-r--r-- 1 sup4y0sh1 unitedfactions 19008 Mar 19 21:16 region.o -rwxr-xr-x 1 sup4y0sh1 unitedfactions 31940 Mar 19 21:16 render.cpp -rwxr-xr-x 1 sup4y0sh1 unitedfactions 7840 Mar 19 21:16 render.h -rw-r--r-- 1 sup4y0sh1 unitedfactions 71216 Mar 19 21:16 render.o -rwxr-xr-x 1 sup4y0sh1 unitedfactions 10188 Mar 19 21:16 rgba.cpp -rwxr-xr-x 1 sup4y0sh1 unitedfactions 3522 Mar 19 21:16 rgba.h -rw-r--r-- 1 sup4y0sh1 unitedfactions 13448 Mar 19 21:16 rgba.o -rwxr-xr-x 1 sup4y0sh1 unitedfactions 301 Mar 19 21:16 style.css -rwxr-xr-x 1 sup4y0sh1 unitedfactions 11749 Mar 19 21:16 tables.cpp -rwxr-xr-x 1 sup4y0sh1 unitedfactions 15826 Mar 19 21:16 tables.h -rw-r--r-- 1 sup4y0sh1 unitedfactions 15648 Mar 19 21:16 tables.o -rwxr-xr-x 1 sup4y0sh1 unitedfactions 5740 Mar 19 21:16 template.html drwxr-xr-x 2 sup4y0sh1 unitedfactions 4096 Mar 19 21:17 UnitedFactions -rwxr-xr-x 1 sup4y0sh1 unitedfactions 11517 Mar 19 21:16 utils.cpp -rwxr-xr-x 1 sup4y0sh1 unitedfactions 4817 Mar 19 21:16 utils.h -rw-r--r-- 1 sup4y0sh1 unitedfactions 45384 Mar 19 21:16 utils.o -rwxr-xr-x 1 sup4y0sh1 unitedfactions 14376 Mar 19 21:16 world.cpp -rwxr-xr-x 1 sup4y0sh1 unitedfactions 3942 Mar 19 21:16 world.h -rw-r--r-- 1 sup4y0sh1 unitedfactions 43896 Mar 19 21:16 world.o sup4y0sh1@unitedfactions:~/pigmap$ cd images sup4y0sh1@unitedfactions:~/pigmap/images$ ls -l total 12 -rw-r--r-- 1 sup4y0sh1 unitedfactions 3 Mar 19 21:19 blocks-6.version drwxr-xr-x 3 sup4y0sh1 unitedfactions 4096 Jan 16 04:35 item drwxr-xr-x 3 sup4y0sh1 unitedfactions 4096 Jan 16 04:35 textures sup4y0sh1@unitedfactions:~/pigmap/images$

akudeukie commented 11 years ago

@SupaYoshi archive with textures is for latest commits in my fork. You are using older version of pigmap, which require files mentioned in error message. terrain.png, for one, is provided only by Minecraft versions prior to 1.5 update/snapshots.

Latest commit - de8c7de

SupaYoshi commented 11 years ago

MHm i got it working now, but how do I update to your latest commit? :) Thnx

SupaYoshi commented 11 years ago

Oh and do you know a good mapmarker plugin that tracks player locations? + can use /hide and /unhide.