Python-based executables for color stuff

Started by N., February 02, 2026, 10:41:21 AM

Previous topic - Next topic

N.

Hello again.

I had an idea a while back to try and make some color tools, but they were bizhawk only, and you had to find an unused RAM address to set them to to plug them in.  And then at some point, the thought "I have an AI sometimes help me code lua stuff, why can't I just ask it to try and make a standalone color tool for me?" finally popped into my head.  Which led me to acquiring these 6 color tools:

Spoiler: If you want to see what they look like (click to show)



SNES/PSX/GBA/whatever uses that color format
CPS2
SNK
Sega Genesis/CD/32X
MS-DOS/whatever else uses this
PC-Engine (sorta.  it's whatever Flash Hiders was using)

What you need: python and tkinter (if you don't have it, go to the command prompt and put in pip install tkinter ....if you're using windows).

To use: Double click one of the .bat files, and a window with some color sliders should show up (you don't have to use the .bat, but it prevents a command prompt window from appearing if you just click on the .py file).  Move the color sliders around with your mouse and it'll tell you info about the color (so you can search for specific color addresses through exact value search.  You could probably also use it to make a more accurate looking palette).


Edit: I used pyinstaller to turn them into standalone executable files.  They're larger, but I think they should run on their own (for windows, anyways).

They're not consistent in how their appearance/set-up because I had various AIs do it and tried to articulate how I wanted them to work ("you wanted to see fractions of values?", "it's cool if you have to resize the window just to see all the info, right?"), and eventually got these from them.

15btool has the most stuff because of what I remember encountering finding color addresses for that (swapped color channels, +0x8000 for psx colors, etc).

snktool's a recent one that I attempted.  I thought it was like CPS2 in how it had a white channel.  It's not, but it affects the other color channels depending on how you change it (+8 to other channels or 0).  How'd I do this?  I took 256 screenshots for each of the color channels, and tried to note the values.  And then I got annoyed and asked the AI to make a script that checks the images and lists what the colors in each image are.

Anyways, I hope they're of some use.

Edit: I'M AN IDIOT!  I didn't know about pyinstaller (to be fair, I haven't had a need to make them .exe files).  I think they should run on their own now.
Edit:2 Changed the subject to something less stupid/improvised sounding.
1 Last Updated: 1/02/26
2 Last Updated: 1/16/21
3 Last Updated: 7/16/17