New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to find some textures #213

Closed
fenhl opened this Issue Mar 28, 2016 · 9 comments

Comments

Projects
None yet
3 participants
@fenhl
Contributor

fenhl commented Mar 28, 2016

Even though the files are present at the location given by mapcrafter --find-resources, when running Mapcrafter 2.2, I see the following warnings:

2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'beetroots_stage_0.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'beetroots_stage_1.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'beetroots_stage_2.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'beetroots_stage_3.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'chain_command_block_back.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'chain_command_block_conditional.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'chain_command_block_front.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'chain_command_block_side.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'chorus_flower.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'chorus_flower_dead.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'chorus_plant.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'command_block_back.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'command_block_conditional.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'command_block_front.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'command_block_side.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'debug.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'debug2.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'end_bricks.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'end_rod.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'frosted_ice_0.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'frosted_ice_1.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'frosted_ice_2.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'frosted_ice_3.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'grass_path_side.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'grass_path_top.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'purpur_block.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'purpur_pillar.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'purpur_pillar_top.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'redstone_dust_dot.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'redstone_dust_line0.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'redstone_dust_line1.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'redstone_dust_overlay.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'repeating_command_block_back.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'repeating_command_block_conditional.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'repeating_command_block_front.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'repeating_command_block_side.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'structure_block.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'structure_block_corner.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'structure_block_data.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'structure_block_load.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'structure_block_save.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'water_overlay.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load some block textures.
@m0r13

This comment has been minimized.

Member

m0r13 commented Mar 28, 2016

Did you extract the textures from a Minecraft 1.9 Jar? It seems like some
1.9 textures are missing.
On Mar 28, 2016 03:34, "Fenhl" notifications@github.com wrote:

Even though the files are present at the location given by mapcrafter
--find-resources, when running Mapcrafter 2.2, I see the following
warnings:

2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'beetroots_stage_0.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'beetroots_stage_1.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'beetroots_stage_2.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'beetroots_stage_3.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'chain_command_block_back.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'chain_command_block_conditional.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'chain_command_block_front.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'chain_command_block_side.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'chorus_flower.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'chorus_flower_dead.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'chorus_plant.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'command_block_back.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'command_block_conditional.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'command_block_front.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'command_block_side.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'debug.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'debug2.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'end_bricks.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'end_rod.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'frosted_ice_0.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'frosted_ice_1.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'frosted_ice_2.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'frosted_ice_3.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'grass_path_side.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'grass_path_top.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'purpur_block.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'purpur_pillar.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'purpur_pillar_top.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'redstone_dust_dot.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'redstone_dust_line0.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'redstone_dust_line1.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'redstone_dust_overlay.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'repeating_command_block_back.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'repeating_command_block_conditional.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'repeating_command_block_front.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'repeating_command_block_side.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'structure_block.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'structure_block_corner.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'structure_block_data.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'structure_block_load.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'structure_block_save.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load block texture 'water_overlay.png'.
2016-03-28 03:28:37 [WARNING] [default] Unable to load some block textures.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#213

@fenhl

This comment has been minimized.

Contributor

fenhl commented Mar 28, 2016

I updated to 2.2 using the Debian repository, which as I understand it does that for me. Then I ran mapcrafter_textures.py extracting from a 1.9.1-pre3 jar, since that is the version our server runs on.

@m0r13

This comment has been minimized.

Member

m0r13 commented Mar 28, 2016

My fault. Of course you don't have to run the texture script when you have installed Mapcrafter as Debian packages, the textures are already included. I forgot to bump the Minecraft version to use for packaging. New packages are building right now.

@fenhl

This comment has been minimized.

Contributor

fenhl commented Mar 28, 2016

Not resolved in 2.2.1

@m0r13

This comment has been minimized.

Member

m0r13 commented Mar 28, 2016

I just had to fix something on the build files and build the packages again without bumping the version number. That's why the old package is probably cached by your apt. Please delete the cached file by doing a sudo rm /var/cache/apt/archives/mapcrafter_2.2.1-1*.deb. Then you can do an apt-get update and install Mapcrafter again.

@fenhl

This comment has been minimized.

Contributor

fenhl commented Mar 28, 2016

I tried deleting this file and reinstalling, as well as apt-get remove and reinstalling. Still getting this error.

@jaqque

This comment has been minimized.

jaqque commented Mar 29, 2016

I manually ran (cribbed from /var/lib/dpkg/info/mapcrafter.postinst)

VERSION="1.9"
wget https://s3.amazonaws.com/Minecraft.Download/versions/$VERSION/$VERSION.jar -O /tmp/mc.jar
sudo mapcrafter_textures.py -f /tmp/mc.jar /usr/share/mapcrafter/textures

Everything is working fine.

@m0r13

This comment has been minimized.

Member

m0r13 commented Mar 29, 2016

Sure, that solves it, but it's not the optimal solution we want with the packages.

The problem was that I re-built the 2.2.1 packages, which where cached on the server / by apt itself. We got to fix the caching issues, the Debian packages should download the right Minecraft jar now.

@jaqque

This comment has been minimized.

jaqque commented Mar 29, 2016

sudo apt-get install --reinstall mapcrafter grabbed the latest .deb, that pulls in the 1.9 jar

@fenhl fenhl closed this Mar 30, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment