Difference between revisions of "Wiiload"
(→Mac and Linux)
|Line 115:||Line 115:|
[https://github.com/dniMretsaM/PyWiiLoad PyWiiLoad] is a rewrite of wiiload.py. The main improvement is automatic zip archiving of directories (since Wiiload can't send dirs). It also provides smooth error handling. The code itself has been changed quite a bit, but that doesn't affect the user. This program is free software and is licensed under the [https://gnu.org/licenses/gpl-3.0-standalone.html GPLv3+].
[https://github.com/dniMretsaM/PyWiiLoad PyWiiLoad] is a rewrite of wiiload.py. The main improvement is automatic zip archiving of directories (since Wiiload can't send dirs). It also provides smooth error handling . The code itself has been changed quite a bit, but that doesn't affect the user. This program is free software and is licensed under the [https://gnu.org/licenses/gpl-3.0-standalone.html GPLv3+].
Revision as of 07:14, 5 December 2012
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.
- 1 Windows
- 2 Mac and Linux
- 3 Uploading applications to SD card
- 4 Third-party Extensions (compatible with the latest HBC (1.1.0))
- 5 Third-party Extensions (ONLY compatible with HBC v1.0.4 and below)
- 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 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
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).
- 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
- 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
- Add a variable named
WIILOADwith 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!
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).
- Download it from http://pastebin.com/4nWAkBpw,
- make it executable with "chmod a+x wiiload.py",
- export WIILOAD=tcp:192.168.0.45
then run it like this
- ./wiiload.py /path/to/my/boot.dol argument1 argument2
PyWiiLoad is a rewrite of wiiload.py. The main improvement is automatic zip archiving of directories (since Wiiload can't send dirs). It also provides smooth error handling and the option for a user to input their Wii's IP address if $WIILOAD isn't set. The code itself has been changed quite a bit, but that doesn't affect the user. This program is free software and is licensed under the GPLv3+.
- export $WIILOAD="tcp:[your Wii's IP]"
- git-clone git://github.com/dniMretsaM/PyWiiLoad.git
- Or grab a snapshot tarball from here.
- If you downloaded the tarball, extract it: tar -xJf PyWiiLoad-git*.tar.xz
- cd PyWiiLoad
- Be sure to read the README and COPYING files.
- ./wiiload.py /path/to/file/or/folder
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.0))
A Wiiload-based tool by Leathl that allows you to upload via Homebrew Channel (before AND after the 1.0.5 patch). For Windows.
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.
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.
A total replacement for Wiiload.
- You have to put your Wii IP Address in the "Wii IP:" section.
- Use the "Browse.." button to search on your Computer for the ".elf" or ".dol"
- 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 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>
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.
Third-party Extensions (ONLY compatible with HBC v1.0.4 and below)
WiiTCPLoadGUI is an excellent and easy-to-use GUI front-end for loading Wiibrew over a wireless network.
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.
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!
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.
You can also use the very simple Python GTK+ GUI made by Mikezila, gWiiLoader.