Mismatching palettes on new sprites

Started by rb7, June 26, 2024, 04:42:39 PM

Previous topic - Next topic

rb7

Preface: I'm fairly new to MUGEN, so I fully expect that someone has encountered and found a fix for this issue that has somehow evaded my own investigation. Regardless, since I can't find a fix myself, I've decided to make this post about it

I wanted to add new sprites to an existing character, so I made the assets I needed with Aseprite and added them to the character's .sff file. These new sprites aren't matching with the character's selected palette in-game and keep insisting on using their own palette (e.g. character is using palette group 1,4. Sprites are using palette group 1,1)

Fighter Factory Studio only gives these prompts under the "Pallete" section:
Image's palette, if not already added
Force the specified palette (adapt image)
Exchange with specified palette

Is there a way to fix this in Fighter Factory Studio?

Basara Bogard

Quote from: rb7 on June 26, 2024, 04:42:39 PM
(...)
Is there a way to fix this in Fighter Factory Studio?
No

If you want to add a new sprite in an existing SFF, first you've to apply the palette on the new sprites before adding them to the SFF, or else the sprite will get glitched. Another story is that the sprite doesn't work running MUGEN, then you've to put the main palette on the sprite and then use "Apply to the sprites" in the Palette tab and then choose the sprite or the group of sprites to be applied and then save the file

Odb718

rb7 there is a process you can do, but it's a few steps. You wont be able to automatically have the sprite's palette line up.
You can however do a couple steps to import the sprites to your character to get it to have the same palette.

Read all this vvvv before doing all this vvv The alpha color at the end will mess you up if you dont.

1)  Open the character. Find a sprite that has all of the colors your new sprites are supposed to be using. In advanced palette editor, make sure all of those colors are unique. Otherwise you'll get colorloss. Save that sprite as an external png. Sprites>Save Image
Keep the character open

2) Create a new Blank char. Import the NEW sprites. Use this guide to make the palette for those sprites
https://mugenguild.com/forum/topics/use-fighter-factory-3-make-palette-fast-177794.msg2315417.html#msg2315417
Once the NEW sprites have a reasonable palette open Advanced Palette Editor again.
Click the dot to work in/on the Image or Palette. So that the right side is active. Hit Load the current image from a file. Select the image from 1).

Now you'll have the new sprite's palette on the left and the palette you WANT on the right.
More than likely, the order wont be the same. The dark colors will be on the opposite side or things just wont be in the correct order. It happens 80% of the time.

What you want to do is use the eyedropper on the right and select all the color of the "hair". Then on the left select all the colors of the hair. If they're in the same order, the buttons in between the two palettes, use the Send from Right to Left.

As soon as you get all the colors of the "hair" sent to the left, click the button so you're working on the Character side. If the "hair" looks correct, hit the 3rd button, the Save as group/index. Input a number, NOT 0,0! Close Advanced palette editor.
Use the palette selector and slide it right to your new palette.
Open the Advanced Palette Editor. You should see one of your new sprites with the new "hair color".

3) Repeat 2) but do it for the "shoes"
4) Repeat 2) but do it for the "shirt"

5) Once all of the colors are on the left side of the Advanced palette Editor you're ready to import the new sprites to your char. Click on your Char. You should still be on the sprite you selected to save as a png. Write down what Group/Index it's palette is. Slide the sprites' bar all the way to the right so it's the last sprite.
Sprites>Import from another project.
Select the blank char. It ALL the sprites, Hit Renumber, Hit Add. in the box that says 0, add a number like 12947. Something that probably isnt used.
Hit Force the Specified Palette.  The group/index is probably 1,1. But remember, you wrote it down, so write what it says in the boxes.
Hit Ok.

6) You can rename the sprites if you need/want. They should be looking good and ready to become an animation once they're placed on their correct spots.

Also. The bg color is probably messed up. If this happened, go into your char and advanced palette editor, Double click the top left color and change the alpha channel from 0 to 255. And make sure the new sprites in the new Blank char has the same 1st color and the alpha is 255 not 0.
Once the new sprites are in, you can change the alpha back to 0 like nothing happened.
vVv Gouken718 vVv SabreTooth718 vVv