Closed ensonic closed 8 years ago
The issue sees to be that the converter assumes that all images follow the same base size (or some defined ratio).
file blocks/cobblestone.png
blocks/cobblestone.png: PNG image data, 256 x 256, 8-bit/color RGB, non-interlaced
file blocks/door_wood_upper.png
blocks/door_wood_upper.png: PNG image data, 128 x 128, 8-bit/color RGB, non-interlaced
Determining aspect ratio for each texture is possible, but complex because many textures are in a map or don't follow simple multiplier rules. That's of course a texture pack design error. I'm not so sure I feel like fixing this, since it's a corner case and most texture packs don't do this.
Is there a reference for what the 'simple multiplier rules' should be? For now I'll probably fix up the source files and rerun the conversion. Would be nice if we could warn such files, but I guess we could also fix them in that case.
Right now, everything is determined as a multiplier of the cobblestone texture ($PX). Doors are therefore expected to be PX x 2PX (w x h) etc..
http://www.planetminecraft.com/texture_pack/chrisryots-star-trek-textures/
The converted doors only fill the upper half. Do we need to remap sections of the texture?