Alternately, you can download theMicrosoft .NET Framework Version 2.0 Redistributable Package (x86)onto your computer and install from this file. After downloading, you will have a 22MB file calleddotnetfx.exe on your computer. Run this .exe to install the .Net Framework.
For Windows, there is an installer which will do all of the setup work for you:Download: Direct link: -1.5.0.exe/downloadTo use this installer follow these instructions:
Switch examples are still being created; however, there are a growing number of examples available from the switchbrew/switch-examples GitHub repository. These are downloaded by the installer and can be found in $DEVKITPRO/examples/switch
Installing the devkitPro system on Windows is easy. Download and run the devkitPro Windows Installer. This will download and install the compiler, libraries and an editor. All relevant changes are made to your PATH so you can run the programs straight away. It also includes some example programs which we'll use to quickly test the install.
A useful example program that is not installed via the installer is the test program for DSWifi. Download the source from wifi_lib_test.zip and extract it to a directory under 'c:/devkitpro/examples'.
The emulator can be downloaded from the DeSmuME download page. The latest version for Windows is currently 0.7.2 and it's what I used for testing. The download is a .zip file containing the executable. Copy the contents of this .zip file to a directory of your choice. Running the DeSmuME.exe program will start it.
On Linux you'll have to download and install things manually. Create a directory where you want to install the software. I used one called 'devkitPro', located off my home directory.Download the latest version of devkitARM from the sourceforge repository. Extract this in the 'devkitPro' directory you created. This should create a subdirectory called 'devkitARM' containing the compiler for ARM:
Download and extract the nds examples which contains sample programs to build and try:cd ~/devkitPromkdir examplescd examplestar jxvf ~/nds-examples-20071023.bz2Another useful example is the test program for DSWifi. Download the source from wifi_lib_test.zip and install it in a directory under 'examples':cd ~/devkitPro/examplesunzip ~/wifi_lib_test.zipTo be able to run the compiler tools from the shell you'll need to set some environment variables. Either set these manually each time you want to do some development, or have them set from within your shells initialization file (probably .bash_rc or .profile):export DEVKITPRO=~/devkitProexport DEVKITARM=$DEVKITPRO/devkitARMexport PATH=$PATH:$DEVKITARM/binThe emulator can be downloaded from the DeSmuME download page. I downloaded the source and built from that but there are also binary builds available.
Our first step in order to code for the Wii is to set up the programming environment and for this we are required to download DevKitPro. DevKitPro is a compilation of compilers, useful applications and example source code which will all be set up for us at a click of a button. For those wondering what a compiler is, a compiler is an application which can convert our code into a machine executable format.
Firstly we have Programmers Notepad (devkitpro/Programmers Notepad) which is where we will be writing our code in. Programmers notepad makes things a whole lot easier for us by using syntax highlighting, showing line numbers, grouping files into a project, etc.
The next application we have is called gcube (devkitpro/emulators/gcube) which is a gamecube emulator. This application is quite handy as you can test most of the code that you develop on it. I find it much easier when writing code to test things out on gcube instead of having to turn on the Wii and test it that way. I used gcube to test out the two homebrew games that I made, which were Simon and Matching Cards.
The last thing that is handy is the gamecube and Wii example source code (devkitpro/examples). The source code gives us a template which we can start our applications on. Example source code for the gamecube includes how to access the dvd, memory card, network, etc.
3DS examples are still being created; however, there are a growing number of examples available from the devkitPro/3ds-examples GitHub repository. These are downloaded by the installer and can be found in $DEVKITPRO/examples/3ds
Interestingly enough, when I go to the C:/devkitPro folder, I find that I have no devkitpro related files in there whatsoever - just an msys2 folder. I did manage to find a repository online with the files that would have been installed... but when I try to build a project, it says that it can't find the appropriate .specs file. 2b1af7f3a8