YesNoOk
avatar

How to delete unwanted palettes (Read 6729 times)

Started by S-Sl, April 05, 2017, 06:58:04 am
Share this topic:
How to delete unwanted palettes
#1  April 05, 2017, 06:58:04 am
    • UK
How do I delete palettes that I don't want my char keeps showing up in different colours and I only want him in one.
Please explain this heavily with easy language as my mugen knowledge is small
Re: How to delete unwanted palettes
#2  April 10, 2017, 03:53:21 pm
  • ******
  • SNK is life
Palettes are defined in the character's .DEF file, usually at the bottom, at the very end. Idenitify the name of the palettes you don't want, and delete those lines from the DEF.

Alternatively, if what's bothering you is that when you fight a certain character as CPU it comes up with a random palette, that can be fixed in the Mugen.cfg file
Re: How to delete unwanted palettes
#3  April 10, 2017, 08:55:32 pm
  • **
    • France
To illustrate what walt said , here is kfm's def file

Spoiler: KFM's def file (click to see content)

Line 11 says :
Code:
pal.defaults = 1,2,3,4      ;Default palettes in order of preference (up to 4)
If the palette you want to keep is 1, the line becomes
Code:
pal.defaults = 1

Then, for keymap palettes you have lines 28 to 39
Notice that lines 34 to 39 are commented because they start with a ";" so they have no impact.
2 ways to handle it :
  • comment every line assigning an undesired palette
  • have every button being =1  (assuming palette 1 is the only one you want to keep

These solutions don't erase the palettes you don't want to keep. They just let you not using them.

Now if you want to get rid of every unused palette (assuming all your sprites are correctly indexed) , while working on FighterFactory, click on the "Palettes" menu on the top of your window, right next to "Project" / " Edit" / "View" / etc.
Voilà, you should see a line that says "Clear all unused".
Beware, it deletes all alternative palettes (which aren't used as indexed to any sprites). Meaning your character won't have any alternative colour. And that's helpful in mirror matches ...
- samurais, swords & stuff ? → Another Blade
Re: How to delete unwanted palettes
#4  April 13, 2017, 07:02:57 pm
    • UK
thanks sry for late reply