mapcrafter / mapcrafter/mapcrafter

Black Bocks rendering Minecraft 1.7.10 Map

Open
#254 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Questions Stale
Dominant language
C++
Stars
643
Forks
156
PR merge metrics
No merged PRs in 30d

Description

Hey,

as the title says I'm getting Black Bocks while rendering a Minecraft 1.7.10 Map on Debian Jessy (Linux minecraft 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2 (2017-04-30) x86_64 GNU/Linux). I've installed the Debian Package via apt-get from your provided repository and I've also built the most current version from Source. Both times this is what I get:

> minecraft@minecraft:~# mapcrafter -c /home/minecraft/mapcrafter.conf
> 2017-05-27 01:36:08 [INFO] [default] Scanning worlds...
> 2017-05-27 01:36:08 [INFO] [default] [1/1] Rendering map map_myworld ("My World"):
> 2017-05-27 01:36:08 [INFO] [default] [1.1/1.1] Rendering rotation top-left...
> 2017-05-27 01:36:08 [INFO] [default] Last rendering was on 27 May 2017, 01:25:44.
> 2017-05-27 01:36:08 [INFO] [default] Scanning required tiles...
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'beetroots_stage_0.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'beetroots_stage_1.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'beetroots_stage_2.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'beetroots_stage_3.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'bone_block_side.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'bone_block_top.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'chain_command_block_back.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'chain_command_block_conditional.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'chain_command_block_front.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'chain_command_block_side.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'chorus_flower.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'chorus_flower_dead.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'chorus_plant.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'command_block_back.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'command_block_conditional.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'command_block_front.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'command_block_side.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'daylight_detector_inverted_top.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'debug.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'debug2.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'door_acacia_lower.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'door_acacia_upper.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'door_birch_lower.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'door_birch_upper.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'door_dark_oak_lower.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'door_dark_oak_upper.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'door_jungle_lower.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'door_jungle_upper.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'door_spruce_lower.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'door_spruce_upper.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'end_bricks.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'end_rod.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'nether_wart_block.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'prismarine_bricks.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'prismarine_dark.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'prismarine_rough.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'purpur_block.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'purpur_pillar.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'purpur_pillar_top.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'red_sandstone_bottom.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'red_sandstone_carved.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'red_sandstone_normal.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'red_sandstone_smooth.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'red_sandstone_top.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'repeating_command_block_back.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'repeating_command_block_conditional.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'repeating_command_block_front.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'repeating_command_block_side.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'sea_lantern.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'slime.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'sponge_wet.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'stone_andesite_smooth.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'stone_diorite_smooth.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'stone_granite_smooth.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'structure_block.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'structure_block_corner.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'structure_block_data.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'structure_block_load.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load block texture 'structure_block_save.png'.
> 2017-05-27 01:36:08 [WARNING] [default] Unable to load some block textures.
> 2017-05-27 01:36:08 [INFO] [default] Single thread will render 209 render tiles.
> [=================================================================================================================================>] 100.00% 209/209 13.06/s
> 2017-05-27 01:36:24 [INFO] [default] [1.1/1.1] Rendering rotation top-left took 16 seconds.
> 2017-05-27 01:36:24 [INFO] [default] Rendering all worlds took 16 seconds.
> 2017-05-27 01:36:24 [INFO] [default] Finished.....aaand it's gone!

The resulting map in the Browser looks like this:

![mapcrafter](https://cloud.githubusercontent.com/assets/6979096/26516280/f8d88478-4283-11e7-93d9-fb9f23d71e3d.jpg)

I've checked the files which Mapcrafter was unable to load ("[WARNING] [default] Unable to load block texture .*") they are definitely existing and I've also made sure to install ImageMagick. My last try was to
execute:

```
wget https://s3.amazonaws.com/Minecraft.Download/versions/1.7.10/1.7.10.jar -O /tmp/mc.jar
mapcrafter_textures.py -f /tmp/mc.jar /usr/share/mapcrafter/textures
```

Which results in:

> Extracting block images:
> - Found 349 block images.
> - Extracted 349.
> - Skipped 0 (Use -f to force overwrite).
>
> Extracting other textures:
> - Extracting /usr/share/mapcrafter/textures/entity/chest/normal.png ... extracted.
> - Extracting /usr/share/mapcrafter/textures/entity/chest/normal_double.png ... extracted.
> - Extracting /usr/share/mapcrafter/textures/entity/chest/ender.png ... extracted.
> - Extracting /usr/share/mapcrafter/textures/entity/chest/trapped.png ... extracted.
> - Extracting /usr/share/mapcrafter/textures/entity/chest/trapped_double.png ... extracted.
> - Extracting /usr/share/mapcrafter/textures/colormap/foliage.png ... extracted.
> - Extracting /usr/share/mapcrafter/textures/colormap/grass.png ... extracted.

However the final result remains the same.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the rendering with the reported mapcrafter.conf, Debian environment, and Minecraft 1.7.10 jar, then start from the texture-loading warnings shown in the command output. Trace why the listed textures are not loaded and verify completion when the generated browser map no longer contains black blocks.

Written by the indexing model from the issue text.

Assessment

Tech stack
debian, linux
Domain
computer-graphics, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.