From 246fd8301b6f45cbeb7edbe8f5d7bd41b4affd6a Mon Sep 17 00:00:00 2001 From: saulfabreg Wii VC Project Date: Tue, 20 Feb 2024 09:52:34 -0500 Subject: [PATCH] Few more updates regarding on Wii compilation docs - Either devkitPPC r29 or r29-1 can be used for compiling, as the libretro toolchains have devkitPPC r29-1 for compiling for Wii/Wii U. - The command --recursive is required to get all the files of the repo, including the external dependencies. - Added a specific instruction for cores which have a dedicated Libretro makefile (example, Snes9x). --- docs/development/retroarch/compilation/wii.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/development/retroarch/compilation/wii.md b/docs/development/retroarch/compilation/wii.md index 74d1e6451e..bf33cda2b4 100644 --- a/docs/development/retroarch/compilation/wii.md +++ b/docs/development/retroarch/compilation/wii.md @@ -2,7 +2,7 @@ ## Environment configuration -You need to have installed [devkitPro](https://github.com/devkitPro/installer/releases), the homebrew Nintendo Wii SDK (libOGC) and the devkitPPC (r29) toolchain on your computer. +You need to have installed [devkitPro](https://github.com/devkitPro/installer/releases), the homebrew Nintendo Wii SDK (libOGC) and the devkitPPC (r29 or r29-1) toolchain on your computer. ## RetroArch Compilation @@ -10,7 +10,7 @@ You need to have installed [devkitPro](https://github.com/devkitPro/installer/re Clone RetroArch's repository from [GitHub](https://github.com/libretro/RetroArch) - git clone https://github.com/libretro/RetroArch.git retroarch + git clone https://github.com/libretro/RetroArch.git retroarch --recursive cd retroarch For subsequent builds you only need to pull the changes from the repo @@ -62,7 +62,7 @@ This process will also automate the packaging process for you. ### Fetching Cores -The easiest way to fetch all the cores is to use libretro-super. Download libretro-super from github and run +The easiest way to fetch all the cores is to use libretro-super. Download libretro-super from [GitHub](https://github.com/libretro/libretro-super) and run ./libretro-fetch.sh @@ -81,7 +81,7 @@ Once finished, you can find the libretro cores inside directory `dist/wii`. Another way to compile cores, is by cloning the core's repository (for example, FCEUmm) from [GitHub](https://github.com/orgs/libretro/repositories). In this case, to clone FCEUmm-Libretro repo: - git clone https://github.com/libretro/libretro-fceumm.git libretro-fceumm + git clone https://github.com/libretro/libretro-fceumm.git libretro-fceumm --recursive cd libretro-fceumm For subsequent builds you only need to pull the changes from the core's repo (ex., FCEUmm) @@ -95,4 +95,8 @@ To compile the core for Wii (in this case, FCEUmm) run: make platform=wii +Some cores (example, Snes9x) have a dedicated makefile for compile as a Libretro core. To compile the core for Wii with the dedicated Libretro makefile run: + + make -f Makefile.libretro platform=wii + Rename the compiled core as 'libretro_wii.a', then put it in the RetroArch directory and follow the instructions in the "Building RetroArch separately" section.