Duke4.net Forums: 32BIT PALETTE SWAP - Duke4.net Forums

Jump to content

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   Kyanos 

#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: 367
0

User is offline   Kyanos 

#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

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

#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,:) 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 not owned by Voidpoint, LLC are the sole property of their respective owners.

Enter your sign in name and password


Sign in options