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

  • Thread starter Sono
  • Start date
  • Views 87,726
  • Replies 163
  • Likes 44

Nutez

Assimilator of Lumas
Member
Joined
Jan 2, 2018
Messages
175
Trophies
0
Location
The other side of paradise.
XP
1,814
Country
United Kingdom
  • Like
Reactions: Hmed

Nutez

Assimilator of Lumas
Member
Joined
Jan 2, 2018
Messages
175
Trophies
0
Location
The other side of paradise.
XP
1,814
Country
United Kingdom
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

  • redshift_firms.zip
    264.3 KB · Views: 482
  • redshift_source.zip
    11.1 KB · Views: 274
Last edited by Nutez,

Der_Blockbuster

Well-Known Member
Member
Joined
Mar 2, 2016
Messages
878
Trophies
0
Age
24
XP
2,886
Country
Germany
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?
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,825
Trophies
2
Location
home
XP
9,375
Country
Hungary
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.
 

Der_Blockbuster

Well-Known Member
Member
Joined
Mar 2, 2016
Messages
878
Trophies
0
Age
24
XP
2,886
Country
Germany
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!
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,825
Trophies
2
Location
home
XP
9,375
Country
Hungary
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.
 

Der_Blockbuster

Well-Known Member
Member
Joined
Mar 2, 2016
Messages
878
Trophies
0
Age
24
XP
2,886
Country
Germany
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

PRAGMA

Well-Known Member
Member
Joined
Dec 29, 2015
Messages
2,258
Trophies
1
Location
Ireland
Website
github.com
XP
5,039
Country
Ireland
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

jelbo

Well-Known Member
Member
Joined
Sep 12, 2003
Messages
869
Trophies
2
XP
881
Country
Netherlands
Last edited by jelbo,
  • Like
Reactions: Nutez

Nutez

Assimilator of Lumas
Member
Joined
Jan 2, 2018
Messages
175
Trophies
0
Location
The other side of paradise.
XP
1,814
Country
United Kingdom
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

PRAGMA

Well-Known Member
Member
Joined
Dec 29, 2015
Messages
2,258
Trophies
1
Location
Ireland
Website
github.com
XP
5,039
Country
Ireland
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
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,825
Trophies
2
Location
home
XP
9,375
Country
Hungary
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

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    That Dell data breach is worse than people probably realize....
  • Psionic Roshambo @ Psionic Roshambo:
    When I worked for Dell we had access to data about military contracts and addresses for high ranking people.
  • Psionic Roshambo @ Psionic Roshambo:
    I personally handled a call from the second highest person at Raytheon. That call bothered me a lot... The guy was nice and smart what bothered me was the way management basically just blew him off instead of going the extra mile to help him.
  • Psionic Roshambo @ Psionic Roshambo:
    In the end that call ended up costing Dell millions in lost contracts with Raytheon, and really the issue could have been solved for like 450 bucks lol
  • NinStar @ NinStar:
    sometimes I wonder why anyone would ever buy mega man x legacy collection 2
  • NinStar @ NinStar:
    I always thought that capcom shuffled the games in these collection, but apparently they are all in chronological order, which makes legacy collection 2 worthless
  • BakerMan @ BakerMan:
    guys, i want to start singing pirate metal songs and sea shanties if i play sea of thieves
  • The Real Jdbye @ The Real Jdbye:
    find a pirate metal playlist
    +2
  • The Real Jdbye @ The Real Jdbye:
    and sing along
  • BakerMan @ BakerMan:
    nevermind i just learned swearing is against the rules in sea of thieves

    i was about to start singing the song i last put in "what song are you currently listening to" yesterday
  • BakerMan @ BakerMan:
    but yeah ig so
  • The Real Jdbye @ The Real Jdbye:
    swearing not allowed in a pirate game? what has the world come to
  • BakerMan @ BakerMan:
    (here's the song for context)
  • BigOnYa @ BigOnYa:
    Just add -izle to the end of every curse word, you will be fine.
    +2
  • The Real Jdbye @ The Real Jdbye:
    i like alestorm
    +1
  • The Real Jdbye @ The Real Jdbye:
    @BigOnYa too many syllables
    +1
  • BakerMan @ BakerMan:
    same lmao
  • BigOnYa @ BigOnYa:
    hi, welcome to the Temp!
    +1
  • BakerMan @ BakerMan:
    Welcome to the Underground!
    +1
  • BakerMan @ BakerMan:
    the booty boogie from (once again) the donkey kong country cartoon could also be a good song to sing while playing sea of thieves
  • BigOnYa @ BigOnYa:
    Please insert 25 cents for an additional 30 minutes of talk time.
    +1
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=tG7fk_DUz5g +1