Homebrew Homebrew Launcher Darker Mod

Irastris

Well-Known Member
OP
Member
Joined
May 3, 2015
Messages
1,116
Trophies
0
XP
895
Country
United States
well see to me i like to keep my wiiu/apps/<app-name> clean, so to me xml support wouldnt be that usefull(to me) so although this would also allow file replace, if your gonna compile the elf its pointless and if you do the resources replace then its still messy. so tl;dr probably not.
Alright. Looks pretty simple enough to implement myself, so would you mind if I did it then?
 

gl1mml1ng

Well-Known Member
Member
Joined
Jun 26, 2012
Messages
112
Trophies
1
Website
tuetenmensch.blogspot.com
XP
434
Country
Gambia, The
@Irastris Hi. You seem to be familar with the code and where to find the needed RGBA values.
Where can I find the correct place to edit the colour of all the texts in the boxes to Black?

I asked this a few month ago in the original Homebrew Launcher thread, but never got an answer.

Thank you!
 
Last edited by gl1mml1ng,

Irastris

Well-Known Member
OP
Member
Joined
May 3, 2015
Messages
1,116
Trophies
0
XP
895
Country
United States
Where can I find the correct place to edit the colour of all the texts in the boxes to Black?

I believe you're looking for line 254 of GuiText.cpp
Code:
presetColor = (GX2ColorF32) { (f32)c.r / 255.0f, (f32)c.g / 255.0f, (f32)c.b / 255.0f, (f32)c.a / 255.0f };
Due to the fact that the font color is stored in floats, be sure to suffix your RGBA values with .0f.
So for example, to change the font color to red, you'd change that line to:
Code:
presetColor = (GX2ColorF32) { (f32)c.r / 215.0f, (f32)c.g / 49.0f, (f32)c.b / 49.0f, (f32)c.a / 255.0f };
 
Last edited by Irastris,
  • Like
Reactions: gl1mml1ng

gl1mml1ng

Well-Known Member
Member
Joined
Jun 26, 2012
Messages
112
Trophies
1
Website
tuetenmensch.blogspot.com
XP
434
Country
Gambia, The
I believe you're looking for line 254 of GuiText.cpp
Code:
presetColor = (GX2ColorF32) { (f32)c.r / 255.0f, (f32)c.g / 255.0f, (f32)c.b / 255.0f, (f32)c.a / 255.0f };
Due to the fact that the font color is stored in float values, be sure to suffix your RGBA values with .0f.
So for example, to change the font color to red, you'd change that line to:
Code:
presetColor = (GX2ColorF32) { (f32)c.r / 215.0f, (f32)c.g / 49.0f, (f32)c.b / 49.0f, (f32)c.a / 255.0f };
Thank you very much! I will try it :)
 

gl1mml1ng

Well-Known Member
Member
Joined
Jun 26, 2012
Messages
112
Trophies
1
Website
tuetenmensch.blogspot.com
XP
434
Country
Gambia, The
@Irastris
Ok, here is my result. The texts are still white, but they have a black outline. Maybe there must be something else, we're missing :unsure:
 

Attachments

  • 2016-11-20 14.28.36.jpg
    2016-11-20 14.28.36.jpg
    29 KB · Views: 149
  • Like
Reactions: Irastris

Irastris

Well-Known Member
OP
Member
Joined
May 3, 2015
Messages
1,116
Trophies
0
XP
895
Country
United States
@Irastris
Ok, here is my result. The texts are still white, but they have a black outline. Maybe there must be something else, we're missing :unsure:
Okay, please try modifying line 26 of GuiText.cpp as well.
Code:
GX2ColorF32 GuiText::presetColor = (GX2ColorF32){ 1.0f, 1.0f, 1.0f, 1.0f };
In order to get the proper floats for this one, you must divide each RGBA value by 255.
For example, to get black text, you would change the line to the following:
Code:
GX2ColorF32 GuiText::presetColor = (GX2ColorF32){ 0.0f, 0.0f, 0.0f, 1.0f };
 
Last edited by Irastris,
  • Like
Reactions: gl1mml1ng

gl1mml1ng

Well-Known Member
Member
Joined
Jun 26, 2012
Messages
112
Trophies
1
Website
tuetenmensch.blogspot.com
XP
434
Country
Gambia, The
Okay, please try modifying line 26 of GuiText.cpp as well.
Code:
GX2ColorF32 GuiText::presetColor = (GX2ColorF32){ 1.0f, 1.0f, 1.0f, 1.0f };
In order to get the proper floats for this one, you must divide each RGBA value by 255.
For example, to get black text, you would change the line to the following:
Code:
GX2ColorF32 GuiText::presetColor = (GX2ColorF32){ 0.0f, 0.0f, 0.0f, 1.0f };
Tested it, but the texts are still white with the outline
 

Irastris

Well-Known Member
OP
Member
Joined
May 3, 2015
Messages
1,116
Trophies
0
XP
895
Country
United States
Tested it, but the texts are still white with the outline
Okay, I think I've finally got it. Please try changing line 42 of ProgressWindow.cpp.
Code:
titleText.setColor(glm::vec4(1.0f, 1.0f, 1.0f, 1.0f));
If it still fails, then I guess I just don't know this one. Sorry. :(
 

panther666

Well-Known Member
Member
Joined
Nov 29, 2015
Messages
148
Trophies
0
XP
522
Country
Russia
Irastris, can i ask to make some changes in your mod?
If in homebrew launcher directory lay only .elf, string in homebrew launcher with hbl is hidden, but when i put an homebrew_launcher.rpx in it, string appears.
Can you make some changes, to hide hbl in hbl menu, when both files laying in its directory?
 

Irastris

Well-Known Member
OP
Member
Joined
May 3, 2015
Messages
1,116
Trophies
0
XP
895
Country
United States
Irastris, can i ask to make some changes in your mod?
If in homebrew launcher directory lay only .elf, string in homebrew launcher with hbl is hidden, but when i put an homebrew_launcher.rpx in it, string appears.
Can you make some changes, to hide hbl in hbl menu, when both files laying in its directory?
No. This is a color tweak and nothing else. Ask dimok for that feature.

I also won't be updating this for newer HBL versions. I don't really care about having a dark theme anymore.
 
  • Like
Reactions: markehmus

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    denpafan @ denpafan: swag