psieg / Lightpack

Lightpack and Prismatik open repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Night Light and Windows 11

Arn0111 opened this issue · comments

Hi, Night Light doesn't work with Prismatik on Windows 11.
My system is Windows 11 Home 21H2.
For now I'm using "apply color temperature and gamma" to get something working.
But "Apply screen color modifications" doesn't do anything with Night Light enabled.

I am on the latest build 5.11.2.31.

It's the same issue that I've opened a thread few months back. No response or solution so far

for context
windows does not expose (yet anyway) night light through an API
so current implementation is based on reverse engineered registry key/values, which is all but stable and as soon as MS alters those... so it must've changed for Win11
it needs to be rerereversed and patched
possible workaround is using f.lux or similar for now
do you have any keys with bluelightreduction in your regedit? if yes and they contain something like this, post here
image

Thank you for your reply.

I have 4 keys.

1
2
3
4

thanks, could you add key paths too
like Computer\HKEY_USERS\XXXXXXXXXXXXXXXXX\SOFTWARE\Microsoft\Windows\CurrentVersion\CloudStore\Store\DefaultAccount\Current\default$windows.data.bluelightreduction.settings\windows.data.bluelightreduction.settings etc

My mistake I have 8 keys.
4 in HKEY_CURRENT_USER and 4 in HKEY_USERS. They are the same.

HKEY_USERS\XXXXXXXXXX\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\DefaultAccount\Cloud\default$windows.data.bluelightreduction.bluelightreductionstate\windows.data.bluelightreduction.bluelightreductionstate
5

HKEY_USERS\XXXXXXXXXX\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\DefaultAccount\Cloud\default$windows.data.bluelightreduction.settings\windows.data.bluelightreduction.settings
6

HKEY_USERS\XXXXXXXXXX\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\DefaultAccount\Current\default$windows.data.bluelightreduction.bluelightreductionstate\windows.data.bluelightreduction.bluelightreductionstate
7

HKEY_USERS\XXXXXXXXXX\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\DefaultAccount\Current\default$windows.data.bluelightreduction.settings\windows.data.bluelightreduction.settings
8

Two things I don't understand.
Keys are never the same when I enable and disable night light.
It seems unchanged numbers are 43 42 01 00 0a 00 26 XX XX XX 99 06 00

And sometimes windows.data.bluelightreduction.bluelightreductionstate and windows.data.bluelightreduction.settings are the same, sometimes not.