Failed To Load Palette

Itsuchi KS

Member
Ok so the game keeps crashing because it keeps saying it failed to load the palette BUT I have a palette set AND its an index image...what am I doing wrong. It's been too long since I've done this
 
O Ilusionista said:
As I said, the color order on the palettes should be the same ,or it won't work. At all. See that the red gi colors ate the last one on the first palette, while they are the first ones on the second palette.

This is so easy to do. Just use the red palette and copy the colors to the new palette.

Well, I did what I "thought" you were saying and it turned out like this:

20180621_233848%20001.jpg


It looks like that in the game as well. Seems the clothes are colored 1st in the white gi pallete and the skin is last...and it's the other way around in the red gi pallete. BUT I copied the red gi's pallate onto the white gi and I still have an abomination lol. I'm soo terrible at this. I wish it was as easy for me as it is for you because I'm just not getting it. This is why I don't create alternate pallates but I do want to learn. I understand that I can copy the red gi image and apply the white gi's colors in reverse but that still won't help me with the other sprite edits that were created for Holy Ken by his Mugen aurthor. I would probably have to go back and do similar edits to get the results I'm looking for BUT I'm trying to avoid that.
 
Itsuchi KS said:
Feels like I'm just going to have to do some sprite edits if I want the results that I'm looking for as far as Ken's "transformation" is concerned. Red Gi Ken is an original sprite rip but White Gi Ken is actually Holy Ken (credits given) and I can't get it to match up. I'm going to try something and return when I figure it out.

No. You don't have to sprite edit at ALL. It's the palette change in the color table, not the sprite edit. Didn't you see my example in the attachment? The color table in the alternate palette image is the same order as the original, but with different colors. Like change the white skin color to dark skin color, or change red shorts to dark red or regular blue shorts.

Use your original idle1.png image you have. Edit the colors in the color table on that idle image you got, like the normal Ken. Try changing colors of his red gi to blue gi as a practice. If you finish changing his gi to blue, save it as bluepal.png. No sprite editing needed. Also, maybe no copy palette for different image/palette needed? Just change colors in the color table. It doesn't have to be all of them.
 
Itsuchi, please check your images.
The first one, when I tried to convert to palette image, has tons of red color (which should not happen at all)
znVuCGO.png


The second works fine, I just set the background to red
DZGOpwp.png


Then, as I said, I just had copied the colors of the Holy Ken to the new pallete. Take a look that the color order is the same:
NS5YC2t.png

 
Why don't you find a mod with lots of alternate palettes unpack the mod and study the characters sprites/text files until you figure out how they did it.  Being able to reverse engineer a mod like this will make you a better developer as you can use existing mods to further you skills and knowledge.

Side question: if you make openbor games does that make you a developer or a modder ?
 
Side question: if you make openbor games does that make you a developer or a modder ?
To me, depends how you do it. If you make a game from the scratch (even using rips from other games), you are a developer. But if you just take other people games, puts some effects and releases as it was yours, then no, lol.
 
The second works fine, I just set the background to red

Where did you set the background to red? I just see the pink-ish color

Then, as I said, I just had copied the colors of the Holy Ken to the new pallete. Take a look that the color order is the same:

I see, did you create that pallete as a custom pallete AND THEN make the image an index afterward? And this one uses 15 colors instead of my usual 16 colors...does that matter?
 
msmalik681 said:
Why don't you find a mod with lots of alternate palettes unpack the mod and study the characters sprites/text files until you figure out how they did it.  Being able to reverse engineer a mod like this will make you a better developer as you can use existing mods to further you skills and knowledge.

Yeah, I started this mod. Remember this, Street Fighter X Tekken X SNK?

bor-0152.png


bor-0053.png


bor-0136.png


By studying Rocket Viper 2, I learned soooooo much 4 years ago but I lost that mod when my desktop computer crashed so I'm doing a small game to get back used to modding and learn new stuff. I can pretty much do everything else I need but I have never done palletes because they were already done by others mostly. Trust me, I'm pretty good at this (except palletes lol). Once I "completely" understand what I'm doing "again," I'm going to start on one of my AAA mod ideas I think everyone would like. That project will be good for mugen coders to because I'm in the process of doing something no one else has really "completely" done before. I'd just rather "test" everything on this short mod first  :) 
 
I see, did you create that pallete as a custom pallete AND THEN make the image an index afterward? And this one uses 15 colors instead of my usual 16 colors...does that matter?
Yes. You first create a custom palette and THEM you copy the new colors to save as a second palette. You don't make a second palette from the images.

The color number doesn't matter per se. You just need to have the same color order and same color count between both palettes
 
Well we did it fellas lol. IT WORKED lol! AND it worked the way I wanted it to work. I did the "Holy Ken" pallete AND THEN too some Holy Ken sprites and put them in the game and look what it did:

NORMAL KEN RED GI
20180623_111258%20001.jpg


HOLY KEN RED GI
20180623_111911%2001.jpg


NORMAL KEN WHITE GI
20180623_112006%20001.jpg


HOLY KEN WHITE GI
20180623_112140%2001.jpg


So this is great because his gi will stay whatever color it is EVEN when he does power release and transforms to "Holy Ken." This was a GREAT test and now that I understand palletes, I can do the same with Ryu and "Evil Ryu" and have him transform with whatever gi he has on but skin and hair color change like in the movies. Thanks for helping me guys, and thanks for being soo patient.
 
Glad it had worked :)
If you need some moves where he changes his skin and gi color (like it happens with Ryu/Evil Ryu), you can change the palette by script during the move and revert it back. It's better than include more colors on the palette.
 
O Ilusionista said:
Glad it had worked :)
If you need some moves where he changes his skin and gi color (like it happens with Ryu/Evil Ryu), you can change the palette by script during the move and revert it back. It's better than include more colors on the palette.

Thanks for the tip O. I'll keep that in mind, I just don't know how to do that yet lol. Kind of sounds like what you did with Spider Woman in your Avengers game. Where a player picks a certain pallete and their moves change. Great for Akuma/Shin Akuma but I haven't figured out how you did that either.
 
Back
Top Bottom