Menu color help
-
FriendlyFire wrote:
Well hey, I know it’s a slight tangent but… Has anyone figured out how to change the text color in the game? It’s really the last bit that’d allow for totally different HUD colors. Oh, the yellow “highlight” would be nice too.Adoxa?
I dont want to write any stupid thing, but in the Fonts folder, there is a file called rich_fonts.ini.
It contains colors also, but i dont know if it is or not. -
That only controls very specific fonts, not the main UI ones.
-
The text of some dialogs (like bribes) can be changed by using STYLE_NN in rich_fonts.ini. Everything else is hardcoded into Freelancer.exe.
0bd8ec: 43 # R of tooltip background 0bd8f1: 61 # G 0bd8f6: 70 # B 0bd933: b9 # R of tooltip text 0bd938: f7 # G 0bd90b: ff # B (this is e0 of an unused color) 0bd92a: 0f # change it from 0e so above works 15b22c: ff # R of selected maneuver icon 15b231: ff # G 15b236: 00 # B 15b2cb: ff # R of selected neural net icon 15b2d0: ff # G 15b2d5: 00 # B 15b2f6: ff # A of both 161be6: 87 # R of main text color (aqua) 161bed: c3 # G 161bf4: e0 # B 161bfb: c0 # A 161c06: 87 # R of main color (aqua) 161c0d: c3 # G 161c14: e0 # B 161c1b: ff # A 161c66: f5 # R of selected color (yellow) 161c6d: ea # G 161c74: 52 # B 161c7b: ff # A 161ce1: 80 # RGB of disabled icons 161cf7: ff # A 199da6: 87 c3 e0 # RGB of some buttons 199dab: 87 c3 e0 # and again 199dc6: 80 80 80 # RGB of disabled buttons 199dcb: 80 80 80 # and again
Here’s the list of styles I identified (including the existing ones) as part of Console development .
// The bits in brackets are the defaults, overridden by the definition in // DATA\FONTS\rich_fonts.ini. STYLE_SENDER = 0xd5ec, // white, font = 2 STYLE_CONSOLE = 0x73f7, // white (green, font = 2, iu) STYLE_UNIVERSE = 0xd681, // white STYLE_SYSTEM = 0xd801, // aqua STYLE_LOCAL = 0x1d9d, // green STYLE_PRIVATE = 0x8283, // green (i) STYLE_INFO = 0xe784, // white, b STYLE_NOTICE = 0x3ea8, // red, b STYLE_GROUP = 0xba28, // #FF7EFD (magenta) StyleBoldYellow = 0x66b7, // yellow, b (unused) STYLE_INVITE = 0x2b34, // yellow, iu STYLE_PLAYER = 0x66ac, // white STYLE_BUTTON = 0x828b, // aqua, font = 6 (1) STYLE_TITLE = 0x1df5, // aqua, font = 3, center STYLE_SUBTITLE = 0x43e0, // aqua, font = 3 STYLE_HEADER = 0xd824, // aqua, font = 1 STYLE_HEADER_ACTIVE = 0xd190, // yellow, font = 1 STYLE_TABLE = 0x69f5, // aqua STYLE_TABLE_SELECT = 0x3343, // yellow STYLE_TABLE_INACTIVE = 0xbb80, // #B6B6B6 (light grey) STYLE_LOCTABLE = 0x5203, // aqua (font = 1) STYLE_LOCTABLE_SELECT = 0x3dbc, // yellow (font = 1) STYLE_LOCTABLE_INACTIVE = 0x867f, // #B6B6B6 (font = 1) STYLE_NN = 0x9ca4, // aqua STYLE_DATA = 0x76ec, // aqua StyleSmallAqua = 0x686c, // aqua, font = 5 (unused) SYTLE_NN_BOLD = 0x0f64, // aqua, b STYLE_NN_SELECTED = 0x3d0a, // yellow STYLE_DIALOG = 0x5c12, // aqua, font = 1 STYLE_DIALOG_SMALL = 0xc9b7, // aqua, font = 5 STYLE_SMALL_HEADER = 0x3df7, // aqua, font = 5 STYLE_SMALL_HEADER_ACTIVE = 0xda80, // yellow, font = 5 STYLE_SUBSUBTITLE = 0xfaa9, // aqua, font = 1 STYLE_ERROR = 0x3363, // red STYLE_NN_AGENCY = 0x5724, // aqua, font = 5 STYLE_CONSOLE_SENDER = 0x6c0e, // #00FF00, font = 2 STYLE_LABEL = 0x4433 // aqua, font = 1 ```If you want to have a go at decoding those ones I've missed, use the attached stylehash program (command line).
-
Adoxa man, youve found something ive been wantin to change for YEARS. dies
major kudos for you!!!
-
Updated the style list. Got them all now, except for two which aren’t used anyway.
Attached is a Tiny Hexer script to edit the hardcoded colors. I’ve completed the collection, so with this, the styles and cmp editing, you should pretty much have it all. Note that even if you cancel, patches are still made to allow individual component selection and to separate reused colors (e.g. the same red is used for hostile reputation, missile/trail/radiation/lag alerts, target’s hull status and a slow ping).
-
Davis wrote:
Ive already found 27 files:@DwnUndr
Can you tell me what are the 2 more files?Here are the 29 cmp files which contain the phrase ‘INV_insideframecolor’.
INTRO\OBJECTS\front_characselectbox.cmp
INTRO\OBJECTS\front_charactercreatebox.cmp
INTRO\OBJECTS\front_serverselect.cmp
INTRO\OBJECTS\front_shipselectionbox.cmp
INTRO\OBJECTS\multi_accountboxlong.cmp
INTRO\OBJECTS\multi_accountboxshort.cmp
INTRO\OBJECTS\multi_attentionreq’d.cmp
INTRO\OBJECTS\multi_charactercreation.cmp
LOADSAVE\ls_background.cmp
MULTIPLAYER\CHAT\chat_chat_textbox.cmp
MULTIPLAYER\TRADE\trade_background.cmp
MULTIPLAYER\TRADE\trade_backgroundold.cmp
NEURONET\errorexplanation.cmp
NEURONET\CHAT\chat_background.cmp
NEURONET\INVENTORY\char_infowindow.cmp
NEURONET\INVENTORY\front_options_box2.cmp
NEURONET\INVENTORY\front_options_box.cmp
NEURONET\INVENTORY\front_shortoptions_box2.cmp
NEURONET\INVENTORY\front_shortoptions_box.cmp
NEURONET\INVENTORY\hlp_window.cmp
NEURONET\INVENTORY\inv_biginforcard.cmp
NEURONET\INVENTORY\inv_biginforcard_center.cmp
NEURONET\INVENTORY\repair_bakgrnd.cmp
NEURONET\NAVMAP\NEWNAVMAP\nav_navmap_left.cmp
NEURONET\NAVMAP\NEWNAVMAP\nav_navmap_right.cmp
NEURONET\NAVMAP\NEWNAVMAP\navmap_background.cmp
NEURONET\OPTIONS\alt-f4window.cmp
NEURONET\OPTIONS\escapewindow2.cmp
NEURONET\OPTIONS\missionfailed.cmpThere are many other additional files that contain colors that can be edited as well but I didn’t write them down. Do a search inside each xml file for the phrase ‘RGB’ to find them.
-
EDIT:
just a bit amendment to those ppl who want to repaint this default dark blue color in the game too, what DwnUndr mentioned at his first post:INTERFACE/HUD:
hud_nnbox5.cmp
hud_nnbox6.cmp
hud_nnbox7.cmpsearch for Material#24……—>Dc
This is the right upper box which conatins the navmap, info, player status, inventory.hud_maneuverbox2.cmp
hud_maneuverbox3.cmp
hud_maneuverbox4.cmp
hud_maneuverbox5.cmp
hud_maneuverbox6.cmpsearch for Material#24…—>Dc
This is the middle upper box, which contains the goto, dock, formation.hud_numberboxes.cmp
hud_shipinfo.cmp
hud_shipinfo_min.cmp
hud_target.cmp
hud_target_min.cmpsearch for Material#24…—>Dc
These are the bottom left, right, middle windows contain the ship, station, etc… status (left), shield weapon status (middle), and the ship’s weapons, bots and batteries status (right).and:
all front_button.cmp files in all folder:
search for Material#4…—>Dc
INTERFACE/INTRO/OBJECTS:
front_loadingbar.cmp
search for Material#4021220115007–->Dc
If you modify this files with same color you modified the INV_insideframecolor materials you get same result in the game.
-
I tried editing the value for NN_GROUP and there seems to be a problem; the colour of the text that I am typing into group chat has changed in colour whereas the group chat text that has already been sent or received from other group members is still magenta. Is there any fix for this or am I just missing something?
EDIT: I am trying to change the colour of group chat. And yes, it does work, but as I mentioned above, only for the text I am currently typing.
-
What DwnUndr and I wrote that modify the default color only in the main menu and in the game, what you can check at the DwnUndr’s first post. (marked by white line “this blue” title)
This setting doesnt modify the text color itself. If you want to change the text colors, you have to use adoxa’s holy codes.Two things i forgot to tell:
1; i have open sp mod, so i didnt really touch mp windows
2; if you want to change that color you must edit all files contain this Dc in the folder or you might get false result.Hope it helps
Aigle-Imperial wrote:
I tried editing the value for NN_GROUP and there seems to be a problem; the colour of the text that I am typing into group chat has changed in colour whereas the group chat text that has already been sent or received from other group members is still magenta. Is there any fix for this or am I just missing something? -
Yes, i know what is the group chat, and how it looks like.
If you mean nn_groups as nn_box then they are just backgrounds, if something else then no clue.
Posting an image or more just make our way easier to solve the problem.Aigle-Imperial wrote:
Do you know group chat colour? Maybe you should re-read my post, no offense, but I wrote all this in my first post. -
What we need, is a hack^^ Because I modified the group chat colour that Adoxa mentioned in his listing of font colours, but as I said, it only modifies the text in the box where you enter the text. I did take screenshots of this, but somehow they’ve not been saved. I’ll see if I can get around to do a new one.