Homebrew CTR_Redshift - hardware-based blue light filter for old3DS and 2DS

  • Thread starter Thread starter Sono
  • Start date Start date
  • Views Views 101,761
  • Replies Replies 163
  • Likes Likes 44
  • Like
Reactions: Hmed
Edit: Updated firm here.

So I figured it out in the end, it was just a typo in my redshift.h file causing all the includes to break xD. Then I needed to add an '-lm' flag into the makefile as shown here: https://github.com/AuroraWright/Lum...a24c#diff-df3b0b90e9112ef9de99f7fb6e99c1acR16 to sort some "undefined reference to" errors.

Anyway, on to the good part...

I've attached firms for N3DS and O3DS - so please use the correct one! The only reason for the difference is that Luma chops the top menu option off for O3DS (to stop you accessing the "New 3DS menu..."). However, I wanted the redshift option to be top of the list so I could easily select it with my eyes closed.

The minor changes to Sono's original module implementation are all just my personal preferences:
  • SELECT now toggles LEDs (LEDs also toggle upon opening menu)
  • B instead returns to previous menu
  • UP/DOWN now navigate, RIGHT/LEFT change values
  • X applies changes to top screen
  • Text change from Luma blue to red/white
Big thanks to Sono for giving us CTR_Redshift in the first place and the Luma team for making it possible to add modules.

Edit: Added source files and fixed brightness >1 issue xD
 

Attachments

Last edited by Nutez,
Short Question, I compared my N3dsXL to the N2dsXl of my Girlfriend and noticed that both screens are a bit more yellow, so not really true white. Can this be fixed with this homebrew?
 
Short Question, I compared my N3dsXL to the N2dsXl of my Girlfriend and noticed that both screens are a bit more yellow, so not really true white. Can this be fixed with this homebrew?

Completely can't be fixed due to the LCD characteristics, but you could make a LUT which is close enough to a good color palette.
 
Completely can't be fixed due to the LCD characteristics, but you could make a LUT which is close enough to a good color palette.
Oh okay, thank you for the answer.
Can you help me? I've never used your homebrew, will this be running in the background at all times?
How difficult is it to change it?
I'm currently not @home so I can't try it on my own.

Appreciate the help!
 
Oh okay, thank you for the answer.
Can you help me? I've never used your homebrew, will this be running in the background at all times?
How difficult is it to change it?
I'm currently not @home so I can't try it on my own.

Appreciate the help!

I'd need to write a homebrew to do that.
It doesn't run in the background because it's hardware-based.

Also, have you tried this one? You can also make the screen a little bit more blue. In fact, I think there is an option to adjust the gamma for each color individually.

If you go the bruteforce way then afaik you can keep the button held while adjusting to adjust the LUT in real time.
 
I'd need to write a homebrew to do that.
It doesn't run in the background because it's hardware-based.

Also, have you tried this one? You can also make the screen a little bit more blue. In fact, I think there is an option to adjust the gamma for each color individually.

If you go the bruteforce way then afaik you can keep the button held while adjusting to adjust the LUT in real time.
Yeah in the end, I just have to reduce the red a bit, but yeah the bruteforce method should get me where I want to.
I'll try that and talk back how It went.
 
  • Like
Reactions: Sono
So I figured it out in the end, it was just a typo in my redshift.h file causing all the includes to break xD. Then I needed to add an '-lm' flag into the makefile as shown here: https://github.com/AuroraWright/Lum...a24c#diff-df3b0b90e9112ef9de99f7fb6e99c1acR16 to sort some "undefined reference to" errors.

Anyway, on to the good part...

I've attached firms for N3DS and O3DS - so please use the correct one! The only reason for the difference is that Luma chops the top menu option off for O3DS (to stop you accessing the "New 3DS menu..."). However, I wanted the redshift option to be top of the list so I could easily select it with my eyes closed.

The minor changes to Sono's original module implementation are all just my personal preferences:
  • SELECT now toggles LEDs (LEDs also toggle upon opening menu)
  • B instead returns to previous menu
  • UP/DOWN now navigate, RIGHT/LEFT change values
  • X applies changes to top screen
  • Text change from Luma blue to red/white
Big thanks to Sono for giving us CTR_Redshift in the first place and the Luma team for making it possible to add modules.
Setting it to higher than 1 (for more brightness) does a bad:
Failed to fetch tweet https://twitter.com/PRAGMA/status/1064141841963065345
 
  • Like
Reactions: Itzumi
Last edited by jelbo,
  • Like
Reactions: Nutez
Setting it to higher than 1 (for more brightness) does a bad:
https://twitter.com/PRAGMA/status/1064141841963065345
Ah, sorry that was me guessing the MAX_BRIGHTNESS value when making a header file. I'm sure I checked against the original cia & luma implementation and thought it could go up to 10: evidently not. I've rebuilt both firms to have 1.0 as max and provided my hacky source files for anyone who would like to critique and tweak.
 
  • Like
Reactions: jelbo
Ah, sorry that was me guessing the MAX_BRIGHTNESS value when making a header file. I'm sure I checked against the original cia & luma implementation and thought it could go up to 10: evidently not. I've rebuilt both firms to have 1.0 as max and provided my hacky source files for anyone who would like to critique and tweak.
So theres absolutely no way to make the screen BRIGHTER thats the only reason I want this
 
So theres absolutely no way to make the screen BRIGHTER thats the only reason I want this

If you have a new3DS then it's not possible until there will be a proper gsp patch which disables automatic brightness and someone writes a daemon inside Rosalina to look for 3D mode and switch between 2x brightness and 0.5x brightness accordingly.

2DS is the best in this regard because it doesn't have 3D, so the backlight will be kept until something happens.
 
  • Like
Reactions: jelbo

Site & Scene News

Popular threads in this forum