Go to file
Maschell 26cb160f9c Format via clang-format 2022-02-12 16:18:22 +01:00
.github/workflows Format via clang-format 2022-02-12 16:18:22 +01:00
include Format via clang-format 2022-02-12 16:18:22 +01:00
source Add RL_UnmountCurrentRunningBundle support 2021-10-02 11:38:36 +02:00
.clang-format Format via clang-format 2022-02-12 16:18:22 +01:00
.gitignore first commit 2021-01-16 23:00:50 +01:00
Dockerfile Format via clang-format 2022-02-12 16:18:22 +01:00
Dockerfile.buildlocal Format via clang-format 2022-02-12 16:18:22 +01:00
Makefile Version bump 2021-04-06 16:37:02 +02:00
README.md Format via clang-format 2022-02-12 16:18:22 +01:00

README.md

Publish Docker Image

librpxloader

Requires the RPXLoadingModule to be running via WUMSLoader. Requires wut for building. Install via make install.

Usage

When linking, make sure to add the librpxloader.ld file to the LDFLAGS.

Example:

LDFLAGS	=	-g $(ARCH) $(RPXSPECS) -Wl,-Map,$(notdir $*.map) -T$(WUMS_ROOT)/share/librpxloader.ld

Make also sure to define

WUMS_ROOT := $(DEVKITPRO)/wums

and add -lrpxloader to LIBS and $(WUMS_ROOT) to LIBDIRS.

After that you can simply include <rpxloader.h> to get access to the RPXLoader functions.

Use this lib in Dockerfiles.

A prebuilt version of this lib can found on dockerhub. To use it for your projects, add this to your Dockerfile.

[...]
COPY --from=wiiuenv/librpxloader:[tag] /artifacts $DEVKITPRO
[...]

Replace [tag] with a tag you want to use, a list of tags can be found here. It's highly recommended to pin the version to the latest date instead of using latest.

Format the code via docker

docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./source ./include -i