Now this is quite interesting... just compiled it and gave it a go. Now all I have to do is figure out what patches I want to use..... 
Awesome work yet again giantpune!
@xfcrowman:
The method for applying the patches seems to be the same, but the 0x8132FAE0 value is used for the system menu, since that is where the system menu executable sits in memory when preloader patches it. For this however, it appears that it could be 0x8132FF80 instead.
At least the patches "looked" correct when I patched them using this offset value, but I did not have any way to test it, seeing as the dumped raw hbc_1.0.8.elf refused to boot for me at all, neither before or after patching (HBC gave "Error: This is not a valid Wii application" with both patched and unpatched while trying to load via wiiload)
Now I have not tried the following idea yet, but maybe instead of that, maybe try to "insert" the wrapper.dol into the HBC wad, similar to how priiloader "inserts" itself into the system menu (that is, rename the executable 000000xx.app inside HBC to 100000xx.app, then rename wrapper.dol to 000000xx.app)?
I am going to try this method out later, when I have some more time.
Awesome work yet again giantpune!
@xfcrowman:
The method for applying the patches seems to be the same, but the 0x8132FAE0 value is used for the system menu, since that is where the system menu executable sits in memory when preloader patches it. For this however, it appears that it could be 0x8132FF80 instead.
At least the patches "looked" correct when I patched them using this offset value, but I did not have any way to test it, seeing as the dumped raw hbc_1.0.8.elf refused to boot for me at all, neither before or after patching (HBC gave "Error: This is not a valid Wii application" with both patched and unpatched while trying to load via wiiload)
Now I have not tried the following idea yet, but maybe instead of that, maybe try to "insert" the wrapper.dol into the HBC wad, similar to how priiloader "inserts" itself into the system menu (that is, rename the executable 000000xx.app inside HBC to 100000xx.app, then rename wrapper.dol to 000000xx.app)?
I am going to try this method out later, when I have some more time.










