games

Running homebrew and open-source software on your Wii, using the Twilight Hack and the Homebrew Channel

Wii

I've been owning a Nintendo Wii for quite a while now, but so far only played an occasional game of tennis or the like. Over the holidays I got The Legend of Zelda: Twilight Princess, which is a really nice game in itself. What is even more interesting though, is that this game allows you to run homebrew software on your Wii.

What you usually want to do, is to use the so-called Twilight Hack to install the Homebrew Channel on your Wii (you'll need an SD card and the Twilight Princess game for this). Once the process has finished you won't need the game anymore though.

So, here's a quick tutorial on how to install the Homebrew Channel. I basically followed the Setting up your Wii for Homebrew HOWTO from wiibrew.org.

Requirements

An SD card max. 2GB in size (not an SDHC card!), an SD card reader in your PC or laptop, and the Twilight Princess game (which you must play at least once).

Backup

First, you'll want to backup your Twilight Princess save games (if any). For that, we format the SD card (it needs a FAT16/FAT32) filesystem.

 $ mkfs.vfat /dev/mmcblk0p1 (you may need to change "mmcblk0p1" to whatever fits your setup)

Now insert the SD card into the Wii, start the Wii, go to Wii Options --> Data Management --> Save Data --> Wii and copy your Twilight Princess save games onto the SD card. Then, poweroff, remove the SD card, insert it into your laptop/PC and copy the save games to a safe place.

 $ mount -t vfat /dev/mmcblk0p1 /mnt
 $ mv /mnt/private ~/zelda_savegames

Twilight Hack and Homebrew Channel

The Legend of Zelda: Twilight Princess

Next up: download the Twilight Hack and Homebrew Channel, and put the files on the SD card:

 $ wget http://hbc.hackmii.com/dist/twilight-hack-v0.1-beta1.zip
 $ unzip twilight-hack-v0.1-beta1.zip
 $ cp -r private /mnt
 $ wget http://hbc.hackmii.com/dist/the_homebrew_channel-1.0.1.tar.gz
 $ tar xfvz the_homebrew_channel-1.0.1.tar.gz
 $ cp the_homebrew_channel-1.0.1/boot.dol /mnt
 $ umount /mnt

Now remove the SD card, insert it into the Wii and power-up the Wii. Go to Wii Options --> Data Management --> Save Data --> Wii, delete the Wii Twilight Princess save games, then copy the "Twilight Hack" save game from the SD card onto the Wii (you need to select the correct one for your region).

Quit the menu, start Twilight Princess, load the "Twilight Hack" savegame and finally talk to the person in front of you (do not perform any other actions, or the Wii may crash!). Follow the remaining instructions on the screen and you're done. You now have an additional channel named Homebrew Channel where all your homebrew programs/games (and your own Free Software programs you may write/port) will appear.

Installing homebrew software

So far, there are no real applications in the Homebrew Channel, you need to put all the homebrew software you want on the SD card. There's a huuuge list of applications and games to choose from, many of them Free Software with source code, some however are binary-only.

Basically, you put each application in a sub-directory of apps/ on the SD card, the most important file in every sub-directory is always boot.dol. If you have a boot.elf file instead, you'll probably need to convert it using the ELF to DOL converter.

Restoring Twilight Princess save games

You may now want to restore your Twilight Princess save games onto the Wii, you no longer need the "Twilight Hack" save game. Put your ~/zelda_savegames directory on the SD card and name it private/ again. Insert the SD card into the Wii and copy the save games on the Wii (similar procedure as above).

Have fun with homebrew software on your Wii, or even better write your own software or port existing Linux applications/games!

17 Mistakes Microsoft Made in the Xbox Security System

Nice. Very nice. The Xbox-Linux / Free60 team around Michael Steil has published a paper / wiki page called 17 Mistakes Microsoft Made in the Xbox Security System. I'm currently reading the paper, but I'm not quite through yet (the PDF is 13 pages long). It contains a very detailed analysis of the 17 types of mistakes Microsoft made (they made most of them multiple times)...

The paper and the findings will be presented at the 22C3 in Berlin — this is one of the lectures I will definately be attending, that's for sure!

Quoting from the article:

"[Conclusion: ]The security system of the Xbox has been a complete failure.".

Also nice: the earlier (now obsolete) version of the paper was called The Hidden Boot Code of the Xbox — or "How to fit three bugs in 512 bytes of security code" ;-)

(via Golem)

Critical Mass

Critical Mass screenshot

Frank Becker sucks. How dare he create such an addicting game like Critical Mass? Doesn't he know that I don't have the time to waste countless hours playing games? Whaaa...

LEGO Lemmings Stop Motion Video

LEGO Lemmings screenshot

A group of students from Uni Koblenz (Germany) created an absolutely hilarious stop motion video showing LEGO® figures running around acting (and dying) like Lemmings.

The video: lego_lemmings.avi (20MB)

Oh, and if this whetted your appetite, you can give DHTML Lemmings a try in your favourite browser.

(via tina_t)

Holy Cow!

# apt-get update && apt-get install cowsay

# cowsay "Cowsay is a pretty funny program. I mean,
it generates talking cows -- how could it get any cooler?"
 ________________________________________
/ Cowsay is a pretty funny program. I    \
| mean, it generates talking cows -- how |
\ could it get any cooler?               /
 ----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

# cowsay -p "OK. A paranoid cow would be cooler."
 _____________________________________
< OK. A paranoid cow would be cooler. >
 -------------------------------------
        \   ^__^
         \  (@@)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

# cowsay -f bunny "Did you know there's lots of other animals
you can draw with cowsay? Have a look at /usr/share/cowsay/cows
and use the -f option. There are even web frontends and a Wikipedia
article for cowsay..."
 ________________________________________
/ Did you know there's lots of other     \
| animals you can draw with cowsay? Have |
| a look at /usr/share/cowsay/cows and   |
| use the -f option. There are even web  |
| frontends and a Wikipedia article for  |
\ cowsay...                              /
 ----------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).

# cowsay -f dragon-and-cow 'OK sucker, now stop drawing cows and get some work done!'
 ______________________________________
/ OK sucker, now stop drawing cows and \
\ get some work done!                  /
 --------------------------------------
                       \                    ^    /^
                        \                  / \  // \
                         \   |\___/|      /   \//  .\
                          \  /O  O  \__  /    //  | \ \           *----*
                            /     /  \/_/    //   |  \  \          \   |
                            @___@`    \/_   //    |   \   \         \/\ \
                           0/0/|       \/_ //     |    \    \         \  \
                       0/0/0/0/|        \///      |     \     \       |  |
                    0/0/0/0/0/_|_ /   (  //       |      \     _\     |  /
                 0/0/0/0/0/0/`/,_ _ _/  ) ; -.    |    _ _\.-~       /   /
                             ,-}        _      *-.|.-~-.           .~    ~
            \     \__/        `/\      /                 ~-. _ .-~      /
             \____(oo)           *.   }            {                   /
             (    (--)          .----~-.\        \-`                 .~
             //__\\  \__ Ack!   ///.----..<        \             _ -~
            //    \\               ///-._ _ _ _ _ _ _{^ - - - - ~
(a web frontend, another web frontend, Wikipedia article)
Syndicate content