SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Releases > Software

Reply
 
Thread Tools
Palette Puller Details »»
Palette Puller
Version: 1, by fickleheart (gender collector) fickleheart is offline
Developer Last Online: Dec 2018

Category: Version: SRB2Cineblast Rating:
Released: 12-07-2018 Last Update: Never Installs: 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 palette-puller.zip (918.4 KB, 29 views)

Screenshots

Click image for larger version

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

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

Name:	kart0078.png
Views:	372
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.

Comments
Old 1 Week Ago   #2
Prime 2.0
Grape flavored
Administrator
 
Prime 2.0's Avatar
Default

Welcome to Releases!
__________________
Science tells us that nothing can be proven, only rendered more likely to be true. If we do not question what we already know, how can we know, much less admit, when we're wrong? Such things are vital to progress.
Prime 2.0 is offline   Reply With Quote
Old 1 Week Ago   #3
TheGoldenGamer50
 
TheGoldenGamer50's Avatar
Default

This is pretty cool
Although it should be in Kart instead of Software if you ask me
__________________
Its Toei Time!
TheGoldenGamer50 is offline   Reply With Quote
Old 1 Week Ago   #4
TehRealSalt
Ya Gal Sal Here (σᴥσ)
Judge
 
TehRealSalt's Avatar
Default

It should work exactly the same for vanilla SRB2 too, though.
__________________
THZ Discord | Twitter | Tumblr
TehRealSalt is offline   Reply With Quote
Old 1 Week Ago   #5
TheGoldenGamer50
 
TheGoldenGamer50's Avatar
Default

Quote:
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   Reply With Quote
Old 1 Week Ago   #6
fickleheart
gender collector
 
fickleheart's Avatar
Default

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.
__________________
Quote:
<@toaster> '"sonic robot explosion 2", the hot new sensation for teens looking for a good time, tempts many children away from god each year'
av src
fickleheart is offline   Reply With Quote
Reply

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:43 PM.


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