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

#1

KDP
    KDP

    Carpenter

  • Members
  • 53 posts

Posted 14 April 2011 - 01:20 AM

diamondPants Productions presents:

Posted Image

Turn any sprite or picture into Minecraft blocks!

Download v1.1.4 here: http://diamondpants.com/spritecraft/


Simply put, Spritecraft is an easy-to-use independent Java application that allows you to load virtually any image and convert it into Minecraft blocks. Available for free or pay-what-you-want full. We are looking for feedback for bug fixing and future improvements, so please try it and tell us what you think![color=#0080FF]

Posted Image Posted Image Posted Image
New Spritecraft 1.1.4 Features!
-Support for Resource Packs have arrived! Load your resource pack and see what your creations would look like with new textures!
-Support for all clays and new blocks like quartz and hay
-Some bug fixes probably!
      Posted Image Posted Image Posted Image  


    Full features include:

    -Supports any resource (even high-resolution ones). Add your own terrain image to use.
    -Configure which blocks you want the algorithm to include or not. Turn off blocks you don't want to use.
    -Switch between top view or side view.
    -Set your own output size dimensions, or choose no limit at all.
    -List of materials and amount of blocks needed in output window
    -Advanced dithering mode - great for large real-life images

      Spritecraft in action:


      Pick your input image and press create:
      Posted Image

      Change options like block type, side views, and dithering mode:
      Posted Image

      View and save your output image:
      Posted Image

      Output samples:

      Classic Lenna showing off Dithering:
      Posted Image

      Lenna up close:
      Posted Image

      Sonic in Minecraft blocks:
      Posted Image

      Penny Arcade comic about Minecraft, realized in Minecraft blocks:
      Posted Image

      Posted Image

      Posted Image

      Huge image of Notch in the real world via MCEdit:

      Posted Image

      Closer view:

      Posted Image

      Walking on his face:

      Posted Image

      Example video by YouTube user "VideosGamesTutorials" showing full process for taking in image, converting it in Spritecraft, saving a schematic, importing and saving it in MCEdit, and viewing it in-game!



      Register or log in to remove.

      #2

      KDP
        KDP

        Carpenter

      • Members
      • 53 posts

      Posted 14 April 2011 - 02:30 AM

      Made one of Notch. Click for full size:
      Posted Image

      #3

      twg
        twg

        Out of the Water

      • Members
      • 4 posts

      Posted 14 April 2011 - 02:36 AM

      virus scan plz if real or fake.

      #4

      KDP
        KDP

        Carpenter

      • Members
      • 53 posts

      Posted 14 April 2011 - 02:45 AM

      What tool should I use to post a virus scan?

      #5

      soydaniel96
      • Location: Peru

      Posted 14 April 2011 - 02:55 AM

      http://www.virustotal.com/
      VirusTotal.

      But hell, people really don't trust anyone.
      Maps I support:
      - Imperial Lands by lolo500
      - PortalCraft by Leggos_My_Eggos

      Mods & Tools I support:
      - DJoslin's Creations by DJoslin
      - mIDas by Pfaeff
      - Programmable CPU by Biohazard

      #6

      Koon09
        Koon09

        Stone Miner

      • Members
      • 76 posts
      • Location: [UK] Burnley

      Posted 14 April 2011 - 03:05 AM

      VirusTotal - Results

      All Clean ;)

      #7

      KDP
        KDP

        Carpenter

      • Members
      • 53 posts

      Posted 14 April 2011 - 05:40 PM

      One of the coolest features in Spritecraft Full is the ability to specify a custom texture pack. Spritecraft uses the colors from the custom texture pack and not the default when doing its color-matching calculations, so the output image will use different materials to more closely match the input image. Here are a couple examples of running the same image through Spritecraft with different texture packs.

      Original sprite for reference (it's tiny!):
      Posted Image

      Using default texture pack:
      Posted Image

      Using Painterly default pack:
      Posted Image

      Using Mystic Ruins (custom pack created by a friend of mine):
      Posted Image

      Using Balea high-res texture pack (scaled down, blocks were 128x128 each):
      Posted Image

      #8

      Cyprezz
        Cyprezz

        Zombie Killer

      • Members
      • 215 posts

      Posted 14 April 2011 - 10:59 PM

      Well that works well.  Nice job.  Countdown to schematic conversions... 3... 2... 1
      Posted Image
      Posted Image

      #9

      MINER NOT MINOR
      • Location: The hills... are alive!
      • Minecraft: MINERnotMINOR

      Posted 14 April 2011 - 11:09 PM

      Cool stuff... downloaded.  :)

      Posted Image


      #10

      taterdiamondpants

      Posted 14 April 2011 - 11:54 PM

      Some troubleshooting tips for anyone who might be having problems:


      Spritecraft Doesn't Run

      You will need Java to run Spritecraft. You can get it here: http://www.java.com. Once you have java installed, you should just need to double-click the file to run it.

      If Java is installed and the program doesn't run, you can try running it from the command line. Use your command line client to go to the directory where SpritecraftFull.jar is, and type: "java -jar -Xmx512m SpritecraftFull.jar"


      Memory Problems

      Spritecraft should be able to handle massive images without running out of memory, but it may be forced to reduce the quality of the output image to do so. For example, if you are using the standard texture pack, each block is 16x16 pixels. If you run a 2048x2048 image through Spritecraft with no max height or width, the output would be 2048*2048*16*16*3 bytes; 3 GB total. Instead of trying to use 3 GB of memory, Spritecraft will reduce the quality of the output image.

      If Spritecraft gives you an error that it has run out of memory, you can allow it to use a larger amount of memory when you run it. You'll have to run it via the command line like so: "java -jar -Xmx1024m SpritecraftFull.jar". The "1024" indicates that java can use 1024 MB of memory. Use a larger number for more memory (for example, 2048 for 2 GB of memory). Allowing Spritecraft to use more memory can also increase the quality of the output image.


      Feedback/Still Having Trouble
      Please feel free to e-mail either myself ([email protected]) or K ([email protected]) if you are having problems or if you have any suggestions. The tool is still pretty new, but thus far we don't know of any major bugs, so feedback would be greatly appreciated.

      #11

      Benjipants

      Posted 15 April 2011 - 12:11 AM

      Does it put the picture in minecraft automatically?

      Or do you have to do it manually?
      Posted Image Posted Image Posted Image Posted Image

      #12

      taterdiamondpants

      Posted 15 April 2011 - 12:14 AM

      Benjipants said:

      Does it put the picture in minecraft automatically?

      Or do you have to do it manually?

      It just creates an output image, not an MCEdit file or anything like that. You have to (get to?) build it manually.

      #13

      KDP
        KDP

        Carpenter

      • Members
      • 53 posts

      Posted 15 April 2011 - 05:17 AM

      Awesome, thanks for the diamond Miner!

      Tater is my partner in crime and he's always ready with the technical details. I'll probably add Tater's Troubleshooting Tips (TTT) to the OP sometimes tomorrow.

      #14

      Taiine
        Taiine

        Blaze Extinguisher

      • Curse Premium
      • Curse Premium
      • 4221 posts
      • Location: In a mine somewhere
      • Minecraft: Taiine

      Posted 16 April 2011 - 04:09 AM

      I notice this lacks brown wool. Need to add that :GoldBar:

      Posted Image


      #15

      taterdiamondpants

      Posted 16 April 2011 - 04:48 AM

      D'oh... you caught us... forgot to add it back in when it became possible in the game.

      We'll have it in a future version.

      #16

      Crassus
        Crassus

        Zombie Killer

      • Members
      • 179 posts

      Posted 16 April 2011 - 06:33 AM

      EDIT: Duh, the program looks at the dimensions of the image rather than the dimensions of what's inside the image. I found a smaller version and got better results.

      I'm running into a bit of trouble when trying to convert small, simple, pixel images.

      I am trying to blueprint out a Kefka sprite:
      Posted Image

      I counted the number of pixels of width and height and came out to 16 x 24, respectively. Yet when I use those dimensions in Spritecraft, I receive this:

      Posted Image

      Also, when I increase the dimensions to perhaps better accommodate the program, it adds shades in that are unnecessary.

      I get the idea of the program: it is more designed to turn real images to blocks rather than pixelated images, but I'm trying to use it for the latter, and I'm running into difficulties.

      #17

      gdscei
        gdscei

        Nether Resident

      • Members
      • 2013 posts
      • Location: The Netherlands
      • Minecraft: gdscei

      Posted 16 April 2011 - 05:04 PM

      taterdiamondpants said:

      Some troubleshooting tips for anyone who might be having problems:


      Spritecraft Doesn't Run

      You will need Java to run Spritecraft. You can get it here: http://www.java.com. Once you have java installed, you should just need to double-click the file to run it.

      If Java is installed and the program doesn't run, you can try running it from the command line. Use your command line client to go to the directory where SpritecraftFull.jar is, and type: "java -jar Xmx512m SpritecraftFull.jar"
      Ummm.... you need Java to play Minecraft...
      Pl@netCraft new survival server looking for builders! http://www.minecraft...-economy-towns/
      Posted Image

      #18

      KDP
        KDP

        Carpenter

      • Members
      • 53 posts

      Posted 16 April 2011 - 06:29 PM

      Crassus - it looks from your edit like you figured it out what was happening but I might as well add some clarification for anybody else who is running into the same issue.

      Your original image was 300x300, with a lot of empty space around the edges. When you run it through Spritecraft with no max height or width, it will attempt to turn every pixel into Minecraft blocks, so the resulting image was a huge 4500x4500 image. Spritecraft also dithers images that are over a certain size when set to auto dither (the default) to more accurately match colors.

      You probably already did this but I made two versions of the Kefka sprite that would work better:

      Tiny version:
      Posted Image

      Trimmed version:
      Posted Image

      To convert the tiny version, you could just load it into Spritecraft and hit go and you should get something good out (although I would recommend turning off stone slab, iron, and snow if you are planning to build it in a Survival server).

      To convert the trimmed version you would want to set max width to the actual pixel dimensions of the image, so a max width of 16 would work.

      For reference, here is the output I got:
      Posted Image

      Like I said, it sounds like you figured this out already, but I thought I would still post this in case it helps somebody else.

      Thanks for the feedback too. Maybe for a future version we could add an algorithm that automatically crops out empty space around an image.

      #19

      makermod1
        makermod1

        Obsidian Miner

      • Members
      • 1207 posts

      Posted 16 April 2011 - 06:49 PM

      man i feel so bad lol! this is awsome! i had 4$ on my visa giftcard but i dont have a paypal o.o
      Posted Image

      #20

      Underdog
        Underdog

        Newly Spawned

      • Members
      • 1 posts

      Posted 17 April 2011 - 04:01 PM

      Hey First its a Nice tool ! :Diamond:  :Diamond:
      But one problem :/
      It is possible thats a Border Around every Block ? so its better to count
      For Example : http://h-5.abload.de/img/heartym63.png
      Very hard to count :/