Any guide to compile Retroarch in Wii (Devkit Pro)

I want to compile Retroarch for Wii but just for fun- also,I know I need Devkitpro, I’ve installed it, I’ve downloaded sources from github. but I don’'t know if I need more libraries to install.

After that, how do I compile? There are many cores, several files, how do I start? commands to use? folder project order? documentation?

I’m so sorry if I’m asking too much, but I really want to try this and any help will be so appreciated!

Thanks!

AFAIK, there’s no official compile guide for Wii, but I think devkitpro is the only dependency. You’ll need to build at least one core first, since they’re statically linked on Wii, then you can build RetroArch itself using the Makefile.wii.

A word of warning, though: there are currently some unfixed issues with the Wii code. Specifically, I know input in menus is set to only work with the specified device, so, for example, if you set it to use a gamecube controller and don’t have one plugged in, you’ll be stuck because it won’t accept any other inputs. So, feel free to check it out, but be aware that there will be bugs at the moment.

First thanks.

Next, got it with bugs, this is an unofficial build, bugs expected.

OK, that helped a lot, I could start to compile now , I’m on /RetroArch project with make -f Makefile.wii, but I get an error now, “… cannot find -lretro_wii”, am I missing a library? Where can I get it?

Again, any help will be appreciated, thanks!!

I think that’s asking for a libretro core to link. Make sure you’ve already built one. I’m not sure where it needs to go, but I would guess in the same directory as the Makefile…?

No, it’s not on makefile directory, I’ve only found one library: libstlport_static.a

cd to libretro-super run libretro-build-wii.sh cd to retroarch/dist-scripts cp wii cores here run wii-cores.sh

everything should en up in retroarch/wii/pkg

I’m also not sure if these steps were correct.

EDIT: removed comment about FBA, that should be fixed now

$ cd foo/bar/libretro-super #change to libretro-super dir
$ ./libretro-fetch.sh # update
$ ./libretro-build-wii.sh # build cores
$ cd retroarch/dist-scripts # change to RA dir
$ cp ../../dist/wii/* ./ # copy cores
$ ./wii-cores.sh # build Wii dols

ok, thanks, what libraries besides libogc do I need?

The perl script from http://sourceforge.net/projects/devkitp … Installer/ is what I used on Linux to get things going, so I think that is just the default stuff.

First thanks a lot mackal, that helped me a lot, that was a huge info, at least to me.

This is what I did and have:

-OS: Win7 64 -Have installed devkitpro 1.5.0 -libogc -After that, I did what you told me in msys.bat:


$ cd foo/bar/libretro-super #change to libretro-super dir
$ ./libretro-fetch.sh # update
$ ./libretro-build-wii.sh # build cores
$ cd retroarch/dist-scripts # change to RA dir
$ cp ../../dist/wii/* ./ # copy cores
$ ./wii-cores.sh # build Wii dols

libretro-fetch.sh -> At first, it didn’t compile, I needed to install git, after this, everything was fine. libretro-build-wii.sh -> Started fine, but when it’s on second project to install, just says “Snes9x-next not fetched skipping …”, then I commented the previous line (project) with #, but it compiles, where is my error?

Update: Forget what I said … it’s working now, I just needed to update dekitPro, THANKS!!!