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

  • #122
    Quote from itzlupo

    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.
    Last edited by KDP: 10/30/2011 2:02:18 PM
  • #123
    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 >_>
    Last edited by Omega_2: 11/8/2011 11:20:27 PM
  • #124
    Deserves a bump
  • #125
    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? :sad.gif:
  • #126
    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. ????
  • #127
    KDP you should really make a block grid option because it is sometimes hard to determine where a block begins and where it ends
  • #128
    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?
  • #129
    Is there a way that i could download this as an application rather than a Jar file?
  • #130
    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
  • #131
    Hello tool I wish I found sooner and does the work for me!

    Railcraft, BuildCraft, RedPower 2, and Ender Chest. Powering the World2 Transit System(W2TS)
  • #132
    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).


    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!
    Last edited by Applebloom: 4/15/2012 10:50:47 AM
  • #133
    Thankyou thankyou thankyou Applebloom
    Last edited by Servant_Girl: 4/20/2012 6:25:21 AM
    Servant_Girl, At your service!
  • #134
    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.
    Last edited by Pebble: 4/25/2012 7:18:05 PM
  • #135
    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.
    Last edited by mouse240: 4/26/2012 7:02:34 AM
  • #136
    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 :)
  • #137
    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.com/Q/How_do_you_stop_the_error_'java'_is_not_recognized_as_an_internal_or_external_command_operable_program_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.
    Last edited by PlasmaRoar: 5/1/2012 7:27:34 PM
  • #138
    Quote from Pebble

    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.com/Q/How_do_you_stop_the_error_'java'_is_not_recognized_as_an_internal_or_external_command_operable_program_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!
    Last edited by PlasmaRoar: 5/1/2012 7:27:26 PM
  • #139
  • #140
  • #141
    @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.
  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes