Sprites Splitter

Talk about development tools here

Moderator: BigEvilCorporation

Post Reply
r57shell
Very interested
Posts: 478
Joined: Sun Dec 23, 2012 1:30 pm
Location: Russia
Contact:

Sprites Splitter

Post by r57shell » Thu Feb 07, 2013 9:26 am

Looking for Tool:
Given: Large Sprite.
Output: Coordinates, Size of boxes.
Condition: gold middle (tiles count)/(sprites count).

Examples:
From ---> To
Image --->>> Image
Image --->>> Image
Image

mic_
Very interested
Posts: 265
Joined: Tue Aug 12, 2008 12:26 pm
Location: Sweden
Contact:

Post by mic_ » Thu Feb 07, 2013 1:09 pm

Not sure if Tilificator is suitable for Genesis graphics, but otherwise it appears to be capable of doing what you want.

r57shell
Very interested
Posts: 478
Joined: Sun Dec 23, 2012 1:30 pm
Location: Russia
Contact:

Post by r57shell » Thu Feb 07, 2013 2:25 pm

Author is you?
This program is quite big. Many dependencies. I don't like it.
Is there command line interface?

I need to find program or algorithm that gives such result.
I prefer command line interface.
Image

mic_
Very interested
Posts: 265
Joined: Tue Aug 12, 2008 12:26 pm
Location: Sweden
Contact:

Post by mic_ » Thu Feb 07, 2013 3:40 pm

No, I didn't write it. I just remembered reading about it at the nesdev forum a while ago when I saw this topic.
I don't know of any command line tools for this (my own sixpack tool can optimize tile sets by removing redundant tiles, but it won't give you a coordinate list).

djcouchycouch
Very interested
Posts: 710
Joined: Sat Feb 18, 2012 2:44 am

Post by djcouchycouch » Thu Feb 07, 2013 4:20 pm

Looks like Tilificator would just break them up into 8x8 tiles where he's looking for a solution that would generate a "best" combination of differently sized tiles. Since it requires a very non-trivial kind of analysis of image data, I don't know if a tool like that exists.

Hope I'm wrong, though! I would be quite useful for me too :)

r57shell
Very interested
Posts: 478
Joined: Sun Dec 23, 2012 1:30 pm
Location: Russia
Contact:

Post by r57shell » Thu Feb 07, 2013 5:52 pm

I have already done some steps in this way.
I have implemeted one algorithm to do that, but it still not good enough.

I think, it is not new "Topic" or "Idea". So, there must be good software for doing it. I hope.
Image

r57shell
Very interested
Posts: 478
Joined: Sun Dec 23, 2012 1:30 pm
Location: Russia
Contact:

Post by r57shell » Fri Feb 08, 2013 11:27 am

Video related to this topic. :)
http://youtu.be/5la3tQe7B_0
Image

djcouchycouch
Very interested
Posts: 710
Joined: Sat Feb 18, 2012 2:44 am

Post by djcouchycouch » Wed Jul 17, 2013 8:52 pm

Any updates? I'd also be interested in a tool that does this.

r57shell
Very interested
Posts: 478
Joined: Sun Dec 23, 2012 1:30 pm
Location: Russia
Contact:

Post by r57shell » Wed Jul 17, 2013 9:24 pm

If you are familiar with C++
http://pastebin.com/1niRQx1C

It is very old my code... approximate: 25 Mar 2012.
This is my current method of automatic sprites splitting.

I wanted to share it a long time, since first post in this thread.
But, you need to kick my ass frequently to force me to do something.
Image

Post Reply