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 an unmodded Wii.



Mirror of 3a by Oste Hovel

Mirror of 3a by otto888


-- Team Twiizers

Thanks to Crediar for hosting!

Fanmail goes here: Twiizers Fanmail



  • Experimental version with FAT32 support. Only try this if you receive an error message while loading boot.elf.

Mirror of 3b by Oste Hovel

Mirror of 3b by otto888


  • Correctly loads geckoloader code from USBGecko flash.

Mirror of 3a by Oste Hovel

Mirror of 3a by otto888


  • Front SD slot is now supported; SDGecko slot support has been removed.
  • FAT16 is now supported; you should save your ELF executable on your SD card as "boot.elf".
  • RZDJ is now supported.
  • Added support for Geckoloader stub: If you have a USBGecko installed and have already run the Geckoloader program to install into flash, then the Twilight Hack will try to load that stub if it does not detect an SD card.

Wii homebrew applications

See Homebrew apps


You will need:

  • 1x Wii
  • 1x SD card, formatted as FAT16 (There seems to be a problem with formatting an SD card as FAT 16 in OS X, try to format your card in Windows.)
  • 1x copy of The Legend of Zelda: Twilight Princess that has been run at least once
  • 1x Computer
  • 1x Some way to read SD cards on a computer
  • (Optional) 1x or more GameCube controller
  • (Optional) 1x USBGecko

Inside the zip archive, you will find several savegame files; you will need to choose the correct one based on your version of Zelda: Twilight Princess. The easiest 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.

Different Versions
Region Inner circle text File
Europe/Australia RVL-RZDP-0A-0 JPN rzdp0.bin
Asia RVL-RZDJ-0A-0 JPN rzdj0.bin
America RVL-RZDE-0A-0 JPN rzde0.bin
America RVL-RZDE-0A-0 USA rzde0.bin
America RVL-RZDE-0A-2 USA rzde2.bin

  • Format your SD card to FAT16 (In Windows it's called just "FAT") if it is not already.
    Note: if you get an error like "FAT_ReadFile(boot.elf) failed with error -1" you might want to try formatting your SD card with this Official SD Card Format Tool
  • If it does not already exist, make a directory called "/private/wii/title/RZDx/" on your SD card; replace "RZDx" with RZDE, RZDP or RZDJ as appropriate.
    Copy the above file into that directory, renaming it as "data.bin".
  • Next, take your homebrew Wii executable, and save it in the root directory of your SD card as "boot.elf".
  • 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.
  • Insert Zelda, and run the game. Load file A, and either walk backwards, or talk to the guy that's standing in front of you.


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?
  • Can I load GameCube homebrew with this?
  • What about if I use doltool or dol2elf?
No. These tools merely change the container file format, it does not convert between GameCube/Wii code.
  • Can we use games other than Zelda to achieve the same effect?

Main article: Wiibrew FAQ

Known bug

  • After you load the save, the Wii Remote pointer may move to the bottom of the screen and stay there. It is purely a cosmetic bug and does not affect operation.