Don't forget to read the rules of the forum. No current release restrictions. | Help Search Members Calendar

Logged in as: The Dreamslayer ( Log Out ) | My Controls · 0 New Messages · View New Posts · My Assistant

Mugen DEV Forum -> Development and Help Forums -> Development Discussion

Easier color management with Palettes
Track this topic | Email this topic | Print this topic

| Posted: May 7 2003, 03:27 PM
Group: Posts: Member No.: Joined: -- | Itīs not like I discovered gun powder here, but this will come in handy sometimes. When you are making a SFF with independent colors for each groups (I.E.:charater colors are 1 to 15, hadouken colors are 16-23, etc. each group palette differs from other like these shots:
Charīs sprites
[img]http://www.twinangels.net/mugenhispania/web/paletas/Index01.gif[/img]
Hadouken
[img]http://www.twinangels.net/mugenhispania/web/paletas/Index03.gif[/img]
And the final result should be this:
[img]http://www.twinangels.net/mugenhispania/web/paletas/Index04.gif[/img]
The tedious part comes when you are copying th colors from the 2nd pal to the first to make the complete palette...
Since there are no apps that allow to copy a group of colors and insert them in other pal or move the group inside the pal (at least Photoshop canīt do it) you can perform it using an HexEditor. Even with the crappy MS-Dos editor you can do it, but is dangerous because special characters like 0x00 are not presented correctly and you can miss some colors because of that.
[img]http://users.frailart.net/renzokufc/HEX.png[/img]
Well thatīs it. quite simple, but useful.

BlackJack | Posted: May 7 2003, 06:15 PM
Purple Jester Group: Members Posts: 167 Member No.: 1141 Joined: 24-October 02
There is an easier way to do that: just edit the second .pal with a text editor (Windows notepad for example).
You should see something like this:

CODE
JASC-PAL 0100 256 0 0 0 0 0 0
0 0 0
0 0 0
0 221 255
33 33 33
115 132 247
132 82 33
132 132 165
etc.

Just copy the lines after the zeros, and paste them into your 1st .PAL.

| Posted: May 8 2003, 01:00 AM
Group: Posts: Member No.: Joined: -- | MMh. but Iīm working with ACTs here, as you can see. But maybe I can just download PSP and try it.

BlackJack | Posted: May 8 2003, 01:10 AM
Purple Jester Group: Members Posts: 167 Member No.: 1141 Joined: 24-October 02
Yes, but before making the palettes in .ACT, they were in .PAL form, right?
And you don't have to download PSP: every .PAL have the same format (the only thing that changes is the 1st line of the file, in that case JASC-PAL).

XGargoyle | Posted: May 8 2003, 01:32 AM
Super Saiyajin Ninja Group: Admin Posts: 824 Member No.: 6 Joined: 13-September 02
[quote author=BlackJack link=board=4;threadid=1249;start=0#msg14095 date=1052356233]
Yes, but before making the palettes in .ACT, they were in .PAL form, right?
[/quote]
Nope, if you are working with Photoshop only. Photoshop uses ACT files, and those can't be modified as easy as PAL files.
--------------------
XGargoyle: Hoarding mugen creations since 1979
http://xgargoyle.mgbr.net

BlackJack | Posted: May 8 2003, 01:44 AM
Purple Jester Group: Members Posts: 167 Member No.: 1141 Joined: 24-October 02
Oh, OK. I wasn't aware of that.
I'm taking a wild guess here, but perhaps Photoshop can convert between .ACT and .PAL?
Otherwise I think using "insert the name of a tool like paletero here", to convert your .ACT to .PAL files, then modyfing the .PAL with a text editor, and then finally re-using "insert the name of a tool like paletero here" to make the .PAL a .ACT file again would be much simpler than hex editing...
(note the fact that I'm good with an hex editor, but better with a text editor ;D)

| Posted: May 8 2003, 03:25 AM
Group: Posts: Member No.: Joined: -- | ... I thought there was a tool that converted ACT files to PAL? I could've sworn I saw one a long while ago...

| Posted: May 8 2003, 12:30 PM
Group: Posts: Member No.: Joined: -- | Now that I know the PAL format this topicis nosense... even if you work with photoshop. [me=Renzo Frassinelli C.]runs away as forum members throw rotten tomatoes.[/me]

O_Ilusionista | Posted: May 8 2003, 01:34 PM
Newbie Group: Members Posts: 5 Member No.: 2210 Joined: 4-February 03
An usefull tool to convert PAL to ACT, and to manage palletes in easier way is PALETERO. You can get it at http://bmt.mgbr.net under MISC section
--------------------
Senpuu Kaen Jigoku no Jutsu.

BlackJack | Posted: May 8 2003, 02:08 PM
Purple Jester Group: Members Posts: 167 Member No.: 1141 Joined: 24-October 02
That's what I said! ;D
[quote author=BlackJack link=board=4;threadid=1249;start=0#msg14097 date=1052358242]
"insert the name of a tool like paletero here"[/quote]
Maybe was it too small?

VinnyJ | Posted: May 8 2003, 04:12 PM
Inu-kuro Group: Members Posts: 258 Member No.: 91 Joined: 14-September 02
or go with good ol' fashioned pal2act.exe by Elecbyte for the converting ;D
I haven't tried Paletero (at first glance, I thought people were talking about the guy that gives you popcicles, El Paletero.)

« Next Oldest | Development Discussion | Next Newest »

Close Topic Options
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
- M.U.G.E.N Development Forum - Contact an admin - ELECBYTE - Shin Mugen -
Powered by Invision Power Board(U) v1.2 © 2003 IPS, Inc.