From 1e4292e39a1d6befff83b0b050124ee5b8165c3e Mon Sep 17 00:00:00 2001 From: kyoforkshomebrews <49304418+kyoforkshomebrews@users.noreply.github.com> Date: Fri, 5 Apr 2019 15:37:15 +0200 Subject: [PATCH 1/5] Some small, but maybe useful additions to main.cpp --- src/main.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index d7924f0..fbc9753 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,11 @@ static bool doIdSelect() int flen; char *cBuf; - FILE *f = fopen("sd:/hbl2hbc.txt","rb"); + titleToBoot=0x4F484243; //use open homebrew launcher (OHBC) instead of homebrew launcher (LULZ), set title value here so it doesn't need to get changed twice for future modifications + 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; + //current vwii hbc title id goto func_exit; } fseek(f,0,SEEK_END); @@ -180,7 +180,6 @@ static bool doIdSelect() if(entries == 0) { //current vwii hbc title id - titleToBoot = 0x4c554c5a; goto func_exit; } else if(entries == 1) @@ -258,8 +257,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++) { From abeb9cb1b3e9904f940bdf4d1fb04c8336abd8ee Mon Sep 17 00:00:00 2001 From: kyoforkshomebrews <49304418+kyoforkshomebrews@users.noreply.github.com> Date: Fri, 5 Apr 2019 15:40:11 +0200 Subject: [PATCH 2/5] Small but hopefully useful additions to main.cpp --- src/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index fbc9753..ac9b798 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -121,11 +121,12 @@ static bool doIdSelect() int flen; char *cBuf; - titleToBoot=0x4F484243; //use open homebrew launcher (OHBC) instead of homebrew launcher (LULZ), set title value here so it doesn't need to get changed twice for future modifications + //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 goto func_exit; } fseek(f,0,SEEK_END); From 1d4cc56f8ac3e67af107fe76b8f04b1420917ecd Mon Sep 17 00:00:00 2001 From: kyoforkshomebrews <49304418+kyoforkshomebrews@users.noreply.github.com> Date: Fri, 5 Apr 2019 15:55:36 +0200 Subject: [PATCH 3/5] Some readability improvements --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1c865e4..daf1736 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). +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! From 9da43b4446eb3ad98d6dd82d6fba23c43f9b1db0 Mon Sep 17 00:00:00 2001 From: kyoforkshomebrews <49304418+kyoforkshomebrews@users.noreply.github.com> Date: Fri, 5 Apr 2019 15:58:48 +0200 Subject: [PATCH 4/5] Add 3 Wii homebrew channels i know of. --- hbl2hbc.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 From 253fe8b7bbde02eb077566f06308d3a31b2cea4b Mon Sep 17 00:00:00 2001 From: kyoforkshomebrews <49304418+kyoforkshomebrews@users.noreply.github.com> Date: Fri, 5 Apr 2019 16:05:46 +0200 Subject: [PATCH 5/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index daf1736..2e0b997 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Boot from the Wii U homebrew launcher into the vWii homebrew channel, skipping c 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). +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.