collapse

Author Topic: Cutting sprites easily  (Read 2163 times)

0 Members and 1 Guest are viewing this topic.

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12476
  • Country: Brazil br
  • Last Login:November 11, 2024, 12:35:15 PM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Cutting sprites easily
« on: February 27, 2012, 03:55:00 PM »
Besides we can simply cut every frame in a graphic editor, there is a tool which can speed up the process a lot.
Its called Alfred SpriteSheet Unpacker

the main advantage: It selects AUTOMATICALLY the frames to extract

1. Main form

This is the opening form of 'Alferd Spritesheet Unpacker'.

Should be fairly obvious but to 'Unpack' a spritesheet simply drag a bitmap file onto the form. Alternatively if you've copied a spritesheet into your clipboard then use the 'From Clipboard' button.


2. Unpacking

Once an image has been dropped onto the application 'Alferd Spritesheet Unpacker' will begin identifying the individual frames of animation in the spritesheet bitmap.

Notice the title bar tells us the progress.


3. Unpacked

Once 'unpacked' all the individual frames are identified with a border.



4. Select a loop

We can navigate the spritesheet by holding down the left mouse button and scrolling the bitmap.

Once we've found the animation loop we're interested in we can select each frame by clicking on it.

**Please note: the order these frames are selected defines the file name indexes given to the new bitmaps**


5. Export a loop

Now we can click the 'Export Selected' button to export those frames as seperate bitmaps.

The export location defaults to the path in the text box next to the 'Export Selected' button but before the new bitmaps are saved you get the chance to change this location.

Notice the new bitmap's backgrounds are made transparent.


6. Selecting frames to combine

Sometimes 'Alfred Spritesheet Unpacker' treats a single frame of animation as two or more seperate frames.

To fix this any number of frames can be combined into a single frame. A magnified area at the top left of the form should make selected small frames easier.


7. Combining frames

Now when we click the 'Combine Selected' button all the selected frames are removed (including any overlapping the new frame area) and a new frame is created combining all those frames selected.


8. Cutting frames

Sometimes 'Alfred Spritesheet Unpacker' treats multiple frames of animation as a single frame.

To fix this the application allows any frame to be cut into four smaller frames.


9. Cut mode

When the 'Cut' mode button is toggled we can pick any point within a frame to cut that frame into four. 'Cut' mode can be toggled via the 'Cut' mode button or clicking the right mouse button.

The new frames are highlighted to show the exact boundary of the new frames. For precise selection the keyboard-arrow-keys can be used to move the cursor.



10. After a cut

In this example we only wanted to cut the frame into two but we can quickly use the combine function to get the desired outcome.


11. Cut finished

After a quick combine the Spritesheet is now as desired.


12. Options

The colours used for highlighting frames within the spritesheet can be changed on the options form as well as the thickness of the frame borders.

There is also the option to change the export file format.

The distance between frames can also be set to allow for spritesheets with frames packed closely together or sprite sheets with frames far apart.


The tool in action:


To avoid make the cutted images transparent, click the options buttons and then in the 'Export Options' 'untick' the 'Make Background Transparent' option.

Download it at: http://www.alferdspritesheetunpacker.forkandbeard.co.uk/forkandBeard/apps/AlferdSpritesheetUnpacker/Screenshots.aspx
« Last Edit: March 04, 2012, 01:11:09 PM by O Ilusionista »



Offline DEMONKAI

  • The Visionary and IMT's
  • Contributor
  • ****
  • Posts: 8335
  • Country: United States us
  • Last Login:October 11, 2022, 09:44:18 PM
  • Never limit your vision as a creator!!
    • DTHECHEMIST
    • D THE CHEMIST
    • Demonkai's Mugen
Re: Cutting sprites easily
« Reply #1 on: February 27, 2012, 05:46:39 PM »
This is hot. Thanks a lot for sure. Great for future projects i have in mind :thumbsup:
Lots and lots of supers so f*ckin what

HAIL CROM!!

Offline SanjiSasuke

  • Wannabe Disciple of Master Lee
  • Infinity Faithful
  • ****
  • Posts: 2963
  • Last Login:July 04, 2018, 10:39:08 PM
  • Vega: Master of the Claw (along with Wolverine)
    • SanjiSasuke's Lair
    • Email
Re: Cutting sprites easily
« Reply #2 on: February 27, 2012, 07:57:47 PM »
I feel like this should be stickied, very useful.

Offline DEMONKAI

  • The Visionary and IMT's
  • Contributor
  • ****
  • Posts: 8335
  • Country: United States us
  • Last Login:October 11, 2022, 09:44:18 PM
  • Never limit your vision as a creator!!
    • DTHECHEMIST
    • D THE CHEMIST
    • Demonkai's Mugen
Re: Cutting sprites easily
« Reply #3 on: February 27, 2012, 08:02:03 PM »
Lots and lots of supers so f*ckin what

HAIL CROM!!

Offline ATiC3

  • Cryomancer
  • MUGEN Content Architect
  • *****
  • Posts: 4643
  • Country: United States us
  • Last Login:July 09, 2024, 09:24:19 PM
  • "Why not fight for Earthrealm?"
    • My Creations
Re: Cutting sprites easily
« Reply #4 on: February 28, 2012, 01:23:27 AM »
Great for graphic edits alone too, because I have seen a few people recently posting like HUGE, just empty photos.
 

Offline ExeLord

  • Smirking mage
  • RMM Contributor
  • ****
  • Posts: 1469
  • Country: Russian Federation ru
  • Last Login:October 16, 2024, 07:55:45 AM
Re: Cutting sprites easily
« Reply #5 on: February 28, 2012, 02:18:03 AM »
Nice find, bro! :thumbsup:
What consumer society is?

"Where greyness prevails, the black always take the power." (c) "Its Hard to be God" - brothers Strugatskie.

Offline Rage

  • IMT Princess
  • IMT Content Architect
  • *
  • Posts: 7307
  • Country: United States us
  • Last Login:Today at 01:44:45 AM
  • The trend setter
Re: Cutting sprites easily
« Reply #6 on: February 28, 2012, 05:20:49 AM »
 ^^(PM)^ Erik be very useful. Thanx for sharing

I AM THE PRINCESS. LOVE ME!!!     
Proud supporter of CROM                 DONT CLICK THIS LINK...

Offline laspacho

  • RMM Project Leader
  • Infinity Administrator
  • *
  • Posts: 5416
  • Country: United States us
  • Last Login:November 11, 2024, 05:47:15 PM
  • Robot Master
    • Infinity Mugen Team
    • Email
Re: Cutting sprites easily
« Reply #7 on: February 28, 2012, 08:41:47 PM »
I feel like this should be stickied, very useful.

Done.  I'm going to have to try this out.

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12476
  • Country: Brazil br
  • Last Login:November 11, 2024, 12:35:15 PM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: Cutting sprites easily
« Reply #8 on: March 04, 2012, 01:10:24 PM »
thanks.
For using PCX, the program automatically converts the images for a temporary format, automatically selects all files and export back to .pcx.

its just amazing

Offline Rage

  • IMT Princess
  • IMT Content Architect
  • *
  • Posts: 7307
  • Country: United States us
  • Last Login:Today at 01:44:45 AM
  • The trend setter
Re: Cutting sprites easily
« Reply #9 on: March 04, 2012, 02:19:22 PM »
so this can xport to pcx?

I AM THE PRINCESS. LOVE ME!!!     
Proud supporter of CROM                 DONT CLICK THIS LINK...

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12476
  • Country: Brazil br
  • Last Login:November 11, 2024, 12:35:15 PM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: Cutting sprites easily
« Reply #10 on: March 04, 2012, 02:22:12 PM »
yes, but if you use a indexed color pcx, the output pcx doesn't opens in PS, dunno why.
I've opened it on IrFanview and override it. Works.

Offline Rage

  • IMT Princess
  • IMT Content Architect
  • *
  • Posts: 7307
  • Country: United States us
  • Last Login:Today at 01:44:45 AM
  • The trend setter
Re: Cutting sprites easily
« Reply #11 on: March 04, 2012, 02:44:28 PM »
this will save me so much time. I used to save out each fame as a pcx independently.  ~X( now ill just make a sprite sheet and splice it into single files (pcx) with this. I may even try so other stuff.... >:D

I AM THE PRINCESS. LOVE ME!!!     
Proud supporter of CROM                 DONT CLICK THIS LINK...

Offline Slayer

  • Forum Member
  • ***
  • Posts: 308
  • Last Login:January 09, 2016, 02:11:11 AM
Re: Cutting sprites easily
« Reply #12 on: March 04, 2012, 02:52:41 PM »
Hmmm... Very interesting indeed.

Offline Rage

  • IMT Princess
  • IMT Content Architect
  • *
  • Posts: 7307
  • Country: United States us
  • Last Login:Today at 01:44:45 AM
  • The trend setter
Re: Cutting sprites easily
« Reply #13 on: March 07, 2012, 02:05:27 PM »
Can someone send this my way? the site is down.

Edit i must have  downloaded it a few days ago n didnt know it  :P
« Last Edit: March 07, 2012, 02:52:16 PM by Rage »

I AM THE PRINCESS. LOVE ME!!!     
Proud supporter of CROM                 DONT CLICK THIS LINK...

Offline Rage

  • IMT Princess
  • IMT Content Architect
  • *
  • Posts: 7307
  • Country: United States us
  • Last Login:Today at 01:44:45 AM
  • The trend setter
Re: Cutting sprites easily
« Reply #14 on: June 13, 2012, 10:36:23 PM »
Is anyone else having problems making pcx files with this?

I AM THE PRINCESS. LOVE ME!!!     
Proud supporter of CROM                 DONT CLICK THIS LINK...

Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

D2TD VS Showcase Thread by D2TD
[Today at 09:12:03 AM]


Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by LightFlare
[November 21, 2024, 09:44:09 PM]


Terrordrome: Rise of the Boogeymen Extended Version ( jeepers creepers) version by leonardo
[November 19, 2024, 10:22:47 PM]


Hill of the Nameless(1.1 Only) by Vegaz by LightFlare
[November 19, 2024, 10:50:39 AM]


Golden Axe Returns by gokudo99
[November 19, 2024, 03:59:31 AM]


Barkley Shut Up and Jam! Stages by Vegaz by LightFlare
[November 12, 2024, 11:26:21 AM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[November 11, 2024, 12:35:24 PM]


Eternal Lament Stage 1.1 & 1.0 by O Ilusionista
[November 11, 2024, 12:34:54 PM]


MatreroG's Stages W.I.P. Concepts by MatreroG
[November 11, 2024, 07:00:56 AM]


Spooky House(1.1 Only/AIGS) by Vegaz by LightFlare
[October 31, 2024, 11:31:36 AM]

* IMT Calendar

November 2024
Sun Mon Tue Wed Thu Fri Sat
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
[24] 25 26 27 28 29 30

SimplePortal 2.3.5 © 2008-2012, SimplePortal