Some characters cannot allow adding palettes in SFF

Started by Momotaro, April 21, 2025, 11:04:53 AM

Previous topic - Next topic

Momotaro

Hello,
I'm usually editing characters (in POTS style mostly), to addy tweaks. sprites fixes, palettes etc.
I never had any problem before, but for some reasons, some few ones gives me errors when adding palettes.

The character I'm trying to edit is Iroha (edit by Jax, base Extravagant / Bebop)
This character have 12 palettes included in the SFF.
The palettes are also present in a palette folder.
the def file have these lines :
pal1= Palettes/1.act
pal2= Palettes/2.act
pal3= Palettes/3.act
pal4= Palettes/4.act
pal5= Palettes/5.act
pal6= Palettes/6.act
pal7= Palettes/7.act
pal8= Palettes/8.act
pal9= Palettes/9.act
pal10= Palettes/10.act
pal11= Palettes/11.act
pal12= Palettes/12.act

[Palette Keymap]
x = 1
y = 2
z = 3
a = 4
b = 5
c = 6
a2 = 7
b2 = 8
c2 = 9
x2 = 10
y2 = 11
z2 = 12


Some config file have this code:
[State 5900, 3] ;Change palette
type = RemapPal
trigger1 = 1
source = 1,1
dest = 1,palno


By using FFS,
I tried to import palettes from the "base" version to the "edit" version.
The palettes are perfectly displayed here. (in FFS)
I renamed them with the right numbers, 1.1, 1.2, 1.3...
But ingame, they are all ignored. the only visible palette is the regular SFF color.

What should I do?
I don't understand since other characters never makes this problem.
Thanks.

I can post the characters if needed.

Momotaro


VictorCYBR

#2
Palettes for characters works differently depending on the mugen version they were made for. If it's sff 1.0, the palettes are stored in the sff itself without the need of .act files. In this case there is also a block of code that makes it change palettes according to the button you press.

You need to check which sff version your character is using. FF displays it in the bottom part.
If you want to use the .act files, you need to save it as beta sff. If you want to use the palettes in the sff itself, save it as 1.0.

Momotaro

Quote from: Lyrica on April 22, 2025, 04:30:54 PM
Palettes for characters works differently depending on the mugen version they were made for. If it's sff 1.0, the palettes are stored in the sff itself without the need of .act files. In this case there is also a block of code that makes it change palettes according to the button you press.

You need to check which sff version your character is using. FF displays it in the bottom part.
If you want to use the .act files, you need to save it as beta sff. If you want to use the palettes in the sff itself, save it as 1.0.

Thanks a lot, buddy.
According to FFS bottom part, It seems like this is 1.0 SFF.

I will try both ways.

-I'll try first to keep the 1.0 SFF.
But I don't know how to save it effectively without error message in FFS.

-If it's impossible, I'll try to remove completely the 1.0 stuff and block of code to use it in the classic way.
But I have no idea What this block of code looks like.

VictorCYBR

The code is the same one that you posted here, RemapPal.
If the code is there already, your sff is 1.0 and you have your palettes organized as following in the sff:
1,1
1,2
1,3
1,4
1,5
1,6
And so on...
It should already work.

Momotaro

#5
Quote from: Lyrica on April 22, 2025, 07:02:49 PM
The code is the same one that you posted here, RemapPal.
If the code is there already, your sff is 1.0 and you have your palettes organized as following in the sff:
1,1
1,2
1,3
1,4
1,5
1,6
And so on...
It should already work.

Got it. Thanks.
I did a try with a copy of the cahracter with FF. not FFS and I managed to save in beta SFF.
It's my second choice.
EDIT : seems like FF allows me to add new palettes in beta mode SFF

I will try to fix my palette adding problem in 1.0 version.
I usually use FFS to add, replace palettes in SFF that allows it.
But with this Iroha, the palettes I add are never detected ingame. I even have a crash on loading the character select screen itself.
Without log file information ^^;


->
EDIT
OK, seems like I managed to find a way to avoid this problem.
in FF, I use the palette pannel, I select a palette I want to replace, then I use "Define new colors to the palette from a file".
This way I can overwrite it without messing up the file format.
I will make more tests, but it seems like the problem is fixed.

Odb718

If other people come across this, FF3 has trouble with saving the sff as a new file type. It seems to have extra trouble with palettes. So this problem can be a double whammy to figure out.

When editing a winmugen, or downgrading a 1.1 char to 1.0 I use the Save As 1.0 and name it something NOT in the def. I exit FF3 and either change the Def to the new name, or I rename the original sff and name the new sff to the original's name. Then reopen in FF3. The updated SFF will be loaded.

For palettes, Save the 1,0 palette as a new palette. Then you need to exit and save the char. Reopen. The palette may still be "attached" to the 1,0 palette. So you'd save the 1,7 palette as 1,8. Then save. Edit one color on the 1,7 palette and see if the 1,0 palette is affected. If it is, look at the 1,8 palette and edit the 1,0 back. I usually just adjust an all black or all white color so I can change it back easy. For some reason duplicating palettes or editing a palette in the editor can have the two overlap or something weird happens.

To take an Act file that's not saved in the Group and Index you can hit the
IMAGE OR PALETTE button at the top middle, then import the palette. You'll see it on the right side. You can then press the Save as Index button and assign it into the group/index you need. This is just to show the advanced palette editor.
Spoiler (click to show)
But again, make sure it's not "attached" to whatever palette you opened up the Advanced Palette Editor on. It can be rough sometimes.
vVv Gouken718 vVv SabreTooth718 vVv