In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Changes

Jump to navigation Jump to search
5,728 bytes added ,  10:38, 21 May 2016
Created page with "{{Infobox homebrew | title = The Homebrew Launcher | image = File:Homebrew_launcher_icon.png | desc = Loads homebrew from an SD Card | author = Dimok, Maschell..."
{{Infobox homebrew
| title = The Homebrew Launcher
| image = [[File:Homebrew_launcher_icon.png]]
| desc = Loads homebrew from an SD Card
| author = Dimok, Maschell and others
| type = loader
| version = 1.2 RC3
| download = https://github.com/dimok789/homebrew_launcher/releases
| source = https://github.com/dimok789/homebrew_launcher
}}
The '''Homebrew Launcher''' is an application that allows homebrew (in ELF format) to be loaded from an SD Card and executed on the Wii U.
== Setup ==
:''Note: The Homebrew Launcher can only be run on Wii U consoles running firmwares 3.0.0 and above (except between 5.1.1 and 5.3.1, as exploits are not public for those firmwares).''

The easiest method of using the Homebrew Launcher is by using a pre-hosted payload (internet connection required), but you will still need to install data to your SD Card. Download the [https://github.com/dimok789/homebrew_launcher/releases/download/v1.2_RC3/homebrew_launcher.v1.2_RC3.zip Homebrew Launcher] from its GitHub page.
=== Step 1: Install required files to SD Card (only needs to be done once) ===
Make sure that your SD Card switch is pointed towards the top of your SD Card (in the 'unlocked' position), and insert it into your computer.

Open the downloaded archive from above, using your favourite archiving program (Windows/Mac/Linux default archivers work). There will be a folder called <code>wiiu</code> which needs to be copied to the root of your SD Card.

That's it. Eject the SD Card from your computer and insert it into your Wii U.
=== Step 2: Kernel Exploit and Installation (must be performed every reboot) ===
The Wii U's web browser contains numerous exploits that allow code execution. A simple method of installing the Homebrew Launcher without needing to configure an off-line web server is to simply visit a hosted payload sire (e.g. http://loadiine.ovh). Just follow the steps on the website to install the Homebrew Launcher payload on our console.

This installation does not void your Wii U console's warranty, as it is not a permanent hack. Opening/closing System Settings or turning off the console are acts that reload the kernel, removing the launcher from memory.

This program works by placing itself in-front of Mii Maker, as Mii Maker is granted SD Card access without any external modification. If you close the launcher, you do not need to re-install it (unless you opened System Settings or rebooted your console), just reopen Mii Maker.
== Creating/Installing Homebrew ==
Each application has its own folder, with its own files inside. For example, inside <code>sd:/wiiu/apps</code>, there could be <code>homebrew_launcher</code>, <code>ftpiiu</code> and <code>loadiine_gx2</code> folders. When you download a program for the Homebrew Launcher, look through its files until you see

Homebrew packages (folders) must contain one ELF executable, and optionally a <code>meta.xml</code> and <code>icon.png</code>. The ELF contains the code and assets for the program, and is the file launched when program is selected in HBL.

The <code>icon.png</code> file contains the logo for your program, that will show up in the list. It is a standard 256x96 PNG image, that can be simply scrapped together using Microsoft Paint or hand-crafted using Photoshop or GIMP.

The <code>meta.xml</code> file contains various metadata for the program, including the name and description. Here is an example <code>meta.xml</code>, taken from the FTPiiU program.
<code>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<app version="1">
<name>FTPiiU</name>
<coder>joedj</coder>
<version>0.3</version>
<release_date>20160331200000</release_date>
<short_description>An FTP server</short_description>
<long_description>ftpiiU is an FTP server for WiiU.
Ported to WiiU by Dimok.
Based on FTPii from joedj
</long_description>
</app>
</code>
The <code>name</code>, <code>coder</code> and <code>version</code> strings are self-explanatory. The <code>release_date</code> tag contains a timestamp in the form of <code>YYYYMMDDhhmmss</code>. For example, 8:15:29am on the 29th April 2016 would be <code>20160429081529</code>.

<code>short_description</code> is what shows up in HBL's main menu. <code>long_description</code> is what shows up in the application's own window. It can span across multiple lines, but each line must not have any spaces or tabs, as those will show up in HBL.
=== Network Play ===
HBL has also been designed to allow you to test your software by sending it over the network. Tools like <code>SendElf</code> and <code>wiiload</code> have been tested and are 100% compatible. SendElf has the advantage of having a graphical drag-and-drop interface, whereas wiiload has the advantage of being a part of devkitPPC, and is able to be placed into your compiler chain easily.
=== Developing Homebrew ===
Visit https://github.com/dimok789/hello_world to see an example of a successful HBL ELF program. Along with requiring devkitPPC (like regular libwiiu development) HBL software also relies on libogc, mainly for the ported libraries included with it.
== Themes ==
The theming functionality of HBL is not yet complete, but some aspects can still be changed. The buttons and cursors shown on screen can be changed by creating files in the <code>sd:/wiiu/apps/homebrew_launcher/resources</code> folder. See https://github.com/dimok789/homebrew_launcher/tree/master/data/images if you would like to see a base resources folder.

The background music can also be changed, simply place your new music at <code>sd://wiiu/apps/homebrew_launcher/resources/bgMusic.ogg</code>. It can be in OGG, MP3 or WAV format, but the name of the file must be <code>bgMusic.ogg</code>.
85

edits

Navigation menu