More actions
(Created page with "{{#seo: |title=Wii Homebrew PC Tools (PC Utilities) - GameBrew |title_mode=append |image=pywiiload.png |image_alt=PyWiiLoad }} {{Infobox Wii Homebrews |title=PyWiiLoad |image=pywiiload.png |description=PyWiiLoad is a program written in Python to send executables (.dol and .elf) to your Wii. |author=BryanCuneo |lastupdated=2012/12/12 |type=PC Utilities |version=1.2 |license=GPL-3.0 |download=https://dlhb.gamebrew.org/wiihomebrews/pywiiload.7z |website=https://github.com/B...") |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox Wii Homebrews | {{Infobox Wii Homebrews | ||
|title=PyWiiLoad | |title=PyWiiLoad | ||
|image= | |image=pywiiload2.png | ||
|description= | |description=Send executables (.dol and .elf) to your Wii. | ||
|author=BryanCuneo | |author=BryanCuneo | ||
|lastupdated=2012/12/12 | |lastupdated=2012/12/12 | ||
|type= | |type=File Transfers | ||
|version=1.2 | |version=1.2 | ||
|license=GPL-3.0 | |license=GPL-3.0 | ||
Line 18: | Line 12: | ||
|source=https://github.com/BryanCuneo/PyWiiLoad | |source=https://github.com/BryanCuneo/PyWiiLoad | ||
}} | }} | ||
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 | 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. | ||
== Features == | == Features == | ||
Line 28: | 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. | ||
Line 44: | 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 51: | 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 66: | 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 | ==External links== | ||
* GitHub - https://github.com/BryanCuneo/PyWiiLoad | |||
* WiiBrew - http://wiibrew.org/wiki/PyWiiLoad | * WiiBrew - http://wiibrew.org/wiki/PyWiiLoad | ||
Latest revision as of 02:24, 4 April 2023
PyWiiLoad | |
---|---|
General | |
Author | BryanCuneo |
Type | File Transfers |
Version | 1.2 |
License | GPL-3.0 |
Last Updated | 2012/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
- GitHub - https://github.com/BryanCuneo/PyWiiLoad
- WiiBrew - http://wiibrew.org/wiki/PyWiiLoad