Jump to content
The Dark Mod Forums

Darkmode for Darkradiant


Recommended Posts

Now that Windows has (finally) implemented a dark mode is it possible to integrate that into Dark Radiant?

 

A lot of my mapping is usually done late at night and the bright white background of dark radiant is quite blinding, now that Windows has a dark mode it's even more noticeable. If it's not possible to integrate the windows version of this is it possible to theme or change the white areas of DR to be much darker?

 

Here is a comparison shot between DR and the new dark mode explorer

 

ftXG8wj.png

 

And here is my very quick paint mockup of what DR could look like

TxgV7ur.png

  • Like 3
Link to comment
Share on other sites

As far as I can see, the wxWidgets toolkit doesn't allow for much (if any) explicit control over theming, but just tries to emulate the native platform theme.

 

So the question is, which version of wxWidgets is going to support the Windows dark theme. It seems the the latest release is introducing initial support the dark theme on macOS, but I don't see any mention of Windows. Maybe this is already supported in an older release (but still newer than the one DR is currently using), but it's also possible that they haven't addressed Windows at all yet.

Link to comment
Share on other sites

I am using f.lux for quiet a while now, which may be of help until something changes in that regards (if it changes, of course). Although I have to admit that besides the practical reasons the dark look definetely has something to it.

  • Like 1

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to comment
Share on other sites

I am using f.lux for quiet a while now, which may be of help until something changes in that regards (if it changes, of course). Although I have to admit that besides the practical reasons the dark look definetely has something to it.

 

I definitely second this. I've been using f.lux for years now and it definitely helps reduce eyesores when on the computer at night.

Link to comment
Share on other sites

  • 1 year later...

Late but has anything changed in this regard? As of this year, I've become quite photosensitive, and white screens viewed
for a while tend to cause migraines. I'd love it if this was possible now. I already use the black image method, but would
be great to get all the white windows into grey or dark mode. 

I have an eclectic YouTube channel making videos on a variety of games. Come and have look here:

https://www.youtube.com/c/NeonsStyleHD

 

Dark Mod Missions: Briarwood Manor - available here or in game

http://forums.thedarkmod.com/topic/18980-fan-mission-briarwood-manor-by-neonsstyle-first-mission-6082017-update-16/

 

 

Link to comment
Share on other sites

Nothing new to report. I did a quick google recently, but this didn't produce anything useful - from what I've read it's the Windows controls themselves that don't support a dark theme, it's only implemented in some of the modern apps like the calculator.

Link to comment
Share on other sites

  • 3 months later...

Has anyone managed to get Dark Radiant working with dark colors in Windows 10?
Specifically for the windows which have more bright space, like layers, light properties, surface/patch inspector, etc.?

Previously TDM was reducing the desktop brightness when running, which was great for mapping, but now that this is gone, the windows really overshine the dark TDM running on the second monitor.

A dark mode would be really nice.

Link to comment
Share on other sites

10 hours ago, OGDA said:

A dark mode would be really nice.

You are preaching to the converted here!

 

But sadly I don't think it's possible.

Link to comment
Share on other sites

I sometimes use a program called "dimmer", that helps take the edge off, but a fully realized dark mode would be the best I agree!

My Fan Missions:

   Series:                                                                           Standalone:

Chronicles of Skulduggery 0: To Catch a Thief                     The Night of Reluctant Benefaction

Chronicles of Skulduggery 1: Pearls and Swine                    Langhorne Lodge

Chronicles of Skulduggery 2: A Precarious Position              

Chronicles of Skulduggery 3: Sacricide

 

 

 

Link to comment
Share on other sites

I've made a temporary solution for Windows 10.

After applying everything dark radiant looks like this:

dark_radiant_dark_mode.jpg

 

Here are the steps:

1. In dark radiant in the menu "View" > "Colours" select "Black & Green"

2. Create a default_colors.reg file by just creating a text file and renaming it and insert the following into the file:
(you can also export the reg file of your system by going to the address HKEY_CURRENT_USER\Control Panel\Colors in regedit and export for safety reasons)

File: https://das-kartell.org/files/darkradiantdarkmode/default_colors.reg

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Colors]
"ActiveBorder"="180 180 180"
"ActiveTitle"="153 180 209"
"AppWorkspace"="171 171 171"
"Background"="0 0 0"
"ButtonAlternateFace"="0 0 0"
"ButtonDkShadow"="105 105 105"
"ButtonFace"="240 240 240"
"ButtonHilight"="255 255 255"
"ButtonLight"="227 227 227"
"ButtonShadow"="160 160 160"
"ButtonText"="0 0 0"
"GradientActiveTitle"="185 209 234"
"GradientInactiveTitle"="215 228 242"
"GrayText"="109 109 109"
"HilightText"="255 255 255"
"HotTrackingColor"="0 102 204"
"InactiveBorder"="244 247 252"
"InactiveTitle"="191 205 219"
"InactiveTitleText"="0 0 0"
"InfoText"="0 0 0"
"InfoWindow"="255 255 225"
"Menu"="240 240 240"
"MenuBar"="240 240 240"
"MenuText"="0 0 0"
"Scrollbar"="200 200 200"
"TitleText"="0 0 0"
"Window"="255 255 255"
"WindowFrame"="100 100 100"
"WindowText"="0 0 0"
"Hilight"="0 120 215"
"MenuHilight"="0 120 215"

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\DWM]
"AccentColorInactive"=-

3. Create a dark_radiant_dark_mode.reg file with following content:

File: https://das-kartell.org/files/darkradiantdarkmode/dark_radiant_dark_mode.reg

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Colors]
"ActiveBorder"="180 180 180"
"ActiveTitle"="153 180 209"
"AppWorkspace"="171 171 171"
"Background"="0 0 0"
"ButtonAlternateFace"="0 0 0"
"ButtonDkShadow"="105 105 105"
"ButtonFace"="40 40 40"
"ButtonHilight"="20 20 20"
"ButtonLight"="227 227 227"
"ButtonShadow"="240 240 240"
"ButtonText"="0 0 0"
"GradientActiveTitle"="185 209 234"
"GradientInactiveTitle"="215 228 242"
"GrayText"="240 240 240"
"HilightText"="255 255 255"
"HotTrackingColor"="0 102 204"
"InactiveBorder"="244 247 252"
"InactiveTitle"="191 205 219"
"InactiveTitleText"="0 0 0"
"InfoText"="0 0 0"
"InfoWindow"="255 255 225"
"Menu"="240 240 240"
"MenuBar"="240 240 240"
"MenuText"="0 0 0"
"Scrollbar"="200 200 200"
"TitleText"="0 0 0"
"Window"="76 76 76"
"WindowFrame"="100 100 100"
"WindowText"="210 210 210"
"Hilight"="0 120 215"
"MenuHilight"="0 120 215"

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\DWM]
"AccentColorInactive"=dword:00303030

4. Here are the definitions of the entries, in case you want to alter the colors. Only the field which have description behind them seem to be relevant for the colors used in dark radiant.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Colors]
"ActiveBorder"="180 180 180"
"ActiveTitle"="153 180 209"
"AppWorkspace"="171 171 171"
"Background"="0 0 0"
"ButtonAlternateFace"="0 0 0"
"ButtonDkShadow"="105 105 105"
"ButtonFace"="240 240 240"               < background color of floating windows and main window controls - 40 40 40
"ButtonHilight"="255 255 255"            < shadow color of text in floating windows like light properties/inspectors - 20 20 20
"ButtonLight"="227 227 227"
"ButtonShadow"="160 160 160"             < main color of text in floating windows like light properties/inspectors - 240 240 240
"ButtonText"="0 0 0"                     < color of a few button descriptions like "select set" or "property/value" - 240 240 240
"GradientActiveTitle"="185 209 234"
"GradientInactiveTitle"="215 228 242"
"GrayText"="109 109 109"                 < color of a few values in input field in floating windows - 240 240 240
"HilightText"="255 255 255"
"HotTrackingColor"="0 102 204"
"InactiveBorder"="244 247 252"
"InactiveTitle"="191 205 219"
"InactiveTitleText"="0 0 0"
"InfoText"="0 0 0"
"InfoWindow"="255 255 225"
"Menu"="240 240 240"                     < 1 pixel high line under menu in main window - 240 240 240
"MenuBar"="240 240 240"
"MenuText"="0 0 0"
"Scrollbar"="200 200 200"
"TitleText"="0 0 0"
"Window"="255 255 255"                   < background color in a few selection frames in floating windows like "light texture" in light properties window - 76 76 76
"WindowFrame"="100 100 100"
"WindowText"="0 0 0"                     < text color of many text in input fields in floating windows - 210 210 210
"Hilight"="0 120 215"
"MenuHilight"="0 120 215"

5. Optional step only makes main frame title bar dark when selected:

In windows right click on the desktop and select the option below! display settings (maybe adjust in english?) and in the following window scroll down, make a dark custom color and tick both of the lowest checkboxes for task bar and titles:

windows_color.png

 

6. Edit: Titlebar color has been edited with [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\DWM] AccentColorInactive

The value is not present by default, so to revert to the original, this one entry in the folder just can be deleted again.
The encoding of the DWORD 32 bit value (here 00303030) is:
00BBGGRR


BB = Blue (Hexadecimal)
GG = Green (Hexadecimal)
RR = Red (Hexadecimal)

 

7. To swap to dark colors, click on dark_radiant_dark_mode.reg and integrate it into the registry.

Log off in Windows and log in again (no restart required).

Dark radiant is now in "dark mode".

 

To swap back to normal windows colors for all other programs, click default_colors.reg, integrate it into the registry and log out and log in again.

 

Hope this helps a bit :)

Edited by OGDA
  • Like 3
Link to comment
Share on other sites

On 2/25/2021 at 9:01 AM, OGDA said:

I've made a temporary solution for Windows 10.

After applying everything dark radiant looks like this:

dark_radiant_dark_mode.jpg

 

Here are the steps:

1. In dark radiant in the menu "View" > "Colours" select "Black & Green"

2. Create a default_colors.reg file by just creating a text file and renaming it and insert the following into the file:
(you can also export the reg file of your system by going to the address HKEY_CURRENT_USER\Control Panel\Colors in regedit and export for safety reasons)

File: https://das-kartell.org/files/darkradiantdarkmode/default_colors.reg



Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Colors]
"ActiveBorder"="180 180 180"
"ActiveTitle"="153 180 209"
"AppWorkspace"="171 171 171"
"Background"="0 0 0"
"ButtonAlternateFace"="0 0 0"
"ButtonDkShadow"="105 105 105"
"ButtonFace"="240 240 240"
"ButtonHilight"="255 255 255"
"ButtonLight"="227 227 227"
"ButtonShadow"="160 160 160"
"ButtonText"="0 0 0"
"GradientActiveTitle"="185 209 234"
"GradientInactiveTitle"="215 228 242"
"GrayText"="109 109 109"
"HilightText"="255 255 255"
"HotTrackingColor"="0 102 204"
"InactiveBorder"="244 247 252"
"InactiveTitle"="191 205 219"
"InactiveTitleText"="0 0 0"
"InfoText"="0 0 0"
"InfoWindow"="255 255 225"
"Menu"="240 240 240"
"MenuBar"="240 240 240"
"MenuText"="0 0 0"
"Scrollbar"="200 200 200"
"TitleText"="0 0 0"
"Window"="255 255 255"
"WindowFrame"="100 100 100"
"WindowText"="0 0 0"
"Hilight"="0 120 215"
"MenuHilight"="0 120 215"

3. Create a dark_radiant_dark_mode.reg file with following content:

File: https://das-kartell.org/files/darkradiantdarkmode/dark_radiant_dark_mode.reg



Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Colors]
"ActiveBorder"="180 180 180"
"ActiveTitle"="153 180 209"
"AppWorkspace"="171 171 171"
"Background"="0 0 0"
"ButtonAlternateFace"="0 0 0"
"ButtonDkShadow"="105 105 105"
"ButtonFace"="40 40 40"
"ButtonHilight"="20 20 20"
"ButtonLight"="227 227 227"
"ButtonShadow"="240 240 240"
"ButtonText"="0 0 0"
"GradientActiveTitle"="185 209 234"
"GradientInactiveTitle"="215 228 242"
"GrayText"="240 240 240"
"HilightText"="255 255 255"
"HotTrackingColor"="0 102 204"
"InactiveBorder"="244 247 252"
"InactiveTitle"="191 205 219"
"InactiveTitleText"="0 0 0"
"InfoText"="0 0 0"
"InfoWindow"="255 255 225"
"Menu"="240 240 240"
"MenuBar"="240 240 240"
"MenuText"="0 0 0"
"Scrollbar"="200 200 200"
"TitleText"="0 0 0"
"Window"="76 76 76"
"WindowFrame"="100 100 100"
"WindowText"="210 210 210"
"Hilight"="0 120 215"
"MenuHilight"="0 120 215"

4. Here are the definitions of the entries, in case you want to alter the colors. Only the field which have description behind them seem to be relevant for the colors used in dark radiant.



Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Colors]
"ActiveBorder"="180 180 180"
"ActiveTitle"="153 180 209"
"AppWorkspace"="171 171 171"
"Background"="0 0 0"
"ButtonAlternateFace"="0 0 0"
"ButtonDkShadow"="105 105 105"
"ButtonFace"="240 240 240"               < background color of floating windows and main window controls - 40 40 40
"ButtonHilight"="255 255 255"            < shadow color of text in floating windows like light properties/inspectors - 20 20 20
"ButtonLight"="227 227 227"
"ButtonShadow"="160 160 160"             < main color of text in floating windows like light properties/inspectors - 240 240 240
"ButtonText"="0 0 0"                     < color of a few button descriptions like "select set" or "property/value" - 240 240 240
"GradientActiveTitle"="185 209 234"
"GradientInactiveTitle"="215 228 242"
"GrayText"="109 109 109"                 < color of a few values in input field in floating windows - 240 240 240
"HilightText"="255 255 255"
"HotTrackingColor"="0 102 204"
"InactiveBorder"="244 247 252"
"InactiveTitle"="191 205 219"
"InactiveTitleText"="0 0 0"
"InfoText"="0 0 0"
"InfoWindow"="255 255 225"
"Menu"="240 240 240"                     < 1 pixel high line under menu in main window - 240 240 240
"MenuBar"="240 240 240"
"MenuText"="0 0 0"
"Scrollbar"="200 200 200"
"TitleText"="0 0 0"
"Window"="255 255 255"                   < background color in a few selection frames in floating windows like "light texture" in light properties window - 76 76 76
"WindowFrame"="100 100 100"
"WindowText"="0 0 0"                     < text color of many text in input fields in floating windows - 210 210 210
"Hilight"="0 120 215"
"MenuHilight"="0 120 215"

5. Optional step only makes main frame title bar dark when selected:

In windows right click on the desktop and select the option below! display settings (maybe adjust in english?) and in the following window scroll down, make a dark custom color and tick both of the lowest checkboxes for task bar and titles:

windows_color.png

 

6. To swap to dark colors, click on dark_radiant_dark_mode.reg and integrate it into the registry.

Log off in Windows and log in again (no restart required).

Dark radiant is now in "dark mode".

 

To swap back to normal windows colors for all other programs, click default_colors.reg, integrate it into the registry and log out and log in again.

 

Hope this helps a bit :)

 

That is huge, thank you!

 

There is one issue i'm having though inside the entity viewer, there are big white boxes in there despite the rest of the window being darker grey.

 

2Tovoid.png

 

Any idea on how to make that whiteness darker like the rest?

Link to comment
Share on other sites

Unfortunately this cannot be changed with these windows registry values.
I guess it's somehow hardcoded in the framework dark radiant uses.

-------------

But I've found another registry value to make inactive title bars dark, which means that the inactive floating title bars will also be dark:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\DWM]
"AccentColorInactive"=dword:00303030

The value is not present by default, so to revert to the original, this one entry in the folder just can be deleted again.

The encoding of the DWORD 32 bit value (here 00303030) is:

00BBGGRR

BB = Blue (Hexadecimal)
GG = Green (Hexadecimal)
RR = Red (Hexadecimal)

 

I've added this option (for dark_radiant_dark_mode.reg) and its removal (for default_colors.reg) into the reg-Files in the earlier post.

Edited by OGDA
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
×
×
  • Create New...