Let's try to make a Wii U Toolchain / SDK for creating rpx/rpl.
Go to file
jranderia3 c2682dd964
whb/gfx: Use 4:3 TV buffers on 4:3 TVs (#383)
* square monitor support

* Update gfx.c

Fix typo

* do it using gx2 instead of avm

* Update gfx.c

remove some newlines

* Update gfx.c

newline fix

* Update gfx.c
2024-06-14 20:04:58 +02:00
.github/workflows docs: Bump runner version (#342) 2023-12-22 20:53:56 +01:00
cafe nn/hpad: Add initial headers (#344) 2024-02-22 12:47:28 +01:00
docs docs: properly handle preprocessing (#341) 2023-12-22 19:47:13 +01:00
include gx2: Add GX2GetSystemTVAspectRatio 2024-06-11 17:21:14 +02:00
libraries whb/gfx: Use 4:3 TV buffers on 4:3 TVs (#383) 2024-06-14 20:04:58 +02:00
samples Add more fields to nn::swkbd 2022-02-10 10:25:17 +00:00
share Finalize compile commands (#332) 2023-11-08 13:55:24 +00:00
tests gx2: Add GX2AllocateTilingApertureEx and GX2FreeTilingAperture 2024-06-10 20:01:54 +02:00
.editorconfig Add quick .editorconfig 2020-05-10 15:59:40 +10:00
.gitignore Buildsystem: add support for creating .wuhb files 2021-03-04 19:48:45 +01:00
CHANGELOG.md wut 1.5.0 changes 2024-04-22 19:54:53 +01:00
LICENSE.txt License change to zlib 2022-08-02 23:07:24 +02:00
Makefile nn_idb: move include into libraries 2024-04-27 13:38:33 +02:00
README.md License change to zlib 2022-08-02 23:07:24 +02:00

Build status

wut

Let's try to make a Wii U Toolchain / SDK for creating rpx/rpl.

Licensed under the terms of the zlib License (see LICENSE.txt).

Install

It is recommended to follow devkitPro's Getting Started guide, which will guide you through setting up a suitable homebrew development environment. devkitPro Pacman is exclusively used to manage installed homebrew development components.

The following command installs all necessary packages for Wii U homebrew development, including wut:

(sudo) (dkp-)pacman -Syu --needed wiiu-dev

Usage

See samples for examples of how to use wut.

devkitPro CMake provides some helpers for your build:

  • wut_create_rpx(target) - Will create an .rpx file from your CMake target generated by add_executable
  • wut_create_rpl(target) - Will create an .rpl file from your CMake target generated by add_executable
  • wut_add_exports(target exports.def) - Will add exports specified in exports.def for the given target

Building wut projects

Building wut projects with make

You can easily build any devkitPro Makefile based wut project with the following commands:

cd samples/make/helloworld
make

Building wut projects with CMake

You can easily build any devkitPro CMake based wut project with the following commands:

cd samples/cmake/helloworld
mkdir build && cd build
/opt/devkitpro/portlibs/wiiu/bin/powerpc-eabi-cmake ../
make

A minimal CMakeLists.txt file for a C++ project might look like:

cmake_minimum_required(VERSION 3.7)
project(helloworld_cpp CXX)

add_executable(helloworld_cpp main.cpp)
wut_create_rpx(helloworld_cpp)

Building from source

It is strongly recommended to stick to stable released packages installed with devkitPro Pacman.

Building wut is simple as running the following commands:

make
(sudo -E) make install