Jump to content

Request: Dune 2000 Palette.RES to .PAL


Colos

Recommended Posts

Recently I've been messing around with some C&C mods and I figured that it is entirely possible to add Dune 2K assets to other C&C games. I've had this idea for sometime, even though its been shot-down. Still I would at least like to attempt it. Aside from basic AI scripting, there is only one problem. As you could guess from the title, the color palette used by Dune 2K is in a completely different format than other C&C color palettes. Most other C&C games use a .PAL format for their color palettes while Dune 2K uses .RES. Currently, there is no known method or software to convert one to the other. The people I've talked to, who made the mod that I plan to either integrate into or branch off of, have no idea on how to work with such a format. But since you guys, people who currently work with Dune 2K assets, might have a solution to this. The only way I've tried so far was to open up the .BIN version and then copy off the hex code, then paste that into a RGB converter and hope for the best. I'd appreciate any feedback you guys could give me since this is the biggest issue outside of the actual coding.

Basically: I want to find a way to convert the PALETTE.RES file to .PAL so I can import sprites from Dune 2K that will have the proper colors.  

Link to comment
Share on other sites

sega mega drive's dune can help? i mean system of colors from it. it have 2 bytes $0rgb... hm... or $0bgr? dont remebmer :(  so color can be $0 to $F. so table of colors for standart RGB is:

    Select inp
      Case 0
        out = 0
      Case 2
        out = 36
      Case 4
        out = 72
      Case 6
        out = 109
      Case 8
        out = 145
      Case $A
        out = 181
      Case $C
        out = 219
      Case $E
        out = 255
    EndSelect

so some game's color $0456 - means RGB(72,109,145)... or RGB(145,109,72) - need to test to find sure wich one it was RGB or BGR or whatever it was...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...