Looking for help on customizing the Homebrew Launcher

MikaDubbz

Well-Known Member
OP
Member
Joined
Dec 12, 2017
Messages
3,877
Trophies
1
Age
36
XP
7,365
Country
United States
Alright, I've got a request for some very specific help here, something the people only using Aroma would probably immediately shrug off as pointless, given that you can't use the Homebrew Loader as a channel in Aroma. But for someone like me who is happy to stick with Tiramisu for the time being, I need some unique help.

See what I've done is create a second alternate homebrew loader channel that loads its apps from the /wiiu/appx location instead of /wiiu/apps location. This itself was very easy, you just open the homebrew .elf channel with a hex editor like HxD, search for /wiiu/apps and change each instance to /wiiu/appx. From there I made a channel for this new homebrew loader through the Haxchi method. I stylized the icon and banners so that it looks like what you see in this video (if you watch the full video, you'll note another issue I wish to address from later in this post):



See, this new homebrew loader is meant to be a Sonic the Hedgehog Classic HD Collection loader. Kinda like a modern Sonic Mega Collection or Sonic Gems, but for the ported decomps of Sonic 1 (Forever), Sonic 2 (Absolute), Sonic CD, and Sonic Mania. (God willing, one day Sonic 3 in some form can be added as well). This actually works great, you place the sonic decomp folders in the appx folder, while still keeping the Sonic 1 and Sonic 2 .rsdk and mod files in the /wiiu/apps/sonic1 and /wiiu/apps/sonic2 directories respectively (these files for Mania and CD aren't affected at all since their folders are in the root of the SD Card). And I can change the homebrew music by placing the proper .ogg file in /wiiu/appx/homebrew_launcher. I could place a custom font in there too, but I do prefer the default over any of the sonic style fonts I messed around with.

This all works great, I have a custom homebrew channel just for the Sonic decomps. What I want now though is to refine and perfect this. I see how I could change various visual elements of the homebrew channel by editing the .png images here: https://github.com/dimok789/homebrew_launcher/tree/master/data/images and then recompiling the launcher when all is said and done. But what I'm not seeing is an image for the background. Where do I change the background image? Or is the background just an RGB value to be changed instead? I can see how the latter might hold true here, either way, can someone direct me to a location for where I can change the background, be it image, or just the color values?

If we can change the homebrew loader background I want to change it to this:
Sonic HD Background.png


Likewise, how do I change the the bubbles that float by in the background? I would like to change these from the round circles to instead be those classic shape designs of classic sonic art. If possible, I want to replace the bubbles of the Homebrew Loader with images of shapes like these:

Star Bubble.png
Circle Bubble.png

If someone can help me with these visual elements of the Homebrew Launcher that would be great. Like I said I believe I could handle changing the visual elements of other aspects of the Homebrew Launcher, though I may have trouble compiling, but that's a problem to address for later in getting this all together.


Finally, and MOST IMPORTANTLY (This is the subject I would love help with above all else here), you'll note in the above video that when I hit the home button within any of the Sonic games, I return to the proper Homebrew Loader, the one that's homebrew apps are located under /wiiu/apps. Does anybody have any idea how to make it so that when I leave homebrew launched from /wiiu/appx with the home button, that I return back to /wiiu/appx? This would keep the illusion of this being a real collection stay much more intact than any other mods left to do.


Thanks to anyone who can help and for hearing out my particular issue that may be specific just to me lol. But man I would love if I could pull this altogether like I'm envisioning it.
 
Last edited by MikaDubbz,
  • Like
Reactions: Lostbhoy

V10lator

Well-Known Member
Member
Joined
Apr 21, 2019
Messages
2,664
Trophies
1
Age
36
XP
5,639
Country
Germany
There's so changing the background color clearly is possible. I can't find the sourcefiles for this mod through so I looked into Dimoks source codes instead. Here are my findings:

Instead of hex editing you can change the folder to look for homebrews here: https://github.com/dimok789/homebrew_launcher/blob/master/src/menu/HomebrewWindow.cpp#L63

https://github.com/dimok789/homebrew_launcher/blob/master/src/Application.cpp#L45 defines the assets folder. These files are loaded from there: https://github.com/dimok789/homebrew_launcher/blob/master/src/resources/filelist.cpp#L61-L76

Background colors are defined at https://github.com/dimok789/homebrew_launcher/blob/master/src/menu/MainWindow.cpp#L32-L35

The bubles are more complicated through. Their color is defined here https://github.com/dimok789/homebrew_launcher/blob/master/src/menu/MainWindow.cpp#L29 vzt but I can't find what's defining the form and stuff. You probably need to be good a UI programming to change that.
 
  • Like
Reactions: Lostbhoy

MikaDubbz

Well-Known Member
OP
Member
Joined
Dec 12, 2017
Messages
3,877
Trophies
1
Age
36
XP
7,365
Country
United States
There's so changing the background color clearly is possible. I can't find the sourcefiles for this mod through so I looked into Dimoks source codes instead. Here are my findings:

Instead of hex editing you can change the folder to look for homebrews here: https://github.com/dimok789/homebrew_launcher/blob/master/src/menu/HomebrewWindow.cpp#L63

Hex editing has worked fine though, unless, will changing it that way and then recompiling make it so that when I exit homebrew launched from the alt loader, that it returns me to the alt loader and not the original? Cuz this is the biggest detail I really want to address.

This is actually good to know, I knew the music, sound, and font files could be redirected to a directory, as I had been doing, didn't realize the various image assets (that aren't the background and bubbles) could also be redirected to, which is great for me and my inept at compiling ass.

Well I'm disappointed to see that the background isn't an image. I imagine the code could be edited to point to a background image instead, would you happen to know if that is the case and what I would need to add and to where to make that happen?

Otherwise I can work with just a background color, but why are there 4 lines for the color code? Is each line kinda pointing to a corner of the screen? I know that some of the Mario Kart screens function that way when I was editing that game, and allowed to easily make gradients.

The bubles are more complicated through. Their color is defined here https://github.com/dimok789/homebrew_launcher/blob/master/src/menu/MainWindow.cpp#L29 vzt but I can't find what's defining the form and stuff. You probably need to be good a UI programming to change that.
Well the bubbles really are the least of my concern I suppose. Frankly all the visual stuff comes second to just making it so that I can return from one Sonic Decomp to this alt homebrew launcher, that is most important at this time.
 
  • Like
Reactions: Lostbhoy

V10lator

Well-Known Member
Member
Joined
Apr 21, 2019
Messages
2,664
Trophies
1
Age
36
XP
5,639
Country
Germany
Hex editing has worked fine though, unless, will changing it that way and then recompiling make it so that when I exit homebrew launched from the alt loader, that it returns me to the alt loader and not the original? Cuz this is the biggest detail I really want to address.
To be fair I have no idea why this happens. The homebrews should run in the context of the launcher running it and when they exit they ask the Wii U to reload themselfes, which loads the launcher instead as again: They are running in the launchers context.
It might be title ID collisions with the original HBL but you can't change the title ID as homebrews check for it to know if they are running as a channel or from HBL. In case they think they are running as a channel while beeing HBL (cause you changed the title ID of your loader) things will go wrong.
I imagine the code could be edited to point to a background image instead, would you happen to know if that is the case and what I would need to add and to where to make that happen?
Surely that's possible but requires coding skills. Can't give you a simple walkthrough as I would have to read deeply into the codes for myself.
why are there 4 lines for the color code? Is each line kinda pointing to a corner of the screen?
Yes. Well, technically not to a corner of the screen but of the texture. As the texture is the background texture, so beeing fullscreen, you're somehow right.
 
  • Like
Reactions: Lostbhoy

GaryOderNichts

Well-Known Member
Member
Joined
Aug 9, 2018
Messages
792
Trophies
1
XP
5,520
Country
Germany
Haxchi's / Tiramisu's SD Loader will still load the original homebrew_launcher.elf from wiiu/apps/homebrew_launcher after returning to the Mii Maker.
Your custom homebrew_launcher.elf will only be loaded once.
 
  • Like
Reactions: Lostbhoy

MikaDubbz

Well-Known Member
OP
Member
Joined
Dec 12, 2017
Messages
3,877
Trophies
1
Age
36
XP
7,365
Country
United States
Haxchi's / Tiramisu's SD Loader will still load the original homebrew_launcher.elf from wiiu/apps/homebrew_launcher after returning to the Mii Maker.
Your custom homebrew_launcher.elf will only be loaded once.
And there's no way this can change for the alt homebrew launcher in some way? Or would changing that then force all homebrew apps from the normal homebrew launcher to then exit to this alt loader? I would think both could be possible, but then again I really don't know all that much about programming haha.

Also anyone curious, I changed most of the visual assets that I can, and it's really coming together:



I'm still gonna change the pointer images for those that use Wiimotes, making player 1 Sonic's hand, player 2 Tails, player 3 Knuckles, and Player 4 Amy. Probably something I'll never reasonably see, but still a neat little easter egg I suppose for anyone that ever messes around on my Wii U.
 
Last edited by MikaDubbz,
  • Like
Reactions: Lostbhoy

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Jayro @ Jayro:
    Eventhough the New 3DS XL is more powerful, I still feel like the DS Lite was a more polished system. It's a real shame that it never got an XL variant keeping the GBA slot. You'd have to go on AliExpress and buy an ML shell to give a DS phat the unofficial "DS Lite" treatment, and that's the best we'll ever get I'm afraid.
    +1
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +1
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
    cearp @ cearp: still, I agree physical media is nice to have. just pointing out the issue is drm