diff --git a/README.md b/README.md index 1c865e4..2e0b997 100644 --- a/README.md +++ b/README.md @@ -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! diff --git a/hbl2hbc.txt b/hbl2hbc.txt index 33f5735..efbf380 100644 --- a/hbl2hbc.txt +++ b/hbl2hbc.txt @@ -1 +1,4 @@ -LULZ=Homebrew Channel \ No newline at end of file +OHBC=Open Homebrew Channel +UNEO=USB Loader GX +DWFA=Wiiflow +LULZ=Homebrew Channel diff --git a/src/main.cpp b/src/main.cpp index d7924f0..ac9b798 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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(); @@ -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 if(!f) { - //current vwii hbc title id - titleToBoot = 0x4c554c5a; goto func_exit; } fseek(f,0,SEEK_END); @@ -180,7 +181,6 @@ static bool doIdSelect() if(entries == 0) { //current vwii hbc title id - titleToBoot = 0x4c554c5a; goto func_exit; } else if(entries == 1) @@ -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++) {