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

Jump to content

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!

#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.

https://imgur.com/a/ja5al
2

User is online   Phredreeke 

#2

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

User is offline   Fox 

  • Fraka kaka kaka kaka-kow!

#3

I couldn't read Blood format.
1

User is offline   Fox 

  • Fraka kaka kaka kaka-kow!

#4

Corrected palettes

This post has been edited by Fox: 10 January 2020 - 08:16 PM

1

User is offline   Fox 

  • Fraka kaka kaka kaka-kow!

#5

Added Blood palette.

This post has been edited by Fox: 10 January 2020 - 08:16 PM

1

User is offline   Kyanos 

#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!

#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

1

User is online   Phredreeke 

#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!

#9

I use Photoshop for most stuff.
1

User is online   Phredreeke 

#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 

#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)


2

User is offline   Striker 

  • Auramancer

#12

EDIT: Never mind, I found them in a later post. My bad.

This post has been edited by Striker: 02 April 2018 - 03:29 PM

0

User is online   Phredreeke 

#13

I'm bumping this thread (which has been very useful to me) to add this. The palswaps for Witchaven (note that this starts on pal 1, not pal 0, this is how it is stored in lookup.dat)

Attached Image: witchaven-lookup-palettes.png
2

User is online   Phredreeke 

#14

Noticed something odd about Powerslave, in PALETTE.DAT there's a shade table

Attached Image: powerslave-shadetable.png

However, in NORMAL.RMP there is a different shade table, with 64 shades instead of 32.

Attached Image: powerslave-shadetable2.png

Anyone know which of these shadetables is actually used by the game?
0

Share this topic:


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


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options