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

Changes

Jump to navigation Jump to search
Get started with a rewrite; "Configuring Environment"
Line 1: Line 1: −
Please keep in mind the following:
+
This article will go over the primary ways of developing various types of homebrew on the Wii U.
<div style="background-color:#fcfcfc; border: 1px solid #ccc; color:#000; margin-top: 15px; margin-bottom: 10px; padding: 8px; text-align:center;">
  −
<div style="font-size: 120%;">Currently, we have user and kernel-level code execution on both the main PowerPC and security CPU. We are working on documenting the [[Cafe OS#Libraries|user mode API]] and reverse engineering the rest of the system, including [[IOSU|the security OS]]. PowerPC exploits are on [https://github.com/wiiudev/libwiiu Github].</div>
  −
</div>
  −
 
  −
This article will go over the primary ways of developing various types of Homebrew on the Wii U.
      
== Configuring environment ==
 
== Configuring environment ==
A linux-esque environment is recommended. Your first step is to [http://devkitpro.org/wiki/Getting_Started/devkitPPC install devkitPPC], which you can do by following the steps for your Operating System on that link. You only have to setup devkitPPC, and should not install the gamecube/wii/libogc libraries. Instead, you should install [https://github.com/dimok789/homebrew_launcher/releases/tag/v1.0 Dimok's libogc and portlibs].
+
At this time, a linux-esque environment (<i>not</i> msys2) is required - though work into Windows support is ongoing. For now, Windows users can use [https://docs.microsoft.com/en-us/windows/wsl/install-win10 WSL] or a [https://itsfoss.com/install-linux-in-virtualbox/ virtual machine]. Your first step is to install [https://devkitpro.org/wiki/devkitPro_pacman devkitPro pacman], downloading the Linux or OSX versions as appropriate for your setup. Once installed, you can use one of <syntaxhighlight inline>dkp-pacman -S <package></syntaxhighlight> or <syntaxhighlight inline>pacman -S <package></syntaxhighlight> to install packages! Start off by installing <syntaxhighlight inline>devkitPPC</syntaxhighlight>, followed by <syntaxhighlight inline>devkit-env</syntaxhighlight> on Linux or Windows. If that worked without error, your next step is to [https://gitlab.com/QuarkTheAwesome/wiiu-fling/blob/master/README.md install wiiu-fling] using the instructions in that link. That will add some extra Wii U-related packages to pacman, including most things you'll need to develop homebrew!
 
+
 
== Making HBL Apps ==
 
== Making HBL Apps ==
 
The [[Homebrew Launcher]] is an easy platform to target for development. The two below methods are useful for making console and GUI apps respectively. In particular, lib_easy is a good place to start. Apps compiled with this method are in the ELF format.
 
The [[Homebrew Launcher]] is an easy platform to target for development. The two below methods are useful for making console and GUI apps respectively. In particular, lib_easy is a good place to start. Apps compiled with this method are in the ELF format.

Navigation menu