Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# hbl2hbc
Boot from the wiiu homebrew launcher into the vwii homebrew channel, skipping controller and screen option prompts.
Boot from the Wii U homebrew launcher into the vWii homebrew channel, skipping controller and screen option prompts.

# Usage
Grab the elf from the downloads section, put it into your /sd/wiiu/apps/hbl2hbc/ folder and every time you want to get into the vwii homebrew channel just start it in the wiiu homebrew launcher. Edit /sd/hbl2hbc.txt, in the form of one or multiple lines in the format of "TitleID=TileName", to change the target channel, or create a menu of target channels.
1. Grab the elf from the [releases section](https://github.com/FIX94/hbl2hbc/releases/latest), put it into your `sd:/wiiu/apps/hbl2hbc/folder`.
2. If you don't want to be able to launch other Wii titles than the Open Homebrew Channel (OHBC) you can skip to step 4.
3. Create/edit `sd:/wiiu/apps/hbl2hbc/hbl2hbc.txt`, in the form of one or multiple lines in the format of "TitleID=TileName", to change the target channel, or create a menu of target channels.
4. Every time you want to get into the vWii open homebrew channel just start it in the Wii U homebrew launcher.

If you only want LOLZ (Homebrew Channel) download [the sample `.txt`](https://github.com/FIX94/hbl2hbc/blob/master/hbl2hbc.txt) and remove lines you don't need.
Also, it seems only Homebrew titles are working.

This works with the [Wii U Menu forwarder by brienj](https://gbatemp.net/threads/release-wiiu2hbc-a-hbl2hbc-forwarder-channel.455991/), but of course you can't press HOME to return to the hbl then.

If you have trouble reading this Readme, please open an issue explaining what you didn't understand!
5 changes: 4 additions & 1 deletion hbl2hbc.txt
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
LULZ=Homebrew Channel
OHBC=Open Homebrew Channel
UNEO=USB Loader GX
DWFA=Wiiflow
LULZ=Homebrew Channel
13 changes: 7 additions & 6 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ struct selTitle {
std::string name;
};

static const char *verChar = "HBL2HBC v1.1u1 by FIX94";
static const char *verChar = "HBL2HBC v1.1 by FIX94"; //adjusted to what the releases page says

static unsigned int getButtonsDown();
static bool doIdSelect();
Expand Down Expand Up @@ -121,11 +121,12 @@ static bool doIdSelect()
int flen;
char *cBuf;

FILE *f = fopen("sd:/hbl2hbc.txt","rb");
//use open homebrew launcher (OHBC) instead of homebrew launcher (LULZ)
//set title value here so it doesn't need to get changed twice (or more often) for future modifications
titleToBoot=0x4F484243;
FILE *f = fopen("sd:/wiiu/apps/hbl2hbc/hbl2hbc.txt","rb"); //load the txt from the app folder instead of the sd card root

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(so it doesn't clutter the sd root or confuse people who think of adding the hbl2hbl.txt to the app's folder)

if(!f)
{
//current vwii hbc title id
titleToBoot = 0x4c554c5a;
goto func_exit;
}
fseek(f,0,SEEK_END);
Expand Down Expand Up @@ -180,7 +181,6 @@ static bool doIdSelect()
if(entries == 0)
{
//current vwii hbc title id
titleToBoot = 0x4c554c5a;
goto func_exit;
}
else if(entries == 1)
Expand Down Expand Up @@ -258,8 +258,9 @@ static bool doIdSelect()
{
OSScreenClearBuffer(0);
OSScreenPutFont(0, 0, verChar);
OSScreenPutFont(1, 1, "HOME: return to Homebrew launcher\n DPAD-UP/DPAD-DOWN: navigate\n A: launch selected entry."); //display some info about buttons because why not
// Starting position.
int gamelist_y = 1;
int gamelist_y = 5;
int i;
for (i = 0; i < ListMax; ++i, gamelist_y++)
{
Expand Down