Python is still required for macOS and Linux

This commit is contained in:
Elpunical 2019-12-09 05:57:36 +01:00
parent 7b16dfc1c6
commit a4a409d871
No known key found for this signature in database
GPG key ID: A83AFC22339F8939
4 changed files with 166 additions and 51 deletions

View file

@ -0,0 +1,31 @@
#!/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

@ -1,4 +1,4 @@
- Themes - Themes
- <a href="#" data-link-title="Dark">Dark</a> - <a href="#" data-link-title="Dark">Dark</a>
- <a href="#" data-link-title="Light">Light</a> - <a href="#" data-link-title="Light">Light</a>
- [![Discord](docs/assets/img/discord.png)](https://discord.gg/C29hYvh) - [![Discord](../../docs/assets/img/discord.png)](https://discord.gg/C29hYvh)

View file

@ -6,43 +6,45 @@ 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](docs/user-guide/introduction) on Wii U side <!-- tabs:start -->
> - This release of [FTPiiU Everywhere](http://wiiubru.com/appstore/zips/fpiiu-cbhc.zip)
> - An FTP client such as [FileZilla](https://filezilla-project.org/download.php?type=client) #### **Windows**
> - <a href="docs/files/overwrite-wiiu-titlehash.exe" download>overwrite-wiiu-titlehash.exe</a>
- A working [Homebrew installation](docs/user-guide/introduction) on Wii U side
- This release of [FTPiiU Everywhere](http://wiiubru.com/appstore/zips/fpiiu-cbhc.zip)
- An FTP client such as [FileZilla](https://filezilla-project.org/download.php?type=client)
- <a href="docs/files/overwrite-wiiu-titlehash.exe" download>overwrite-wiiu-titlehash.exe</a>
#### **macOS & Linux**
- A working [Homebrew installation](docs/user-guide/introduction) on Wii U side
- 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)
- <a href="docs/files/overwrite-wiiu-titlehash.py" download>overwrite-wiiu-titlehash.py</a>
<!-- tabs:end -->
### Instructions ### Instructions
> 1. Extract the `fpiiu-cbhc.zip` file to the root of your SD Card <!-- tabs:start -->
> 1. Install FileZilla on your computer
#### **Windows**
1. Extract the `fpiiu-cbhc.zip` file to the root of your SD Card
1. Install FileZilla on your computer
#### **macOS & Linux**
1. Extract the `fpiiu-cbhc.zip` file to the root of your SD Card
1. Install FileZilla on your computer
1. Install Python on your computer
<!-- tabs:end -->
<!-- tabs:start --> <!-- tabs:start -->
### **IOS 80** #### **Windows**
!> If you are using a system update blocking method, please [remove it](docs/extras/unblock-updates).
1. Power on your Wii U and launch the CFW of your choice (Mocha, Haxchi or CBHC)
1. Launch the Homebrew Launcher and FTPiiU Everywhere
1. Launch FileZilla on your computer
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/00000001`
1. Delete the `00000050` folder
1. Navigate to `/slccmpt01/ticket/00000001`
1. Delete the `00000050.tik` file
1. Launch the previously downloaded `overwrite-wiiu-titlehash.exe` file
1. Type in your Wii U's IP address and press Enter
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)
1. Exit FTPiiU Everywhere and the Homebrew Launcher
1. Launch the System Settings
1. Perform a System Update
?> You can now re-enable your [system update blocking method](docs/extras/block-updates).
### **Any IOS**
!> **Do not** attempt to delete multiple IOSes at a time.
!> If you are using a system update blocking method, please [remove it](docs/extras/unblock-updates). !> If you are using a system update blocking method, please [remove it](docs/extras/unblock-updates).
@ -66,4 +68,34 @@ This page will guide you through the process of recovering a corrupted IOS on yo
?> You can now re-enable your [system update blocking method](docs/extras/block-updates). ?> You can now re-enable your [system update blocking method](docs/extras/block-updates).
### **macOS & Linux**
!> **Do not** attempt to delete multiple IOSes at a time.
!> If you are using a system update blocking method, please [remove it](docs/extras/unblock-updates).
1. Power on your Wii U and launch the CFW of your choice (Mocha, Haxchi or CBHC)
1. Launch the Homebrew Launcher
1. Launch FTPiiU Everywhere
1. Launch FileZilla
1. 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, navigate to `/slccmpt01/title/00000001`
1. Go to [this page](docs/vwii/ios-folders) to see which folder/ticket you need to delete
1. Delete the corresponding folder of the IOS you want to recover
1. Navigate to `/slccmpt01/ticket/00000001`
1. Delete the corresponding `.tik` file of the IOS you want to recover
1. Open up a Terminal window
1. Use the following command: `cd <directory>`
- On macOS, the most common place to find your downloaded files is `/Users/username/Downloads`
- On Linux, the most common place to find your downloaded files is `/home/username/Downloads`
1. Use the following command: `python3 overwrite-wiiu-titlehash.py`
1. Type in your Wii U's IP address and press Enter
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)
1. Exit FTPiiU Everywhere and the Homebrew Launcher
1. Launch the System Settings
1. Perform a System Update
?> You can now re-enable your [system update blocking method](docs/extras/block-updates).
<!-- tabs:end --> <!-- tabs:end -->

View file

@ -4,33 +4,85 @@ 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](docs/user-guide/introduction) on Wii U side <!-- tabs:start -->
> - This release of [FTPiiU Everywhere](http://wiiubru.com/appstore/zips/fpiiu-cbhc.zip)
> - An FTP client such as [FileZilla](https://filezilla-project.org/download.php?type=client) #### **Windows**
> - <a href="docs/files/overwrite-wiiu-titlehash.exe" download>overwrite-wiiu-titlehash.exe</a>
- A working [Homebrew installation](docs/user-guide/introduction) on Wii U side
- This release of [FTPiiU Everywhere](http://wiiubru.com/appstore/zips/fpiiu-cbhc.zip)
- An FTP client such as [FileZilla](https://filezilla-project.org/download.php?type=client)
- <a href="docs/files/overwrite-wiiu-titlehash.exe" download>overwrite-wiiu-titlehash.exe</a>
#### **macOS & Linux**
- A working [Homebrew installation](docs/user-guide/introduction) on Wii U side
- 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)
- <a href="docs/files/overwrite-wiiu-titlehash.py" download>overwrite-wiiu-titlehash.py</a>
<!-- tabs:end -->
### Instructions ### Instructions
> 1. Extract the `fpiiu-cbhc.zip` file to the root of your SD Card <!-- tabs:start -->
> 1. Install FileZilla on your computer
#### **Windows**
1. Extract the `fpiiu-cbhc.zip` file to the root of your SD Card
1. Install FileZilla on your computer
#### **macOS & Linux**
1. Extract the `fpiiu-cbhc.zip` file to the root of your SD Card
1. Install FileZilla on your computer
1. Install Python on your computer
<!-- tabs:end -->
### Recovering The Channel ### Recovering The Channel
!> If you are using a system update blocking method, please [remove it](docs/extras/unblock-updates). !> If you are using a system update blocking method, please [remove it](docs/extras/unblock-updates).
> 1. Power on your Wii U and launch the CFW of your choice (Mocha, Haxchi or CBHC) <!-- tabs:start -->
> 1. Launch the Homebrew Launcher and FTPiiU Everywhere
> 1. Launch FileZilla on your computer #### **Windows**
> 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. Power on your Wii U and launch the CFW of your choice (Mocha, Haxchi or CBHC)
> 1. Delete the `48414341` folder 1. Launch the Homebrew Launcher and FTPiiU Everywhere
> 1. Launch the previously downloaded `overwrite-wiiu-titlehash.exe` file 1. Launch FileZilla on your computer
> 1. Type in your Wii U's IP address and press Enter 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. Wait for it to finish what it's doing 1. Navigate to `/slccmpt01/title/00010002`
> - If an `err.log` file has been generated, please visit us in **#wiiu-assistance** on [Nintendo Homebrew Discord](https://discord.gg/C29hYvh) 1. Delete the `48414341` folder
> 1. Exit FTPiiU Everywhere and the Homebrew Launcher 1. Launch the previously downloaded `overwrite-wiiu-titlehash.exe` file
> 1. Launch the System Settings 1. Type in your Wii U's IP address and press Enter
> 1. Perform a System Update 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)
1. Exit FTPiiU Everywhere and the Homebrew Launcher
1. Launch the System Settings
1. Perform a System Update
#### **macOS & Linux**
1. Power on your Wii U and launch the CFW of your choice (Mocha, Haxchi or CBHC)
1. Launch the Homebrew Launcher and FTPiiU Everywhere
1. Launch FileZilla on your computer
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. Delete the `48414341` folder
1. Open up a Terminal window
1. Use the following command: `cd <directory>`
- On macOS, the most common place to find your downloaded files is `/Users/username/Downloads`
- On Linux, the most common place to find your downloaded files is `/home/username/Downloads`
1. Use the following command: `python3 overwrite-wiiu-titlehash.py`
1. Type in your Wii U's IP address and press Enter
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)
1. Exit FTPiiU Everywhere and the Homebrew Launcher
1. Launch the System Settings
1. Perform a System Update
<!-- tabs:end -->
You should now have a working Mii Channel. You should now have a working Mii Channel.