Duke4.net Forums: 32BIT PALETTE SWAP - 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

32BIT PALETTE SWAP  "USING EDUKE32 & POLYMER HIGHPAL LOOKUP TABLES"

User is offline   Photonic 

  • 1,262

#1

Posted Image

Posted Image

Posted Image


32BIT PALETTE SWAP USING EDUKE32 & POLYMER HIGHPAL LOOKUP TABLES

Put image to palette swap in root folder named palswap32.png
*copy over the color wheel sample image

Run _palswap32.bat

Select either 1920 X 1080 ||OR|| 1280 X 1024 screen resolution

Check both boxes on, Fullscreen & Polymer

Click Start

KEYLIST:
W=SHOW/HIDE KEYLIST
A&D=CHANGE ZOOM
S=SWAP PALETTE
BACKSPACE=BACKGROUND
F12=SCREENSHOT
ESC=TO QUIT

Attached File  palswap32.7z (5.51MB)
Number of downloads: 92
0

User is offline   Photonic 

  • 1,262

#2

The image hosting serving died... dug up a couple of the pictures that are missing from the OP.
Attached Image: duke samples.png

Attached Image: samples.png
0

User is offline   Hendricks266 

  • Weaponized Autism
  • 6,355

  #3

Instead of going through EDuke32, you could probably write a rather simple Python script to perform a proper conversion and export process.
0

User is offline   Photonic 

  • 1,262

#4

Very good point, found this on stack exchange.

Quote

I'm using python 3.6.4 and Pillow 5.0.0. Gizmo's code snippet didn't work for me. After little work I created a fixed snippet:

import Image
picture = Image.open("/path/to/my/picture.jpg")

# Get the size of the image
width, height = picture.size

# Process every pixel
for x in range(width):
   for y in range(height):
       current_color = picture.getpixel( (x,y) )
       ####################################################################
       # Do your logic here and create a new (R,G,B) tuple called new_color
       ####################################################################
       picture.putpixel( (x,y), new_color)



What if anything is preventing the highpal stuff from polymer working with polymost?
0

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. Instead of reading this text, you could be playing Ion Maiden! ;) © 2018 Voidpoint, LLC

Enter your sign in name and password


Sign in options