Wii U:Wupclient: Difference between revisions
From Hacks Guide Wiki
More actions
m Make optional params italic |
m The port should stay how it is |
||
| (One intermediate revision by one other user not shown) | |||
| Line 10: | Line 10: | ||
====Instructions==== | ====Instructions==== | ||
# Install Python. | # Install Python. | ||
# Replace the IP Address in line 30 with the IP Address of your Wii U. | # Replace the IP Address in line 30 with the IP Address of your Wii U. Do not change the Port. | ||
# Open a Terminal or Command Prompt in the same directory as the <code>wupclient.py</code>. | # Open a Terminal or Command Prompt in the same directory as the <code>wupclient.py</code>. | ||
# Run <code>python -i wupclient.py</code> (On Windows: <code>py -3 -i wupclient.py</code>) to start wupclient in interactive mode.<br>Several hexadecimal numbers should be printed to the Terminal on a successful connection. | # Run <code>python -i wupclient.py</code> (On Windows: <code>py -3 -i wupclient.py</code>) to start wupclient in interactive mode.<br>Several hexadecimal numbers should be printed to the Terminal on a successful connection. | ||
| Line 47: | Line 47: | ||
====dump_syslog - Output the current system log==== | ====dump_syslog - Output the current system log==== | ||
Prints the current system log since boot to the Terminal. | Prints the current system log since boot to the Terminal. | ||
Usage example: | Usage example: | ||
w.dump_syslog() | w.dump_syslog() | ||
| Line 73: | Line 74: | ||
===Utility functions=== | ===Utility functions=== | ||
The functions listed below are utility functions and are not part of the wupclient class. | The functions listed below are utility functions and are not part of the wupclient class. | ||
====flush_mlc - Flush MLC cache==== | |||
Files on the MLC are not directly written to the eMMC, but cached in RAM and on the SLC instead. | |||
This function will flush the changes to the chip. | |||
Usage example: | |||
flush_mlc() | |||
====ios_shutdown - Shutdown the console==== | ====ios_shutdown - Shutdown the console==== | ||
Usage example: | Usage example: | ||
ios_shutdown() | ios_shutdown() | ||