In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Homebrew development tutorials: Difference between revisions

From WiiBrew
Jump to navigation Jump to search
GabberNL (talk | contribs)
No edit summary
m Switched dead "BrickMii tutorials" link to wayback machine.
 
(33 intermediate revisions by 15 users not shown)
Line 3: Line 3:
If you edit this page, try to include some 'review' of the tutorial, please.
If you edit this page, try to include some 'review' of the tutorial, please.


==Preparation==
== Tutorials about everything ==
Getting started. DevKit, Installing new libs, etc.
These tutorials cover many aspects of developing applications for the Wii.
{| class="apptable"
! width="25%" | Title
! Description
! width="20%" | Author
|-
|[http://www.codemii.com/category/wii-programming-tutorials/ CodeMii Tutorial]
|This tutorial covers '''setting up DevKitPPC''' in Windows, writing '''simple code''', the use of '''controllers''', '''arrays''', '''images''', the '''FAT-filesystem''', '''xml''' and '''sound'''.
|[[User:teknecal|teknecal]]
|-
|[http://www.entuwii.net/foro/viewtopic.php?f=6&t=94 Curso de Programación]
|This '''Spanish tutorial''' covers everything from '''setting up DevKitPPC''', to creating '''sprites''', to '''collision''' and '''sound'''.
|
|-
|[https://web.archive.org/web/20161128185755/http://gxr.brickmii.com/Tutorial/ BrickMii tutorials]
| An incomplete tutorial mostly on GX. Some pages are completed, others are not.
|
|-
|[https://youtube.com/playlist?list=PL_CdIPK7HDFVtPA4cjuTMBzyi33rOrqPP Youtube Playlist Tutorial]
|This is a '''video tutorial''' that plans on covering the '''basics and fundimentals''' for creating Wii Homebrew. Unfinished.
|[[User:TheN00b21|TheN00b21]]
|}


===Getting Started===
== Tutorials on preparation ==
Installing devkitPPC, Setup your project folder, Compile the HelloWorld Example,  Run the HelloWorld Example on the emulator, Run the HelloWorld Example on the Wii using wiiload.
Getting started. DevKit, installing new libraries, etc.
[[DevkitPPC]] is the part of the [[DevkitPPC]] toolchain used for Wii and Gamecube development. These guides describe setting up such a system:


Read [[Getting_Started_with_devkitppc]]
{| class="apptable"
! width="25%" | Title
! Description
! width="20%" | Author
|-
|[https://devkitpro.org/wiki/Getting_Started Getting Started]
|The '''Getting Started''' section on the official devkitPPC wiki.
|
|-
|[http://scognito.wordpress.com/2009/09/05/configuring-eclipse-for-wii-development/ Configuring Eclipse for Wii development]
| This tutorial covers installation and configuration of '''Eclipse on Linux''' (can also be applied to '''Windows''' with few path changes). It includes instructions on how configure and checkout '''SVN''' repositories.  NOTE!!!!!! Change all references to powerpc-gecko to powerpc-eabi
|[[User:Scognito|Scognito]]
|}


===DevKitPro===
== Other tutorials ==
More focused on Windows.
{| class="apptable"
! width="25%" | Title
! Description
! width="20%" | Author
|-
|[[Assembler|Assembler Tutorial]]
|A tutorial and an application note how to '''develop assembler programs''' and inline assembler code for the Wii and the PowerPC processor.
|[[User:Georgp24|Georgp24]]
|-
|[[SDL Wii/tutorial|SDL Tutorial]]
|A simple but currently incomplete tutorial on '''[[SDL Wii|SDL]]'''.
|[[User:GabberNL|GabberNL]]
|-
|[[Libwiisprite/tutorial|Programming with Libwiisprite]]
|An extensive '''[[libwiisprite]]''' tutorial. It simplifies the first steps as well as teaches some advanced concepts.
|[[User:WiiPhlex|WiiPhlex]]
|-
|[http://arikadosblog.blogspot.com/2009/06/coding-section.html Wii homebrew development tutorials]
|Tutorials on '''C++ programming''', outputing '''text with libwiisprite''', programing with the [[Wii Balance Board]] and '''playing mp3-files''' with [[libogc]]'s MP3Player. Hopefully more to come.
|[[User:Arikado|Arikado]]
|-
|[[Libwiigui/tutorial|Libwiigui tutorial]]
|Describes how to use the '''[[libwiigui]]-library'''
|[[User:Jsmaster|Jmaster]]
|-
|[https://web.archive.org/web/20130704023828/http://www.dev-fr.org/index.php/topic,4870.0.html 3D tutorial with GRRLIB]
|Explains how to make a 3D obj viewer.  This tutorial does assume you know a bit about how 3D works and quite a few of the links in the tutorial are dead.  The tutorial is in French and translating it messes up the code.
|[[User:EvilTroopa|EvilTroopa]]
|}


Read [[http://wiki.devkitpro.org/index.php/Getting_Started Getting Started]]
[[Category:Development]]
 
===CodeMii Tutorial 1: Setting Up===
This tutorial covers setting up the programming/compiling environment.
 
Read [[http://www.codemii.com/2008/08/10/tutorial-1-setting-up-the-environment/ http://www.codemii.com/2008/08/10/tutorial-1-setting-up-the-environment/]]
 
==C, C++ and MakeFiles==
 
===CodeMii Tutorial 2: Makefiles, Basics of C, Compiling source code and Dealing with errors===
Read [[http://www.codemii.com/2008/08/16/tutorial-2-makefiles-basics-of-c-compiling-source-code-and-dealing-with-errors/ http://www.codemii.com/2008/08/16/tutorial-2-makefiles-basics-of-c-compiling-source-code-and-dealing-with-errors/]]
 
===CodeMii Tutorial 7: Using Arrays===
Quickly covers how we can utilize arrays for holding information about games, where the positions of objects remains static.
 
Read [[http://www.codemii.com/2008/09/28/tutorial-7-using-arrays/ http://www.codemii.com/2008/09/28/tutorial-7-using-arrays/]]
 
==Graphics==
 
===CodeMii Tutorial 5: JPEG Images===
Covers how to display JPEG images. Not the best way to show game sprites... but get's you started (or at least, in contact with) on using other external libraries, arrays, memset, pointers.
 
Read [[http://www.codemii.com/2008/09/07/tutorial-5-jpeg-images/ http://www.codemii.com/2008/09/07/tutorial-5-jpeg-images/]]
 
===CodeMii Tutorial 8: Image Changes===
Covers how you can easily change a button from yes to no, based on the user's input.
 
Read [[http://www.codemii.com/2008/11/09/tutorial-8-image-changes/ http://www.codemii.com/2008/11/09/tutorial-8-image-changes/]]
 
==Input==
 
===CodeMii Tutorial 3: Controller Input===
How to detect button presses on the Wiimote. Also on the GameCube controller for use on the emulator.
 
Read [[http://www.codemii.com/2008/08/24/tutorial-3-controller-input/ http://www.codemii.com/2008/08/24/tutorial-3-controller-input/]]
 
===CodeMii Tutorial 4: Cursors===
Start by creating a box cursor on the screen, then moving it with the analog on GameCube controller. Finally it enables the IR mode on the Wiimote and use that for positioning the box cursor.
 
Read [[http://www.codemii.com/2008/08/31/tutorial-4-cursors/ http://www.codemii.com/2008/08/31/tutorial-4-cursors/]]
 
===CodeMii Tutorial 6: Button Detection===
Covers displaying an image as the mouse cursor and how to detect button clicking.
 
Read [[http://www.codemii.com/2008/09/14/tutorial-6-button-detection/ http://www.codemii.com/2008/09/14/tutorial-6-button-detection/]]
 
==Filesystem==
 
===CodeMii Tutorial 10: Using the Filesystem===
Covers initializing the filesystem, creating/deleting directories/files and reading/writing files.
 
Read [[http://www.codemii.com/2009/03/02/tutorial-10-using-the-filesystem/ http://www.codemii.com/2009/03/02/tutorial-10-using-the-filesystem/]]
 
==Tips==
===CodeMii Tutorial 11: Structures===
This small tutorial is about structures and how to use them.
 
Read [[http://www.codemii.com/2009/03/15/tutorial-11-structures/ http://www.codemii.com/2009/03/15/tutorial-11-structures/]]
 
==Game Development==
===CodeMii Tutorial 9: Simon Explained===
This tutorial goes through the Simon game and gives a brief explanation of what things do. Focuses on how to use the code we know to achieve the things we are after.
 
Read [[http://www.codemii.com/2008/12/30/tutorial-9-simon-explained/ http://www.codemii.com/2008/12/30/tutorial-9-simon-explained/]]
 
===Other Tutorials===
This one covers everything. Is in Spanish. From setting up DevKitPro to creating sprites, to collision and sound.
 
Read [[http://www.entuwii.net/foro/viewtopic.php?f=6&t=94 http://www.entuwii.net/foro/viewtopic.php?f=6&t=94]]

Latest revision as of 05:50, 17 February 2024

Here is a list of tutorials available here or on external sites. Read Developer tips sooner than later.

If you edit this page, try to include some 'review' of the tutorial, please.

Tutorials about everything

These tutorials cover many aspects of developing applications for the Wii.

Title Description Author
CodeMii Tutorial This tutorial covers setting up DevKitPPC in Windows, writing simple code, the use of controllers, arrays, images, the FAT-filesystem, xml and sound. teknecal
Curso de Programación This Spanish tutorial covers everything from setting up DevKitPPC, to creating sprites, to collision and sound.
BrickMii tutorials An incomplete tutorial mostly on GX. Some pages are completed, others are not.
Youtube Playlist Tutorial This is a video tutorial that plans on covering the basics and fundimentals for creating Wii Homebrew. Unfinished. TheN00b21

Tutorials on preparation

Getting started. DevKit, installing new libraries, etc. DevkitPPC is the part of the DevkitPPC toolchain used for Wii and Gamecube development. These guides describe setting up such a system:

Title Description Author
Getting Started The Getting Started section on the official devkitPPC wiki.
Configuring Eclipse for Wii development This tutorial covers installation and configuration of Eclipse on Linux (can also be applied to Windows with few path changes). It includes instructions on how configure and checkout SVN repositories. NOTE!!!!!! Change all references to powerpc-gecko to powerpc-eabi Scognito

Other tutorials

Title Description Author
Assembler Tutorial A tutorial and an application note how to develop assembler programs and inline assembler code for the Wii and the PowerPC processor. Georgp24
SDL Tutorial A simple but currently incomplete tutorial on SDL. GabberNL
Programming with Libwiisprite An extensive libwiisprite tutorial. It simplifies the first steps as well as teaches some advanced concepts. WiiPhlex
Wii homebrew development tutorials Tutorials on C++ programming, outputing text with libwiisprite, programing with the Wii Balance Board and playing mp3-files with libogc's MP3Player. Hopefully more to come. Arikado
Libwiigui tutorial Describes how to use the libwiigui-library Jmaster
3D tutorial with GRRLIB Explains how to make a 3D obj viewer. This tutorial does assume you know a bit about how 3D works and quite a few of the links in the tutorial are dead. The tutorial is in French and translating it messes up the code. EvilTroopa