The Legend of Zelda: The Wind Waker [![Build Status]][actions] ============= [Build Status]: https://github.com/zeldaret/tww/actions/workflows/build.yml/badge.svg [actions]: https://github.com/zeldaret/tww/actions/workflows/build.yml This repository supports the following versions: - GZLE01 - Rev 0 (USA), Rev 48 (Korea) - GZLP01 - Rev 0 (EUR) - GZLJ01 - Rev 0 (JPN) Dependencies ============ Windows: -------- On Windows, it's **highly recommended** to use native tooling. WSL or msys2 are **not** required. When running under WSL, [objdiff](#diffing) is unable to get filesystem notifications for automatic rebuilds. - Install [ninja](https://github.com/ninja-build/ninja/releases) and add it to `%PATH%`. - Install [Python](https://www.python.org/downloads/) and add it to `%PATH%`. - Also available from the [Windows Store](https://apps.microsoft.com/store/detail/python-311/9NRWMJP3717K). macOS: ------ - Install [ninja](https://github.com/ninja-build/ninja/wiki/Pre-built-Ninja-packages): ``` brew install ninja ``` - Install [wine-crossover](https://github.com/Gcenx/homebrew-wine): ``` brew install --cask --no-quarantine gcenx/wine/wine-crossover ``` Linux: ------ - Install [ninja](https://github.com/ninja-build/ninja/wiki/Pre-built-Ninja-packages). - For non-x86(_64) platforms: Install wine from your package manager. - For x86(_64), [WiBo](https://github.com/decompals/WiBo), a minimal 32-bit Windows binary wrapper, will be automatically downloaded and used. Building ======== - Checkout the repository: ``` git clone https://github.com/zeldaret/tww.git ``` - Using [Dolphin Emulator](https://dolphin-emu.org/), extract your game to `orig/GZLE01` (or `GLZJ01` for JPN, `GLZE01` for PAL). ![](assets/dolphin-extract.png) - To save space, the only necessary files are the following. Any others can be deleted. - `sys/main.dol` - `files/rels/*.rel` - `files/RELS.arc` - Configure: ``` python configure.py ``` - Build: ``` ninja ``` Diffing ======= Once the initial build succeeds, an `objdiff.json` should exist in the project root. Download the latest release from [encounter/objdiff](https://github.com/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`. ![](assets/objdiff.png) More documentation ==================== - [Visual Studio Code](docs/vscode.md)