RepositoryC
extremscorner

extremscorner/libogc2

C library for GameCube and Wii targeting devkitPPC.

102stars
30forks
3issues
2views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: gamecube-homebrew

#1 Repository of the week

1
TINIX TRENDING·Topic: wii-homebrew

#1 Repository of the week

3
TINIX TRENDING·Topic: wii

#3 Repository of the week

libogc2

libogc2 build Extrems' Corner.org Discord

libogc2 contains wide-ranging fixes and additions to most subsystems of libogc, provides hardware enablement for most new (and old) Nintendo GameCube accessories on the market or in prototype stage, and enables greater interoperability with Swiss.

It is largely API compatible with libogc 2.1.0 and earlier.

Projects using libogc2

Unofficial ports

Subprojects

BtEmbedded, cubeboot-tools, Embedded Game Controller, gamecube-examples, gamecube-tools, GRRLIB, libansnd, libdvm, libfat, libntfs, OpenGX, SDL, wii-examples

Installing

Follow the instructions from pacman-packages.

sudo (dkp-)pacman -S libogc2 libogc2-docs libogc2-examples

When asked for a libogc2-libfat provider, libogc2-libdvm is generally preferred, but libogc2-libfat may be chosen if you have concerns regarding exFAT's legal status. If you have a need for libogc2-libdvm without exFAT support, please open an issue.

No code changes should be necessary when migrating from libfat to libdvm.

Migrating from libogc

GNU Make

-include $(DEVKITPPC)/gamecube_rules
+include $(DEVKITPRO)/libogc2/gamecube_rules
-include $(DEVKITPPC)/wii_rules
+include $(DEVKITPRO)/libogc2/wii_rules

CMake

sudo (dkp-)pacman -S libogc2-cmake

DKP_OGC_PLATFORM_LIBRARY may be set to libogc or libogc2 to build projects using either thereafter.

GitHub Actions

-    container: devkitpro/devkitppc:latest
+    container: ghcr.io/extremscorner/libogc2:latest

Building

Pacman

git clone https://github.com/extremscorner/libogc2.git
cd libogc2
makepkg -si
git clone --recurse-submodules https://github.com/extremscorner/libdvm.git
cd libdvm
makepkg -si

GNU Make

  1. Existing packages should first be uninstalled if already installed.

    sudo (dkp-)pacman -R --cascade libogc2(-git)
    
  2. Install build dependencies.

    sudo (dkp-)pacman -S --needed devkitPPC gamecube-tools ppc-libmad
    
  3. Clone and build source repositories.

    git clone https://github.com/extremscorner/libogc2.git
    cd libogc2
    make
    sudo -E make install
    
    git clone https://github.com/extremscorner/libfat.git
    cd libfat
    make ogc-release
    sudo -E make ogc-install
    

Using sudo is not necessary with MSYS2.

Upgrading

Pacman

cd libogc2
git pull
makepkg -si
cd libdvm
git pull --recurse-submodules
makepkg -si

GNU Make

  1. Supporting packages should first be upgraded.

    sudo (dkp-)pacman -Syu
    
  2. Clean, pull and rebuild source repositories.

    cd libogc2
    sudo -E make uninstall
    sudo -E make clean
    git pull
    make
    sudo -E make install
    
    cd libfat
    make ogc-clean
    git pull
    make ogc-release
    sudo -E make ogc-install
    

Similar Projects

Discover other similar projects and AI models.

RepositoryC
devkitPro/libogc

C Library for Wii and Gamecube homebrew

475
Nov 7, 2026
RepositoryRust
mq1/TinyWiiBackupManager

⭐ A tiny game backup and homebrew app manager for the Wii

767
Nov 30, 2026
RepositoryC
ArtemioUrbina/240pTestSuite

A homebrew software suite for video game consoles developed to help in the evaluation of upscalers, upscan converters, line doublers and of course TV processing of 240p video. The Wii and Dreamcast versions have modes for 480i and 480p evaluation as well.

374
Nov 25, 2026
RepositoryC
wiidev/d2x-cios

A custom IOS for the Wii and Wii-U console, i.e. an IOS modified to add some new features not available in the official IOS.

218
Mar 22, 2025
RepositoryC
GRRLIB/GRRLIB

Wii coding library

180
Oct 12, 2026
RepositoryC
2003scape/rsc-c

🍫 runescape classic client ported to C

138
Oct 19, 2026
RepositoryC
Kannagi/LMP3D

Multi Platform 3D Library for PlayStation 2 /Dreamcast / Game Cube /Wii / PSP

109
Feb 1, 2021
RepositoryC++
dolphin-emu/dolphin

Dolphin is a GameCube / Wii emulator, allowing you to play games for these two platforms on PC with improvements.

15.9k
Nov 29, 2026
RepositoryRust
encounter/objdiff

A local diffing tool for decompilation projects

628
Oct 19, 2026