Wiiload

From WiiBrew
Jump to: navigation, search
Wiiload
General
Author(s)dhewg
TypePC utility
Version0.4
Links
Download
Source


Wiiload is a method of loading .dol and .elf files over the network. Also, you can use Wiiload to install homebrew applications directly onto your SD card. If the icon in the very bottom right of the Homebrew Channel is lit up, it should work for you.

First download the package, which includes all version of Wiiload. Then determine your Wii's IP address by pressing the home button on the Wiimote at the Homebrew Channel's main screen. After that, follow the instructions for your operating system.

Windows

  • Set the environment variable by going to your computer's Control Panel -> System -> Advanced -> Environment Variables, then click "new" under either category. The variable name is WIILOAD and the value is tcp:yourIP, where yourIP is the Wii's IP/hostname. Click "OK" here and in System Properties.
  • Turn the Wii on and go to the homebrew channel.
  • Go to wherever you put the pack you downloaded and extracted in step one, open the Wiiload folder, and open the win32 folder. You should see a single executable, wiiload.exe. Drop a .elf on this and it should load on the Wii.
  • You can create a shortcut and drop files on that, if you prefer.
  • You can also copy wiiload somewhere convenient (like %windir%\system32) and use the command line:
wiiload <filename> <application arguments>

Send ShellExtension

Send ShellExtension is a automated installation for right-click context menu and default icon for .ELF in Windows.

Right-click Context Menu

Warning! Messing in your Registry is risky, if you mess it up, Wiibrew or I hold no responsibility!

  • Make sure wiiload.exe is in c:\windows\system32
  • Paste this into a Notepad document and save it as wiiload.reg
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.elf\shell\Send to Wii\command]
@="wiiload %1"
  • Then, double-click the file and choose to "Import into Registry". You may, if you wish, now delete the wiiload.reg file.
  • Now you can right click any .elf file, and "send to wii" :)

Of course, you still need the system variable set correctly. Works under Vista

GizmoTheGreen/Lukegb

Some additional information:

  • This can also be modified to support DOL files. Here is the code for that registry patch...
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.dol\shell\Send to Wii\command]
@="wiiload %1"
    • Notice the change in the extension, this can be changed to whatever you need.
  • This works in (at least) XP, Vista, and Windows 7.
  • You may have to experiment with the '@=' line, if the code fails try changing the registry patch to have @=wiiload %1 (no quotes).

Batch file

  • You can put wiiload in a folder along with this batch file:

Note: change the "set WIILOAD=tcp:192.168.1.6" line to your own needs. Note2: remove the "PAUSE" at the end of the file if you want the DOS window to auto close. Note3: change "c:\wii\wiiload.exe %1" to where wiiload.exe is.

@echo off
if "%1" == "" goto error

set WIILOAD=tcp:192.168.1.6

:again
rem if %1 is blank, we are finished

if "%1" == "" goto end
echo.
echo Sending file %1...
c:\wii\wiiload.exe %1

rem - type  %1
rem - shift the arguments and examine %1 again

shift
goto again

:error
echo missing argument!
echo usage  view file1.txt view2.txt ...

:end
echo.
echo Done.
PAUSE
  • Then double click the elf/dol file and choose "select a program from the list". Look for the batch file and tick the "always use this program to run this files".
  • If dol/elf files are already associated right click+shift and select "open with", then "select a program from the list" and follow above's instructions.

Batch file based on the one here: http://www.rgagnon.com/gp/gp-0009.html


Mac and Linux

With Terminal.app

  • Set the environment variable by opening up Terminal (in Applications/Utilities) and entering "export WIILOAD=tcp:yourIP" where yourIP is the Wii's IP.
  • Still in Terminal, cd to the folder where you extracted the file from step one. If you extracted the file to your Documents folder, this would be "cd ~/Documents/the_homebrew_Channel-beta_7/wiiload/osx".
  • Still in terminal, enter "chmod 755 wiiload".
  • For convenience sake, put the file you wish to load in the same directory as this file.
  • Turn the Wii on and go to the homebrew channel.
  • In terminal, enter "./wiiload boot.elf", assuming the .elf is called boot.elf and is in the same directory as wiiload.

With Xcode's Build and Go

  • In your Project's window control-click on Executables and choose Add > New Custom Executable...
  • Name it "wiiload"
  • Click "Choose..." then hit Apple+Shift+G and type "/opt/devkitpro/devkitPPC/bin/" then hit enter. Select wiiload, click Choose and then the Next button.
  • On the next screen click the Arguments tab.
  • Add an argument with the value $(SRCROOT)/$(PROJECT_NAME).dol
  • Add a variable named WIILOAD with the value tcp:[your Wii's IP address] (without the square brackets)
  • Now hit the Build and Go button or Apple+Return and Xcode will build your project and send it to your Wii!

Third-party Extensions

Multi-Platform GUI

WiiTCPLoadGUI is an excellent and easy-to-use GUI front-end for loading Wiibrew over a wireless network.

GUI SendElf

You can download the SendElf application here. This is an application with a GUI created by henke37 & Dasda to send ".elf" or ".dol" file to your Wii. This is the first screen:

Error creating thumbnail: Unable to save thumbnail to destination
  1. You have to put your Wii IP Address in the "Wii IP:" section.
  2. Use the "Browse.." button to search on your Computer for the ".elf" or ".dol"
  3. Click on the "Send File!" button to send the file to your Wii who is already in the Homebrew Channel. You can set arguments for the ".elf" or ".dol" file in the "Args:" section before pressing the "Send File!" button.

TCPLaunch

Well, there is a GUI developed by ifletcher, currently, it's built for intel macs only! There is need for a PPC Build, the Developer can't build it for PPC, because he has an Intel Mac, the program is written in FreePascal using Lazarus, so it should be compatible with Windows and Linux, there are just some parts that need to be rewritten! Here you can Download the current Version of the TCPLaunch App for Intel Macs.

http://www.doomcenter.de/sereroku/TCPLaunch.zip

I included wiiload in this application, i hope it's not a problem for the devs! If you want to port this source to Mac OS X PPC, Windows or Linux, just send me an email to "christian (dot) kaik (at) googlemail (dot) com". If you need support, just send me an email with msn/aim!

WiiLoadGUI

I have made a straightforward, universal, Pashua and CocoaDialog based GUI available here (this is an esnips page so make sure you have ad blocking turned on). The app is a universal binary and supports OS X 10.3.9 - 10.5.x, the app's installer includes WiiLoad so no other copies are needed to run it. If you have any questions, suggestions or need support refer to the old version's talk page, the FAQ there is still relevant and updated. nliwilson. In the process I created a small icon for WiiLoad that is available here in jpeg format.

Error creating thumbnail: Unable to save thumbnail to destination

gWiiLoader

You can also use the very simple Python GTK+ GUI made by Mikezila, gWiiLoader.

Uploading applications to SD card (any OS)

Set up a zip file that contains 'only' the folder of the application you wish to install, and inside it must contain your .dol and/or .elf file. Then save the zip file as you see fit, and use Wiiload to upload, for example, "filename.zip"