Wiiload

From WiiBrew
Jump to navigation Jump to search
Wiiload
General
Author(s)dhewg
TypePC utility
Version0.5
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 Command+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 Command+Return and Xcode will build your project and send it to your Wii!

With wiiload.py

wiiload.py is a 42-line python program that can upload files over the network. It is used in the same way as the regular wiiload (i.e. put the IP address in the environment variable WIILOAD and give the the .dol filename and the arguments on the command line).

then run it like this

  • ./wiiload.py /path/to/my/boot.dol argument1 argument2

With Android

Wiiload for Android is an Android port of JWiiload. It accepts .dol, .elf, and supports sending .zip to 1.1.0 for installation, and provides a graphical interface. To use it, one opens the app, selects a file, and then hits scan or enters the wii address. Once that is set up, the user hits send and it will be sent directly to the Wii, no PC involved.

Uploading applications to SD card

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, to upload WiiPhysics, create a folder called "WiiPhysics". Inside that folder will be the "boot.dol" file, the "icon.png" file, and the "meta.xml" file. Zip the folder so that you create a "WiiPhysics.zip" file containing the "WiiPhysics" folder and its contents. Then, use Wiiload to upload as described above, or using one of the third-party extensions below.

Third-party Extensions (compatible with the latest HBC (1.1.2))

TransmitMii

A Wiiload-based tool by Leathl that allows you to upload via Homebrew Channel (before AND after the 1.0.5 patch). For Windows.

TransmitMii

Transmitmii.png

WiiBuilder

WiiBuilder is a Windows software used for loading Wii executable files (.dol and .elf) from a computer to a Wii with the Homebrew Channel running. A zip file containing an application could be sent too, it must have one directory in the root of the archive containing the boot.elf/dol file. An IP address must be entered in the Settings.

WiiloadGUI

A wrapper for wiiload by Team Twiizers [http://bootmii.org] which allows for loading of dols/elfs/zips directly from Finder. The app remembers your Wii's ip-address and autoboots on drag-'n-drop or when invoked through file association. The bundled version of wiiload is the precompiled osx-binary included in the hackmii-installer v0.5.

http://www.acc.umu.se/~magu/WiiloadGUI-v1.0.dmg

WiiloadGUI.png

Sendelf

A total replacement for Wiiload.

This is an application with a GUI created by henke37 & R-win to send ".elf" or ".dol" file to your Wii. This is the first screen:

SendElf.png

  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.

JWiiload

JWiiload is entirely coded in Java. This allows an easy interface that can be run from any OS, so even the average user who isn't using Wiiload in a developing environment will have access to the convenience of the TCP utility. It also has a command line interface mode that can be called, although this doesn't necessarily have to be programmed in Java. JWiiload does not rely on the wiiload binaries, and instead operates entirely independently of them, enabling it to run on any OS that can utilize the Java Runtime Environment.

java -jar JWiiload.jar <address> <filename> <application arguments>

Jwiiloadmac.png Jwiiloadxp.png

Due to JWiiload being independent of the binaries of regular Wiiload, it has been ported to Android in Wiiload for Android, and can be downloaded from the Android Market.

With PyWiiLoad

See PyWiiLoad.

Third-party Extensions (ONLY compatible with HBC v1.0.4 and below)

Multi-Platform GUI

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

WiiLoadGUI

WiiLoad icon.jpg

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.

gWiiLoader

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