libogc2
libogc2 copied to clipboard
C library for GameCube and Wii targeting devkitPPC.
libogc2
Projects using libogc2
- CleanRip - GameCube/Wii disc image creation tool
- GCMM - GameCube memory card manager
- gekkoboot - GameCube bootloader
- Swiss - Swiss army knife of GameCube homebrew
- Wii64/Cube64 - Nintendo 64 emulator
- WiiSX/CubeSX - PlayStation 1 emulator
- Xeno Crisis - Retro-style arena shooter
Subprojects
cubeboot-tools, gamecube-examples, gamecube-tools, libfat, libntfs, wii-examples
Installing
Follow the instructions from pacman-packages.
sudo (dkp-)pacman -S libogc2 libogc2-docs libogc2-examples
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.
Building
-
Existing packages should first be uninstalled if already installed.
sudo (dkp-)pacman -R --cascade libogc2(-git) -
Install build dependencies.
sudo (dkp-)pacman -S --needed devkitPPC gamecube-tools ppc-libmad -
Clone and build source repositories.
git clone https://github.com/extremscorner/libogc2.git cd libogc2 make sudo -E make installgit 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
sudo (dkp-)pacman -Syu
cd libogc2
git pull
sudo -E make uninstall
sudo -E make clean
make
sudo -E make install
cd libfat
git pull
make ogc-clean
make ogc-release
sudo -E make ogc-install
