Mojira Archive
MC-120621

Vanilla resource pack seems to contain broken images.

I was trying to create a new texture pack and used the vanilla resource pack I downloaded today from here: https://aka.ms/resourcepacktemplate

$ md5sum Vanilla_Resource_Pack_1.1.3.zip 
539dcd65a1fb6a371be0a54ce9a12162  Vanilla_Resource_Pack_1.1.3.zip

When I use this as a basis I find that several images cause errors while loading the game.

The simple and obvious reason I started looking for this can be seen in the screenshot.

The errors I get are all similar to this

[22:00:21] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/magma.png
java.lang.RuntimeException: broken aspect ratio and not an animation

The full list of errors I get is this

$ fgrep ERROR logs/latest.log 
[22:00:04] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/chain_command_block_conditional.png
[22:00:04] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/lava_flow.png
[22:00:04] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/command_block_front.png
[22:00:04] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/lava_still.png
[22:00:04] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/command_block_side.png
[22:00:04] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/command_block_back.png
[22:00:04] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/repeating_command_block_side.png
[22:00:04] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/chain_command_block_back.png
[22:00:04] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/water_flow.png
[22:00:04] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/repeating_command_block_back.png
[22:00:04] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/water_still.png
[22:00:04] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/repeating_command_block_front.png
[22:00:04] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/prismarine_rough.png
[22:00:04] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/repeating_command_block_conditional.png
[22:00:04] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/chain_command_block_side.png
[22:00:04] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/command_block_conditional.png
[22:00:04] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/magma.png
[22:00:04] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/chain_command_block_front.png
[22:00:04] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/portal.png
[22:00:04] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/sea_lantern.png
[22:00:20] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/chain_command_block_conditional.png
[22:00:20] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/lava_flow.png
[22:00:20] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/command_block_front.png
[22:00:20] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/lava_still.png
[22:00:20] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/command_block_side.png
[22:00:20] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/command_block_back.png
[22:00:20] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/repeating_command_block_side.png
[22:00:20] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/chain_command_block_back.png
[22:00:20] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/water_flow.png
[22:00:20] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/repeating_command_block_back.png
[22:00:20] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/water_still.png
[22:00:20] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/repeating_command_block_front.png
[22:00:20] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/prismarine_rough.png
[22:00:20] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/repeating_command_block_conditional.png
[22:00:20] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/chain_command_block_side.png
[22:00:21] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/command_block_conditional.png
[22:00:21] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/magma.png
[22:00:21] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/chain_command_block_front.png
[22:00:21] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/portal.png
[22:00:21] [Client thread/ERROR]: Unable to parse metadata from minecraft:textures/blocks/sea_lantern.png

This is the shortest reproduction path for this problem I have right now:

cd ~/.minecraft/resourcepacks/
mkdir demo && cd demo
echo '{"pack":{"pack_format":3,"description":"Bad images demo"}}' > pack.mcmeta
mkdir -p assets/minecraft
cd assets/minecraft
unzip ~/Downloads/Vanilla_Resource_Pack_1.1.3.zip
cp pack_icon.png ../../pack.png

At this point my workaround is to delete the images that gave an error so the system inherits these from the original base installation. As you can see from the other screenshot this workaround seems to work fine.

From where I'm standing my conclusion is that the mentioned images in the vanilla resource pack have been corrupted in some way and should be fixed.

Invalid

Niels Basjes

2017-09-11, 11:34 PM

2017-09-12, 12:32 AM

2017-09-12, 12:32 AM

0

2

Unconfirmed

Minecraft 1.12.1

-