Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

[Tool]Spritecraft: Turn images into Minecraft blocks! 1.1.4 Up


  • Please log in to reply
212 replies to this topic

#121

KDP
    KDP

    Carpenter

  • Members
  • 53 posts

Posted 30 October 2011 - 07:01 PM

View Postitzlupo, on 30 October 2011 - 02:06 PM, said:

When I save this and make a schematic then import it. The image is larger than my world. So I can't place it, Is there a way to stop it and make it really small but still a good picture?

I touched on this a little bit earlier in the thread, but when you load an image and keep the boxes checked for "No max width" and "No max height", Spritecraft will turn every pixel into a corresponding block, so if you load an image that is 300x400 pixels, it will create a schematic using 300 by 400 blocks, which is HUGE. You can uncheck "No max width" and "No max height" and enter them automatically. For a 300x400 image, you could just set "Max Width" to 40 and it would scale the image down to 30 blocks by 40 blocks (although this will not look good). Using the max width and max height boxes you can set the image to however many blocks you want.

For best results you may want to resize your image outside of Spritecraft anyway in an image editor. Just set the image size to the number of blocks you want to use. Also make sure you crop out any extra around the sides that you don't need.

Another thing you can do is go into the "Options" menu and set the option to "Top-View". When it exports the schematic, it will be horizontal so you can lay it flat instead of up and down. This is how I was able to create the huge image of Notch that you can see in this thread.

Register or log in to remove.

#122

Omega_2
    Omega_2

    Lapis Lazuli Collector

  • Members
  • 904 posts
  • Location: Antarctica
  • Minecraft: Omega_2

Posted 09 November 2011 - 01:12 AM

I still think we could do with a dedicated launcher for this.  I used to be able to run it from cmd, but now it just keeps spamming the 'main class not found'
Nevermind, I forgot that I shouldn't be bothering to put that whole 'Xmx512m' nonsense in there >_>
YOUR MINECRAFT ACCOUNT IS YOUR RESPONSIBILITY, TREAT IT AS IF IT WERE A WAD OF CASH.
Posted Image

#123

JavaTC
    JavaTC

    Coal Miner

  • Members
  • 110 posts

Posted 03 December 2011 - 07:01 AM

Deserves a bump

#124

Mewzok
    Mewzok

    Out of the Water

  • Members
  • 5 posts
  • Minecraft: Mewzok

Posted 10 January 2012 - 05:55 AM

This is really cool, and I really want to try it. But for some reason, I can't. I've tried the command thing, double clicking, opening with javaw.exe... I've tried everything that was suggested in this forum. I think. When I opened it with just Java, it changed it to a .jar file. Not a .rar file, like it was. When I open it with Java now, it just says it can't find the main class in a black box that comes up for half a second, then disappears. When I open it with javaw.exe it says could not find the Main Class in a new window. I tried re-downloading it, and the same thing happened. What am I doing wrong? Can someone please help me?  :(

#125

Omega_2
    Omega_2

    Lapis Lazuli Collector

  • Members
  • 904 posts
  • Location: Antarctica
  • Minecraft: Omega_2

Posted 12 January 2012 - 08:21 AM

1. Dump Spritecraft.jar onto Desktop
2. Winkey + R, OR Start, Run
3. Type cmd and press Enter.
4. Type cd Desktop and press Enter.
5. type this: java -jar Spritecraft.jar
6. Press Enter.
7. ????
YOUR MINECRAFT ACCOUNT IS YOUR RESPONSIBILITY, TREAT IT AS IF IT WERE A WAD OF CASH.
Posted Image

#126

vurunan
    vurunan

    Redstone Miner

  • Members
  • 511 posts
  • Location: You just lost THE GAME
  • Minecraft: Same as here

Posted 14 January 2012 - 03:24 PM

KDP you should really make a block grid option because it is sometimes hard to determine where a block begins and where it ends
Posted Image

#127

Haefftfreak

Posted 14 January 2012 - 07:48 PM

What i understood is, that the tool makes a pixely picture made of blocks out of another picture. But you need to build the stuff anyways, don't you?
Posted Image

#128

Ralphieman
  • Minecraft: ralphieman

Posted 26 January 2012 - 10:08 AM

Is there a way that i could download this as an application rather than a Jar file?
Posted Image

#129

itsarevillusion

Posted 12 April 2012 - 05:52 AM

all i got from the download was a jar that i cant run and cmd doesnt count it as a program so it cant run it

#130

Benie
    Benie

    Lapis Lazuli Collector

  • Curse Premium
  • Curse Premium
  • 1189 posts
  • Location: USA
  • Minecraft: Benie

Posted 12 April 2012 - 06:47 AM

Hello tool I wish I found sooner and does the work for me!
Posted Image
Railcraft, BuildCraft, RedPower 2, and Ender Chest. Powering the World2 Transit System(W2TS)

#131

Applebloom

Posted 15 April 2012 - 03:48 PM

Really great tool, especially accurate at higher Height settings. However, there was one problem that I've had that I feel I need to address. Sometimes when I render an image in Spritecraft, it totally disregards certain colors over other colors. Now, I'm not trying to complain or anything, it is a great program, I just feel it might be helpful to point this out. Below is a comparison image I will explain.

As you can see in the original, the cloth is a light green with dark green shading. However, when I render the image, it replaces that light green in favor of Cactus Green, with no shading. Dither does not do this, but I really am trying to shy from Dither, as it doesn't look so hot in smaller Heights. So naturally I disable Cactus Green in the menu, expecting Lime Green to show, but no. It rendered the light green in Wood. WOOD. So again I disable the troublemaking block and FINALLY do I get my desired result...sort of. I had this same problem with trying to change the color of the headband from Yellow Wool to Gold. It went from disabling Yellow straight to Orange, then after disabling Orange do I get Gold. I also tried with a texture pack I use often to compare how little difference there was (minus turning her hair green in that first set).

Posted Image
Again, not trying to complain, it's still really cool and I plan on using it a lot in the future. I really hope this post can help out with sorting bugs or making the program render more efficiently in future versions!


Edit: In an attempt to help other users who are building this by hand, I'll include a small tutorial on how to add gridlines to the image.

First, open Spritecraft and render your image that you are going to use and click Save Image and save it somewhere.

Next, visit this website and download the Paint.NET program: http://paint.net/

After that, visit this website and download the Paint.NET Grid Plugin: (Download the first link, the DLL 2.0)
http://forums.getpai...ker-plugin-v20/

Your next step is extremely simple, if you are on a PC. If you are on Linux or Mac, I do not know how to do this next part, but you should be able to find a tutorial on how to install Paint.NET plugins.

Step 1: Right click the Grid Maker Plugin .DLL file, and select "Cut".
Step 2: Go to Computer\C:\Program Files\Paint.NET\Effects and paste the .DLL file there.
Step 3: Open Paint.NET, click "File", click "Open", and select the image you created with Spritecraft.
Step 4: Once the image is open, click "Effects", click "Grid", set Grid Size to 16, click "OK".

Then save your image in Paint.Net and you are done!



Edit 2: For the people confused with how to run Spritecraft, simply save the .JAR file from the site, go to your downloads and Right Click on the file. Then select Open With> Java Platform SE Binary instead of Winrar. Hope this helps!

#132

Servant_Girl

Posted 20 April 2012 - 11:23 AM

Thankyou thankyou thankyou Applebloom
Servant_Girl, At your service!Posted Image

#133

Pebble
    Pebble

    Out of the Water

  • Members
  • 3 posts

Posted 26 April 2012 - 12:16 AM

Hi I really like this tool, I've used it many times before and now when I try to open it all I see for a split second is a cmd prompt that pops up. Anyone know what to do? Thanks in advance.

#134

mouse240

Posted 26 April 2012 - 12:01 PM

1920 x 1080 picture of a picture (Sphax texturepack) this was the best I could get since it was so huge that the chunks kept unloading... took 5+ minutes to import with mcedit.
Posted Image

#135

wlangkulay

Posted 27 April 2012 - 02:51 AM

I have downloaded the file but i cant run it. I also tried opening trough command line and open with jave se binary but nothing happens. After double clicking the file nothing pops out. please help me :)

#136

PlasmaRoar
  • Minecraft: PlasmaRoar

Posted 02 May 2012 - 12:16 AM

TO ALL THOSE WHO HAVE PROBLEM OPENING UP JAR. EXTENSION FILE:

First, go to this website: http://www.wikihow.c...-.Jar-Java-File
If that does not help, then go to this website: http://wiki.answers....m_or_batch_file
Also, alternatively instead of trying to open it by double clicking, you could also open it by CMD:
1. Put Spritecraft.jar onto Desktop
2. Start, run
3. Type cmd and press Enter.
4. Type cd Desktop and press Enter.
5. type this: java -jar Spritecraft.jar
6. Press Enter.
Or, alternatively, you could also use bat extension file:

- Create a text file, and in it type this: "java -jar -Xmx1024m spritecraftfree.jar"
- Save the text file with the name "runspritecraft.bat" and put it in the same directory as the spritecraft jar is in.
- Double-click the .bat file to run it
Make sure to save it as type "all files" if you are using Notepad!
Reply to me if you have problem.
Posted Image

#137

PlasmaRoar
  • Minecraft: PlasmaRoar

Posted 02 May 2012 - 12:27 AM

View PostPebble, on 26 April 2012 - 12:16 AM, said:

Hi I really like this tool, I've used it many times before and now when I try to open it all I see for a split second is a cmd prompt that pops up. Anyone know what to do? Thanks in advance.
You seem to have same problem as I do.
First, put Sprtiecraft.jar on desktop, then try to run this on CMD:
cd desktop
java -jar Spritecraft.jar
If it says "java" is not recognized as external or internal command, then either you did not install Java Se Binary, or you have a wrong path system. go to this website: http://wiki.answers....m_or_batch_file
Now, you should be able to do it, however if it says "Cannot find file" or something like that, then create a text file, and in it type this: "java -jar -Xmx1024m spritecraftfree.jar"
- Save the text file with the name "runspritecraft.bat" and put it in the same directory as the spritecraft jar is in.
- Double-click the .bat file to run it
Make sure to save it as type "all files" if you are using Notepad!

Posted Image

#138

PlasmaRoar
  • Minecraft: PlasmaRoar

Posted 02 May 2012 - 02:31 AM

Posted Image
Posted Image

#139

PlasmaRoar
  • Minecraft: PlasmaRoar

Posted 02 May 2012 - 03:37 AM

Posted Image
Posted Image

#140

taterdiamondpants

Posted 02 May 2012 - 03:16 PM

@Applebloom Just FYI Spritecraft just picks the closest color to the original when choosing a material. So the reason you are seeing cactus green when you expect lime green is because cactus green is a closer match. And after you turn off cactus green, the reason you see wood is because... well it's still a closer match then lime green. The RGB values don't lie :)

Dithering "fixes" this because it's a little more sophisticated- instead of looking at only one pixel it considers the pixels around it and uses different colors to make it look more close to the original (this is both an over- AND under-simplification of dithering, for more info just google it- the algorithm is fairly simple).

It's possible there is some way to make it "look" better by weighting certain color values higher than others- I've read that humans are more sensitive to changes in green, for instance. So even though wood is actually a closer match than lime green, to our eyes it might look worse because the green value of lime green is closer to the original. Maybe I will play around with this is in a future release of Spritecraft.