Coloring your server name! (and console text too)

Coloring your server name! (and console text too)

amperbee

thunderdome denizen
Retired Staff
Rapidgame7 submitted a new resource:

Coloring console text! - Or "how to pretend to be cool" by adding it everywhere

I'm at least 40% sure that when you first tried to figure out how to get a colored title for your server, you found this 2011 post (among other results but this was the first one).

I thought it would be better to go slightly more in-depth, update it to recent versions and mention other uses.

Let's start with this from the get-go: You cannot color your player name, nor chat text (yourself). If it was possible in older versions, good...

Read more about this resource...
 
Wow, I'm surprised how actually straightforward and follow-able this is. It's like one of those tutorial videos that actually give the proper step-by-step help you need.

My question is how you got the giant Sonicy text, unless it's a glorified transparent png.
 
For some reason when I try to execute the file in SRB2, it keeps telling me it could not execute it, and believe I followed the tutorial correctly
Nevermind I didn't know you had to type the file type after the name of the file
 
Last edited:
1723565372848.png

This Happens when i try to exec the file
 
It seems the pastebin you linked for the ASCII symbols is down. A few friends and I all tried to access it and all of us got a blank page, so it's not just my own internet.

Also, would it be possible to see an update to this for Ring Racers? The chat colours don't actually line up in RR, with several colours being different (IIRC notably, rosy & brown swapped) and numerous ASCII symbols all redirect to different button prompts and not colours. It'd be neat to know what symbols produce what buttons as well as the colours, as it may have some use cases!
 
It seems the pastebin you linked for the ASCII symbols is down.
1742436206914.png

I'm not logged in, and I can access it. Pastebin may have had a brain fart that day.

Also, would it be possible to see an update to this for Ring Racers?
Sadly, I'm lazy. and rather busy. i might be able to get to it someday tho
You can still use the same grid of symbols, paste them to a text file, prepend echo to each line and execute the file as a console script to see how the grid would look like in your console and get an idea.
 
LOL NEVERMIND turns out adding it was easy. Figured I could update the rest as well, so I did.
Diff:
+ added an image for DRRR colors
+ replaced the pastebin link in favor of just pasting the color codes in the board. BE CAREFUL: USE ANSI FORMAT
+ replaced imgur hotlinked images with images uploaded directly to the post
@ rewrote some text
@ changed a few examples to reflect my 2025 humor

Download update here...

Check it out!
Post automatically merged:

holy triple post

numerous ASCII symbols all redirect to different button prompts and not colours.
I don't play DRRR often, so my knowledge of it is pretty low. Button prompts are pretty much outside the scope for a "how to color your server title" guide, but I figured that hey, they're replacing transparency, might as well check it out.

The console font itself has a few bonus characters: Between hex 1A and 1D you can find arrows, 1E has and 1F has ú. Font-wise, there doesn't seem to be anything new.
Code-wise though, when a character is drawn to the screen, it does the standard colormap thing: It checks if a bit is set, and does the thing.
This seems to have some sort of bug though, because some color symbols just... don't work properly? In console it is reflected as expected, but in the UI some symbols (the ones with the lower 4 bits being 1, 8, D or F) use an incorrect colormap. It seems to match the previous colormap, like how D acts like C, or 1 acts like 0. No clue what's up with this though, this problem isn't present in SRB2.
1742450947600.png

It might be fixed in a future update. Caret colors still work fine.

If that check doesn't pass because other bits are on, and after a few other checks, the game uses the symbol as a button graphic indicator.
On a character byte, the lower 4 bits indicate what button it is, and the upper 4 indicate what state it should show in (down, up, alternating).
Lower bitsRepresents button
0x00Arrow Up
0x01Arrow Down
0x02Arrow Right
0x03Arrow Left
0x04D-Pad
0x07Shoulder R
0x08Shoulder L
0x09Start
0x0AA
0x0BB
0x0CC
0x0DD
0x0EE
0x0FF
Upper bitsRepresents state
0x90Down/Pressed (buggy)
0xA0Alternating
0xB0Up/Released
0xC0Down/Pressed
For some reason, 0x90 doesn't show some of the graphics, and I don't know if it's part of the same bug as above.

I could add it to the guide once I can clean this into something more readable... But I'd need to think up of a better guide name If I do, lol
 
Last edited:

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top