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   Photonic 

#1

https://s11.postimg.org/jqbyk0arn/32bit_palette_swap_1920x1080.png

https://s3.postimg.org/yaszs76ar/samples.png

https://s14.postimg.org/f5el4e2wx/duke_samples.png


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: 136
0

User is offline   Photonic 

#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 online   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   Photonic 

#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 Fury! ;) © 2019 Voidpoint, LLC

Enter your sign in name and password


Sign in options