Homebrew Homebrew Launcher Darker Mod

  • Thread starter Thread starter Irastris
  • Start date Start date
  • Views Views 13,583
  • Replies Replies 48
  • Likes Likes 4
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?
 
@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,
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
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 :)
 
@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: 193
  • Like
Reactions: Irastris
@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
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
 
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. :(
 
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, 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