# Wii U

You can connect your Wii U to Pretendo using one of 2 methods. Each method has benefits and drawbacks, which will be described in their respective sections.

- [SSSL (hackless)](#sssl)
- [Inkay (homebrew)](#inkay)

Once you have selected a connection method and set up your Wii U, see ["PNID Setup"](#pnid-setup).

If you have save data from a Nintendo Network ID you would like to move to your Pretendo Network ID, follow [this](#transferring-save-data-to-your-pretendo-network-account) section.

# SSSL
**Pros:**
- Does not require homebrew
- Very easy to setup

**Cons:**
- Only a subset of services are supported
- Lacks additional features and patches
- May not function under certain ISP related conditions (self-hosted DNS tool is in development)
- Requires changing network settings to disconnect

SSSL is a (limited) hackless method of accessing most services by exploiting a bug in the Wii U's SSL module. All Nintendo Network games produced by Nintendo are supported by SSSL, as are the ***in-game*** Miiverse features. The main Miiverse app, in-game ***posting*** app, and any game which uses its own SSL stack (YouTube, WATCH_DOGS, etc.), are ***NOT*** supported by this method, as they are unaffected by the SSL exploit.

To connect using SSSL, open `System Settings > Internet > Connect to the Internet`. Open the settings for your network connection and open `DNS`. Select `Don't Auto-obtain`. Enter `88.198.140.154` as the `Primary DNS`. Enter another public DNS server address as the `Secondary DNS`, such as `8.8.8.8` (Google Public DNS) or `1.1.1.1` (Cloudflare-DNS). You should now be able to setup and login to your Pretendo Network ID as normal.

To disconnect from Pretendo Network either remove the `Primary DNS` address or change back to `Auto-obtain`.

# Inkay
**Pros:**
- All services supported
- Contains additional features and patches
- No ISP related issues
- Easy toggle on and off

**Cons:**
- Requires homebrew
- Requires several steps to setup

<div class="tip">
	ℹ️ This part of the guide assumes that you have a <b>Homebrewed System</b> using <b>Aroma</b>.
	You can follow this <a href="https://wiiu.hacks.guide/" target="_blank">guide</a> on how to homebrew your system first, then install
	Aroma using <a href="https://wiiu.hacks.guide/#/aroma/getting-started" target="_blank">this guide</a>.
</div>

The stable build is recommended for most users, however beta testers and others may be interested in the bleeding edge build.

## Stable
The stable builds have been widely tested to ensure everything works as intended. Navigate to [Inkay's latest release](https://github.com/PretendoNetwork/Inkay/releases/latest) on GitHub and download the `Inkay-pretendo.wps` file from the latest release.

<img src="/assets/images/docs/install/wiiu/aroma/wps-highlight.png" width="100%">

## Bleeding Edge
Bleeding edge builds have not been widely tested, and do not guarantee any stability. Download the latest build from <a href="https://nightly.link/PretendoNetwork/Inkay/workflows/ci/main/inkay"  target="_blank">nightly</a>. Extract `inkay.zip`.

<img src="/assets/images/docs/install/wiiu/aroma/inkay-nightly-link.png" width="100%">

## Nimble
Nimble is an Aroma setup module that patches the request for the system `PolicyList`. This is used to enable background tasks for features such as Wara Wara Plaza. This is separate from the main Inkay patches as the `PolicyList` is downloaded earlier in the system boot process than Inkay has control over.

Navigate to [the latest release](https://github.com/PretendoNetwork/Nimble/releases/latest) on GitHub and download the  `30_nimble.rpx` file.

<img src="/assets/images/docs/install/wiiu/aroma/nimbus-install.png" width="100%">

## Installation
Place the downloaded `Inkay-pretendo.wps` file on your SD card at `sd:/wiiu/environments/aroma/plugins`. It's normal for other Aroma plugins to be in this folder too.

<img src="/assets/images/docs/install/wiiu/aroma/sd-card.png" width="100%">

Place the downloaded `30_nimble.rpx` file on your SD card at `sd:/wiiu/environments/aroma/modules/setup`. It's normal for other Aroma setup modules to be in this folder too.

<img src="/assets/images/docs/install/wiiu/pnid/nimbus-sd.png" width="100%">
Place your SD card back into your console and boot like normal. You should see a notification of your connection:

<img src="/assets/images/docs/install/wiiu/aroma/working-notification.jpg" width="100%">

You are now connected to Pretendo Network.

Press the button combo `L + Down + SELECT` on the Wii U GamePad to open the Aroma plugin menu.

<img src="/assets/images/docs/install/wiiu/pnid/aroma-plugins-list.jpg" width="100%">

Choose the plugin 'Inkay', then click A on 'BOSS settings' inside of Inkay, then click A on 'Unregister Wara Wara Plaza BOSS tasks' after that restart your console fully. 

## Disconnecting
Press `L + Down + SELECT` on the Wii U GamePad to open the Aroma plugin menu.

<img src="/assets/images/docs/install/wiiu/pnid/aroma-plugins-list.jpg" width="100%">

Locate and select 'Inkay', then choose 'Patching'. Now, set 'Connect to the Pretendo Network' to **false**.

<img src="/assets/images/docs/install/wiiu/pnid/inkay-patching.jpg" width="100%">

Press `B` twice, followed by the `HOME` button. The console will reboot with Pretendo Network patches disabled, as confirmed by the 'Using Nintendo Network' message.

To return to Pretendo Network, repeat the process ensuring 'Connect to the Pretendo Network' is set to **true**.

# PNID Setup
After installing Pretendo, you must register a Pretendo Network ID (PNID). There is currently two ways of creating a PNID: Creating an account with the website and linking it, or creating it on your Wii U.

<div class="tip red">
	<strong>CAUTION:</strong>
	A Pretendo Network ID may not use the same username as an account already linked to your Wii U! If you have any existing Nintendo Network IDs on your Wii U which share the username you wish to use, those accounts MUST be removed from your console first.
</div>

### Website
You will want to register an account from [here](/account) and click `Don't have an account?` to register.

<div class="tip yellow">
	<strong>NOTE:</strong>
	Account settings cannot be modified at this time. Feature updates to the website have been paused as we migrate the codebase, and the account settings app on the Wii U requires additional patches.
</div>

<img src="/assets/images/docs/install/wiiu/pnid/register-account-web.png" width="100%">

Once your account is registered, link it to your console as you would a Nintendo Network ID.

### Wii U
Create the Pretendo Network ID as you would a Nintendo Network ID.

# Transferring save data to your Pretendo Network account

Pretendo Network is not compatible with existing Nintendo Network IDs. This means you must create a new account. Because of this, you may want to move existing game save data to your new account.

<div class="tip red">
	<strong>Note:</strong>
	This only works with local save data. Any user data stored on Nintendo's servers cannot be transferred to any other accounts.
</div>

To move your save data, you will need a save data backup homebrew application. This guide will use the WUT port of SaveMii for Aroma.  To begin, download the latest [GitHub release](https://github.com/Xpl0itU/savemii/releases) of SaveMii or download it from the [Homebrew App Store](https://hb-app.store).

<img src="/assets/images/docs/install/wiiu/savedatabackup/savemii-appstore.jpg" width="100%">

Once installed, open the application from the HOME Menu. You should see a menu for Wii U and vWii saves.

<img src="/assets/images/docs/install/wiiu/savedatabackup/savemii-mainmenu.jpg" width="100%">

Select `Wii U Save Management`. You should now see a list of installed games. Find and select the game you would like to transfer the save data of.

Select `Backup savedata`.

<img src="/assets/images/docs/install/wiiu/savedatabackup/savemii-backup.jpg" width="100%">

Select a new slot to backup the save data to. If you select a non-empty slot, the backup data in that slot will be overwritten.

Select the profile to backup the save data from. This should be your ***Nintendo*** Network ID.

Optionally you may select to backup "common" save data. This save data should be shared by all users, and is not required to be backed up. Though you may still do so if you choose.

Press the `A` button when ready to backup your save data.

Once the backup has completed, press the `B` button to return to the games menu. Select `Restore savedata`.

<div class="tip red">
	<strong>CAUTION:</strong>
	Restoring a save backup will overwrite the existing save data for the game for the selected user(s). Proceed with caution.
</div>

Select the backup slot you just backed the save data up to.

Select the profile to restore the save data to. This should be your ***Pretendo*** Network ID.

<img src="/assets/images/docs/install/wiiu/savedatabackup/savemii-transfer.jpg" width="100%">

When ready, press the `A` button to transfer your data. Press `A` again to confirm your actions. If you get a message about backing up your data on your Pretendo profile, ignore. Your screen may briefly flash as the data is copied over.

Once completed, exit SaveMii and ensure the game you transferred works properly on your Pretendo profile.

<img src="/assets/images/docs/install/wiiu/savedatabackup/savemii-saveworkingonpretendo.jpg" width="100%">

Repeat this process for any other save data you'd like to transfer to your Pretendo profile.
