# RandomSelect

## Archive => Development Help => Topic started by: two4teezee on June 09, 2007, 02:55:14 PM

Title: Optimizing .sff files
Post by: two4teezee on June 09, 2007, 02:55:14 PM

I'm trying to optimize a few large .sff files (700+ images each, a few groups that have individual palettes, other groups in which all the images have the same palette with a ratio of about 60% individual (unique to that image) palettes and 40% similar or different palettes).
1. Would the .sff benefit from having groups that have the same palettes in successive order or does that not matter if I don't use the shared palette? (e.g. I keep my groups in numerical order in my .sff. Let's say all images in groups 4 and 10 have the same palette, should I physically move these to be adjacent in my.sff?)
2. Would the .sff benefit from having a 0,0 image whose palette represents a significant number of other images' palette (keeping in mind the balance expressed above)?
3. Would I benefit from modifying the palettes of images with low color counts so that they can all have a similar palette?
Any other thoughts for this particular question? I have used SFFer and I have found this program to be useful in optimizing my .sff but I was wondering if I can do more by perhaps rearranging groups or otherwise.

Title: Re: Optimizing .sff files
Post by: Byakko on June 09, 2007, 03:24:31 PM

1 : yes, better. You should use shared palette for those.
2 : yes.
3 : yes.
Basically, it takes place to add a new palette, so even if one has less colors, it's still a new palette that is added. If you make the sprite share palette with a previous sprite, then you don't have to add the new, shorter palette anymore.
That's why you'll want to have the first sprite have as many of the colors of the next sprites, so that you add only one palette once and for all. Then if you have sprites that just use too many colors, you can put those separated with a new palette, at the end of the SFF.
By the way, note that I'm speaking with WinMugen in mind, of course. DOS Mugen doesn't support multiple palettes in characters.
I don't know about SFFer, but I suggest SprMaker, since it's the original thing. Now i don't know if SFFer does the same thing.

Title: Re: Optimizing .sff files
Post by: two4teezee on June 09, 2007, 03:51:19 PM

Right. I have been putting my .sff fiels using Fighter Factory though and that has seemed to work okay, but SFFer is good for optimizing. I have a copy of sprmaker somewhere on my hdd, I'll rebuild the .sff using your advice and let you know what kind of results I obtain!
Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC