Twilight Hack

From WiiBrew
Jump to navigation Jump to search
Chainloader Icon

The twilight hack is currently the only safe, released way to run homebrew on the Wii



-- Team Twiizers

Please read the README
Thanks to Crediar for hosting!

Fanmail goes here: Twiizers Fanmail

Tetris Wii:

Now has addicting / annoying Tetris music. 2008.02.21

Enjoy :) DesktopMan

Wii linux proof of concept mini-distro:


You will need:

1x Wii

2x SD cards, one of which must have no files on you want to keep.

1x Non-Japanese copy of The Legend of Zelda: Twilight Princess that has been run at least once

1x SD Gecko for the GameCube (or any device that lets you use SD cards as GameCube memory cards)

1x Computer running Windows, Mac, Linux, or any other Unix-based OS.

1x Some way to read SD cards on a computer

(For all homebrew so far) 1x or more GameCube controller

Various programs (linked to below)


NOTE: This tutorial assumes that your SD card is in drive F:. Replace with your drive letter if it is not F.

  • Make a new folder directly in the C drive called Wii
  • Download the file and extract the zip archive (download above) into C:\Wii
  • Backup your old Zelda save if you want to, by deleting Zelda from your SD card if it exista, then copying it from the Wii, then putting it into the computer and copying data.bin out of F:\private\wii\title\RZDP or F:\private\wii\title\RZDE (whichever you have) and into another folder.
  • If you have a PAL Zelda game (identified by the code "RVL-RZDP-0A-0 JPN" around the inside on the shiny side of the disc), copy the file rzdp.bin (from the zip archive you extracted) into F:\private\wii\title\RZDP\data.bin (make sure you rename it to data.bin).
  • If you have an NTSC later revision Zelda game (identified by the code "RVL-RZDE-0A-2 USA" around the inside on the shiny side of the disc), copy the file rzde2.bin (from the zip archive you extracted) into F:\private\wii\title\RZDE\data.bin (make sure you rename it to data.bin).
  • If you have any other NTSC revision Zelda game (usually identified by any other code involving the letters "RZDE" around the inside on the shiny side of the disc), copy the file rzde0.bin (from the zip archive you extracted) into F:\private\wii\title\RZDP\data.bin (make sure you rename it to data.bin).
  • Now, put the SD card into your Wii and turn it on. Go into Wii Options --> Data Management --> Save Data --> Wii. Find your Zelda save, click on it, and click "Erase", and click Yes. Now, go into SD card, and select the "Twilight Hack" save (the icon says "Wiibrew Loader"). Click copy, and yes. Now, go back out of that menu. You can keep that SD card in the Wii.
  • Put your other SD card into your computer, the one you don't want any of the files on. Go into My Computer, Right-click on F:\, and click format. Deselct quick format, and click Format. Accept the warning. If you have deleted all the files on the SD card before hand, it shouldn't take long at all.
  • Download the homebrew app that you desire and put it in C:\Wii, extracting it if necessary. For this we will be using tetris.elf.
  • Read the readme on your homebrew file to see if there are any special instructions
  • Open command prompt by pressing Start --> Run and typing cmd, then press enter
  • Type C: to switch to the C drive if you're not already there
  • Type cd \Wii
  • Type writeelf -f=C:\Wii\tetris.elf -z F (remember to replace the last F with your drive letter, and replace C:\Wii\tetris.elf with your elf file's location)
  • When it completes, remove your SD card, put it into the SD Gecko, and put that into GameCube slot A.
  • Start up the Wii, insert Zelda, and run the game. Load file A, and walk backwards.


If you have a USBGecko, try unplugging it from the Wii before running the exploit. There's a bug in the USBGecko code used in the exploit that will make the game hang if you have a USBGecko plugged in to the wii, but not connected to any program on your computer.

If it repeatidly refuses to find your sd, taking your adapter apart, i.e one side off, then inserting it with the cover leaning on it. Works for me anyway.

This exploit does not work with every version of Zelda:TP. Easy way to check your version is to compare the text string which is on the inner cycle of the data surface with the ones below.

  • RVL-RZDP-0A-0 JPN - working

Some minor problems reported e.g. Some greeny lines around the top area of the screen that appear with the penguin and if the TV type is set to 480i/p (60Hz or EDTV mode) the bottom is cut off

  • RVL-RZDE-0A-0 JPN - working
  • RVL-RZDE-0A-0 USA - working
  • RVL-RZDE-0A-2 USA - working (if you encounter problems with alpha2, re-download the latest rzde2.bin)
  • RVL-RZDJ-0A-0 JPN - not supported yet


The Twilight Hack works by employing a lengthly character name for the horse in the game ('Epona') in order to facilitate a stack smash. This gets triggered when talking to the man next to you when you start the savegame as he loads the name to use it in his dialog or upon attempting to enter the next zone, before the man talks to you and reminds you to go the other way to get the horse.


  • Can it load files from the internal SD slot?

No, not yet, but we are working on it.

  • When will it do <xxx>?

Don't ask.