2025-01-09 22:52:03 +00:00
2025-01-03 13:06:52 +00:00
2025-01-03 13:06:52 +00:00
2025-01-09 22:52:03 +00:00
2025-01-09 22:52:03 +00:00
2025-01-09 22:52:03 +00:00
2025-01-03 13:06:52 +00:00
2025-01-03 13:06:52 +00:00
2025-01-09 22:52:03 +00:00
2025-01-03 13:06:52 +00:00
2024-11-10 13:57:58 +00:00
2025-01-03 13:06:52 +00:00
2025-01-09 22:52:03 +00:00
2025-01-03 13:06:52 +00:00
2024-04-15 17:06:11 +01:00
2025-01-03 13:06:52 +00:00

Logo
Wii Menu
Build Status Discord Badge

A work-in-progress decompilation of the Wii Menu (4.3).

This repository does not contain any assets or assembly of the executable whatsoever. An existing copy of the Wii Menu is required.

Supported versions:

  • 43J: Version 4.3J (Japan)
  • 43U: Version 4.3U (USA)
  • 43E: Version 4.3E (Europe)
  • 43K: Version 4.3K (Korean)

Installing Dependencies

Windows

Note

On Windows, it's highly recommended to use native tooling. WSL or MSYS2 are not required.
When running under WSL, objdiff is unable to get filesystem notifications for automatic rebuilds.

  • Install Python and add it to PATH environment variable.
    • Setup will ask you if you want to add python to %PATH%, make sure that is enabled.
    • Python is also available from the Windows Store.
  • Download the ninja tool here and either add it to PATH environment variable or the repository directory.
    • You can install ninja quickly via pip (if you have it installed via Python's setup)
      • pip install ninja

macOS

  • Install the ninja tool:

    brew install ninja
    
  • Install wine-crossover:

    brew install --cask --no-quarantine gcenx/wine/wine-crossover
    

After OS upgrades, if macOS complains about Wine Crossover.app being unverified, you can unquarantine it using:

sudo xattr -rd com.apple.quarantine '/Applications/Wine Crossover.app'

Linux

  • Install ninja.
  • For non-x86(_64) platforms, you must install wine from your package manager.
    • For x86(_64), wibo, a minimal 32-bit Windows binary wrapper, will be automatically downloaded and used.

Building the Decompilation

  • Clone the repository:

    git clone https://github.com/koopthekoopa/wii-ipl.git
    
  • Copy the Wii Menu WAD to orig/[Wii Menu Version].

    • Rename the WAD to base.wad
  • Configure:

    python configure.py
    

    To use a version other than the default one, 4.3U, use the --version argument.

  • Build:

    ninja
    

Warning

The code is not 100% shiftable, most of it works aside from a couple of things (such as Wii Settings and a few channel banners like the Forecast Channel)

Diffing

Once the initial build succeeds, an objdiff.json should exist in the project root.

Download the latest release from encounter/objdiff. Under project settings, set Project directory. The configuration should be loaded automatically.

Select an object from the left sidebar to begin diffing. Changes to the project will rebuild automatically: changes to source files, headers, configure.py, splits.txt or symbols.txt.

Description
Wii Menu 4.3U matching decompilation
Readme CC0-1.0 133 MiB
Languages
C 58.7%
C++ 39.8%
Python 1.5%