Wind Waker HD Recompiled [Android] - Plus

WindWakerHD-Android-Plus is a native Android port of The Legend of Zelda: The Wind Waker HD with a HUD layout editor and Brazilian Portuguese translation.

README

Wind Waker HD Recompiled for Android — Plus

The Legend of Zelda: The Wind Waker HD, running natively on Android phones and tablets. This is a static recompilation of the Wii U game: its PowerPC code is turned into native ARM64 code on your device, and its graphics run directly on Vulkan. It is not an emulator.

Plus builds on the Enhanced fork of the Android port. It adds a built-in Brazilian Portuguese translation, an app fully translated into Portuguese, a HUD layout editor, .wua archive support, better controller support, menus that fit any screen, and fixes for crashes on Adreno 650 and on 6 GB phones.

You need your own copy of the game. The app contains no game code, no game files and no keys. You provide a dump of your own Wii U disc (.wud / .wux with its keys) or a Cemu archive of it (.wua).

Outset Island with the touch controls Windfall Island Dragon Roost Island, dialogue in Portuguese Forbidden Woods

Screenshots taken on a Samsung Galaxy S20 FE 5G (Snapdragon 865), full screen at 2400 × 1080.


Contents


Download

Get the latest APK from the Releases page.

Requirements

  • Android 11 or newer, 64-bit ARM (arm64-v8a)
  • A GPU with Vulkan 1.1 (Adreno, Mali, Xclipse, PowerVR)
  • About 2 GB of free storage (the extracted game) and 2 GB of free RAM for the one-time setup
  • Your own copy of The Wind Waker HD for Wii U: USA, Europe or Japan

What's new in Plus

🆕 New in v1.14: a lighter game thread, the Wind Waker's songs visible, no GamePad flashes, faster Fast Forward
  • Less CPU for the same game: the game code is now recompiled with the Android port v0.9.5's improvements (GreenNaugahyde): a one-load check at every function entry, indirect calls looked up inline, 64-bit addressing for the game's struct accesses, inline paired-single loads and stores, and the hottest functions placed together (instruction cache). The GX2 register writes take a fast path for shader constants. On a Galaxy S20 FE (Outset, Windfall, Dragon Roost; 60 fps generated, 1.5x): the game thread went from 38% to 33% of a core and the whole game from 102% to 95%, with the same frame pacing - a cooler phone and more room on slower ones. The first start compiles the game code again (about 5 minutes).
  • The Wind Waker's songs (#24): in the Hybrid layout (the default for touch play) the GamePad covered the whole screen while Link held the baton, hiding him and the song's notes. Now the TV stays on screen with the GamePad as an inset.
  • No GamePad flash at doors and loads (#28): in the Hybrid layout, every load or scene change of a game in progress showed the GamePad for a moment. It now shows only in menus and before a file is loaded.
  • Fast Forward 3x and 4x really run that fast with 60 fps (generated) on (as the original project's #268): the game no longer waits for the display while it's held.
🆕 New in v1.13: the first start in half the time, save states from anywhere, Cemu content packs, PowerVR and Huawei fixes
  • The game code is prepared in about half the time at the first start (and after updates that change it): on a Galaxy S20 FE 4.6 minutes instead of about 10. The functions a play through the game reaches (a tour of 25 places: every dungeon and boss room, the islands) are optimized as before; the ~21,000 others, which a play never or hardly ever runs, are compiled quickly. The game runs as fast as before (the game thread's time in Outset, Windfall, the Forbidden Woods and Dragon Roost Cavern is the same). Phones with enough free memory also compile on 4 cores instead of 3.
  • Content packs (Cemu mods): Mods → Content packs installs Cemu graphic packs that replace the game's files (models such as the Linkle mod, textures, texts) from a folder, or reads them from WindWakerHD Plus/Mods. Each can be turned on and off. Cemu's code patches can't apply to the recompiled game.
  • PowerVR (Pixel 10 Pro and others): broken, spiky geometry fixed — the vertex attributes these GPUs read wrongly are converted on the CPU (from the original project, #207).
  • Huawei Kirin (Maleoon): compressed textures are decoded on the CPU, and the GPU decoder was rewritten without the constructs mobile shader compilers choke on (from the original project).
  • 60 fps (generated): the scene's depth is read texel by texel. The gathered reads it used froze an Adreno 650 until the phone restarted in another port and can give stray lines on some drivers; on Mali, frame generation uses 32-bit shaders (garbage and flicker on Mali-G52).
  • Save states load from anywhere: loading a state at the title or the file select used to say "cannot load here" (the game's threads aren't where a played file has them). Now the app goes into the game by itself and loads the state as soon as it can; a notice shows meanwhile.
  • A save state that crashes a few seconds after loading: that is an Auto slot written by v1.11, whose autosave could leave parts of the game's memory out; it can't be repaired, and the crash log now names the state loaded last. Autosaves and states of v1.12 and later load and play on.
  • The Auto slot always has its picture: a slot without one (an autosave of an older version) gets it when it is loaded.
  • From the original project: a crash at boot on slow storage (0275D21C), quick doors leaving the Forbidden Woods' spore rooms, the Pirate's Charm ringing again with frame interpolation, Link's hand no longer flying in at 60/120 fps, ropes blended with what they hang from, Sploosh Kaboom's markers, and the title's controller question answered by itself in GamePad mode.
🆕 New in v1.12: no black strip in the item menu, Select opens the map, sturdier save states, an autosave you can see
  • The item menu opens cleanly with a widescreen picture: for about a second after opening it, a black strip showed at the left and the first page had a left arrow. The menu is also drawn to the (hidden) GamePad picture until it has opened on the TV, and a layout drawn to both was laid out for the GamePad's 16:9 screen. While the GamePad picture isn't shown anywhere, what is drawn there no longer counts.
  • Select opens the map: a short press of the controller's Select opens the menu straight on the MAP tab, or goes to the MAP tab when the menu is already open. Holding Select (or Select + Start) still opens the app's settings. Turn it off in Controls → Select opens the map.
  • Save states that don't get corrupted:
    • Android moves memory the game doesn't touch for a while into compressed swap (zram). States saved only the parts still in RAM, so the swapped parts were missing and came back as zeros on load. Every part of the game's memory is now saved (and the scan runs on all cores, so saving takes about 1 s).
    • A damaged or cut-off state file is recognised ("file is corrupt") instead of crashing the game, and a load that could only unpack part of the state says so.
    • After a load:
      • textures that were render targets are uploaded again, and the GamePad audio mix is restored;
      • moon jump, climbing and quick doors start from a clean state;
      • the next autosave waits a whole interval, instead of writing over the slot just loaded.
    • Leftover files of a save cut short (the app closed while writing, up to ~500 MB) are deleted at start.
  • An autosave you can see: the Auto slot now has its picture, like the other slots (it looked empty), and a short "Autosaved" notice shows when it is written.
🆕 New in v1.11.1: Beedle's shop no longer closes the game, a steady 60 fps (generated), a round telescope
  • Leaving Beedle's Shop Ship no longer closes the game (and the game starts normally again): on the way out the game sails you back to the sea room it noted on the way in, and halts if that room is missing (its own check, d_stage.cpp). The room is now made sure of when you go in and when you come out (from the ship's position on the sea when the game has none). Tested going in, talking or not, walking out, going in again and out again.
  • 60 fps (generated) without trembling: the in-between frame now decides, for every 4x4 pixels, whether that part of the picture stays still in the world, follows the camera (Link, his boat, the title's boat) or moves on its own, by checking each against the previous picture. Deciding it per 16x16 block split objects in two (the title's dragon came out torn and shaking). On the title screen the depth of Outset was also lost (the game draws the boat over a cleared depth buffer): it is now kept, so the cliffs and the bridge move exactly half-way in the in-between frame. The same GPU time as before.
  • The telescope's round view is round again with a widescreen picture (it was stretched into an ellipse with the rest of the first-person view's frame).
  • No more message about tapping the menus in Pro Controller mode.
🆕 New in v1.11: 16% less GPU work, a cleaner 60 fps, saves that survive updates, a real autosave, clean screen edges
  • 60 fps (generated) redone: no torn objects in fast camera turns, no halos around the HUD. The in-between frame used to look, for each pixel, for the scene's pixel that lands there; where something near stands in front of something far that search has two answers, and in a fast turn thin parts (the King of Red Lions' fins, railings, leaves) came out torn into strips or doubled at the screen's edge. The scene is now moved as a mesh (a point every 2-3 pixels, each moved by the camera's and the object's own movement, with a depth test): what is near always covers what is far, and what a near object uncovers is filled from what is behind it. The HUD is no longer told apart by comparing pictures: every HUD draw also writes how much of the scene it covers, so the scene moves behind translucent icons, frames and glows too, while the HUD itself stays still. It costs ~1.9 ms of GPU per generated frame more than before (S20 FE at 1.5x: 23.9 ms per pair of frames out of 33).
  • The game no longer runs twice as fast at 120 Hz and above with 60 fps (generated) on a phone whose screen runs at 120 Hz (the game's step was paced at the screen's refresh instead of 30 Hz).
  • Autosave without the freeze: an autosave held the game for 0.4-1.6 s (writing ~235 MB with the game stopped). The memory is now written ahead, while the game runs, and at the autosave only what changed since (a few MB) is taken: the game stops for 0.1-0.3 s, at a moment where it isn't felt (a menu, a dialogue, just after entering an area). The save threads also no longer crowd the one core the game runs on, which made every save state faster.
  • Protection against a crash that comes back at every start: a shader or pipeline the GPU driver crashes on is remembered and skipped the next time, so the game can't be stuck crashing on the loading screen (reported after entering Beedle's shop from the boat; it wasn't reproduced here, but whatever the driver crashed on is now left out at the next start). A crash log is still kept.
  • A controller connected: touching the screen no longer brings the on-screen controls back. With Controls act as: Wii U GamePad the controller works as the GamePad and the game's menus can be tapped as on the GamePad. In Pro Controller mode the game's menus don't take touches (as on the console); a touch in a menu says where to change it.
  • Saves that are never lost again (Saves → Saves outside the app): allow Android's "All files access" once and the app keeps a copy of your game save, your save states and your settings in the WindWakerHD Plus folder of your phone, updated as they change. That folder stays when the app is uninstalled, so an update signed with another key (which Android only installs after uninstalling the old app) or a reinstall brings everything back by itself the first time the game starts without a save. With the access the app also finds the automatic backups of earlier versions in Download/WindWakerHD Saves.
  • Autosave on by default, and when you leave the game: a state in the Auto slot every 5 minutes of play (1, 2, 5 or 10 in Saves → Autosave), and another one as you lock the phone or switch apps, where Android may close the game without a word. The game pauses once it is written.
  • The controller select and file select screens no longer flicker at the edges: their background, drawn to the TV and the GamePad at once, was now and then stretched over the wider picture for a frame (the screen each layout was last drawn to raced the render thread).
  • No more dark band or glow along the screen edges: the widened and half-size buffers were created a fraction of a pixel larger than what was drawn into them, so their last column (or row) kept an old picture or the clear colour, and the bloom, blur and ambient occlusion spread it into a dark or bluish band along the right and bottom edges (seen at 1x and 1.5x on a 20:9 screen). The 1-pixel bars beside a picture of almost the window's shape are gone too.
  • The graphics rewritten for phone GPUs: −16% of GPU work per frame, the same picture. On a Galaxy S20 FE at 1x (Outset at night, the same frame each time) the GPU now works 20.5 ms a frame instead of 24.4, with nothing turned off: a frame rendered both ways is identical (2 of 1.15 million pixels differ by 1/255).
    • The console's multiply without its cost (−3.5 ms): the Wii U's GPU gives 0 × anything = 0, so every multiply in the translated shaders was a compare, a select and the multiply, ~16,000 of them in the game's shaders. The translator now proves, for each multiply, that neither operand can be infinite or NaN (a value only becomes one through a reciprocal, square root, log or exponential, integer bits read as a float, or a memory read; register by register, following the program's flow), and emits a plain multiply there. The reciprocals, roots, logs and exponentials themselves are kept finite (±2⁶⁴ instead of ±infinity, so 0 times them is still 0 as on the console). Pixel shaders: 8,699 emulated multiplies → 226; vertex shaders 8,487 → 471. The first start after updating prepares the shaders again (once).
    • No more scene passes broken in the middle (−0.5 ms): a texture drawn earlier in the frame and first read in the middle of the scene pass needed a layout change, which ended the pass: the GPU stored the whole scene (colour, its second target and depth, ~15 MB) and loaded it back, four times a frame. Each pass now remembers what it reads and gets it ready before it begins: the scene is drawn in 2 passes instead of 5.
    • Clears are done by the render pass that draws next instead of being written to memory and read back (saves a full write and read of each cleared target on GPUs that render in tiles: Mali, Turnip; Qualcomm's own driver already did this by itself).
    • The game's blur reads one tap at 1x on a 20:9 screen again (the area-sampled taps meant for higher resolutions were used for the widened buffers too).
    • Dynamic resolution follows the GPU load too: while the GPU can't keep up, the 3D resolution steps down (to 0.6x on weaker phones), and back up when there is room again.
    • Graphics: Light (Graphics → Graphics), for weaker GPUs: no ambient occlusion and no distant shadows (19.3 ms instead of 20.5 on the S20 FE). Adreno 5xx and the smaller 6xx, Mali G31–G72 and PowerVR start with it.
  • Defaults for a new install: 30 fps (the game's own rate and the lightest; 60 fps generated is a choice in Graphics → Frame rate), Original resolution (720p), the phone's language for the app and the game. Game → Game language lists Português (Brasil) (the built-in translation).
  • Release builds refuse to be signed with a debug key (v1.10 was, which is why it couldn't be updated over v1.9 and v1.11 can't be installed over it).
🆕 New in v1.10: smooth area changes, no black flashes, save states that don't close the game, a cool phone in your pocket
  • Much smoother when going from one area to another: entering an area translated hundreds of shaders again for 2-4 frames (100-230 ms stutters), even in an area visited minutes before, and each time the result was the same. The shader key took in register state the translation never reads (an earlier shader's leftover vertex semantics, export IDs and pixel inputs, the blend and write-mask bits of the colour targets). On a Galaxy S20 FE, eight area changes twice over: 15,737 → 4,962 shaders, none translated when coming back to an area (~1,500 before), worst frame entering an area 226 → ~120 ms, coming back ≤ 77 ms. Less memory as well.
  • No more black or flashing 3D picture: a few pixels whose colour came out as NaN (the Wii U's GPU gives 0 for 0 × infinity, this one doesn't) were spread by the bloom and blur over the whole screen: the 3D picture went black for some frames while the HUD stayed (seen in a night storm at sea, 10% of the frames). Every pixel colour is kept finite now. The first start after updating compiles the shaders again (once).
  • The game pauses when you lock the phone or switch apps: before, it kept playing unseen (enemies and timers going on), drawing for no window and mixing sound nobody heard, a whole CPU core busy with the screen off. Now it waits where it is: CPU in the background 100% → 4%, much less battery and heat, and it continues exactly where you left it, without glitches.
  • Save states no longer close the game a few seconds after saving: saving held the whole state (~235 MB) in memory until it was written, and loading read the whole file into memory, so Android closed the game for low memory on 6 GB phones (and a state could seem impossible to load). Now the state is written as it is compressed and the file is read in place: ~45 MB extra instead of ~235 MB. Saving holds the game for about a second.
  • Hybrid layout: the GamePad comes up for the Wind Waker's songs (#14), as it does for the pause menu (thanks jaimepa17 for the detailed report).
  • Rotation: the app changes Android's rotation settings only where the system ignores the game's landscape. A lock screen or another app that turns the screen no longer fights with the game.
🧊 New in v1.9: no more closing between areas, shaders ready before you play, a cooler phone
  • No more "crashes" when going from one area to another: the game's GPU memory grew with every area visited (textures were never freed) until Android closed the game for low memory, without a crash log. Textures the game no longer uses are freed now, and upload memory is given back: on a Galaxy S20 FE, 44 areas in a row end at ~1.6 GB instead of being closed past 2.4