[Sharing] Rearrange color in colormap tool, good for batch processing

haxpor

New member
Hey OpenBOR community!

First post here! I'd like to share the tool I created which I believe will be useful.
I faced with the problem of manually rearrange color in colormap to move it to the first position in order to let OpenBOR detects it and renders sprites with transparency properly. This tool is meant to be used with .gif image only and with batch/bash script to do batch processing of several images. The tool itself processes an input image then output an output image.

You can grab it here (I only pre-built for Windows 64 bit, and Linux 64 bit): https://github.com/abzico/tcolorswap/releases/tag/0.1

Instruction and how to use it included in that link. In short, you will be doing

Code:
tcolorswap 0 253 255 input.gif output.gif

It will try to find RGB(0,253,255) color in colormap of input.gif then move it to the first position then write into output.gif.

This will be very useful when you have existing sprites, and lots of frame for individual animation. Just kindly hookup executing such command with your batch/bash script file.

Have a good day community!
 
Interesting tool - but you could have saved yourself a lot of work if you'd asked in the forum first. Fighter Factory already has this specific functionality and a GUI interface. It also works on .png format images, which is what you should be using for new modules anyway.

Next time you have a problem, post it here. Likely as not someone has already solved it.

DC
 
Yes, I agree with DC . Nice tool and idea, but Fighter Factory give you a visual way to work with palette entries, like copy, move, import and evento sorte the tones. Give it a try
 
whoa, thank you for letting me know this!

Next time, I will ask first in forum! (I realize about this long after I started working on the tool after some initial research elsewhere).

One question, does Fighter Factory Studio support OpenBOR development? Anything major that it isn't work? I have been used openstats v0.67 through wine on Linux, it would be great to have more stable and native support tool.
 
I saw once in the main post that the support for OpenBOR is limited and the program was built first for MUGEN. But there's something like a new version in development (I think), so I don't know exactly.
 
afhc2x17 said:
I saw once in the main post that the support for OpenBOR is limited and the program was built first for MUGEN. But there's something like a new version in development (I think), so I don't know exactly.

Thank you so much my friend, I recently did some more research as well. I downloaded and tried. It is mainly designed to understand MUGEN project based (.def file needs to be existing). I'm going to stick with openstats for the time being.
 
haxpor you can read more information here http://www.chronocrash.com/forum/index.php?topic=3812.0

afhc2x17 Yes, the program main target is mugen, but the author is expanding it to OpenBOR too. I am the main beta tester of it and if he can do what we can do for Mugen but for OpenBOR, it would be the definitive tool.
 
O Ilusionista said:
haxpor you can read more information here http://www.chronocrash.com/forum/index.php?topic=3812.0

afhc2x17 Yes, the program main target is mugen, but the author is expanding it to OpenBOR too. I am the main beta tester of it and if he can do what we can do for Mugen but for OpenBOR, it would be the definitive tool.

Thank you!
 
Back
Top Bottom