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

Wii U:Wupclient: Difference between revisions

From Hacks Guide Wiki
Add warning about bricks
Lazr (talk | contribs)
m The port should stay how it is
 
(2 intermediate revisions 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 32: Line 32:


====dl - Download files from the console====
====dl - Download files from the console====
  dl(filename, directorypath, local_filename)
  dl(filename, ''directorypath, local_filename'')
   
   
  '''filename''': Relative or absolute path to the file which should be downloaded from the Wii U
  '''filename''': Relative or absolute path to the file which should be downloaded from the Wii U
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()


====ls - List files and folders====
====ls - List files and folders====
  ls(path, return_data)
  ls(''path, return_data'')
   
   
  '''''path''''': Optional relative or absolute path. If not specified the current working directory will be used.
  '''''path''''': Optional relative or absolute path. If not specified the current working directory will be used.
Line 62: Line 63:


====up - Upload files to the console====
====up - Upload files to the console====
  up(local_filename, filename)
  up(local_filename, ''filename'')
   
   
  '''local_filename''': Relative or absolute path to a file on the PC
  '''local_filename''': Relative or absolute path to a file on the PC
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()