Match images to minecraft textures
Project description
A simple pixel art helper for Minecraft, written in Python, with a simple tkinter GUI.
Installation instructions:
Linux
Install Python 3
Install numpy and Pillow.
Use pip to install, e.g. pip install pixelart
Use the command pixelart to launch the GUI.
Windows
Install Python 3 with miniconda: https://conda.io/miniconda.html
Go to the start menu and open the Anaconda Prompt
Install numpy and Pillow, by executing the command conda install numpy pillow
Use pip to install, with the command pip install pixelart
To use the script, use the command pixelart
Usage
Before using pixelart, make sure you have two things:
Textures: You can open your minecraft jar or texturepack zip directly, or you can extract the textures and show pixelart-helper where they are.
Input image: This is the image you want to convert. It should be in some format Pillow understands.
To use the graphical user interface, use the command pixelart-gui. To pass arguments like any other shell program, use the command pixelart. If you require help with the latter, use pixelart -h.
Getting your Minecraft textures
Obtain a copy of the latest minecraft jar and unzip it in a new directory (it will also give you a bunch of junk you don’t really need)
On Windows, this should be inside %appdata%/.minecraft/versions.
On Linux, I’m guessing it’s under ~/.minecraft/versions.
If using MultiMC, it may be inside the MultiMC versions directory instead.
Inside the extracted data, you should find the actual minecraft textures in assets/minecraft/textures/blocks/. You can select this directory in the GUI.
Dependencies:
Python 3
Tk
numpy
pillow
scipy (optional, for faster nearest neighbors matching)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pixelart-0.1.0a-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d7b36278672cc319ac50bd1ea8e0c5af39a0a034ee61cf1e27b90a84a5819ea |
|
MD5 | 7abe33f3cbaffaba3be6e1127af034e9 |
|
BLAKE2b-256 | 294e4bd728f273fd3d0dff6f3a2c4f21da2cca41c029d15ae6983c3152c7e137 |