PyWiiLoad

From GameBrew
PyWiiLoad
Pywiiload2.png
General
AuthorBryanCuneo
TypeFile Transfers
Version1.2
LicenseGPL-3.0
Last Updated2012/12/12
Links
Download
Website
Source

PyWiiLoad is an updated version of wiiload.py with improved features such as automatic zipping of directories, proper error handling, and support for Python 3. The code has been organized into functions and follows the PEP8 standards.

Features

  • Send executables and apps directly to the Homebrew Channel.
  • Automatically zip directories.
  • Set the IP address temporarily if $WII isn't set.
  • Visual progress feedback when sending data.
  • Smooth error handling.
  • Supports both Python 2 and 3.

User guide

To use PyWiiLoad, you'll need:

  • A Wii console connected to the Internet with the Homebrew Channel installed.
  • A computer connected to the same network as the Wii (GNU/Linux only).
  • Python (versions 2.7.3 and 3.2.3 have been tested).
  • The environment variable $WII set to your Wii's IP address. You can temporarily set the address in PyWiiLoad if $WII is not set.
  • A .dol/.elf executable to run or .zip/directory to install as an app.
  • To find your Wii's IP address, open the HBC and press the Home button on your Wii remote. The IP will be displayed in the upper left corner of the screen.

You can send .elf or .dol executables or .zip archives to your Wii. Before sending, make sure your Wii is on and the HBC is launched. Executables will boot automatically, while zip files will prompt you for confirmation before being extracted and installed on the SD card.

To send an executable, run the following command:

./wiiload.py /path/to/boot.elf or
./wiiload.py /path/to/boot.dol

To send a zip file, make sure it contains the files you want to add to the SD:/apps/ folder. For example, a syscheck.zip file should have the following structure:

syscheck/
syscheck/boot.dol
syscheck/icon.png
syscheck/meta.xml

If you try to send a directory with PyWiiLoad, you'll be asked if you want to compress it to a zip archive. Answer "y" to compress and send, or "n" to exit the program.

Changelog

1.2

  • Now uses the environment variable $WII="[Wii's IP]". This allows you to use the same variable for programs like FTP (ftpii) since there is no "tcp:" before the IP. (PyWiiLoad will continue to support $WIILOAD="tcp:[Wii's IP]" until version 2.0.

1.1.1

  • Fixed the crashing bug in 1.1 (removed the line of code that got added accidentally).

1.1

  • Versions for Python 3 and 2 have been combined into one file.

1.0

  • The first release that I'm satisfied with. The Python 2 and 3 versions both function correctly.

External links

Advertising: