So a while back I made a little tool to assist in the creation of sprites. I've decided to share it here with everyone with the small chance that someone finds it useful. If enough people get some use out of it I may try to update it on suggestions
Link: http://uppit.com/wzc5psa98um2/Minecraft_Image_to_Text.jarFuncion: So what does this program do anyways? Basically it'll take an image that was converted to use only colors available in Minecraft (Using a photo editing program such as GIMP or Photoshop and a palatte) and display all of the colors in a text file. See:
http://www.opticraft.net/index.php/topic,2085.0.html on how to do that! Once the image has been converted it is to be saved as a .ppm file (GIMP allows this, I'm assuming Photoshop does as well!)
Please note, when you save the .ppm file you MUST save it in Ascii form, not Raw form!Usage: What you'll need:
- The image you wish to convert (Saved as a .PPM)
- A palatte file you used to convert the image (For now, only .gpl files work!)
So, once you've downloaded the .jar file, simply double click it to run the program. (If the program does not start for some reason, try right-clicking it and selecting "Open With -> Java"
1.) Read the description then press "OK"
2.) Read the prompt, press "OK"
3.) Select the .gpl file you used to convert the image.
4.) Read the prompt, press "OK"
5.) Select the .PPM file you'll be using.
6.) Read the prompt, press "OK"
7.) Choose the name and location of the .txt file that will be created. Click Save
8.) Finished
The .txt file created will have a key at the bottom. Each row of the text file corresponds to one line in the sprite. The last line in the text file is the bottom of the sprite, the first line the top. Simply read each line left to right and place the blocks of that row left to right.
For Example: A sprite like this:
BBBBBBBBBBWould be a text file like this:
Red, Green, BlueX2, Red
Blue, Green, RedX3
The point of this program is to (hopefully) make things a bit easier than trying to click on the colors with a color selector tool to see what they are and switching back and forth between your image editor and minecraft. Yes, I know there are other ways of using image editors (Selecting all pixels of once color and doing them all at once) but this just offers an alternative method.
Let me know what you think