Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

PyWiiLoad: Difference between revisions

From GameBrew
No edit summary
No edit summary
Line 1: Line 1:
{{Infobox Wii Homebrews
{{Infobox Wii Homebrews
|title=PyWiiLoad
|title=PyWiiLoad
|image=PyWiiLoad.png
|image=pywiiload2.png
|description=Send executables (.dol and .elf) to your Wii.
|description=Send executables (.dol and .elf) to your Wii.
|author=BryanCuneo
|author=BryanCuneo
Line 12: Line 12:
|source=https://github.com/BryanCuneo/PyWiiLoad
|source=https://github.com/BryanCuneo/PyWiiLoad
}}
}}
{{#seo:
PyWiiLoad is an updated version of [http://wiibrew.org/wiki/Wiiload#With_wiiload.py 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.  
|title=Wii Homebrew PC Tools (PC Utilities) - GameBrew
|title_mode=append
|image=PyWiiLoad.png
|image_alt=PyWiiLoad
}}
 
'''PyWiiLoad''' is an updated version of [http://wiibrew.org/wiki/Wiiload#With_wiiload.py 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. It is licensed under the GNU General Public License version 3 or later.


== Features ==
== Features ==
Line 29: Line 22:
* Supports both Python 2 and 3.
* Supports both Python 2 and 3.


==To use PyWiiLoad, you'll need:==
==User guide==
 
To use PyWiiLoad, you'll need:
* A Wii console connected to the Internet with the Homebrew Channel installed
* 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)
* 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)
* 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.
* 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.
* 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.
* 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.
Line 45: Line 38:
./wiiload.py /path/to/boot.dol
./wiiload.py /path/to/boot.dol
</pre>
</pre>
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:
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:
<pre>
<pre>
Line 52: Line 46:
syscheck/meta.xml
syscheck/meta.xml
</pre>
</pre>
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.
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.


Line 67: Line 62:
* The first release that I'm satisfied with.  The Python 2 and 3 versions both function correctly.
* The first release that I'm satisfied with.  The Python 2 and 3 versions both function correctly.


==External Links==
==External links==
* GitHub - https://github.com/BryanCuneo/PyWiiLoad
* WiiBrew - http://wiibrew.org/wiki/PyWiiLoad
* WiiBrew - http://wiibrew.org/wiki/PyWiiLoad
* Github - https://github.com/BryanCuneo/PyWiiLoad

Revision as of 02:30, 31 March 2023

PyWiiLoad
Pywiiload2.png
General
AuthorBryanCuneo
TypePC Utilities
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: