Skip to content

Commit

Permalink
Merge pull request #921 from saulfabregwiivc/patch-2
Browse files Browse the repository at this point in the history
Few more updates regarding on Wii compilation docs
  • Loading branch information
fpscan authored Feb 24, 2024
2 parents 3df7d8c + 246fd83 commit 2a46f6a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docs/development/retroarch/compilation/wii.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

## 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

### Fetching RetroArch

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
Expand Down Expand Up @@ -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

Expand All @@ -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)
Expand All @@ -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.

0 comments on commit 2a46f6a

Please sign in to comment.