diff --git a/docs/files/overwrite-wiiu-titlehash.py b/docs/files/overwrite-wiiu-titlehash.py new file mode 100644 index 000000000..1755feaef --- /dev/null +++ b/docs/files/overwrite-wiiu-titlehash.py @@ -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()) diff --git a/docs/navbar.md b/docs/navbar.md index de6b82871..715da52a4 100644 --- a/docs/navbar.md +++ b/docs/navbar.md @@ -1,4 +1,4 @@ - Themes - Dark - Light -- [![Discord](docs/assets/img/discord.png)](https://discord.gg/C29hYvh) \ No newline at end of file +- [![Discord](../../docs/assets/img/discord.png)](https://discord.gg/C29hYvh) \ No newline at end of file diff --git a/docs/vwii/recover-ios.md b/docs/vwii/recover-ios.md index 734a2d0b9..df3daa539 100644 --- a/docs/vwii/recover-ios.md +++ b/docs/vwii/recover-ios.md @@ -6,43 +6,45 @@ This page will guide you through the process of recovering a corrupted IOS on yo ### What You Need -> - 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) -> - overwrite-wiiu-titlehash.exe + + +#### **Windows** + +- 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) +- overwrite-wiiu-titlehash.exe + +#### **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) +- overwrite-wiiu-titlehash.py + + ### Instructions -> 1. Extract the `fpiiu-cbhc.zip` file to the root of your SD Card -> 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 + + -### **IOS 80** - -!> 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. +#### **Windows** !> 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). +### **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 ` + - 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). + \ No newline at end of file diff --git a/docs/vwii/recover-mii-channel.md b/docs/vwii/recover-mii-channel.md index ea08094f4..a73cba0ef 100644 --- a/docs/vwii/recover-mii-channel.md +++ b/docs/vwii/recover-mii-channel.md @@ -4,33 +4,85 @@ This page will guide you through the process of restoring your Mii Channel to a ### What You Need -> - 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) -> - overwrite-wiiu-titlehash.exe + + +#### **Windows** + +- 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) +- overwrite-wiiu-titlehash.exe + +#### **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) +- overwrite-wiiu-titlehash.py + + ### Instructions -> 1. Extract the `fpiiu-cbhc.zip` file to the root of your SD Card -> 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 + + ### Recovering The Channel !> 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/00010002` -> 1. Delete the `48414341` folder -> 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 + + +#### **Windows** + +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. 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 + +#### **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 ` + - 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 should now have a working Mii Channel.