[Suggestion] Text Colormap Tweaks
This is probability a bit messy writing this, apologizes.
Back when !1202 (merged) was merged. I though the colormaps were alright... however upon a closer look while doing some console/font work I noticed that some of the colormaps were are bit... rough with their colors, namely the Blue Colormap and perhaps the Red Colormap. So... I took another shot at it to see if I could get them to be a bit... nicer.
I pulled the source by doing a 'git clone' using the MSYS2 method from here on the SRB2 Wiki.
https://wiki.srb2.org/wiki/Source_code_compiling/Makefiles
Code Part that's inside console.c
which is inside the src
folder...
// Tried to keep the colors vanilla while adding some shades in between them ~SonicX8000
// Tweaked some of the colormaps. This applies for... lgreenmap, bluemap, redmap, and peridotmap
// 0x1 0x3 0x9 0xF
colset(magentamap, 177, 177, 178, 178, 178, 180, 180, 180, 182, 182, 182, 182, 184, 184, 184, 185);
colset(yellowmap, 82, 82, 73, 73, 73, 64, 64, 64, 66, 66, 66, 66, 67, 67, 67, 68);
colset(lgreenmap, 96, 96, 98, 98, 98, 100, 100, 100, 103, 103, 103, 103, 105, 105, 105, 107);
colset(bluemap, 147, 147, 148, 148, 148, 149, 149, 149, 150, 150, 150, 150, 152, 152, 152, 154);
colset(redmap, 33, 33, 34, 34, 34, 35, 35, 35, 38, 38, 38, 38, 41, 41, 41, 44);
colset(graymap, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23);
colset(orangemap, 50, 50, 52, 52, 52, 54, 54, 54, 56, 56, 56, 56, 59, 59, 59, 60);
colset(skymap, 129, 129, 130, 130, 130, 131, 131, 131, 133, 133, 133, 133, 135, 135, 135, 136);
colset(purplemap, 160, 160, 161, 161, 161, 162, 162, 162, 163, 163, 163, 163, 164, 164, 164, 165);
colset(aquamap, 120, 120, 121, 121, 121, 122, 122, 122, 123, 123, 123, 123, 124, 124, 124, 125);
colset(peridotmap, 73, 73, 188, 188, 188, 189, 189, 189, 190, 190, 190, 190, 191, 191, 191, 94);
colset(azuremap, 144, 144, 145, 145, 145, 146, 146, 146, 170, 170, 170, 170, 171, 171, 171, 172);
colset(brownmap, 219, 219, 221, 221, 221, 222, 222, 222, 224, 224, 224, 224, 227, 227, 227, 229);
colset(rosymap, 200, 200, 201, 201, 201, 202, 202, 202, 203, 203, 203, 203, 204, 204, 204, 205);
This is what I used for the colormaps. What I have done so far is...
Blue & Red Colormap should hopefully be a bit smoother. In terms of the vanilla console colors... lighter shades of blue/red are slightly darker while their darker shades are slightly lighter.
Green Colormap is slightly lighter in the middle part of the range which makes the AA slightly lighter.
Peridot Colormap has a very slight change to it's lightest shade being more yellow instead of a slightly yellow color.
With the above being used... this is what the colors appear as.
BEFORE (2.2.9)
AFTER (Using the above code block.)
Vanilla Console Text Comparing. (Left is colors from 2.2.9 while right is by using the above code)
I would've tried a merge request, but... I never really done one so that's why I posted the code block that I used & changed the numbers in there which picks out what colors to use from the palette. Also... this is the test file I used from that merge request which helped with showing the colormap colors... but I had to update the graphic inside it to a more recent version.
If you have any questions or if these colors aren't right, please let me know.
EDIT
Just noticed an error with the peridot colormap row, in fact... this is actually present in 2.2.9 and perhaps in 2.2.10 RC1 as well.
The 5th column for the peridot colormap is using the wrong color value as it should be 188, not 189. I have updated the code above as well as replacing the image under AFTER to reflect the change.
As to what I did... (Highlighted in bold is the change)
BEFORE:
colset(peridotmap, 73, 73, 188, 188, 189, 189, 189, 189, 190, 190, 190, 190, 191, 191, 191, 94);
AFTER:
colset(peridotmap, 73, 73, 188, 188, 188, 189, 189, 189, 190, 190, 190, 190, 191, 191, 191, 94);