Now Reading
A rather lengthy introduction to Wii homebrew!

A rather lengthy introduction to Wii homebrew!

by Bradley DeLorenzoJune 27, 2008

To some, the word homebrew itself is enough to scare them away, to others its a great opportunity to make the most out of their gaming console. Although it does hold some risks and may in some cases be able to void warranty or cause a so called “brick”, if you know what you’re doing it can really spice things up. Many people think and argue that piracy and homebrew go hand in hand, but although homebrew in some cases might lead to piracy, this certainly isn’t the primary goal. I’ll start out by a simple and basic explanation of what homebrew actually is.

Homebrew is the term used for software that is “brewn at home”, or in other words, not designed by some fancy game designer but a do-it-yourself piece of code that was written by a hobbyist. For example, Nintendo does not want you to be able to play movie dvd’s on your Wii, this is probably due to licensing costs. The Wii is incapable of reading dvd’s because the software simply doesn’t know what to do with them. But hey…. what if some homebrew hobbyist decides to write his own software that IS capable of doing this.

This of course sounds awesome, but Nintendo just like any other company will try to prevent this. They try to prevent this by only allowing code to be run when that code holds the correct signature. This is a very complex process, but you can see it like this: Nintendo has a secret key, which they use to encrypt all of the games, channels and everything else that is ran on your system. This key is referred to as the “Private Key”. In order for these games and channels to be able to execute on your Wii, they need to be decrypted. This is done by the “Public Key”, this is a key thats known by every Wii. The public key can only be used to decrypt, not encrypt. The problem is that nobody (but Nintendo) knows the private key, so in theory you would not be able to run your own software because when the Wii checks for the right signature, and it isn’t there. Well, an arguably wise man once said “every security system can be compromised”. This has also happened with the Wii’s security system. Some pretty nifty hobbyist programmers found a bug in the check that the Wii does for the right signature to fool it into thinking there actualy is a correct signature ( while, of course, there really isn’t ). This allows for home brewn code to be run on your Nintendo Wii entertainment system.

After some months of development they came up with a user friendly form of this hack, known to the world as “The Twilight Hack”. This basically is a corrupted save game for Zelda Twilight Princess. The way this works is as that they copied a Zelda savegame to their computer, and they edited the horses name (which is stored in a string in the savegame) to be VERY long, then they fake encrypted it with their knowledge of the security bug, and placed it back on their Wii. Now, when the Wii loads the savegame and tries to load the horses name this causes a so called “stack overflow” meaning it doesn’t expect it to be that long, and crashes because of it. Well, everything that makes a console crash is a possible security flaw, and so was this one. By injecting code at that moment they were able to run code without the Wii checking its integrity. After weeks of development the hack was clean enough to be distributed into the world, so that people could run their own code. This was done by having people copy that savegame to their Wii, and then running Zelda while having an sd card inserted on which a file called boot.elf was placed. This file is the homebrew that will actually be executed. All Wii homebrew comes in .elf format, this is just the executable format that the Wii uses. Back in the gamecube days .dol files were used, and the Wii is still backwards compatible with .dol files.

Because they realized it is a bit annoying if you have to run the Twilight Hack every time you want to run a piece of homebrew, they decided to make a so called “Homebrew Channel”. After some months of development this channel was ready, now people had to load a .elf file through Zelda that installs the channel. This means people only needs Zelda once to install the channel. The homebrew channel allows you to run homebrew applications (using a pretty graphical user interface) from your sd card. The homebrew channel is also able to load .elf files that are sent to the Wii via your local network.

Right, that was your history lesson for today! I’ll continue by making a list of the most important things that are already possible, and whats still in the pipeline.

What can already be done using Wii Homebrew:

  • Gecko Region Free (Region free gaming!)
  • Basically every known emulator has already been ported to the Wii.
  • There is an FTP server for the Wii.
  • There is a web server for the Wii.
  • There is Linux for the Wii.
  • There are some very basic media players for the Wii.
  • There is Quake for the Wii (this has awesome controls!)
  • There are tons of simple homebrew games for the Wii.

This is only a very short and incomplete list of the most exciting applications thus far.

These are the most exciting things that are currently announced and in development:

  • Homebrew Channel Beta 9
  • WiiMiidia (XBMC port for the Wii, stream movies/audio over lan!)
  • GeexBox Final (Another Wii media center, based off MFE)
  • Dosbox Wii (Play your old school dos games on your wii)
  • WiiChat (Chat with people from around the globe)

Alright! You now know close to everything you need to know about Wii homebrew! I hope you enjoyed the read, because there are more to follow haha. If you’re wondering who I am, I am WiiNintendo’s newest blogger and will be focusing on reporting progress in the homebrew scene, I’ll try to do at least 1 post per week.

My next post, probably tomorrow, will be about the risks and what Nintendo is doing to try to stop this madness. After that I’ll do a step by step instruction manual on how to kick things off.

Please excuse me if there are some spelling or grammar mistakes in this post, but English isn’t my native language. Also, if you have any suggestions for future posts please let me know in the comments!

About The Author
Bradley DeLorenzo
  • demetri
    June 27, 2008 at 7:15 pm


  • DarkEnigma91
    June 27, 2008 at 7:33 pm

    This was a very good read. I know more about homebrew than i did before ^.^
    Looking forward to other great articles from you! lol

  • June 27, 2008 at 7:34 pm

    Great first post Nils, I too have been involved with the homebrew scene for 7 years now. I made a pong DS game back in 2003: (interactive -> game-design)

  • Nils
    June 27, 2008 at 7:37 pm

    Thanks, I’d love some constructive criticism since this is my first blog post ever.

  • June 27, 2008 at 7:40 pm

    My only suggestion would be to add some image/video to the post (I just added some for you). Also, linking to the items you mention would be helpful for some.

    I love your writing style despite the language barrier, great job!

  • June 27, 2008 at 9:24 pm

    lol WAY better than MY first post. I shouldnt have updated my wii ={

    Oh well I only have TP for the Nintendo Gamecube anyway.

  • Bob
    June 27, 2008 at 10:45 pm

    Well to the contrary i actually heard that the twilight hack team guys brought out a new version of the twilight hack that bypassed Nintendo’s little update; and they did it in only 5-6 hours!

  • Nils
    June 28, 2008 at 8:10 am

    I’ll tell you everything about those updates and what has been done to counterfeit them in my next post.

  • Nintendog66
    June 28, 2008 at 2:59 pm

    Great Post! You’re an awesome writer. Now for some constructive critism… You should add some links(like the guy same above), also images are a must if your post is short but that isn’t the case here and you forgot to list many games that have come out like Bubble Dizzy, Simon, Duck hunt, Snake… I don’t know if it’s possible to talk about it here but you can also inject roms in your own virtual console titles dumped into your computer, like Super Smash Bros for the N64 on a Sin and Punishment wad(virtual console channel game) though discussion of it that MAY lead to other legal infringing activities so i don’t know…

  • Nils
    June 28, 2008 at 6:47 pm

    Nintendog66, I listed “There are tons of simple homebrew games for the Wii”, which refers to games like bubble dizzy, simon and duck hunt. The injecting of roms into virtual console games is a somewhat grey area. It would be argueably legal if you actualy own the game, but lets face it, most people who do such tings don’t. This website does not in any way condone piracy.

  • Nintendog66
    June 29, 2008 at 9:30 pm

    Oh ok sorry about the games part, though it would’ve been better if people at least knew the names of some of these games. And it’s ok, I just wanted to check about the wad things, I won’t spread it more because yes, most people(it’s safe to say I’m not one of them, seriously) don’t own these games.

  • Tim
    June 30, 2008 at 1:29 am

    You mention DosBox Wii. Where is your source for this project? I only have found one thread on some obscure forum about the idea of a DoxBox port to the Wii. Have you found an official project?

  • January 29, 2009 at 10:02 pm

    While I already have had my Wii softmodded and I already know all of these, this is definitely a very good read and a well written article that encompasses pretty much everything in a simple to understand tone, especially for those who don’t understand a thing about tech.

    Well done.

Leave a Response