Page 1 of 1
Sprite-Sheet-Tools
Posted: Fri Aug 07, 2015 1:36 pm
by YuokiTani
this programs can help you
Stitches - don't like big sprite-sheets but is easy to use and works online
if you can't save the sheet, use right mouse button and "picture save as"
edit (related to next post):
ImageMagick works also in Windows and you can create sheets with commandline-input like this:
Code: Select all
montage meg-va????.png -tile 4x4 -geometry 128x128+0+0 meg-sheet.png
for all Sheets from locomotives and cargo-wagons i used ImageMagick (64, 128 frames)
(
Sprite Sheet Packer - Full Program - no problems with sheets bigger 2048x2048px)
Re: Sprite-Sheet-Tools
Posted: Sat Aug 08, 2015 10:20 pm
by zangent
I made a little NodeJS utility to make these spritesheets, although it requires Imagemagick & NodeJS (or IOJS), and it only runs on Linux and (probably) OSX
Spritesheet.js.zip
Edit: I should note that this will split the final spritesheets into separate files. I made it specifically for Factorio.
Re: Sprite-Sheet-Tools
Posted: Tue Apr 19, 2016 4:15 pm
by YoloJoe
Thanks, but the order is all messed up? I have named the files name1,name2,name3 etc, but both the Stitches website and the SpriteSheetPacker messes up the order.. It goes 1,10,11,12,13,14,15,16,17,18,19,2,20... why?
Re: Sprite-Sheet-Tools
Posted: Tue Apr 19, 2016 4:19 pm
by Arch666Angel
make it 0001, 0002, 0003, 0004 and so on
Re: Sprite-Sheet-Tools
Posted: Tue Apr 19, 2016 5:11 pm
by YoloJoe
Ahhhh

now the pic just returns error:
Code: Select all
Sprite outside of "(location)" (at 1967, 136, size 1x1 of 1722x1781)
Re: Sprite-Sheet-Tools
Posted: Tue Apr 19, 2016 5:22 pm
by YoloJoe
What is "Image padding" and what does it need to be set to? I think I have it on 1 pixel

Re: Sprite-Sheet-Tools
Posted: Tue Apr 19, 2016 5:34 pm
by Arch666Angel
Padding is the space the tool inserts between the images you put in, you should set it to 0
Re: Sprite-Sheet-Tools
Posted: Wed Apr 20, 2016 10:22 am
by YoloJoe
The software is still putting the images in random order..? The 72 individual images are now called "0000,0001,0002,0003.....0031....0072"
Re: Sprite-Sheet-Tools
Posted: Wed Apr 20, 2016 11:50 am
by Arch666Angel
Hmm works fine this way for me. Btw if you are using 72 images, you cant use the compact method in stitches it will require you to have a squared number of frames (e.g. 4²=16, 5²=25, 6²=36,...).
So you have to first stitch 9 lines of 8 frame together or the other way around and then put the lines together. If you already do that I don't know where the error is. Just trying to help with what I experienced

Re: Sprite-Sheet-Tools
Posted: Wed Apr 20, 2016 7:28 pm
by YoloJoe
Ok, thanks. I just moved them around myself XD It took be about 2 hours, but its all good now

XD
Re: Sprite-Sheet-Tools
Posted: Wed Jun 08, 2016 8:17 pm
by darkfrei
Code: Select all
montage "_file00_*.png" -tile 8x8 -background rgba(0,0,0,0) -quality 100% _factorio8x8.png
This batch code for
ImageMagick / montage make a nice result with alpha and shadows.
_file00_*.png is for _file00_0001.png, _file00_0002.png, _file00_0003.png
Re: Sprite-Sheet-Tools
Posted: Mon May 01, 2017 5:41 pm
by darkfrei
Code: Select all
montage "Sprites/*.png" -tile 8x -geometry +0+0 -background rgba(0,0,0,0) -quality 100% Sprite-8x_.png
This input for
montage.exe takes all pictures from folder
Sprites and make one sheet with 8 columns
without deformation and compression.
-geometry +0+0 is very important.
Code: Select all
convert -dispose 3 -delay 5 -loop 0 "spritesheet\*.png" -crop 238x230 +repage "sprites\sprite.gif"
This code makes animated gif from spritesheet. The folder must exist.
Code: Select all
convert -dispose 3 -delay 5 -loop 0 "spritesheet\*.png" -crop 238x230 +repage "sprites\sprite.png"
Sprites from spritesheet.

See also:
viewtopic.php?f=34&t=5336
viewtopic.php?f=34&t=5336&start=20