Platform:Nintendo Wii
| On this wiki | Facts · Code · Notes · Topics |
|---|
Nintendo's seventh-generation home console (2006): an IBM Broadway CPU (PowerPC 750CL, a faster Gekko, big endian) and ATI Hollywood GPU with an ARM926 'Starlet' I/O processor running IOS. Game code is the same DOL and REL formats as the GameCube, built with CodeWarrior against the Revolution SDK.
Overview
The Wii (codename Revolution, 2006) keeps the GameCube programming model (Platform:Nintendo GameCube): a PowerPC 32-bit big-endian CPU (Broadway, an IBM 750CL derivative running at 729 MHz, with the Gekko paired-single FPU instructions), a main executable in Format:DOL executable form (sys/main.dol on the disc) and optional Format:REL relocatable modules. A second ARM processor (Starlet) runs the IOS operating system that owns the disc drive, SD, USB, Wi-Fi and Bluetooth; the PowerPC talks to IOS by IPC calls.
How it differs from the GameCube for a reverser
- Memory: MEM1 (24 MiB, as on the GameCube) is mapped at 0x80000000 cached / 0xC0000000 uncached; MEM2 (64 MiB GDDR3) adds a range starting at 0x90000000 (cached) / 0xD0000000 (uncached). Hardware registers are at 0xCD000000 (the GameCube uses 0xCC000000). Unverified here: exact MEM2 end addresses; check Tool:Decomp-toolkit project configs.
- SDK: the Revolution SDK (RVL, libraries named OS, DVD, GX, WPAD for the Wii Remote, KPAD, NAND, ARC, SC, IPC, ...) replaces Library:Dolphin SDK; function and structure names are close to the Dolphin ones but not identical. In zeldaret/tp the headers sit in libs/revolution/include and the GameCube ones in libs/dolphin/include.
- Compiler: Tool:Metrowerks CodeWarrior again, but later versions. zeldaret/tp builds the GameCube releases with GC/2.7 and the Wii releases with a modified GC/3.0a3 compiler and the GC/3.0a5 linker (configure.py
MWVersion); source encoding is Shift-JIS (-enc SJIS) on Wii and-multibyteon GameCube. The CodeWarrior linker version recorded in the DOL's comment section differs (decomp-toolkitmw_comment_version14 for the Wii Twilight Princess build, 11 for the GameCube one). - Executables: sys/main.dol has the same 0x100-byte header; Wii discs are partitioned (game data partition, encrypted) and carry the main DOL and the RELs in the game partition's file system. Games frequently ship a second, tiny
.relset or aRELS.arc. - Many first-party games run unchanged logic on both consoles: a single decompilation can target both (zeldaret/tp builds GameCube and Wii versions from one codebase with conditional compilation, see Software:The Legend of Zelda: Twilight Princess).
Practical
Disassemble the DOL as PowerPC 750CL with paired singles enabled. Matching decompilation projects: Technique:Matching decompilation.
Code & repositories
- https://github.com/zeldaret/tp @
c8fa8c9e2aab72cf4e5db0e5d1c84a9ea6ee6eb0· license: CC0-1.0
Matching decompilation of Twilight Princess (GameCube, Wii, Shield) with decomp-toolkit configs, build.sha1, symbols.txt and splits.txt per game ID
Tested on: source read, not run: source read, not run · checked 2026-10-18; last activity 2026-06-23 - https://github.com/dolphin-emu/dolphin @
41460454e9600f909950fddf0abd13a138430162· license: GPL-2.0-or-later (declared by the contributor; GitHub's detector did not recognize COPYING)
Dolphin emulator; Source/Core/DiscIO holds the GameCube/Wii disc header, FST and Wii partition readers (DiscUtils.h, FileSystemGCWii.cpp, VolumeWii.cpp), plus WBFS, CISO, WIA, RVZ, NFS and TGC containers
Tested on: source read, not run: source read, not run · checked 2026-10-18; last activity 2026-10-18 - https://github.com/PrimeDecomp/prime @
4ae7e0a3287e6b99fa82fd10888ed971dbf67a06· license: CC0-1.0
Matching decompilation of Metroid Prime (GameCube and Wii Trilogy versions) with decomp-toolkit; config/<GAMEID>/symbols.txt, splits.txt, build.sha1.
Tested on: source read, not run: source read, config files for R3 IDs read at 4ae7e0a328 · checked 2026-10-18; last activity 2026-10-18