rafalh / dashfaction

A community patch for the Red Faction (2001) FPS game
https://www.factionfiles.com/ff.php?action=file&id=6252
Mozilla Public License 2.0
62 stars 11 forks source link

Dark mode for RED #233

Open DVL-IAC opened 5 months ago

DVL-IAC commented 5 months ago

Not an issue but would be nice to have a dark mode in RED to help reduce burn in on OLED monitors. RED's interface is super bright and I'm starting to see the side, top and bottom bar burning into my monitor.

rafalh commented 5 months ago

I don't think it's possible in the technology RED uses. It would require rewriting most of it...

nickalreadyinuse commented 5 months ago

I remember this being possible prior to Windows 10, because RED simply inherited the themes/colors configured in Windows. MS stripped most of the configuration for these settings from the control panel in 10, but they can still be edited via third party tools and/or directly via the registry. I found and tested this one, it seems to work, but you can't configure the top menu bar's color unfortunately.

https://www.wintools.info/index.php/classic-color-panel

These settings affect ANY legacy application/menu/prompt/etc on the system, not just RED. I don't think you can scope them to just RED either.

But that route wouldn't be my first choice. An easier alternative is to use one of the high contrast themes in Windows 10 (Accessibility -> Contrast themes).

image

This seems to affect everything in RED, but similar to editing the colors manually in the registry, it will also apply to the entire OS. It will make a lot of apps look pretty weird... so YMMV. It can be toggled via Hotkey (alt+shift+prtsc) so there's that, too.

image

If this high contrast setting can edit the menu bar, there's probably a configuration for it in the registry that is either not exposed in the tool I linked above or something. I haven't looked at this stuff in Windows in a decade or more, but I suspect a setting may exist.

For the titlebar, it seems the high contrast themes only have a few options based on whatever theme is selected (Aquatic has yellow, Dusk has cyan, etc.). It might be easiest to just remove the titlebar entirely using Autohotkey or something. Again, not something I've done in a long, long time, but might be worth exploring to save your screen.

https://www.reddit.com/r/AutoHotkey/comments/czii72/hide_windows_title_bars_borderless_windowed/eyyzjhn/

Not exactly a set of perfect solutions, but maybe something here useful for you or a jumping point to dig deeper.

DVL-IAC commented 5 months ago

I don't think it's possible in the technology RED uses. It would require rewriting most of it...

Ah that's unfortunate. Was hoping it would be easy to just have add toggle to invert the interface colours or something. :P

@nickalreadyinuse I tried messing with that high contrast mode before, but I feel like all the bright outlines would probably end up burning in still. I'll play with those other things you mentioned and see what happens.