Homebrew Possible to change entry application for homebrew?

PerryStyle

Member
OP
Newcomer
Joined
Oct 12, 2017
Messages
16
Trophies
0
Age
20
XP
82
Country
United States
Hello everyone, I was just wondering if this would work.
If you were to change the title id of entry.c file, here https://github.com/dimok789/homebrew_launcher/blob/master/src/entry.c to an application that uses the SD card to let's say Smash Bros Wii U. Then make the homebrew.elf with this change, will homebrew now launch threw Super Smash Bros Wii U instead of Mii Maker?

I got lost in the tutorial on how to compile the .elf in order to test this. I was just wondering if this is a possibility?
 

Ryccardo

watching Thames TV from London
Member
Joined
Feb 13, 2015
Messages
7,406
Trophies
0
Age
27
Location
Imola
XP
6,386
Country
Italy
Yes, that's the theory - although the choice of base title will influence compatibility, if it works similiarly to 3DSX on 3ds
 
D

Deleted User

Guest
Its a bit more complicated that that, unfortunately. You'd also probably need to change something in the userspace exploit you're using (Browserhax/Haxchi) that causes the other title to launch once HBL's loader program is in memory.
 
  • Like
Reactions: cucholix

PerryStyle

Member
OP
Newcomer
Joined
Oct 12, 2017
Messages
16
Trophies
0
Age
20
XP
82
Country
United States
Its a bit more complicated that that, unfortunately. You'd also probably need to change something in the userspace exploit you're using (Browserhax/Haxchi) that causes the other title to launch once HBL's loader program is in memory.
So what you are saying is that something has to change in the Browserhax software to launch in order to lets say Super Smash Bros to launch. So when I click on launch on loadiine.ovh it has be programmed to launch Super Smash Bros? Or am I just misinterpreting this and that you can change something in the link you just provided.
 
D

Deleted User

Guest
So what you are saying is that something has to change in the Browserhax software to launch in order to lets say Super Smash Bros to launch. So when I click on launch on loadiine.ovh it has be programmed to launch Super Smash Bros? Or am I just misinterpreting this and that you can change something in the link you just provided.
You're right, Browserhax itself does need to be changed. So does Haxchi, if you're looking into that as well. The link I provided is for HBL's small loader program.

When an exploit such as Browserhax is run on your console, it performs the PowerPC kernel exploit, and then stores this loader program (sd_loader as it's officially called) in a small area of unused memory. It then does some kind of modification that causes the Wii U to launch this small loader program instead of Mii Maker when the Mii Maker title is opened.

This loader program, when run, will load homebrew_launcher.elf from the SD Card and will run it. When HBL exits, it re-launches the Mii Maker title and will decide whether to open another program or to simply launch Mii Maker. And homebrew_launcher.elf itself contains some specific code so that it functions both underneath Mii Maker and as its own title (channel).

So, in order to use Smash Bros. instead, you would likely need to look for and change some code in:
  • Browserhax, Haxchi and CBHC
  • sd_loader for HBL (this new sd_loader would need to be embedded within Browserhax as well)
  • HBL itself
Hopefully that helps!
 
General chit-chat
Help Users
    KenniesNewName @ KenniesNewName: So does the S logo Google has stand for shut down