This document is intended to help you setup a PowerBlocks SDK installation on your machine. After that a short "Hello World" example will be shown to help build an executable for the first time and run it on the Wii.
PowerBlocks is a SDK providing the compilers, runtime, and various hardware libraries needed for Wii development.
It is recommended to have an installation of Dolphin Emulator for easy testing.
You will want a Wii with the ability to launch your own applications. For setting up a modded Wii, read the Wii Hacks Guide.
An SD card will be needed as it is recommended to launch PowerBlocks generated executables from the Wii's SD card slot for filesystem support.
PowerBlocks is designed to run in a "Linux-like" environment.
Provided are various methods for installing and using PowerBlocks. Choose from one of the various installation options below.
PowerBlocks provides releases for Linux that are downloadable from the releases page.
PowerBlocks provides releases for Windows that are downloadable from the releases page.
PowerBlocks provides ready to go Docker packages for consistent use across all platforms.
The example project created from the installation option of choice generates HelloWorld.elf.
This can be launched on both emulator and Wii hardware for testing.
You will need to install the Homebrew Channel to launch it from here.
The Wii launches executables from the SD card. On a FAT32 SD card, or Dolphin's virtual SD card, create the following folder tree.
If using Dolphin, make sure a virtual SD card is enabled, and syncing its contents to the folder where you plan to install it in.
This file is generated by PowerBlocks. Use the HelloWorld.elf from earlier.
NOTE: It is common to see a .dol file for this. PowerBlock's currently uses .elf and does not ship with a .dol converter tool, though any converter should work.
This file contains information and the configuration of the program. Here is an example:
This is an optional 128x48 PNG icon of your program to be displayed from the launcher's menu.
Now you can run the executable by entering the Homebrew Channel and launching it.
You can also launch it directly from Dolphin by opening the ELF with Dolphin.
For the HelloWorld example you should see a blank screen with the current text:
This has covered installing PowerBlocks, generating an executable, and launching it.
Feel free to dive into more of the example programs to see how to work with various aspects of the system.