SRB2 Message Board  

Go Back   SRB2 Message Board > Archived > Outdated Releases (2.1.X) > Software (2.1.X)

Thread Tools
Palette Puller Details »»
Palette Puller
Version: 1, by fickleheart (ms reflec beat stan) fickleheart is offline
Developer Last Online: Oct 2020

Category: Version: SRB2Cineblast Rating:
Released: 12-07-2018 Last Update: Never Favourites: 0
Re-Useable Content Additional Software

This is a simple EXE that takes a PNG and extracts the top 256x1 pixels into a PLAYPAL lump for importing into WAD editors. Check the readme for instructions. Source files are included since they're super small anyway.

What's the point of this? Well, since the source PNG can be as big as you want (the rest of the image is simply ignored), you can embed the default palette into the corner of a map screenshot (or collage) and color grade it in an image editor of your choosing. The resulting image can be ran through this program to generate a palette that will accurately* represent your color grading in-game. Instructions on how to achieve this are included in the download.

Spoiler: Example

As an example, here's a map screenshot using the default SRB2 palette:

A color graded batch of screenshots, including the one above, with the palette embedded into the image before editing:

And the final result in-game after importing the palette: (this example didn't translate perfectly because of a global colormap that had to be redone, but I think the final result looks better anyway)

This tool was directly inspired by a blog post describing MGS V's graphic engine, specifically the color grading section and example workflow.

Source code and a compilation command are both included in the download for tinkering.

*Light levels and transparencies will reflect identically in-game to the post-grading reference as long as you copy the COLORMAP lump from srb2.srb. In-level colormaps will not be. You may need to adjust your colormaps after importing your new palette. Global colormaps should be removed and the effect achieved in the color grading process instead; it's higher-fidelity that way anyway :)

Download Now

File Type: zip (918.4 KB, 246 views)


Click image for larger version

Name:	ref_SAMPLE.png
Views:	1576
Size:	783.6 KB
ID:	14588   Click image for larger version

Name:	kart0088.png
Views:	1540
Size:	156.1 KB
ID:	14589   Click image for larger version

Name:	kart0078.png
Views:	1486
Size:	152.3 KB
ID:	14590  

Show Your Support

  • The author of this addon has given explicit permission for its content to be re-used and/or reproduced.

Old 12-07-2018   #2
Prime 2.0
Permanently Banned

Welcome to Releases!
Prime 2.0 is offline  
Old 12-07-2018   #3
TheGoldenGamer50's Avatar

This is pretty cool
Although it should be in Kart instead of Software if you ask me
Its Toei Time!
TheGoldenGamer50 is offline  
Old 12-07-2018   #4
TehRealSalt's Avatar

It should work exactly the same for vanilla SRB2 too, though.
Twitter | Mostly just working on SRB2Kart and my indie game over at Patreon
TehRealSalt is offline  
Old 12-07-2018   #5
TheGoldenGamer50's Avatar

Originally Posted by TehRealSalt View Post
It should work exactly the same for vanilla SRB2 too, though.
Eh ok, He/She only posted kart screenshots so I thought this was only kart
Its Toei Time!
TheGoldenGamer50 is offline  
Old 12-08-2018   #6
ms reflec beat stan
fickleheart's Avatar

The screenshots are from Kart because I was making a Kart mod when I put this together. This works exactly the same for vanilla SRB2, and in fact could be used for any Doom mod, or anything that accepts a 256-color palette file as a series of RGB8 values.
Originally Posted by Arf View Post
Stop trying to make slopes, guys.
fickleheart is offline  

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 01:45 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.