Files
Yanis f1bcded711 Start MM support (#208)
* mm: add config files and docs

* mm: add dol-apply/diff fixes and uncomment versions in configure.py

* review + added snddvdtrk.c & sndspecial.c in configure.py
2025-04-18 14:27:09 +02:00

18 lines
388 B
Bash
Executable File

#!/bin/bash
# Wrapper for `dtk dol diff` to locate the first diff in the dol.
# Usage: ./dol-diff [VERSION]
# If VERSION is not provided, it defaults to ce-j.
set -euo pipefail
VERSION=${1:-ce-j}
if [[ "$VERSION" = mm-* ]]
then
GAME="mm"
else
GAME="oot"
fi
ninja "build/$VERSION/$GAME-gc.elf"
build/tools/dtk dol diff "config/$VERSION/config.yml" "build/$VERSION/$GAME-gc.elf"