Python no longer needs to be installed

Thanks agilly1989#0268
This commit is contained in:
Elpunical 2019-12-09 01:45:54 +01:00
parent 928dfaf67c
commit fec470bde3
No known key found for this signature in database
GPG key ID: A83AFC22339F8939
5 changed files with 8 additions and 43 deletions

Binary file not shown.

View file

@ -1,31 +0,0 @@
#!/usr/bin/env python3
from ftplib import FTP
from io import BytesIO
from sys import exit
from traceback import format_exc
server_ip = input('What is the IP address of the Wii U? ')
blank_digest = (b'F' * 0x40) + (b'\0' * 0x10)
digest_path = '/storage_slc/security/digest.bin'
try:
print('Attempting to connect to {0}:21...'.format(server_ip))
with FTP(server_ip) as f:
resp = f.login()
print('Server response:', resp)
print('Overwriting {0}...'.format(digest_path))
try:
resp = f.storbinary('STOR ' + digest_path, BytesIO(blank_digest))
except ftplib.error_perm:
print("\nWARNING: Couldn't overwrite.")
print('Make sure Haxchi CFW, CBHC, or Mocha is active.')
exit(1)
print('Server response:', resp)
print('\nDone. Exit ftpiiu, then go to System Settings -> System Update.')
except Exception as e:
print('\nERROR OCCURED - please send error.log!\n')
print(format_exc(), end='')
with open('err.log', 'w', encoding='utf-8') as o:
o.write(format_exc())

View file

@ -18,7 +18,7 @@ The table below lists advantages and disadvantages of each option.
- It's functionality can be extended by installing ColdBootHaxchi (CBHC) to a Haxchi installation. - It's functionality can be extended by installing ColdBootHaxchi (CBHC) to a Haxchi installation.
#### **CBHC** #### **CBHC**
!> Installing CBHC incorrectly can brick your Wii U. Make sure to follow the following rules when installing CBHC:<br>- The DS game has to be legitimately installed from the eShop<br>- Don't format the system while CBHC is installed<br>- Don't delete the user account that bought the DS VC game<br>- Don't re-install the same game using wup installer or from the eShop<br>- Don't install Haxchi over CBHC !> Installing CBHC incorrectly can brick your Wii U. Make sure to follow the following rules when installing CBHC:<br>- The DS game has to be legitimately installed from the eShop<br>- Don't format the system while CBHC is installed<br>- Don't delete the user account that bought the DS VC game<br>- Don't re-install the same game using WUP Installer or from the eShop<br>- Don't install Haxchi over CBHC
!>Breaking one of the above rules will result in a brick. !>Breaking one of the above rules will result in a brick.

View file

@ -7,16 +7,14 @@ This page will guide you through the process of recovering a corrupted IOS on yo
### What You Need ### What You Need
> - A working [Homebrew installation](introduction) on Wii U side > - A working [Homebrew installation](introduction) on Wii U side
> - This release of [FTPiiU Everywhere](http://wiiubru.com/appstore/#/app/fpiiu-cbhc) > - This release of [FTPiiU Everywhere](http://wiiubru.com/appstore/zips/fpiiu-cbhc.zip)
> - The latest release of [Python](https://www.python.org/downloads/)
> - An FTP client such as [FileZilla](https://filezilla-project.org/download.php?type=client) > - An FTP client such as [FileZilla](https://filezilla-project.org/download.php?type=client)
> - <a href="../files/overwrite-wiiu-titlehash.py" download>This Python script</a> > - <a href="../files/overwrite-wiiu-titlehash.exe" download>overwrite-wiiu-titlehash.exe</a>
### Instructions ### Instructions
> 1. Extract the `fpiiu-cbhc.zip` file to the root of your SD Card > 1. Extract the `fpiiu-cbhc.zip` file to the root of your SD Card
> 1. Install FileZilla on your computer > 1. Install FileZilla on your computer
> 1. Install Python on your computer
<!-- tabs:start --> <!-- tabs:start -->
@ -32,7 +30,7 @@ This page will guide you through the process of recovering a corrupted IOS on yo
1. Delete the `00000050` folder 1. Delete the `00000050` folder
1. Navigate to `/slccmpt01/ticket/00000001` 1. Navigate to `/slccmpt01/ticket/00000001`
1. Delete the `00000050.tik` file 1. Delete the `00000050.tik` file
1. On your computer, double click the previously downloaded `.py` file 1. Launch the previously downloaded `overwrite-wiiu-titlehash.exe` file
1. Type in your Wii U's IP address and press Enter 1. Type in your Wii U's IP address and press Enter
1. Wait for it to finish what it's doing 1. Wait for it to finish what it's doing
- If an `err.log` file has been generated, please visit us in **#wiiu-assistance** on [Nintendo Homebrew Discord](https://discord.gg/C29hYvh) - If an `err.log` file has been generated, please visit us in **#wiiu-assistance** on [Nintendo Homebrew Discord](https://discord.gg/C29hYvh)
@ -58,7 +56,7 @@ This page will guide you through the process of recovering a corrupted IOS on yo
1. Delete the corresponding folder of the IOS you want to recover 1. Delete the corresponding folder of the IOS you want to recover
1. Navigate to `/slccmpt01/ticket/00000001` 1. Navigate to `/slccmpt01/ticket/00000001`
1. Delete the corresponding `.tik` file of the IOS you want to recover 1. Delete the corresponding `.tik` file of the IOS you want to recover
1. Double click the previously downloaded `.py` file 1. Launch the previously downloaded `overwrite-wiiu-titlehash.exe` file
1. Type in your Wii U's IP address and press Enter 1. Type in your Wii U's IP address and press Enter
1. Wait for it to finish what it's doing 1. Wait for it to finish what it's doing
- If an `err.log` file has been generated, please visit us in **#wiiu-assistance** on [Nintendo Homebrew Discord](https://discord.gg/C29hYvh) - If an `err.log` file has been generated, please visit us in **#wiiu-assistance** on [Nintendo Homebrew Discord](https://discord.gg/C29hYvh)

View file

@ -5,16 +5,14 @@ This page will guide you through the process of restoring your Mii Channel to a
### What You Need ### What You Need
> - A working [Homebrew installation](introduction) on Wii U side > - A working [Homebrew installation](introduction) on Wii U side
> - This release of [FTPiiU Everywhere](http://wiiubru.com/appstore/#/app/fpiiu-cbhc) > - This release of [FTPiiU Everywhere](http://wiiubru.com/appstore/zips/fpiiu-cbhc.zip)
> - The latest release of [Python](https://www.python.org/downloads/)
> - An FTP client such as [FileZilla](https://filezilla-project.org/download.php?type=client) > - An FTP client such as [FileZilla](https://filezilla-project.org/download.php?type=client)
> - <a href="../files/overwrite-wiiu-titlehash.py" download>This Python script</a> > - <a href="../files/overwrite-wiiu-titlehash.exe" download>overwrite-wiiu-titlehash.exe</a>
### Instructions ### Instructions
> 1. Extract the `fpiiu-cbhc.zip` file to the root of your SD Card > 1. Extract the `fpiiu-cbhc.zip` file to the root of your SD Card
> 1. Install FileZilla on your computer > 1. Install FileZilla on your computer
> 1. Install Python on your computer
### Recovering The Channel ### Recovering The Channel
@ -26,7 +24,7 @@ This page will guide you through the process of restoring your Mii Channel to a
> 1. In FileZilla, type in the IP address displayed by your Wii U in the `Host` field at the top of the window and click on `Quickconnect` > 1. In FileZilla, type in the IP address displayed by your Wii U in the `Host` field at the top of the window and click on `Quickconnect`
> 1. Navigate to `/slccmpt01/title/00010002` > 1. Navigate to `/slccmpt01/title/00010002`
> 1. Delete the `48414341` folder > 1. Delete the `48414341` folder
> 1. On your computer, double click the previously downloaded `.py` file > 1. Launch the previously downloaded `overwrite-wiiu-titlehash.exe` file
> 1. Type in your Wii U's IP address and press Enter > 1. Type in your Wii U's IP address and press Enter
> 1. Wait for it to finish what it's doing > 1. Wait for it to finish what it's doing
> - If an `err.log` file has been generated, please visit us in **#wiiu-assistance** on [Nintendo Homebrew Discord](https://discord.gg/C29hYvh) > - If an `err.log` file has been generated, please visit us in **#wiiu-assistance** on [Nintendo Homebrew Discord](https://discord.gg/C29hYvh)