Duke4.net Forums: Raw palette resources - Duke4.net Forums

Jump to content

Hide message Show message
Welcome to the Duke4.net Forums!

Register an account now to get access to all board features. After you've registered and logged in, you'll be able to create topics, post replies, send and receive private messages, disable the viewing of ads and more!

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Raw palette resources

User is offline   Fox 

  • Fraka kaka kaka kaka-kow!
  • 4,303

#1

If you create .raw files from these images, palette.dat and lookup.dat would no longer be necessary.

Be careful when editing these files. Some of the colors in the palette are identical, but the images use different indices.

Duke 3D

Posted Image

Posted Image

Posted Image

Lameduke

Posted Image

Posted Image

Posted Image

Shadow Warrior

Posted Image

Posted Image

Posted Image

This post has been edited by Fox: 11 November 2017 - 02:09 AM

1

User is online   Phredreeke 

  • 57

#2

Could you by any chance make something like this for Blood?
0

User is offline   Fox 

  • Fraka kaka kaka kaka-kow!
  • 4,303

#3

I couldn't read Blood format.
0

User is offline   Fox 

  • Fraka kaka kaka kaka-kow!
  • 4,303

#4

Corrected palettes:



Lameduke:

Posted Image



Shadow Warrior:

Posted Image

Posted Image

This post has been edited by Fox: 11 November 2017 - 08:43 AM

0

User is offline   Fox 

  • Fraka kaka kaka kaka-kow!
  • 4,303

#5

Added Blood palette.

I can't edit the posts, fuck it, Imgur album:

https://imgur.com/a/ja5al

This post has been edited by Fox: 11 November 2017 - 05:21 PM

0

User is offline   Drek 

  • 1,201

#6

Is there any documentation about how to use this new feature? How'd you even learn about it?
0

User is offline   Fox 

  • Fraka kaka kaka kaka-kow!
  • 4,303

#7

Save as .raw in Photoshop. Except for game palettes, the images should use a 256 colors table.

Use "offset" for multiple palettes in a single file.

The shade table is set for each individual palette, unless you use "noshades".



Game palette
basepalette 0 { raw { file "basepalette.raw" } }
basepalette 1 { raw { file "basepalette.raw" offset 768 } }


Blend table
blendtable 0 { raw { file "blendtable.raw" } }
blendtable 1 { raw { file "blendtable.raw" offset 65536 } }


Lookup palette
palookup 1 { raw { file "palookup.raw" } }
palookup 2 { raw { file "palookup.raw" offset 256 } }
palookup 3 { raw { file "palookup.raw" offset 512 noshades } }


This post has been edited by Fox: 12 November 2017 - 01:38 PM

0

User is online   Phredreeke 

  • 57

#8

Thanks!

Right now I've manually converted 2 palettes using the color picker tool but it's very time consuming, anyone know a way of automate converting while maintaining palette index values?
0

User is offline   Fox 

  • Fraka kaka kaka kaka-kow!
  • 4,303

#9

I use Photoshop for most stuff.
0

User is online   Phredreeke 

  • 57

#10

Hmmm... This has allowed me to verify that my P3 palette is a perfect match. The other palettes... not so good.
0

User is online   Phredreeke 

  • 57

#11

Here are 11 of the PLUs converted into PSP palette format in case anyone still uses this fossil of a program.

Attached File(s)


1

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks are property of their respective owners. Yes, our forum uses cookies. © 2017 Voidpoint, LLC

Enter your sign in name and password


Sign in options