Final Fantasy Hacktics

Modding => Spriting => Topic started by: Pickle Girl Fanboy on April 16, 2009, 01:01:03 am

Title: Palette Editing
Post by: Pickle Girl Fanboy on April 16, 2009, 01:01:03 am
I tried editing CYOKO palettes using a hex editor, and it failed somehow.  The file size changed from 73 KB to 61.1 KB, and the blue and green cyokos can't be imported.  I can't phrase a question right now, I'm so disappointed, but I need some help.

Okay, I feel better now.

I went through the chocobos and took down their palette information, then I ctrl+f ed the pallete info and changed it.  I used the Red Chocobo as a base for the blue and green; I just moved the rgb values around a bit.  Take a look:

Original
Yellow Chocobo
50C0E0 = 1
30B0E0 = 2
2088C8 = 3
1868B8 = 4
104890 = 5
D8E0E0 = 6
909070 = 7 NO CHANGE, KEEP PROPORTIONAL
203068 = 8 NO CHANGE, KEEP PROPORTIONAL
6888B0 = 9
0018A8 = 10 NO CHANGE, TONGUE
202828 = 11 NO CHANGE, KEEP PROPORTIONAL
405890 = 12
203040 = 13
000068 = 14 NO CHANGE, TONGUE
304068 = 15 TOES
000000 = 16

Black Chocobo
907088 = 1
886078 = 2
785068 = 3
684050 = 4
483840 = 5
A8E0E0 = 6
809890 = 7 NO CHANGE, KEEP PROPORTIONAL
302830 = 8 NO CHANGE, KEEP PROPORTIONAL
3878D0 = 9
6030C8 = 10 NO CHANGE, TONGUE
282820 = 11 NO CHANGE, KEEP PROPORTIONAL
305098 = 12
283048 = 13
382068 = 14 NO CHANGE, TONGUE
000000 = 15

Red Chocobo
5880F0 = 1
5068E8 = 2
3850D8 = 3
2838B0 = 4
202880 = 5
D8E0E0 = 6
889890 = 7 NO CHANGE, KEEP PROPORTIONAL
182050 = 8 NO CHANGE, KEEP PROPORTIONAL
808090 = 9
5038A8 = 10 NO CHANGE, TONGUE
101820 = 11 NO CHANGE, KEEP PROPORTIONAL
606880 = 12
303038 = 13
282068 = 14 NO CHANGE, TONGUE
000000 = 15


New
Green Chocobo
80F058 = 1
68E850 = 2
50D838 = 3
38B028 = 4
288020 = 5
E0E0D8 = 6
989088 = 7 NO CHANGE, KEEP PROPORTIONAL
205018 = 8 NO CHANGE, KEEP PROPORTIONAL
809080 = 9
5038A8 = 10 NO CHANGE, TONGUE
182010 = 11 NO CHANGE, KEEP PROPORTIONAL
688060 = 12
303830 = 13
282068 = 14 NO CHANGE, TONGUE
000000 = 15

Blue Chocobo
F08058 = 1
E86850 = 2
D85038 = 3
B03828 = 4
802820 = 5
D8E0E0 = 6 NO CHANGE, KEEP PROPORTIONAL
989088 = 7 NO CHANGE, KEEP PROPORTIONAL
502018 = 8
908080 = 9
5038A8 = 10 NO CHANGE, TONGUE
201810 = 11 NO CHANGE, KEEP PROPORTIONAL
806860 = 12
383030 = 13
282068 = 14 NO CHANGE, TONGUE
000000 = 15

My problem is that somewhere along the line the filesize changed, either from saving with MS Paint or the hex editing.
Title:
Post by: Kaijyuu on April 16, 2009, 01:29:08 am
I don't think hex editing palettes is a good idea. There are tools that can do that for you.

I use Irfanview for my sprite's palette editing. Photoshop would probably work, along with some other, freer, ones.
Title:
Post by: Pickle Girl Fanboy on April 16, 2009, 01:33:08 am
Can GrapicsGale edit palettes?
Title:
Post by: Kaijyuu on April 16, 2009, 01:37:25 am
IIRC, that's the program Smash uses for palettes.
Title:
Post by: Smash on April 16, 2009, 01:38:42 am
They can be easily edited with GIMP.
Title:
Post by: Pickle Girl Fanboy on April 16, 2009, 01:40:27 am
Okay, GraphicsGale is running, Yellow Chocobo is loaded, and I want to change all instances of 50C0E0 to 80F058.  What do I do?
Title:
Post by: Kaijyuu on April 16, 2009, 01:43:23 am
Look through the menus for some sort of "palette" editing? I dunno. Never used it.

Irfanview and Gimp are free, if you can't get it to work with graphicsgale.


note: you'll probably have to manually convert your color values to decimal. Microsoft calculator can do that.
Title:
Post by: Smash on April 16, 2009, 01:45:43 am
Use Gimp.

I could post pics.
Title:
Post by: Pickle Girl Fanboy on April 16, 2009, 01:49:03 am
Nevermind, I just figured it out, except for the filesize changing part.  Are there any reports of MS Paint changing the size of a file when it saves it, or if it is not explicitly saved as a 16 color bitmap?
Title:
Post by: Kaijyuu on April 16, 2009, 01:51:34 am
Possibly.

Re-rip the bmp from the spr and do it over again. MS paint's never troubled me before, though.


One question... what the hell ever possessed you into editing a bmp's palettes with a hex editor?
Title:
Post by: Pickle Girl Fanboy on April 16, 2009, 01:52:11 am
Hex editing is what I'm most comfortable with.  What I know the most about.  And it's a hell of a lot faster than trying to eyedrop every single little square with MS Paint.  I think I made the blue chocobo in about half an hour.
Title:
Post by: Pickle Girl Fanboy on April 16, 2009, 02:43:29 am
Move this to the Help section please.
Title:
Post by: FFaddic on April 16, 2009, 07:44:12 am
I think SNESPal would be fastest for you.
Title:
Post by: Pickle Girl Fanboy on April 16, 2009, 08:49:12 pm
I got it to work.  The only problem is my green chocobo looks like a lime popsicle on the battlefield, and I haven't changed it's portrait yet.
Title:
Post by: CidIII on April 16, 2009, 09:47:04 pm
It takes a total of two minutes on GIMP