Hi Nutez! I'm all in for testing it, you two are doing a really great jobHi everyone. Not a full update this time, but I wanted to try a "pre-release" for some testing and feedback as the upcoming feature is a bit more complex.
Thanks to another great Sono discovery™, we can now reliably apply filters to the LCDs as the console is booting up! This means automatically applied colour-correcting filters for faulty LCDs or hassle-free redshift. However, since the filter is applied so early on, we don't have button controls available to choose whether to enable the filter or not (no "hold X to boot with redshift"). Switching boot.firms/chainloading could somewhat achieve this, but I wanted to see if there was a more elegant solution... So I thought I would try implementing a Day/Night mode to control which filters are applied dependant on the time of boot/awaken.
In the screen filters submenu, there are three new options: "Day Mode Filter", "Night Mode Filter" and "Day/Night Config". The Day and Night Mode filters are configured in the same way as the "Custom Filter" a.k.a. redshift and are saved to files "dayshift.bin" and "nightshift.bin". "Day/Night Config" allows you to enable whether the filter should be applied and choose the time at which "Day Mode" starts and "Night Mode" starts. The time is set for 0-23 hours with 10 minute intervals for simplicity. You can also choose the brightness level in each mode (these levels can be further tuned by "Permanent brightness recalibration") and whether or not to suppress the LEDs (though this is overridden by the extra config settings). Config is written to file "configBootshift.bin" and can be deleted and the console rebooted to disable the Day/Night mode feature entirely.
Day/Night mode only checks the time at boot or when awakening from sleep, it can't automatically apply during gameplay. Manually applying a screen filter or the "Custom Filter" should override the Day/Night mode and stop it from applying when awakening from sleep.
In this build, there is also a new "Extra Config" option to enable opening the Rosalina menu by pressing the Home Button (which will still direct you to the Home Menu as usual after closing Rosalina).
I'd like some people already familiar with this Luma fork to test out the attached build for bugs please. It would also be useful to get feedback on writing a good explanation of how the feature works for newer people. And any ideas for a more catchy sounding name would be nice too ("Day/Night Mode" just seems a bit plain heh).
Also, while it's not feasible to continually check the time, it's probably possible to check on other notifications such as when the Home Button is pressed or a regular application starts. So I'd consider adding those in as optional triggers if there was some interest.
Thanks and enjoy.
Maybe call this feature "LCD color correction"? Ik it's not that catchy, but it could make some users highly interested imo - or call it something related to that
Last edited by BETA215,