YesNoOk
avatar

Lifebar Portrait Conversion (Read 1076 times)

Started by SolidZone 26, November 14, 2010, 11:22:02 pm
Share this topic:
Lifebar Portrait Conversion
#1  November 14, 2010, 11:22:02 pm
  • ***
  • Still alive and still kicking...
    • USA
Ok, don't know if this is the right place to post this but I want to convert this llifebar portrait from Master Gouken's ZXAkuma to work on JUN's Ogre. But I can't get the transparency to work and I tried all my methods. Can anyone help me? Here's what the portrait looks like:

Thanks if anyone can.
Re: Lifebar Portrait Conversion
#2  November 14, 2010, 11:24:05 pm
  • ******
    • USA
First, change it from indexed to RGB color.  Then recolor the portrait to be Ogre's colors.  Then go to index it again, go to custom, then load up the color palette for Ogre.  Then save it as a PCX.
Re: Lifebar Portrait Conversion
#3  November 15, 2010, 01:54:26 am
  • ***
  • Still alive and still kicking...
    • USA
I'm confused with the second step, how do I recolor the portrait using Photoshop? I usually don't do that because my methods usually succeed for some portraits. As for this one, it's not working. More help would be appreciated.

2OS

Re: Lifebar Portrait Conversion
#4  November 15, 2010, 06:03:22 am
  • ****
  • Ich schicke dich zur HOELLE ! ¡ ! ¡
    • Egypt
    • deuceovspadez.webs.com/
Did it for you, simply change to .PCX



I gave a rather long and detailed explanation on what to do from now on to avoid the problem you're having and to deliver the post possible understanding but lost it because of my fucking piece of garbage browser being exactly what it is, a fucking piece of garbage

Will type it up again later


[ 052012 ] Inazumachi 181/256  /  deviantART   /  2OS Grafphicsxz  Dead Anims ( Orochi/Mizuchi )  /  608's FX Volume 3
Re: Lifebar Portrait Conversion
#5  November 15, 2010, 06:47:14 am
  • ******
  • Put molly all in her champagne, she don een kno it
    • http://khumass.tumblr.com/
You don't have to recolor it in PS. As long as he has the same colors as one of his palettes. Then just apply Ogre's color palette to him and it should work.
Re: Lifebar Portrait Conversion
#6  November 15, 2010, 07:36:12 am
  • ***
  • Still alive and still kicking...
    • USA
Did it for you, simply change to .PCX



I gave a rather long and detailed explanation on what to do from now on to avoid the problem you're having and to deliver the post possible understanding but lost it because of my fucking piece of garbage browser being exactly what it is, a fucking piece of garbage

Will type it up again later
Saved the image as a PCX and it always end up scrambled in FFC and/or not the correct palette color. Maybe I did it wrong, I'm not so sure. I'll wait till you retype that detailed explanation so it can help me find out what's wrong.
Re: Lifebar Portrait Conversion
#7  November 15, 2010, 07:42:46 am
  • ******
  • Put molly all in her champagne, she don een kno it
    • http://khumass.tumblr.com/
Did you apply Ogre's palette to him, as in the actual color table?
Re: Lifebar Portrait Conversion
#8  November 15, 2010, 07:56:24 am
  • ***
  • Still alive and still kicking...
    • USA
Did you apply Ogre's palette to him, as in the actual color table?
Yes I did and it scrambled up the colors. The portrait's color table has only one line of color while Ogre's palette covers all 16 lines.
Re: Lifebar Portrait Conversion
#9  November 15, 2010, 08:18:41 am
  • ******
  • Put molly all in her champagne, she don een kno it
    • http://khumass.tumblr.com/
I'm pretty sure you have to have the same exact palette, so the portrait should have same 16 lines of colors.
Re: Lifebar Portrait Conversion
#10  November 15, 2010, 08:24:22 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
You will need to apply ogres palette TO this image for this to function. You will need to convert the colours manually to something suitable if they are not in the palette and it's full.

For this you really do need to know how the hell to edit a palette. It's not hard but nobody these days really wants to learn .


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

2OS

Re: Lifebar Portrait Conversion
#11  November 15, 2010, 08:31:55 am
  • ****
  • Ich schicke dich zur HOELLE ! ¡ ! ¡
    • Egypt
    • deuceovspadez.webs.com/
You will need to apply ogres palette TO this image for this to function.
This was done [ and tested ], the .PNG above that I made has Ogres proper index ONLY for the colors used on the portrait [ The ENTIRE palette is NOT required ( In fact, you applying his entire palette to the image is precisely why the transparency isn't working ) ]


[ 052012 ] Inazumachi 181/256  /  deviantART   /  2OS Grafphicsxz  Dead Anims ( Orochi/Mizuchi )  /  608's FX Volume 3
Last Edit: November 15, 2010, 09:02:41 am by 2OS
Re: Lifebar Portrait Conversion
#12  November 15, 2010, 08:34:40 am
  • ******
  • Put molly all in her champagne, she don een kno it
    • http://khumass.tumblr.com/
It's not hard. It just really fucking long.
Re: Lifebar Portrait Conversion
#13  November 15, 2010, 08:43:13 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Quote
The ENTIRE palette is NOT required ( In fact, you applying his entire palette to the image is precisely why the transparency isn't working ) ]
I find not using the palette from the character causes problems in either the select or the fight itself. If that hasn't been your experience fine, but i consider it the way things should be done.

In addition. I do not expect him to just throw the palette at the image and have it work. He needs to apply it correctly still and this means editing the new portrait to match. I can tell yours has a different BG colour to his so he's obviously not doing that.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Lifebar Portrait Conversion
#14  November 15, 2010, 08:47:27 am
  • ******
  • Put molly all in her champagne, she don een kno it
    • http://khumass.tumblr.com/
^This a million times over. It's easier to do things the right way.
Re: Lifebar Portrait Conversion
#15  November 15, 2010, 08:57:28 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Have just downloaded ogre by jun (ugh at his palette, fucking horrible, lrn2pal people) and this portrait needs to be edited to fit, or we need to do some clever shit.

Edit again: this is a stupid character. brb


Take that. Convert to pcx. Change for existing portrait. Open pal editor. Save palette OVER ogre1.act

Solves the issue there. IF i have downloaded the correct ogre, you are going to need to edit the rest of his palettes to include the additional colour. Can do this in fighter factory quite happily.

If you simply convert it to a 256 colour image it breaks in game because it expects to be using the character's palette. Select screen this is not an issue. During a fight it is.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Last Edit: November 15, 2010, 09:09:55 am by Cyanide

2OS

Re: Lifebar Portrait Conversion
#16  November 15, 2010, 09:09:26 am
  • ****
  • Ich schicke dich zur HOELLE ! ¡ ! ¡
    • Egypt
    • deuceovspadez.webs.com/
Decided to just do a new post instead


Having tested it with Ogre and Shaitan [ They both had they same base sprite file, therefore the same color index ( for the CHARACTER ONLY, not the FX or anything else ) ] AFTER I converted the .PNG to .PCX, they blended flawlessly

Proof [ Do note that shared palette and transparency is activated ] —






About why your methods are failing, I'm probably assuming correctly when I say you're applying Ogre's ENTIRE palette to the image



If I'm correct, you need to never do that again, especially when dealing with a palette this shitty

You need to apply ONLY the colors that the image itself uses with the proper index

In Ogre's and this portraits case, the small image displays his face, hair, and gi, which is about three quarters of the first row of colors on his palette [ next to the transparency color ], for a flawless result, you need to apply ONLY the colors of that row that are being used, delete the rest [ turn them full black or white ]



At this point you're probably wondering ""why the hell do I need to do this ?"" or ""why does doing this give it the absolute best result ?""



Needless to say the ""zero color"" is scattered everywhere [ IMO this palette index is complete shit ( irrelevant ) ]

Even when a palette is loaded or applied to an image, it still applies colors from first to last, with fighter factory's palette viewer [ ^ this ], first is top left, last is bottom right [ the ""zero color"" ], in your average paint programs palette viewer, the color index is vice versa'd. so the start to last is also vice versa'd, and with how rather shitty this palette is, what's happening is the pink slot at the top right of this palette is being applied to the background, if it wasn't there, the one after it, if that wasn't there, the one after that, etc., til you reach the end [ zero color ]

And overall that's why it's better to optimize the palette before applying colors, it isn't really required that you do so, but when dealing with a shitty palette like this one [ ^ by far one of the shittest I've ever come across ], it's best to optimize it, but keep the index in it's order, THEN apply it


[ 052012 ] Inazumachi 181/256  /  deviantART   /  2OS Grafphicsxz  Dead Anims ( Orochi/Mizuchi )  /  608's FX Volume 3
Re: Lifebar Portrait Conversion
#17  November 15, 2010, 09:16:48 am
  • ******
  • Put molly all in her champagne, she don een kno it
    • http://khumass.tumblr.com/
You said shit or a variation of it 5 times. Learn to use a wider vocabulary.

2OS

Re: Lifebar Portrait Conversion
#18  November 15, 2010, 09:27:28 am
  • ****
  • Ich schicke dich zur HOELLE ! ¡ ! ¡
    • Egypt
    • deuceovspadez.webs.com/
You said shit or a variation of it 5 times. Learn to use a wider vocabulary.
Learn to post relevantly, this isn't Jmorphs topic where the first amendment is encouraged



Added note — As soon as you add it as shared palette, the excessively enormous amount of unnecessary colors will be added to it's index, but it won't affect the image

But since it's group 9000 in this case, it doesn't matter


[ 052012 ] Inazumachi 181/256  /  deviantART   /  2OS Grafphicsxz  Dead Anims ( Orochi/Mizuchi )  /  608's FX Volume 3
Re: Lifebar Portrait Conversion
#19  November 16, 2010, 02:56:19 am
  • ***
  • Still alive and still kicking...
    • USA
Have just downloaded ogre by jun (ugh at his palette, fucking horrible, lrn2pal people) and this portrait needs to be edited to fit, or we need to do some clever shit.

Edit again: this is a stupid character. brb


Take that. Convert to pcx. Change for existing portrait. Open pal editor. Save palette OVER ogre1.act

Solves the issue there. IF i have downloaded the correct ogre, you are going to need to edit the rest of his palettes to include the additional colour. Can do this in fighter factory quite happily.

If you simply convert it to a 256 colour image it breaks in game because it expects to be using the character's palette. Select screen this is not an issue. During a fight it is.
After converting it using InfanView, it looks like the palette matches now. But the hair is all messed up. I can fix this, but it would end up making me edit all of the palettes just to fix his hair for his lifebar portrait. 20S's method doesn't need for me to do that, but it's kind of complicated.

Decided to just do a new post instead


Having tested it with Ogre and Shaitan [ They both had they same base sprite file, therefore the same color index ( for the CHARACTER ONLY, not the FX or anything else ) ] AFTER I converted the .PNG to .PCX, they blended flawlessly

Proof [ Do note that shared palette and transparency is activated ] —






About why your methods are failing, I'm probably assuming correctly when I say you're applying Ogre's ENTIRE palette to the image



If I'm correct, you need to never do that again, especially when dealing with a palette this shitty

You need to apply ONLY the colors that the image itself uses with the proper index

In Ogre's and this portraits case, the small image displays his face, hair, and gi, which is about three quarters of the first row of colors on his palette [ next to the transparency color ], for a flawless result, you need to apply ONLY the colors of that row that are being used, delete the rest [ turn them full black or white ]



At this point you're probably wondering ""why the hell do I need to do this ?"" or ""why does doing this give it the absolute best result ?""



Needless to say the ""zero color"" is scattered everywhere [ IMO this palette index is complete shit ( irrelevant ) ]

Even when a palette is loaded or applied to an image, it still applies colors from first to last, with fighter factory's palette viewer [ ^ this ], first is top left, last is bottom right [ the ""zero color"" ], in your average paint programs palette viewer, the color index is vice versa'd. so the start to last is also vice versa'd, and with how rather shitty this palette is, what's happening is the pink slot at the top right of this palette is being applied to the background, if it wasn't there, the one after it, if that wasn't there, the one after that, etc., til you reach the end [ zero color ]

And overall that's why it's better to optimize the palette before applying colors, it isn't really required that you do so, but when dealing with a shitty palette like this one [ ^ by far one of the shittest I've ever come across ], it's best to optimize it, but keep the index in it's order, THEN apply it
Thanks for the detailed tutorial. One slight problem, the lifebar portrait you have in your first post won't let me apply the palette using Adobe Photoshop nor IrfanView. I changed it to indexed but it gave only one line of color (Not a bunch shown in the pics). Applying it when it was indexed messed it up. I will continue reading this to find how to get this stinking lifebar portrait working whenever I have time, but for right now it's getting very confusing for me.
Re: Lifebar Portrait Conversion
#20  November 16, 2010, 08:10:30 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
That image can be reworked to correctly match the original palette and not cause a problem. I can run through it if you like, or you can continue to use the method 2OS has given you.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.