Direct Draw Palette Hack

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Deathsong12
Posts: 1083
Joined: Sat May 07, 2005 1:29 pm
Location: On the hunt

Direct Draw Palette Hack

Post by Deathsong12 »

What exactly is this? Could It be used to make sprites from other palettes look better?
User avatar
Zell
Posts: 791
Joined: Thu Jul 24, 2003 7:47 am
Location: IN A GODDAMN BOX[In Erie.]

Post by Zell »

No, It just has to do with some graphic card issues, I believe. I have to use it on my aunts laptop, otheriwse the colors go all over the place. For instance, the doom guys hand is purple and it'll jump around colors when you start moving. Once you put it on, the game should react normally. I could be very wrong and just switched some other option to fix it, but I'm pretty sure I'm right. :P
User avatar
Bio Hazard
Posts: 4019
Joined: Fri Aug 15, 2003 8:15 pm
Location: ferret ~/C/ZDL $
Contact:

Post by Bio Hazard »

I believe the DirectDraw Pallete hack refreshes the pallete every frame so it doesn't get corrupted in the video memory. It makes ZDoom run a lot slower for me.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Post by randi »

You are correct. "DirectDraw palette hack" causes the game to reload the palette every frame. Normally, the palette is only uploaded when it changes, such as when you pick something up or get hurt. However, some video cards will randomly mess up the palette, and the only way to fix it is too upload the palette every frame. (And in some cases even that won't work. I once had the "pleasure" of using an old Trident video card that made random colors blue every single time the palette was uploaded, so it never had the right palette.)
User avatar
Lexus Alyus
Posts: 4220
Joined: Tue Jul 15, 2003 5:07 pm
Location: Nottingham, UK
Contact:

Post by Lexus Alyus »

Would I be right in saying that it's just to maintain compatibility with older cards?

:twisted:
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Not older cards. Buggy cards.
User avatar
Lexus Alyus
Posts: 4220
Joined: Tue Jul 15, 2003 5:07 pm
Location: Nottingham, UK
Contact:

Post by Lexus Alyus »

Ah :D.

:twisted:
Locked

Return to “Editing (Archive)”