How to develop a homebrew application for Nintendo Wii

31
How to develop a Homebrew Application for Nintendo Wii @KnightBaron

description

A brief guide to homebrewing Nintendo Wii application

Transcript of How to develop a homebrew application for Nintendo Wii

Page 1: How to develop a homebrew application for Nintendo Wii

How to develop a Homebrew Application for Nintendo Wii

@KnightBaron

Page 2: How to develop a homebrew application for Nintendo Wii

Introduction

Page 3: How to develop a homebrew application for Nintendo Wii

Why developing for Nintendo Wii?

Wiimote, an interesting controller You can also use Wiimote with computer

Extending your Wii capabilities Enable you to do more things right from

your living room It’s fun!

Trivia: There’s also a Linux distro for Nintendo Wii

Page 4: How to develop a homebrew application for Nintendo Wii

Ways to develop an application for Nintendo Wii

Nintendo’s SDK Web Application

Each user need to buy “Internet Channel” from Wii Shop

Can’t access low-level resource Homebrew Application

It’s Free! No support from Nintendo

Page 5: How to develop a homebrew application for Nintendo Wii

Homebrew Application

Why homebrew? It’s free. You don’t need to pay royalty fee

to Nintendo. You don’t even need to buy the SDK.

It’s open source Active community

Is it legal? Yes, non of the code used in homebrew

development comes from Nintendo It shouldn’t void your Wii’s waranty.

Page 6: How to develop a homebrew application for Nintendo Wii

Homebrew Application

Is it safe? It’s quite safe as long as you follow the

instruction of the program If you code it yourself. It’s safe as long

as you don’t mess with Wii’s internal NAND Flash▪ Even if you end up messed your Wii. There’re

many tools to help you revive it

Page 7: How to develop a homebrew application for Nintendo Wii

How it’s works?

Code and compile an application with free-opensource libraries.

Feed custom code we compiled to Wii with Loader Twilight hack The Homebrew Channel Banner Bomb Others loader

Page 8: How to develop a homebrew application for Nintendo Wii

Preparing you Wii for Homebrew

Install the Homebrew Channel (HBC) http://hbc.hackmii.com/ There’re many method to install depend

on your version of Nintendo Wii Install optional hacks (DVDX, PatchMii,

etc. ) Load an application

SD Card (SDHC is supported) TCP Loader (Mainly use for debugging /

testing)

Page 9: How to develop a homebrew application for Nintendo Wii

Using the Homebrew Channel

Page 10: How to develop a homebrew application for Nintendo Wii

Using the Homebrew Channel

Page 11: How to develop a homebrew application for Nintendo Wii

Using the Homebrew Channel

Page 12: How to develop a homebrew application for Nintendo Wii

Using the Homebrew Channel

Page 13: How to develop a homebrew application for Nintendo Wii

Using the Homebrew Channel

Page 14: How to develop a homebrew application for Nintendo Wii

Using the Homebrew Channel

Page 15: How to develop a homebrew application for Nintendo Wii

Advices on Homebrew

It is strongly recommended that you DO NOT update your Wii through Nintendo

I recommends everyone to stay with System Menu 3.2 unless you really need those new features presented in the newer System Menu

Page 16: How to develop a homebrew application for Nintendo Wii

Getting started

Page 17: How to develop a homebrew application for Nintendo Wii

What do we need?

Nintendo Wii (of course!)devkitPro (

http://www.devkitpro.org/ ) devkitPPC – C, C++ compiler with

"powerpc-gekko" architecture libogc – collections of library for

Nintendo Wii ( and Gamecube ) (Optional) Programmer notepad –

Text-editor / Lightweight IDE prepared for developing Homebrew Application

Page 18: How to develop a homebrew application for Nintendo Wii

What do we need?

(Recommended) Network connection for Wii (Wired / Wireless)

(Recommended) TCP Loader Wiiload Others loader

(Optional) USB Gecko – Wii ( and Gamecube ) interface for your computer http://www.usbgecko.com/ It’s not really necessary

Page 19: How to develop a homebrew application for Nintendo Wii

USB Gecko

Page 20: How to develop a homebrew application for Nintendo Wii

Writing your first application

(Workshop) A helloworld application (Workshop) A little example on using

the controller

I recommends going through Wii Programming Tutorial by teknecal

http://www.codemii.com/category/wii-programming-tutorials/

Page 21: How to develop a homebrew application for Nintendo Wii

Distributing you application Create meta.xml and icon.png for your

application to support HBC You don’t need to do this but it’s highly

recommended Wiibrew ( http://wiibrew.org/ ) Homebrew Browser

Online directory for Homebrew Application. Accessible right from your Wii!

Request your program to be added from http://wiibrew.org/wiki/Talk:Homebrew_Browser#Wanted_Apps/

Page 22: How to develop a homebrew application for Nintendo Wii

Developing tips

DO NOT mess with Wii’s internal NAND flash storage UNLESS you know what you’re going to do

Keep yourself up to date Recommended site

http://wiibrew.org/ http://hackmii.com/ http://codemii.com/ http://wiiuse.net/?nav=docs

Page 23: How to develop a homebrew application for Nintendo Wii

Homebrew Applications

Page 24: How to develop a homebrew application for Nintendo Wii

Media Players

Page 25: How to develop a homebrew application for Nintendo Wii

Mplayer CE

Page 26: How to develop a homebrew application for Nintendo Wii

Game Engines

ONScripter

Page 27: How to develop a homebrew application for Nintendo Wii

Emulators

Page 28: How to develop a homebrew application for Nintendo Wii

Utilities

And many more…

Page 29: How to develop a homebrew application for Nintendo Wii

Any questions?

Page 30: How to develop a homebrew application for Nintendo Wii

Contact me

Twitter – http://twitter.com/KnightBaron

Blog – http://knightbaron.sytes.net/ E-mail – [email protected]

Page 31: How to develop a homebrew application for Nintendo Wii

Thank youAnd welcome to the world of homebrew development