Jump to content

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

unstitcher: Rewrite of Dinnerbone’s tool (can be used on command line)


  • Please log in to reply
14 replies to this topic

#1

flying sheep
  • Minecraft: flying-sheep

Posted 22 December 2012 - 07:20 PM

It’s a rewrite of Dinnerbone’s utility to convert Minecraft texture packs to the 1.5 format. I rewrote it because I wanted to be able to bach-convert multiple packs.

I thought that would come in handy. Usage:
java -jar unstitcher.jar [-h | <input>.zip [<output>.zip]]

Calling it without parameters invokes the GUI (file selector and log window), else the logging takes place in the command line and no window is shown.

example shell script:
for pack in "$HOME/.minecraft/texturepacks/"*; do
java -jar unstitcher.jar "$pack"
done

Posted Image

Register or log in to remove.

#2

FlyingPies155
  • Location: Somewhere in space
  • Minecraft: FlyingPies155

Posted 22 December 2012 - 07:24 PM

And exactly what does it do?

#3

MaxM95
    MaxM95

    Tree Puncher

  • Members
  • 22 posts
  • Minecraft: max_m_95

Posted 22 December 2012 - 09:03 PM

Quote

Texture-pack authors! Here's a handy tool that I wrote to try to turn your packs to a 1.5 format. Helps to prepare! Posted Image http://assets.<em>mi.../unstitcher.jar
from https://twitter.com/...796115647561728

Posted Image


#4

flying sheep
  • Minecraft: flying-sheep

Posted 22 December 2012 - 10:15 PM

View PostMaxM95, on 22 December 2012 - 09:03 PM, said:

exactly. guess i should link to the tweet and say what exactly it does :D

it’s so easy to forget such basic information if you spent time on something. thanks!
Posted Image

#5

Rapdorian

Posted 10 January 2013 - 03:58 PM

How do you run it
sorry for sounding stupid i just dont know

#6

7eggert
    7eggert

    Gold Miner

  • Curse Premium
  • Curse Premium
  • 434 posts

Posted 14 January 2013 - 08:38 AM

View PostRapdorian, on 10 January 2013 - 03:58 PM, said:

How do you run it
sorry for sounding stupid i just dont know

On the command line (Win-R -> cmd), type:
java -jar unstitcher.jar texturepack.zip

If your java is not in the path on windows, you have to search for java.exe and use the full path (drag/drop the .exe to the cmd window).
The same applies to unstitcher.jar (second download link) and the texture pack files, they are expected in the current directory. You can change the current directory using "cd d:\new\directory" plus "d:" (cmd.exe has a current directory on each drive and one current drive)

I didn't test if having texturepack.zip in a different directory does work.

@flying_sheep: Thanks for your work.

#7

flying sheep
  • Minecraft: flying-sheep

Posted 09 February 2013 - 01:00 PM

update: now it’s more memory-efficent and might handle huge texturepacks.
Posted Image

#8

flying sheep
  • Minecraft: flying-sheep

Posted 28 February 2013 - 12:39 AM

update: now handles animations!

except flowing lava and water, as i still don’t understand how they work. is the double-width for 4 different flow directions or what?
Posted Image

#9

Jbow11
    Jbow11

    Out of the Water

  • Members
  • 5 posts

Posted 13 March 2013 - 06:05 PM

Sorry, I am still not sure as to how I can utilize this tool. Could you possibly give a more detailed description of running the stitcher.jar.?

#10

Chahol17
    Chahol17

    Tree Puncher

  • Members
  • 10 posts

Posted 14 March 2013 - 12:27 AM

How on earth do i run it?
Where exactly is the actual unstitcher.jar?

#11

mg127
    mg127

    Lapis Lazuli Collector

  • Curse Premium
  • Curse Premium
  • 1003 posts
  • Location: Germany

Posted 14 March 2013 - 07:40 PM

for what is the option -h ?
Posted Image

#12

Chahol17
    Chahol17

    Tree Puncher

  • Members
  • 10 posts

Posted 14 March 2013 - 08:21 PM

Wow nevermind, i figured it out.
Idk how i didnt notice that.
EDIT: For some reason, it was a .zip file instead of .jar.

#13

DLBerge
    DLBerge

    Coal Miner

  • Members
  • 105 posts
  • Location: Bergheim, Germany
  • Minecraft: DLBerge

Posted 19 March 2013 - 09:08 AM

Cannot cannot seem to get it to work.  Have unsticher.jar in folder with the texturepack but I guess my input to the command line is wrong.  can you give a detailed instruction on the correct way to run it for us noobs.  Never mind I'm stupid just ran the jar with java inside the folder and it worked great.   Thanks for the unstitcher.
Posted Image

#14

DTDsphere
    DTDsphere

    Obsidian Miner

  • Curse Premium
  • Curse Premium
  • 1472 posts

Posted 19 March 2013 - 09:49 AM

There's a non command line Unstitcher here: http://www.minecraft...indowsmaclinux/

Posted Image


#15

watermine

Posted 22 March 2013 - 10:03 PM

View Postflying sheep, on 28 February 2013 - 12:39 AM, said:

except flowing lava and water, as i still don’t understand how they work. is the double-width for 4 different flow directions or what?
No, just four time the same texture repeated.
The reasons are probably technical.