Changes

Jump to: navigation, search

Devkitppc setup (Windows)

54 bytes added, 23 February
m
Updated emulator information
== Installing devkitPPC ==
* Go to [httphttps://sourceforge.net/projectprojects/devkitpro/files/Automated%20Installer/showfiles.php?group_id=114505&package_id=160396 this page] and download the latest Windows installer.
* Let it install to the C:\devkitPro\ to make it easier to follow the tutorial for now.
* When installing it, you can deselect devkitARM and devkitPSP
== Run the Hello World Example on the emulator ==
* Now, browse to the helloworld folder. There should be a helloworld.dol file here now.
* Run the helloworld.dol in an emulator. As of 3123-MarFeb-20092019, emulators for the Wii are not 100% mostly compatible and feature complete. [[Dolphin]] can successfully run some boot all GameCube games, most Wii games and most homebrew. See the [[Dolphin]] page for more information. Another emulator is [[Gcube]]. Gcube does not run homebrew compiled in Wii mode, but can run homebrew if compiled for the GameCube mode. See the [[Gcube]] page for more information.
== Run the Hello World Example on the Wii using wiiload ==
It can be used to set some environement variable for the compiler/linker
<source lang="bash">
export CC=powerpc-eabi-gcc
 
export CXX=powerpc-eabi-g++
 
export DEVKITPRO=/c/usr/devkitpro
 
export DEVKITPPC=$DEVKITPRO/devkitPPC
 
export SDL_CONFIG=$DEVKITPRO/libogc/bin/sdl-config
 
export WIILOAD="tcp:192.168.1.57"
 
export PATH="$DEVKITPPC/bin:$DEVKITPPC/powerpc-eabi/bin:$DEVKITPPC\libexec\gcc\powerpc-eabi\4.4.3:$PATH"
 
export LDFLAGS="-L$DEVKITPRO/libogc/lib/wii"
</source>
Set the $DEVKITPRO variable to the devkitpro directory and the WIILOAD with the Wii IP.
1
edit

Navigation menu